we are using 2 different agent harnesses (codex & claude code) and both of them are…
- User
we are using 2 different agent harnesses (codex & claude code) and both of them are using different folders to store their skills.
claude code is using .claude/skills/ and codex is using .agents/skills
I want you to symlink both folders, so they are always shared. symlink the skills folder, not the idnividual skills. Is it possible to make this symlink 2 way, so it does not matter in which folder we are editing and creating new skills, so they are always shared? Assistant
Yes — a symlink is inherently two-way. One path is the "real" directory and the other is a symlink, but any reads/writes through either path hit the same underlying directory. It doesn't matter which side you edit from.
Let me check what currently exists in both locations.
Assistant
Interesting — there's already a per-skill symlink for
chkit. The.claude/skills/directory has most of the skills, and.agents/skills/only haschkit.To make a single symlink at the folder level, I need to:
- Move the
chkitskill from.agents/skills/into.claude/skills/(replacing the existing symlink) - Remove the
.agents/skills/directory - Create a symlink
.agents/skills→../../.claude/skills
This way
.claude/skills/is the canonical location (since it has the most content), and.agents/skillspoints to it.Let me check the chkit content in both places to make sure I don't lose anything.
- Move the
Assistant
The
chkitskill in.claude/skills/is already a symlink to.agents/skills/chkit, so they're the same files. Here's the plan:- Remove the per-skill symlink
.claude/skills/chkit - Copy
.agents/skills/chkitinto.claude/skills/chkit(as a real directory) - Remove
.agents/skills/ - Create symlink
.agents/skills→../../.claude/skills
I'll keep
.claude/skills/as the canonical location since it has 10 skills vs 1.- Remove the per-skill symlink
Assistant
Let me verify it worked:
Assistant
Done.
.agents/skillsis now a symlink to../.claude/skills. Both paths resolve to the same directory, so creating or editing skills from either Codex or Claude Code will be visible to both. Thechkitskill that was previously only in.agents/skills/is now a real directory in.claude/skills/alongside all the others.- User
so when creating a skill in .claude it will appear in .agents and vice versa?
Assistant
Yes, exactly. A symlink means both paths point to the same directory on disk. Any file created, edited, or deleted through either
.claude/skills/or.agents/skills/is immediately visible from the other — there's no syncing or copying involved, it's literally the same folder.