cssmagic/agent-config/sync-global-agent-skills
Claude Code and agent skill by cssmagic/agent-config
- community
Checking that the SKILL.md file is still in the repository.
Use when syncing global agent skill directories, especially linking Claude Code's ~/.claude/skills to shared ~/.agents/skills so Codex, Cursor, and Claude Code use one global skills directory.
Install
npx vskill@latest install cssmagic/agent-config/sync-global-agent-skillsSKILL.md
The same SKILL.md was published earlier as cssmagic/agent-config/sync-global-agent-skills.
Sync Global Agent Skills
Purpose
Sync global agent skill directories so Claude Code shares the same global skills directory as Codex and Cursor.
The target state is:
- source:
~/.agents/skills - target:
~/.claude/skills -> ~/.agents/skills
Required Input
No input is required. This skill always links the global Claude Code skills path to the global agent skills path.
Workflow
Run the bundled script from this skill directory:
The operation is idempotent and safe to re-run at any time.
Defaults
- Missing target parent directory: create it.
- Existing correct
~/.claude/skillssymlink: keep it unchanged. - Existing
~/.claude/skillssymlink pointing elsewhere: update it and report the previous target. - Missing source
~/.agents/skills: stop and report the missing source directory. - Existing non-symlink
~/.claude/skills: refuse to overwrite and stop.
Never copy, merge, or delete existing skills automatically.
Conflict Handling
If the script exits with an error saying the target is a non-symlink directory, it means ~/.claude/skills already exists as a regular directory. To resolve:
- Manually copy any skills from
~/.claude/skills/into~/.agents/skills/to consolidate them. - Remove the original
~/.claude/skills/directory. - Re-run the script.
This step must be done by the user manually to avoid accidental data loss.
Reporting
Summarize with:
- source skills directory (
~/.agents/skills) - target path (
~/.claude/skills) - result:
created_symlink,updated_symlink, orunchanged - previous symlink target if the link was updated
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sync-global-agent-skills/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cssmagic/agent-config/sync-global-agent-skills)