fw skills move
skills move
Move a tracked skill to another folder, or change which skill it tracks
Added in 0.8.0.
Moves a skill's copy to another folder and records the move in .framework/skills.lock.json, so pull and push keep treating it as the same skill. FROM and TO are a skill folder, such as .claude/skills/analysis, or a skills folder, whose tracked copies all move. claude stands for .claude/skills and agents for .agents/skills (codex and copilot read it too). Other folders are relative to the project. When you already moved the folder by hand, fw records the move and leaves the files alone.
--id, --builtin, and --variant change which skill a copy tracks: your Cloud skill with that ID, a built-in Framework skill by name, or another variant of the same skill. The copy keeps its files. An unedited copy takes the new skill's version at the next pull; push refuses an edited one until --force.
fw refuses, and changes nothing, when FROM isn't tracked, when TO exists or belongs to another skill, or when the lock already tracks the new identity. --dry-run writes nothing.
Usage
fw skills move FROM [TO] [flags]
Options
| Name | Type | Description |
|---|---|---|
| FROM required | string | |
| TO | string | |
| --builtin | string |
track the copy as this built-in Framework skill, such as framework-data |
| --dry-run | bool |
report what would change without writing anything |
| --id | string |
track the copy as this skill: your Cloud skill's ID, or framework:NAME for a built-in |
| --json | bool |
print JSON on stdout, for scripts and agents |
| --url | string |
Framework Cloud server Environment variable: |
| --variant | string |
track the copy as this variant: r, python, or stata (default: its current one) |
Value
With --json, {"dry_run", "skills", "message"}. Each copy has name, status (moved), from (null for a changed identity), to, reason_code (path_moved, lock_moved when the folder was already moved, or retargeted), and skill, the lock entry it now tracks. A refused move fails with reason move_untracked, move_target_owned, move_target_exists, move_nothing, or move_identity_exists, and changes nothing.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Failure |
| 2 | Bad flags or arguments |
| 3 | Not logged in, or the server rejected the token |
| 4 | The server has no such project or resource |
| 5 | Browser login was denied, or its code expired |
| 6 | An upload has "private" in a path; rerun with --include-private if you mean to send it |
With --json, a failure also prints one JSON line on stderr: {"error": "...", "exit_code": 4}. Exit code 6 adds "reason": "private_path".
Examples
fw skills move claude agents
fw skills move .claude/skills/analysis .agents/skills/analysis
fw skills move .claude/skills/framework-data --id 5d0c2a7e-... --dry-run
fw skills move .claude/skills/analysis --variant stata