@uniswap12: 3-minute guide to centrally managing skills for Codex and Claude Code (with prompts included). When using multiple AI tools to write code, the same skill has to be maintained in several copies. If you modify one and forget to sync the others, you'll spend ages debugging only to find out the versions are inconsistent. Now the most troublesome thing is not...
Summary
This article introduces how to use symbolic links to centrally manage skills for AI tools like Codex and Claude Code, avoiding version fragmentation and inconsistency, and provides prompts for AI to automatically organize and migrate them.
View Cached Full Text
Cached at: 06/10/26, 05:55 PM
3-Minute Guide: How to Unify Skill Management Across Codex and Claude Code (with prompts included)
When using multiple AI tools for coding, you end up maintaining several copies of the same skill. You update one but forget to sync the others, and when something breaks, you spend ages debugging only to discover it was a version mismatch.
The real problem isn’t knowing how to write skills—it’s that skills become more scattered the more you use them.
The same skill lives in Codex in one place and in Claude Code in another. At first it’s just a few extra folders, no big deal.
The real headache comes later: you modify a skill but forget to sync it to the other tool. The same task behaves one way in Codex and another in Claude Code, and you spend forever tracking down the cause.
I started by creating separate skill sets for each tool, thinking the content was roughly the same. Until one day I updated a prompt’s logic only in Claude Code—Codex was still reading the old version. It took me half an hour to realize the versions weren’t synced. That’s when I decided to maintain only one set.
When each tool reads its own, skills inevitably become fragmented.
This article solves exactly that: how to maintain a single set of skills and have both Codex and Claude Code read from the same source.
01 | Maintain Only One Set of Skills
This “AI job description” shouldn’t be scattered across each tool’s own folders.
The recommended approach is to put all skills into a unified folder—or even a dedicated Git repository (think of it as a folder for saving and tracking file versions)—and then point the relevant entry points of Codex and Claude Code to that single source.
To do this, you’ll use something called a symlink (symbolic link). Think of it as an entry point pointing to the source folder: when you click into it, you see the contents here, but the actual content still lives in the source folder. It’s not a copy, so when you modify the source file, all entry points automatically see the update.
Here’s a sanitized directory structure example:
~/ai-workspace/
shared-skills/
article-writing/
SKILL.md
note-capture/
SKILL.md
my-project/
.agents/
skills -> ../../shared-skills
.claude/
skills -> ../../shared-skills
shared-skills is the only place where source files are stored. .agents/skills and .claude/skills are just entry points pointing to it.
Modify anything in shared-skills, and every tool reading through its respective entry point will automatically get the latest version.
02 | Let AI Help You Sort It Out
You don’t have to figure out which directories should be merged or which paths need symlinks. Just drop the following prompt into Codex or Claude Code, and let the AI first scan your local structure, then give you a migration plan:
Please help me organize the AI tool skill management on my current computer. I am not a technical person. Please explain in simple terms, and don’t assume I understand file systems, symlinks, or the command line. Goals:
- Find any directories like
.agents/skills,.claude/skills, or other folders that might contain AI tool rules and skills in the current project.- Determine which of these directories contain the actual source files that need maintenance, and which are just copies.
- Help me design a unified
shared-skillsdirectory for centralized skill maintenance.- Propose a symlink or unified reference approach so that Codex and Claude Code both read from the same source.
- Before executing, list the commands you plan to run and explain what each command does.
- Do not delete, overwrite, or move any files directly; wait for my confirmation.
- In the summary, use sanitized paths for any paths involving real usernames, private directories, or repository names.
Output in the following format:
- Which skill or rule directories you found
- Which location would be better as the single source directory
- Which locations are suitable to be changed to symlinks or unified references
- What impact each step will have
- Commands that need my confirmation before execution
- How to revert if something goes wrong
The AI will first list what it found, what it suggests, and the impact of each step. Then it waits for your confirmation before making any changes.
If your skills already live in multiple Git repositories, the unified directory can simply serve as an aggregation entry point, using symlinks to point to the source files in each repository. The unified directory doesn’t necessarily have to store all skill source code.
03 | Manage Project Rule Files Together Too
Beyond skills, project rule files have the same problem.
Some tools read AGENTS.md, others read CLAUDE.md. But essentially, they all answer the same question: “How should AI behave in this project?”
If the content of these files is fundamentally the same, there’s no need to maintain multiple copies. Keep one master file and use symlinks for the rest:
AGENTS.md
CLAUDE.md -> AGENTS.md
Again, you don’t need to judge which files should be merged and which should keep differences. Just drop this prompt into the AI:
Please check the AI tool rule files in my current project. I am not a technical person. First, tell me in simple terms what each file might be for, then give recommendations. Goals:
- Find out whether
AGENTS.md,CLAUDE.md, or other AI tool rule files exist at the project root.- Determine if these files have duplicate content, overlapping responsibilities, or only minor differences.
- If they can share one set of content, suggest which file to keep as the master, and which to change to symlinks or reference entry points.
- If a specific tool needs to keep separate rules, explain where the differences should be placed—don’t force a merge.
- Output suggested commands and explain what each command does.
- Do not overwrite, delete, or rename existing files without my confirmation first.
- In the summary, sanitize all local paths.
Output in the following format:
- Current rule files found
- What each file is roughly responsible for
- Whether merging is suitable
- The recommended master file to keep
- Files recommended to be changed to symlinks or reference entry points
- Files that need to be backed up before execution
- Commands to execute and their purpose
Write the project rules once, and all AI tools will read the same specification. This reduces problems like “I changed the rules, but another tool didn’t take them into account.”
04 | When This Approach Is Suitable
Suitable:
- You use multiple AI tools like Codex and Claude Code simultaneously.
- Multiple tools need to reuse the same set of skills or project rules.
- You frequently modify skills and don’t want to manually copy.
- You want to manage skills in a separate Git repository.
- Multiple projects need to reuse the same workflows.
Not suitable:
- A specific project requires a completely independent set of skills.
- Team members are not familiar with symlinks and may accidentally delete the source directory.
- On Windows, the necessary permissions for symlinks are not configured.
- The official documentation of a tool you’re using explicitly states that symlinks are not supported (if unsure, ask the AI to help verify).
If you’re not sure whether your situation fits, don’t delete files on your own. Drop the prompts above into the AI, let it propose a plan, and then confirm.
05 | A Few Reminders
- Symlinks point to a path, not a copy of the file. If you move the source directory, the symlink will break.
- In team collaboration, prefer relative paths (e.g.,
../../shared-skills) over absolute local paths (e.g.,/Users/xxx/...). - If the skills repository is managed separately, remember to commit the actual source repository to Git, not just the symlinks inside your project.
#AI #AIAgent @nikitabier @XCreators @grok
Similar Articles
@yihui_indie: Asking the community two questions: 1. How do you manage your growing collection of SKILLs? 2. How do you sync SKILLs between Claude Code and Codex? Are there any good solutions for this?
The user is asking for advice on managing and syncing skills (SKILLs) for Claude Code and Codex.
@Luckyjudy666: 8 Tips to Make Codex Your Personal Assistant 1. Build a Shared Memory for Codex Core rules go in Agents.md, project background in Obsidian, repeated processes as skills, personal preferences and common questions in Memories. Otherwise, Codex is like a new colleague every time, having to explain everything from scratch...
This article shares 8 tips for using the Codex AI assistant effectively, including building shared memory, remote task execution, scheduled automation, file organization, and teaching new software operations, all aimed at improving work efficiency.
@Xudong07452910: Open-source Tool Recommendation: Hivemind — Give All AI Coding Agents a Shared Brain, Automatically Extract Skills from Real Trajectories Anyone using several AI Coding Agents has likely experienced this: each tool's learning is locked in its own context, switching tools means…
Hivemind is an open-source tool that allows multiple AI Coding Agents (e.g., Claude Code, Codex, Cursor) to share a memory layer, automatically mining high-quality patterns from usage trajectories and converting them into reusable skill files, enabling cross-tool and cross-team skill propagation, significantly reducing token consumption and interaction rounds.
@nash_su: Official best practices for Claude Code in large codebases. Of course, the same methodology can also be applied to Codex or any Agent. AI can make mistakes and bluff, and the larger the project, the more AI debt accumulates. This article covers some basic safeguards and optimization methods. This article uses http://Wi…
Official best practices for Claude Code in large codebases, also applicable to Codex or other AI Agents, introducing basic safeguards and optimization methods.
@axichuhai: https://x.com/axichuhai/status/2062146611472400461
Shares 8 curated AI skills, covering basic configuration, product development, and content creation, to boost AI productivity for agents such as Claude Code and CodeX.