fw skills push
skills push
Send locally edited skills to Framework Cloud as new versions
Added in 0.5.0.
Sends each skill you edited in this project to Framework Cloud as a new version of your own skill. fw shows what each new version replaces and asks before sending; without a terminal, pass --yes. A built-in Framework skill can't change: pushing an edited one saves it as your own skill.
A skill's copies in each assistant's folder go together: when they differ, or one is missing beside an edited one, fw names the fw skills copy command that settles them. When a skill changed on Framework Cloud since the project last pulled it, fw refuses: run fw skills pull first. --force replaces the Cloud version anyway; the Cloud changes stay in the skill's history. After fw skills move changed a copy's identity, --force sends its edits as the next version. Skills fw doesn't track are listed; fw skills sync PATH adds one, and fw skills move records a folder you moved by hand. --dry-run sends nothing.
Usage
fw skills push [flags]
Options
| Name | Type | Description |
|---|---|---|
| --dry-run | bool |
show what would be pushed without sending anything |
| --force | bool |
push even when the skill changed on Framework Cloud since the last pull, or has no version to push against |
| --json | bool |
print JSON on stdout, for scripts and agents |
| --url | string |
Framework Cloud server Environment variable: |
| -y, --yes | bool |
don't ask before pushing (required without a terminal) |
Value
With --json, {"dry_run", "skills", "counts", "message"}. Each skill has name, paths, and status: pushed (in a dry run, would be pushed), current (Framework Cloud already has the bytes, and only the lock changes), refused (Framework Cloud has moved on, or the skill has no version to push against: pull first, or --force), missing (a copy's folder is gone, or every copy), untracked, cancelled (you answered no), or failed (copies differ, or one couldn't be read or sent). Rows that aren't pushed have reason, one plain sentence, and hint, the exact command, when there is one, with reason_code, hint_key, and hint_args; a pushed skill also has skill_id and version.
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 push --dry-run
fw skills push
fw skills push --yes --json