.claude/skills/{name} the skills in .agents/skills/{name} Move to, and
.claude/skills/ と .codex/skills/ Create symbolic links from both.
Usage
Receives a skill name as an argument, andscripts/migrate.sh Execute.
bash scripts/migrate.sh <skill-name> [project-root]
skill-name(Required): Name of the skill to move (directory name)project-root(Optional): Project root path. If omitted, the current directory
Pre-execution checks
.claude/skills/{name}Exists as a real directory (not a symbolic link).agents/skills/{name}Does not yet exist
Execution result
移動前:
.claude/skills/{name}/ (実ディレクトリ)
移動後:
.agents/skills/{name}/ (実体)
.claude/skills/{name} -> ../../.agents/skills/{name} (シンボリックリンク)
.codex/skills/{name} -> ../../.agents/skills/{name} (シンボリックリンク)
Workflow
- Receive the skill name from the user as an argument
- Validation (source existence check, existing link check, target duplication check)
scripts/migrate.shExecute with the project root as the second argument- Report the result
Execution example
User: "Move intent-based-dedup to .agents"
bash /path/to/migrate-skill-to-agent/scripts/migrate.sh intent-based-dedup /path/to/project