mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-07-06 18:52:03 +08:00
40b6a57527
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>