Files
nanoclaw/src
Amit Shafnir 40b6a57527 fix(codex): expose group skills at $HOME/.agents/skills so codex discovers them
Codex only scans the CWD-level `.agents/skills` when the CWD is inside a git
repo. The agent workspace (/workspace/agent) is not a git repo, so template and
shared skills materialized into /workspace/agent/.agents/skills were never
discovered. Codex DOES scan the user-level `$HOME/.agents/skills`
unconditionally (verified against codex-cli 0.141 at a non-git CWD), so mount
the group's `.agents` dir at /home/node/.agents as well. Skill materialization
stays in the provider-neutral group-skills.ts seam; only the exposure is here.

Also correct the AGENTS.md self-authored-skills pointer: `/workspace/agent/skills`
is persistent but not codex-scanned, and the "linked into $CODEX_HOME/skills at
boot" claim was never implemented. Point authored skills at `~/.codex/skills`
(writable via the .codex-shared mount and scanned by codex).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 23:17:53 +03:00
..
2026-04-23 23:04:35 +03:00