CLI reference
This page lists every skc command with its arguments and notes on output, side effects, follow-on behavior, and exit status. It is generated from the help text built into skc. Run skc <command> --help to read the same notes in a terminal, or skc help-json to get them as JSON.
In usage lines, <VALUE> is required, [VALUE] is optional, and ... means the argument can be repeated. Exit codes and the JSON envelope are described in Output and exit codes.
Global options
These options work with every command, before or after the command name.
skc [OPTIONS] <COMMAND>| Option | Description |
|---|---|
--json | Render output as JSON when the selected command supports it. |
--quiet | Suppress non-essential command output. |
--config-dir <PATH> | Use this folder as the SkillCatalog folder, instead of ~/.skillcatalog. |
-h, --help | Print help. |
-V, --version | Print version. Put it before any command: skc --version or skc -V. |
Commands
| Command | Description |
|---|---|
skc init | Alias for profile init. Creates the team manifest in the folder where you run it. |
skc install | Alias for profile install. Installs the project profile for the checkout where you run it, refreshing declared catalogs that are already registered. |
skc uninstall | Alias for profile uninstall. Removes the project profile for the checkout where you run it. |
skc update | Refresh only the catalogs and project profile of the checkout where you run it. |
skc sync | Sync registered catalogs (optional commit, pull, push, deliver). |
skc deliver | Deliver profiles to the enabled delivery targets, without pulling or pushing catalogs. |
skc profile | Manage profiles and team manifests. |
skc settings | Inspect or update application settings. |
skc catalog | Manage registered catalogs and their sync policy. |
skc proposal | Manage active local proposal records and remote-only branches. |
skc skill | Inspect skills in registered catalogs. |
skc stack | Inspect stacks in registered catalogs. |
skc bundle | Inspect bundles in registered catalogs. |
skc validate | Check catalogs, profiles, settings, delivered files, and the team manifest in this folder. |
skc hook | Run the check that a catalog's pre-commit hook calls. Not for direct use. |
skc status | Show your catalogs, profiles, tools, and drift. |
skc completions | Generate shell completions for skc. |
skc help-json | Print the full command tree as JSON. |
skc init
Alias for skc profile init, with the same arguments and behavior.
skc install
Alias for skc profile install, with the same arguments and behavior.
skc uninstall
Alias for skc profile uninstall, with the same arguments and behavior.
skc update
Refresh only the catalogs and project profile of the checkout where you run it.
skc update [OPTIONS]This command reads .skillcatalog/skillcatalog.yml only from the folder where you run it. A root-level skillcatalog.yml is read when .skillcatalog/skillcatalog.yml is absent; having both is an error. It does not search parent folders for a manifest. It fails when this folder has no team manifest, when that manifest is malformed, or when no project profile is installed for this checkout. It never installs a profile and never syncs other catalogs. An unpinned catalog the manifests declare that this machine has not registered yet is cloned and registered first, as a first install does, and the output names it. A catalog revision or consumer import that the manifests added or changed is prepared and saved first, as install does. Unchanged selections keep their saved commits, work offline, and never advance a branch.
Use --check to report how many files delivery would create, update, or remove in this checkout, without syncing catalogs or applying delivery.
| Argument | Description |
|---|---|
--check | Report, as a read-only check, how many files delivery would create, update, or remove in this checkout. |
Output
- By default this command prints the refresh result of each catalog, plus a summary of the delivery for this profile.
--checkis read-only and prints how many files delivery would create, update, or remove in this checkout for its project profile;--jsonalso lists each planned action with its path.--jsonreturns the standard SkillCatalog JSON envelope; with--check, itsdataincludesmode: "check",needs_update, and create/update/remove counts.
Side effects
- Successful runs pull upstream changes for unpinned catalogs this checkout's manifests declare, prepare a catalog revision or import that the manifests added or changed, and refresh its project profile. Unchanged selections use their saved snapshots offline.
- This command never advances an unchanged selection. Run
skc profile catalog update --profile <id>to advance selected branches, then deliver the saved content separately. --checkis read-only: it does not write log files, tidy the SkillCatalog folder, sync catalogs, deliver, or lock delivery records.- Except with
--check, startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Each run then delivers the refreshed profile, and only that profile, right away.
--checkdoes not repair anything. Runskc updateto apply the changes it reports.- If delivering the profile reports conflicts or failed writes, the command exits non-zero with
delivery-failed.
Exit status
- This command exits non-zero, without installing anything, when no project profile is installed for the checkout.
--checkexits non-zero withupdate-neededwhen the selected checkout would create, update, or remove delivered files, and withdelivery-blockedwhen nothing is pending but files SkillCatalog did not write are at delivery paths; it lists each such file. An edited delivered file, whichskc updatekeeps, is listed but does not fail the check.--checkexits non-zero withdelivery-failedwhen delivery would withhold a skill or the profile, and lists what it would withhold.update-neededanddelivery-blockedboth exit 24 inskc update. The same exit code can mean different things in different commands, so scripts should check the JSONcommandandoutcomefields.--checkonly reports this checkout's pending delivery changes; it does not check other installed profiles.- This command exits non-zero when delivering the profile reports conflicts or failed writes.
skc sync
Sync registered catalogs (optional commit, pull, push, deliver).
skc sync [OPTIONS] [CATALOG_ID]...Bidirectional sync across registered catalogs.
For each registered catalog (or the named subset), sync first commits pending changes when you give a message (--message, or an interactive prompt), then pulls, then pushes, and finally runs delivery once for every profile unless --no-deliver is set. On a review-branch catalog, commits go to proposal branches, and the primary branch is never pushed.
Dirty-tree handling:
- With
--message <msg>: commit pending changes, then pull, push, deliver. - Interactive terminal, no
--message: reviews each dirty writable catalog and prompts for its own commit message; empty input or end of input cancels the whole sync with exit 0 and says that nothing was synced. - stdin or stdout is not a terminal, no
--message: refuses with the typeddirty-treeenvelope at exit 33.
Commit-message validation:
- Empty
--message ""is rejected withempty-messageat exit 10. - Trimmed messages whose byte length exceeds 1000 are rejected with
commit-message-too-longat exit 11.
Before a commit (with --message, or before a prompt), sync refuses with missing-config at exit 12 when git config user.email or user.name is unset. A sync that only pulls needs neither.
| Argument | Description |
|---|---|
[CATALOG_ID]... | Catalog ids to sync. Repeatable. When omitted, every registered catalog is synced. |
--message <MSG> | Commit pending changes with this shared message before pulling. When omitted and a catalog has uncommitted changes, the command shows them and prompts for a message per catalog when standard input and standard output are terminals, and refuses otherwise (see dirty-tree). |
--no-deliver | Skip the delivery that normally runs after the sync. |
Output
- By default this command prints per-catalog results and any delivery follow-up summary.
--jsonreturns the standard SkillCatalog JSON envelope with per-catalog reports andcommand: "sync".
Side effects
- Successful syncs update the local clone of each requested catalog.
- When
--message <msg>is supplied, each requested catalog with uncommitted changes is committed before the pull and push; the Essentials catalog is never committed to, even when it has changes. - Every commit created via
--message <msg>lands with a subject prefixed by[skillcatalog]so SkillCatalog's commits are easy to find in the catalog's Git history. - On a review-branch catalog, commits on the primary branch that
originlacks are pushed as a new proposal branch, and the primary branch then returns toorigin/<primary>. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Unless
--no-deliveris set, successful syncs automatically rerunskc deliverfor every profile. Delivery runs only when every requested catalog synced. - If delivery fails with an error after an otherwise complete sync, for example because SkillCatalog could not check a review-branch catalog's proposals on the Git host, the command exits non-zero with
delivery-failed. Delivery conflicts and failed writes make the command exit non-zero withdelivery-failed.
Exit status
- With no registered catalogs, sync exits 0 with
outcome: "no-catalogs"; unknown requested catalog ids exit non-zero withcatalog-not-foundbefore sync starts. --message ""exits non-zero withempty-message; messages over 1,000 bytes exit non-zero withcommit-message-too-long.- When a commit is about to happen (
--messageis supplied, or sync is about to prompt for a message) and Gituser.emailoruser.nameis unset, the command exits non-zero withmissing-config. - When a catalog has uncommitted changes,
--messageis not supplied, and standard input or standard output is not a terminal, the command refuses withdirty-treeand exit code 33 without committing or pushing. - When another sync or save is already running on the same catalog, or another Git operation holds its index lock, the command exits non-zero with
another-sync-running. - When the commit of a catalog fails (for example, because its pre-commit hook fails or an edit overlaps a waiting proposal), that catalog keeps its changes and skips its pull and push, and the other catalogs still sync.
- When any requested catalog fails to sync, the command exits non-zero (
sync-partialorsync-all-failed) and skips delivery. - When the Git host refuses the proposal push of a sync commit, or a change cannot be merged onto its waiting proposal, the command exits non-zero and puts those changes back in the catalog folder, uncommitted. When it refuses the proposal for local commits on the primary branch, the commits stay there and the next sync retries.
- When a signal such as Ctrl-C stops the command during the proposal push of a sync commit, it puts those changes back in the catalog folder, uncommitted, before it exits. After a killed process, the next
skccommand puts them back and says so. - When local commits on a review-branch catalog conflict with new commits on
origin, the command exits non-zero, skips delivery, and prints agit -C <clone> reset --soft <commit>command that stages only those local commits.
skc deliver
Deliver profiles to the enabled delivery targets, without pulling or pushing catalogs.
skc deliver [OPTIONS] [PROFILE_ID]This command is local-apply only and never touches Git. To pull upstream catalog changes and run delivery, use skc sync.
Flags:
--dry-run: compute the delivery report without writing files.--check: only check for drift between delivered files and the manifest. Exits non-zero (26) when drift is detected.--adopt-matching: take over existing files that already match what delivery would write, such as after the delivery record was lost. Useskc deliver <PROFILE_ID> --adopt-matchingfor one profile. Files with different content are never overwritten. Cannot be combined with--dry-runor--check.
Without --adopt-matching, delivery never takes over a file it did not write: an existing file at a delivery path is reported as unmanaged_target_exists and the command exits 25.
When a project checkout is gone, delivery removes its profile and reports the removal. With --check or --dry-run, it reports the missing checkout without removing the profile.
When some profiles or skills cannot be delivered, such as a profile entry that does not resolve, a missing delivery folder, a symbolic link in a skill folder, or a catalog whose proposal state is unknown, the healthy profiles and skills are still delivered, the rest are listed, and the command exits 25. Withheld skills keep the files they delivered earlier. The command exits 43, 44, or 45 only when no profile with entries could be delivered.
Positional PROFILE_ID is optional; when omitted every profile is delivered.
| Argument | Description |
|---|---|
[PROFILE_ID] | Deliver only the named profile. Omit to deliver every profile. |
--dry-run | Compute the delivery report without writing files. Cannot be combined with --check. |
--check | Check only for drift and return a non-zero exit if drift exists. |
--adopt-matching | Take over existing files that already match what delivery would write. Files with different content are never overwritten. Cannot be combined with --dry-run or --check. |
Output
- Execute mode writes enabled target files and prints the delivery summary.
--dry-runcomputes the delivery report without writing delivered files.--checkinspects drift without changing delivered files.--jsonreturns the standard SkillCatalog JSON envelope withcommand: "deliver"in every delivery mode.
Side effects
- Execute mode writes or removes files under enabled delivery targets; this command never pulls, commits, or pushes catalog changes.
--dry-runand--checkdo not write or remove delivered files.- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- To pull upstream catalog changes and run delivery in the same step, use
skc syncinstead ofskc deliver.
Exit status
--checkexits non-zero when drift is found.--dry-runand--checkcannot be combined.- Execute mode exits non-zero for delivery conflicts, delivery failures, or composition failures.
skc profile
Manage profiles and team manifests.
skc profile [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc profile list | List every known profile. |
skc profile show | Show one profile's name, folder, and entries. |
skc profile resolve | Resolve a named group from a team manifest without installing it. |
skc profile catalog | Select or inspect catalog revisions for one profile. |
skc profile import | Select and inspect consumer imports for one delivery profile. |
skc profile create | Create a personal profile for one folder. |
skc profile delete | Delete a profile and the skills it delivered. |
skc profile add | Add one entry to a profile. |
skc profile remove | Remove one entry from a profile. |
skc profile reorder | Replace a profile's entry ordering. |
skc profile init | Create the team manifest, .skillcatalog/skillcatalog.yml, in the folder where you run it. |
skc profile install | Install the project profile for the checkout where you run it, refreshing declared catalogs that are already registered. |
skc profile uninstall | Remove the project profile for the checkout where you run it. |
skc profile list
List every known profile.
skc profile list [OPTIONS]Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc profile show
Show one profile's name, folder, and entries.
skc profile show [OPTIONS] <PROFILE_ID>| Argument | Description |
|---|---|
<PROFILE_ID> | Profile id to inspect. |
--effective | Show effective local, team, and imported entries with their sources. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc profile resolve
Resolve a named group from a team manifest without installing it.
skc profile resolve [OPTIONS] --manifest <FILE> --group <NAME>The group can name skills and stacks. Each stack expands in place, and each skill appears once. Every member skill must already be selected by team entries or consumer imports.
Uses the supplied manifest alone. Git snapshots live in a temporary folder. Each catalog and consumer import must match an exact allowed source. An absent group returns missing. An empty group resolves to zero members. JSON includes exact commits and the source Markdown.
| Argument | Description |
|---|---|
--manifest <FILE> | Required. Path to a regular team manifest file. Its folder can be a symbolic link, but the file cannot be a symbolic or hard link. |
--group <NAME> | Required. Name of a group in the team manifest. |
--allow-source <SOURCE> | Approve an exact remote Git source. Repeat for each approved source. |
--timeout-seconds <SECONDS> | Cancel resolution after this many seconds (1 to 600). |
Side effects
- The command reads the supplied manifest and uses a temporary folder for Git snapshots. It writes no logs or saved state and sends no usage metrics.
skc profile catalog
Select or inspect catalog revisions for one profile.
skc profile catalog [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc profile catalog set | Save a branch, tag or full commit choice for one profile without delivering. |
skc profile catalog show | Inspect requested revisions and saved full commits without fetching. |
skc profile catalog update | Advance selected branches and save validated revisions without delivering. |
skc profile catalog set
Save a branch, tag or full commit choice for one profile without delivering.
skc profile catalog set [OPTIONS] --profile <PROFILE> <--branch <BRANCH>|--tag <TAG>|--commit <COMMIT>|--unpin> <CATALOG_ID>| Argument | Description |
|---|---|
<CATALOG_ID> | Catalog id for this profile. |
--profile <PROFILE> | Required. Profile id from skc profile list. |
--branch <BRANCH> | Literal branch name, including names such as releases/stable. |
--tag <TAG> | Literal tag name. |
--commit <COMMIT> | Complete 40- or 64-character hexadecimal commit id. |
--unpin | Remove this profile's override; a team-declared choice still applies. |
Output
- Prints each catalog's requested revision, full resolved commit, source and choice origin.
--jsonreturns the same rows in the standard SkillCatalog JSON envelope.
Side effects
- Prepares and validates immutable snapshots before saving this profile's selector and resolved commit together. Other profiles and shared catalog clones remain unchanged.
setchanges a profile choice;--unpinremoves only its local override, so a team-declared choice still applies.updateadvances selected branches; unchanged tags and full commits keep their saved commits.- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- This command does not deliver. Run
skc deliverto apply saved content for all profiles.
Exit status
- Invalid selectors, unavailable sources or refs, catalog mismatches, conflicting declarations and validation or pre-publication save failures exit non-zero without replacing the prior profile or delivered files.
skc profile catalog show
Inspect requested revisions and saved full commits without fetching.
skc profile catalog show [OPTIONS] --profile <PROFILE>| Argument | Description |
|---|---|
--profile <PROFILE> | Required. Profile id from skc profile list. |
Output
- Prints requested revisions, saved full commits, sources and choice origins. Unpinned references show the shared checkout.
--jsonreturns these rows in the standard SkillCatalog JSON envelope.
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Inspection is offline and does not fetch, create snapshots, advance revisions or deliver.
Exit status
- An unavailable catalog or saved snapshot is reported on its own row, alongside the other selections. Inspection never falls back to the shared checkout. An unreadable profile or invalid declaration exits non-zero with repair guidance.
skc profile catalog update
Advance selected branches and save validated revisions without delivering.
skc profile catalog update [OPTIONS] --profile <PROFILE>| Argument | Description |
|---|---|
--profile <PROFILE> | Required. Profile id from skc profile list. |
Output
- Prints each catalog's requested revision, full resolved commit, source and choice origin.
--jsonreturns the same rows in the standard SkillCatalog JSON envelope.
Side effects
- Prepares and validates immutable snapshots before saving this profile's selector and resolved commit together. Other profiles and shared catalog clones remain unchanged.
setchanges a profile choice;--unpinremoves only its local override, so a team-declared choice still applies.updateadvances selected branches; unchanged tags and full commits keep their saved commits.- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- This command does not deliver. Run
skc deliverto apply saved content for all profiles.
Exit status
- Invalid selectors, unavailable sources or refs, catalog mismatches, conflicting declarations and validation or pre-publication save failures exit non-zero without replacing the prior profile or delivered files.
skc profile import
Select and inspect consumer imports for one delivery profile.
skc profile import [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc profile import set | Save a consumer import without delivering; use --dry-run to preview its dependencies. |
skc profile import remove | Remove an owned import without delivering. Team imports remain read-only. |
skc profile import show | Inspect root and transitive imports, saved commits, and availability without fetching. |
skc profile import update | Advance reachable branches without delivering; use --dry-run to preview changes. |
skc profile import set
Save a consumer import without delivering; use --dry-run to preview its dependencies.
skc profile import set [OPTIONS] --profile <PROFILE> --path <FILE> <--branch <BRANCH>|--tag <TAG>|--commit <COMMIT>> <SOURCE>| Argument | Description |
|---|---|
<SOURCE> | Remote Git URL without passwords, tokens, query strings, or fragments. |
--profile <PROFILE> | Required. Delivery profile id from skc profile list. |
--path <FILE> | Required. Consumer file relative to the selected repository root. |
--branch <BRANCH> | Literal branch name, including names such as releases/stable. |
--tag <TAG> | Literal tag name. |
--commit <COMMIT> | Complete 40- or 64-character hexadecimal commit id. |
--dry-run | Prepare snapshots and show changes without saving selection or delivering. |
Output
- The result names the owning profile, delivery directory, changed commits, and added or removed entries.
--jsonreturns the standard SkillCatalog JSON envelope with the preview and saved import graph.
Side effects
- Set and update prepare immutable snapshots.
--dry-runmay populate the snapshot cache but does not save selection or deliver files. - Successful runs save owned import selections and their resolved graph. Project selections use the ignored local manifest; team imports remain read-only.
- Set reuses unchanged selections. Update advances reachable branches while retaining unchanged tag and commit pins.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Run
skc deliver <id>separately to deliver the saved selection.
Exit status
- Invalid sources, revisions, consumer files, dependency conflicts, or unsafe snapshot files fail before selection is saved.
- A failure after a local manifest or installed profile is committed reports exit 47 with the committed effect, its locations, and recovery guidance.
skc profile import remove
Remove an owned import without delivering. Team imports remain read-only.
skc profile import remove [OPTIONS] --profile <PROFILE> --path <FILE> <SOURCE>| Argument | Description |
|---|---|
<SOURCE> | Exact source URL of the owned root import. |
--profile <PROFILE> | Required. Delivery profile id from skc profile list. |
--path <FILE> | Required. Consumer file relative to the selected repository root. |
Output
- The result reports the removed root and the remaining effective selection in the standard JSON envelope when
--jsonis present.
Side effects
- Removes only an owned root import. Shared dependencies remain when another root still reaches them.
- An unavailable owned root can be removed without fetching it. This command saves selection without delivering.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Run
skc deliver <id>separately to apply the remaining selection.
Exit status
- Team roots and transitive imports are read-only. Remove an owned root by the exact source and consumer path shown by
skc profile import show --profile <id>. - A failure after a local manifest or installed profile is committed reports exit 47 with the committed effect, its locations, and recovery guidance.
skc profile import show
Inspect root and transitive imports, saved commits, and availability without fetching.
skc profile import show [OPTIONS] --profile <PROFILE>| Argument | Description |
|---|---|
--profile <PROFILE> | Required. Delivery profile id from skc profile list. |
Output
- Lists root and transitive imports with source, consumer file, requested revision, saved commit, ownership, and offline availability.
--jsonreturns import rows and the saved graph. Each matched row's edge identifies its parent relationship in that graph.
Side effects
- Inspection does not fetch, save selection, or deliver files.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- A missing snapshot is shown as unavailable. A missing or unreadable owning profile exits non-zero.
skc profile import update
Advance reachable branches without delivering; use --dry-run to preview changes.
skc profile import update [OPTIONS] --profile <PROFILE>| Argument | Description |
|---|---|
--profile <PROFILE> | Required. Delivery profile id from skc profile list. |
--dry-run | Prepare snapshots and show changes without saving selection or delivering. |
Output
- The result names the owning profile, delivery directory, changed commits, and added or removed entries.
--jsonreturns the standard SkillCatalog JSON envelope with the preview and saved import graph.
Side effects
- Set and update prepare immutable snapshots.
--dry-runmay populate the snapshot cache but does not save selection or deliver files. - Successful runs save owned import selections and their resolved graph. Project selections use the ignored local manifest; team imports remain read-only.
- Set reuses unchanged selections. Update advances reachable branches while retaining unchanged tag and commit pins.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Run
skc deliver <id>separately to deliver the saved selection.
Exit status
- Invalid sources, revisions, consumer files, dependency conflicts, or unsafe snapshot files fail before selection is saved.
- A failure after a local manifest or installed profile is committed reports exit 47 with the committed effect, its locations, and recovery guidance.
skc profile create
Create a personal profile for one folder.
skc profile create [OPTIONS] <NAME> <DIRECTORY>--entry is repeatable and accepts KIND:CATALOG_ID:SLUG. Each --entry adds one entry to the new profile; the referenced catalog id must already be registered with SkillCatalog and have a ready local clone. Supplying an --entry whose catalog id is not registered or not ready fails the whole command and saves no profile.
| Argument | Description |
|---|---|
<NAME> | Human-readable profile name. |
<DIRECTORY> | Absolute folder path, or ~ / ~/.... |
--catalog-id <CATALOG_ID> | Catalog id to check before the profile is created. The command fails unless that catalog has a ready local clone. |
--entry <KIND:CATALOG_ID:SLUG> | An entry for the new profile, in KIND:CATALOG_ID:SLUG form. Catalog id must be registered and have a ready local clone. Repeatable. |
Output
- By default this command prints the created profile id, display name, and folder.
- The profile id comes from the name in slug form and gains a numeric suffix if that id is taken. Use the id from the output in later commands.
--jsonreturns the created profile in the standard SkillCatalog JSON envelope.
Side effects
- Successful runs save the profile in the SkillCatalog folder.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- This command exits non-zero for invalid profile names, unsafe folders, unreadable profile files, or catalogs that are not ready, including
--entrycatalog ids that are not registered or have no ready local clones. It also fails when every candidate profile id is taken.
skc profile delete
Delete a profile and the skills it delivered.
skc profile delete [OPTIONS] <PROFILE_ID>| Argument | Description |
|---|---|
<PROFILE_ID> | Profile id to delete. |
Output
- By default this command prints the deleted profile id and delivery cleanup summary.
--jsonreturns the deleted profile id plus cleanup report in the standard SkillCatalog JSON envelope.
Side effects
- Successful runs remove the profile from the SkillCatalog folder.
- Successful runs clean delivered files that belonged to the deleted profile.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- This command exits non-zero when the profile cannot be deleted, when the Home profile is selected, or when delivery cleanup fails.
skc profile add
Add one entry to a profile.
skc profile add [OPTIONS] --kind <KIND> --slug <SLUG> --catalog-id <CATALOG_ID> <PROFILE_ID>| Argument | Description |
|---|---|
<PROFILE_ID> | Profile id to change. |
--kind <KIND> | Required. Entry kind. Allowed values: skill, stack, bundle. |
--slug <SLUG> | Required. Entry slug. The catalog must already have an item of this kind with this slug; otherwise nothing is added. |
--catalog-id <CATALOG_ID> | Required. Catalog id of the entry. Uses the profile's selected revision when set, otherwise a registered catalog with a ready shared checkout. |
--position <POSITION> | Insert position, counting from 0. Defaults to the end of the list. |
Output
- By default this command prints a summary of the change and any delivery warning.
--jsonreturns the updated profile and any delivery warning in the standard JSON envelope.
Side effects
- For the Home profile and personal profiles, this command rewrites the profile's file in the SkillCatalog folder.
- For a project profile, it writes the change to the local manifest,
.skillcatalog/skillcatalog.local.yml, in the profile's checkout, and makes sure Git ignores that file. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- After the change, SkillCatalog automatically reruns delivery for that profile and reports delivery conflicts or failed writes as warnings in the success output. Edited files that delivery keeps are not a warning on their own.
Exit status
- This command exits non-zero for missing profiles, invalid entries, or catalog clones that cannot be read.
- It exits 47 when the delivery that follows the change wrote or removed files and then failed.
skc profile remove
Remove one entry from a profile.
skc profile remove [OPTIONS] --kind <KIND> --slug <SLUG> --catalog-id <CATALOG_ID> <PROFILE_ID>| Argument | Description |
|---|---|
<PROFILE_ID> | Profile id to change. |
--kind <KIND> | Required. Entry kind. Allowed values: skill, stack, bundle. |
--slug <SLUG> | Required. Entry slug. |
--catalog-id <CATALOG_ID> | Required. Entry catalog id for the entry to remove. |
Output
- By default this command prints a summary of the change and any delivery warning.
--jsonreturns the updated profile and any delivery warning in the standard JSON envelope.
Side effects
- For the Home profile and personal profiles, this command rewrites the profile's file in the SkillCatalog folder.
- For a project profile, it writes the change to the local manifest,
.skillcatalog/skillcatalog.local.yml, in the profile's checkout, and makes sure Git ignores that file. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- After the change, SkillCatalog automatically reruns delivery for that profile and reports delivery conflicts or failed writes as warnings in the success output. Edited files that delivery keeps are not a warning on their own.
Exit status
- This command exits non-zero for missing profiles, invalid entries, or catalog clones that cannot be read.
- It exits 47 when the delivery that follows the change wrote or removed files and then failed.
skc profile reorder
Replace a profile's entry ordering.
skc profile reorder [OPTIONS] --catalog-id <CATALOG_ID> --entry <KIND:CATALOG_ID:SLUG> <PROFILE_ID>| Argument | Description |
|---|---|
<PROFILE_ID> | Profile id to change. |
--catalog-id <CATALOG_ID> | Required. Must be a valid catalog id; the catalog id inside each --entry decides where that entry comes from. |
--entry <KIND:CATALOG_ID:SLUG> | Ordered entries in kind:catalog-id:slug format, as in skc init and skc profile create. Required and repeatable; reorder will not clear a profile's entry list. |
Output
- By default this command prints the reorder summary and any delivery warning.
--jsonreturns the updated profile and any delivery warning in the standard JSON envelope.
Side effects
- For the Home profile and personal profiles, this command rewrites the profile's file in the SkillCatalog folder with the
--entryorder exactly as provided. - For a project profile, it writes the new order to the local manifest,
.skillcatalog/skillcatalog.local.yml, in the profile's checkout, and makes sure Git ignores that file. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- After the reorder, SkillCatalog automatically reruns delivery for that profile and reports delivery conflicts or failed writes as warnings in the success output. Edited files that delivery keeps are not a warning on their own.
Exit status
- This command exits non-zero for missing profiles, badly formed
--entryvalues, or catalog clones that cannot be read. - It exits 47 when the delivery that follows the reorder wrote or removed files and then failed.
--entryis required; without it, the command fails while the arguments are parsed. Reorder cannot delete entries. Useprofile removeto remove individual entries.
skc profile init
Create the team manifest, .skillcatalog/skillcatalog.yml, in the folder where you run it.
skc profile init [OPTIONS]This command does not search parent folders or use any other folder. It fails if this folder already contains .skillcatalog/skillcatalog.yml or a root-level skillcatalog.yml. --source accepts remote Git URLs only. Sources must not include passwords, tokens, query strings, or fragments.
--catalog-id is repeatable. When a --catalog-id is supplied without a paired --source, the URL comes from the registered catalog with that id. An unregistered catalog id without a paired --source is a user-input error.
--source is repeatable and positionally paired with the --catalog-id values: the i-th --source pairs with the i-th --catalog-id. Supply a remote Git URL.
Missing values are asked for only in a terminal. Without a terminal on standard input, or with --json, pass --catalog-id, --id, and --display-name; otherwise the command fails at once and names the missing flags.
| Argument | Description |
|---|---|
--source <SOURCE> | Catalog source as a remote Git URL. Repeatable; the i-th --source pairs with the i-th --catalog-id. Sources must not include passwords, tokens, query strings, or fragments. |
--catalog-id <CATALOG_ID> | Catalog id to write into the team manifest's catalogs: block. Repeatable. Without a paired --source, the URL comes from the registered catalog with that id. |
--id <SLUG> | Profile id written to the team manifest; the first checkout's installed profile uses it. |
--display-name <NAME> | Human-readable profile display name written to the team manifest. |
--entry <KIND[:CATALOG_ID]:SLUG> | Optional initial team manifest entry, repeated as kind:slug or kind:catalog_id:slug. |
Output
- By default this command prints the manifest path it wrote.
--jsonreturns the standard SkillCatalog JSON envelope.
Side effects
- Successful runs create
.skillcatalog/skillcatalog.ymlin the folder where you run the command. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- This command exits non-zero when the current folder is not usable, when that folder already has a team manifest, when the manifest cannot be written, when the catalog source is not a remote Git URL without passwords, tokens, query strings, or fragments, or when required flags are missing and there is no terminal to ask for them.
skc profile install
Install the project profile for the checkout where you run it, refreshing declared catalogs that are already registered.
skc profile install [OPTIONS]This command reads .skillcatalog/skillcatalog.yml only from the folder where you run it. A root-level skillcatalog.yml is read when .skillcatalog/skillcatalog.yml is absent; having both is an error. It does not search parent folders for a manifest. It fails when this folder has no team manifest, when that manifest is malformed, or when profiles already on this machine conflict with it.
Delivery destination: --target-dir PATH selects an existing folder to deliver into. Relative paths resolve from the folder where you run the command; the resolved absolute path is saved only with the project profile in the SkillCatalog folder. Enabled tools keep their standard .agents/skills, .claude/skills, and .cursor/skills folders below it. Source manifests always come from the checkout where you run the command, even when the destination has its own manifest. Later installs without the flag, delivery, and updates reuse the saved destination. Without a saved override, delivery stays in the source checkout. Passing another destination moves the same profile there. Delivery removes obsolete delivered files you did not edit, and keeps edited files and files SkillCatalog did not write. A failed delivery can leave the new destination saved and some files changed; rerun after fixing the reported problem. Uninstall from the source checkout removes the delivered files, except edited ones.
Catalog refresh: a repeated install, or a first install whose unpinned declared catalogs were all already registered, refreshes those unpinned catalogs from their upstream sources before delivery; a first install that clones a catalog does not refresh anything. A declared unpinned catalog that this machine has not registered is cloned and registered, on a repeated install as on a first one, and the output names each catalog it registered. Only the unpinned catalogs this checkout's team and local manifests declare are refreshed, never every registered catalog. Each qualifying run fetches per unpinned declared catalog, so it needs network access to those sources; a failed refresh stops the install with catalog-refresh-failed instead of delivering stale content. Selected revisions resolve into private snapshots for this profile and keep their saved full commits on repeated installs.
| Argument | Description |
|---|---|
--target-dir <PATH> | Deliver into this existing folder and save it for later runs; a relative path starts from the checkout. |
Output
- By default this command prints a summary of the install and of the delivery for this profile.
--jsonreturns the standard SkillCatalog JSON envelope.
Side effects
- Successful installs create or refresh the checkout's project profile in the SkillCatalog folder.
- Each checkout of a repository, such as a Git worktree or another clone, gets its own project profile. The first gets the team manifest's profile id. Another gets that id joined with its folder's name, or with its parent folder's name when the folder has the team manifest's id as its name;
-2,-3, and so on are added only when that id is taken. The output names the id. - When an older installed project profile still holds local entries, install migrates them into the checkout's local manifest, prepares its recovery folder, and adds the ignore rules.
--target-dir PATHsaves an existing folder as the project profile's delivery destination; relative paths resolve from the checkout and are saved as absolute paths. Source manifests still come from that checkout.- Later installs without the flag, delivery, and updates reuse the saved destination. Enabled tools keep their standard skills folders. A different destination moves the same profile there, removing obsolete delivered files you did not edit and keeping edited files and files SkillCatalog did not write.
- A repeated install, or a first install whose declared catalogs were all already registered, updates unpinned catalog clones from their upstream sources; a first install that clones a catalog does not.
- An initial or changed explicit revision resolves to a saved full commit. An unchanged branch, tag or commit choice reuses its saved snapshot.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Qualifying installs refresh unpinned catalogs declared by this checkout's team and local manifests, never every registered catalog, before delivery reads them. Selected snapshots do not move the shared clone.
- Each install then delivers the installed profile, and only that profile, right away.
- If that delivery reports conflicts or failed writes, the command exits non-zero with
delivery-failed.
Exit status
- This command exits non-zero for missing or malformed manifests, missing catalog content, profile conflicts, or delivery failures.
- A target that is empty, missing, or not a folder exits with
target-directory-invalidbefore profile save or destination writes. A failed delivery can leave the saved destination and partial file changes available for retry. - A declared catalog that cannot be refreshed exits non-zero with
catalog-refresh-failedbefore any profile is saved or delivered.
skc profile uninstall
Remove the project profile for the checkout where you run it.
skc profile uninstall [OPTIONS]This command removes the project profile installed for the folder where you run it. It does not search parent folders for a profile. It fails when no project profile is installed for this checkout.
Output
- By default this command prints a summary of the removed project profile and the delivered files it removed.
--jsonreturns the standard SkillCatalog JSON envelope.
Side effects
- Successful uninstalls remove this checkout's project profile from the SkillCatalog folder.
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- Successful uninstalls clean delivered files that belong only to the removed profile.
Exit status
- This command exits non-zero when no installed profile matches the checkout, when checkout ownership is inconsistent, or when delivery cleanup fails.
skc settings
Inspect or update application settings.
skc settings [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc settings show | Show the current settings. |
skc settings list | Alias for settings show. |
skc settings enable | Enable a delivery target. |
skc settings disable | Disable a delivery target. |
skc settings telemetry | Inspect or change shared usage metrics. |
skc settings show
Show the current settings.
skc settings show [OPTIONS]Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc settings list
Alias for skc settings show, with the same arguments and behavior.
skc settings enable
Enable a delivery target.
skc settings enable [OPTIONS] <TARGET_ID>| Argument | Description |
|---|---|
<TARGET_ID> | Supported target id. Allowed values: claude-code, cursor, codex. |
Output
- By default this command prints whether the delivery target is on or off, the profiles it removed because their checkouts are gone, and any delivery warning.
--jsonreturns the target id, its newenabledvalue, any delivery warning,removed_profileswith aprofile_idanddirectoryfor each removal, and the updated settings.
Side effects
- Successful runs save whether the delivery target is on or off in
settings.toml. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- After saving settings, SkillCatalog attempts delivery for all profiles and reports delivery conflicts or failed writes as warnings while keeping the settings change. Edited files that delivery keeps are not a warning on their own.
Exit status
- This command exits non-zero for unsupported target ids, or when
settings.tomlcannot be saved. - It exits 47 when the delivery that follows the change wrote or removed files and then failed.
skc settings disable
Disable a delivery target.
skc settings disable [OPTIONS] <TARGET_ID>| Argument | Description |
|---|---|
<TARGET_ID> | Supported target id. Allowed values: claude-code, cursor, codex. |
Output
- By default this command prints whether the delivery target is on or off, the profiles it removed because their checkouts are gone, and any delivery warning.
--jsonreturns the target id, its newenabledvalue, any delivery warning,removed_profileswith aprofile_idanddirectoryfor each removal, and the updated settings.
Side effects
- Successful runs save whether the delivery target is on or off in
settings.toml. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Follow-on behavior
- After saving settings, SkillCatalog attempts delivery for all profiles and reports delivery conflicts or failed writes as warnings while keeping the settings change. Edited files that delivery keeps are not a warning on their own.
Exit status
- This command exits non-zero for unsupported target ids, or when
settings.tomlcannot be saved. - It exits 47 when the delivery that follows the change wrote or removed files and then failed.
skc settings telemetry
Inspect or change shared usage metrics.
skc settings telemetry [OPTIONS]Inspect or change shared usage metrics for the SkillCatalog desktop app and skc.
A catalog's owner can name a metrics address in the catalog's catalog.yaml. While usage metrics are on, SkillCatalog sends anonymous usage counts to that address. Metrics contain command outcomes and durations, and counts about that catalog and its skills, stacks, and bundles, named by id and slug. Counts about catalogs without an address are never sent.
Usage metrics are on by default. With no flag, this command shows the switch and the catalogs that declare a metrics address.
| Argument | Description |
|---|---|
--enable | Turn usage metrics on for the desktop app and skc. Cannot be combined with --disable. |
--disable | Turn usage metrics off for the desktop app and skc, and discard unsent counts. Cannot be combined with --enable. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc catalog
Manage registered catalogs and their sync policy.
skc catalog [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc catalog add | Register and clone a catalog from a remote Git URL. |
skc catalog list | List registered catalogs. |
skc catalog remove | Unregister a catalog by id. |
skc catalog stats | Count readable skills, stacks, and bundles in one catalog. |
skc catalog changes | Show pending local changes across registered catalogs. |
skc catalog policy | Show or change a catalog's sync policy. |
skc catalog add
Register and clone a catalog from a remote Git URL.
skc catalog add [OPTIONS] <URL>This command accepts only remote Git URLs via SSH, ssh://, or HTTP(S) without passwords, tokens, query strings, or fragments.
| Argument | Description |
|---|---|
<URL> | Catalog source as a remote Git URL without passwords, tokens, query strings, or fragments. |
--metrics-url <ADDRESS> | Address of an OpenTelemetry (OTLP) metrics endpoint, for a catalog this command creates in an empty repository. SkillCatalog saves it in the new catalog.yaml as metrics_url. Everyone who adds the catalog then sends anonymous usage counts to it. If the repository already has a catalog, SkillCatalog adds that catalog without the address and prints a warning. The address starts with http:// or https://, ends in /v1/metrics, and has no user name, password, query, or fragment. |
Output
- By default this command prints the added or already-registered catalog and its clone path when known.
--jsonreturns the catalog registration in the standard SkillCatalog JSON envelope.- When SkillCatalog does not save the
--metrics-urladdress, it prints a warning on standard error, and--jsonholds it indata.metrics_url_warning. - When the starter files of an empty repository cannot be pushed, the add still succeeds and keeps the commit in the clone. SkillCatalog prints a warning on standard error, and
--jsonholds it indata.initial_push_warning.skc sync <catalog-id>pushes the commit once the Git host accepts it.
Side effects
- Successful fresh additions register the catalog and clone it into the SkillCatalog folder, under
catalogs/. - A repository with commits keeps its catalog at
catalog.yamlor.skillcatalog/catalog/catalog.yaml; having both is an error. Missing content folders are created beside the selected catalog.yaml, without commits or a README. - When the remote repository is empty, a fresh addition also writes starter files (
catalog.yaml,README.md, andskills,stacks, andbundlesfolders), commits them, and pushes that commit. - With
--metrics-url, adding an empty repository also writes the address into the newcatalog.yamlasmetrics_url. - Fresh additions add SkillCatalog's pre-commit hook to the clone, which checks only the catalog, without drift or team manifest checks.
- SkillCatalog rewrites its own block in that hook when it syncs or saves the catalog, so the hook runs the current
skc; a hook without SkillCatalog's markers is left alone. - Adding a source that is already registered changes nothing.
- For a repository that already has a catalog, or a source that is already registered,
--metrics-urlsaves nothing. The add runs as it would without the flag, and SkillCatalog prints a warning. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- This command exits non-zero for non-remote sources, sources with passwords, tokens, query strings, or fragments, clone failures, unreadable clones, or registry conflicts.
skc catalog list
List registered catalogs.
skc catalog list [OPTIONS]Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc catalog remove
Unregister a catalog by id.
skc catalog remove [OPTIONS] <CATALOG_ID>| Argument | Description |
|---|---|
<CATALOG_ID> | Catalog id (from catalog.yaml). Must match a registered catalog; unknown ids fail with catalog-not-found. |
--keep-clone | Keep the catalog's clone folder on disk after unregistering. |
--force | Skip the in-use check and unregister the catalog even when profiles use it. Their entries stay as they are, and those profiles are not delivered until you remove the entries with skc profile remove <profile-id> --kind <kind> --slug <slug> --catalog-id <id>. A registration that cannot be read can also be removed this way; its local files are always kept. |
--discard-local-work | Delete the clone even when it holds work that is not on the Git host: changed or untracked files, unpushed commits, or stash entries. Without this flag, the command asks first in a terminal and refuses otherwise. |
Output
- By default this command prints the removed catalog and whether the clone was removed or kept.
--jsonreturns the removed catalog pluskept_cloneandclone_removedfields in the standard SkillCatalog JSON envelope.
Side effects
- Successful runs unregister the catalog.
- By default this command removes the catalog's clone folder when the registration records one.
--keep-cloneleaves the clone folder on disk after unregistering.- Removing a catalog deletes its local folder. When the folder holds work that is not on the Git host (changed or untracked files, unpushed commits, or stash entries), or Git cannot read it, the command first asks in a terminal;
--discard-local-workdeletes the folder without asking, and--keep-clonekeeps it. - Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- Without a terminal, or with
--json, this command exits non-zero withcatalog-remove-local-workwhen the clone folder holds work that is not on the Git host, or Git cannot read it, and changes nothing. - This command exits non-zero with
catalog-remove-in-usewhen any profile still uses the catalog: through its own entries, its checkout's local manifest, or its team manifest. - The refusal lists one
skc profile remove <profile-id> --kind <kind> --slug <slug> --catalog-id <id>command per entry, including entries in a checkout's local manifest. A catalog that a team manifest declares stays in use after its entries are excluded, untilskc uninstallruns in that checkout. - Rerun with
--forceto unregister anyway. Profiles with entries from the catalog are not delivered until those entries are removed; other profiles still deliver, and delivery exits non-zero. - This command exits non-zero for unknown catalog ids or when the clone folder cannot be deleted safely.
skc catalog stats
Count readable skills, stacks, and bundles in one catalog.
skc catalog stats [OPTIONS] <CATALOG_ID>| Argument | Description |
|---|---|
<CATALOG_ID> | Catalog id (from catalog.yaml). Must match a registered catalog; unknown ids fail with catalog-not-found. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc catalog changes
Show pending local changes across registered catalogs.
skc catalog changes [OPTIONS] [CATALOG_ID]...| Argument | Description |
|---|---|
[CATALOG_ID]... | Catalog ids (from catalog.yaml) to inspect. Without a selector, every registered catalog is inspected. |
--catalog-id <CATALOG_ID> | Catalog id (from catalog.yaml) to inspect. May be repeated. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc catalog policy
Show or change a catalog's sync policy.
skc catalog policy [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc catalog policy show | Show a catalog's sync policy. |
skc catalog policy set | Set a catalog's sync policy. |
skc catalog policy show
Show a catalog's sync policy.
skc catalog policy show [OPTIONS] <CATALOG_ID>| Argument | Description |
|---|---|
<CATALOG_ID> | Catalog id (from catalog.yaml). Must match a registered catalog; unknown ids fail with catalog-not-found. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc catalog policy set
Set a catalog's sync policy.
skc catalog policy set [OPTIONS] <CATALOG_ID> <COMMAND>| Argument | Description |
|---|---|
<CATALOG_ID> | Catalog id (from catalog.yaml). Must match a registered catalog; unknown ids fail with catalog-not-found. |
| Subcommand | Description |
|---|---|
skc catalog policy set <CATALOG_ID> direct | Pull and push SkillCatalog commits on the same branch. |
skc catalog policy set <CATALOG_ID> review-branch | Pull from primary and push each change as a proposal on its own branch. |
skc catalog policy set direct
Pull and push SkillCatalog commits on the same branch.
skc catalog policy set <CATALOG_ID> direct [OPTIONS]Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc catalog policy set review-branch
Pull from primary and push each change as a proposal on its own branch.
skc catalog policy set <CATALOG_ID> review-branch [OPTIONS] --primary <PRIMARY> --review <REVIEW>| Argument | Description |
|---|---|
--primary <PRIMARY> | Required. Branch that SkillCatalog pulls from, for example main. |
--review <REVIEW> | Required. Review branch, for example skillcatalog/<catalog-id>, the desktop default. Each proposal gets its own branch: this name without its last segment, then the catalog id, then the proposal, such as skillcatalog/<catalog-id>/<proposal-id>-<item>. Must differ from --primary, and proposal branches cannot sit under the primary branch: with --primary main, --review main/review is refused. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc proposal
Manage active local proposal records and remote-only branches.
skc proposal [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc proposal list | List active local proposal records. |
skc proposal show | Show one proposal record by id. |
skc proposal refresh | Check one or every active proposal on the Git host and update its record. |
skc proposal discard | Discard an active proposal record (transitions to Discarded). |
skc proposal verify-clean | Check the local setup that proposals need in registered catalog clones. |
skc proposal list
List active local proposal records.
skc proposal list [OPTIONS]| Argument | Description |
|---|---|
--catalog-id <CATALOG_ID> | Restrict listing to one catalog id (default: every registered catalog). |
--include-remote-only | Also list proposal branches that exist only on the Git host. At most remote_only_discovery_cap branches are listed; set it in the [proposals] section of settings.toml (default 200, also used when settings cannot be read). |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc proposal show
Show one proposal record by id.
skc proposal show [OPTIONS] <PROPOSAL_ID>| Argument | Description |
|---|---|
<PROPOSAL_ID> | Proposal id (ULID, 26 chars). |
--catalog-id <CATALOG_ID> | Restrict to one catalog id (default: search every registered catalog). |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc proposal refresh
Check one or every active proposal on the Git host and update its record.
skc proposal refresh [OPTIONS] [PROPOSAL_ID]| Argument | Description |
|---|---|
[PROPOSAL_ID] | Optional proposal id; if omitted, refreshes every active record across every registered catalog. |
--catalog-id <CATALOG_ID> | Restrict to one catalog id. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc proposal discard
Discard an active proposal record (transitions to Discarded).
skc proposal discard [OPTIONS] <PROPOSAL_ID>| Argument | Description |
|---|---|
<PROPOSAL_ID> | Proposal id (ULID, 26 chars). |
--catalog-id <CATALOG_ID> | Restrict to one catalog id. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc proposal verify-clean
Check the local setup that proposals need in registered catalog clones.
skc proposal verify-clean [OPTIONS] [CATALOG_ID]| Argument | Description |
|---|---|
[CATALOG_ID] | Restrict the check to one catalog id (default: every registered catalog). |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc skill
Inspect skills in registered catalogs.
skc skill [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc skill list | List skills from every registered catalog, or from one catalog. |
skc skill show | Show one skill from a registered catalog. |
skc skill list
List skills from every registered catalog, or from one catalog.
skc skill list [OPTIONS] [CATALOG_ID]Without a filter, the command lists every registered catalog, one group per catalog. Pass --catalog-id <CATALOG_ID> to list only that catalog.
A positional CATALOG_ID also works as an alias for --catalog-id. Supplying both the positional and --catalog-id with different values is a user-input error.
A skill that cannot be read is left out of the list and does not stop the listing: text output prints a warning line for it on standard error, and --json lists it under invalid_items with its slug, path, and error. skc validate still reports it.
| Argument | Description |
|---|---|
--catalog-id <CATALOG_ID> | Catalog id (from catalog.yaml) to list. Must match a registered catalog; unknown ids fail with catalog-not-found. |
[CATALOG_ID] | Positional alias for --catalog-id. Supplying both forms with different values is rejected. |
--compact | Omit full skill bodies from JSON output. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc skill show
Show one skill from a registered catalog.
skc skill show [OPTIONS] <ARGS>...Use either the positional form skc skill show <CATALOG_ID> <SLUG> or the explicit flag form skc skill show <SLUG> --catalog-id <CATALOG_ID>.
The catalog id must match a registered catalog; unknown ids fail with catalog-not-found.
| Argument | Description |
|---|---|
<ARGS>... | Positional arguments. Use <CATALOG_ID> <SLUG> without --catalog-id, or <SLUG> with --catalog-id. |
--catalog-id <CATALOG_ID> | Catalog id (from catalog.yaml). Must match a registered catalog; unknown ids fail with catalog-not-found. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc stack
Inspect stacks in registered catalogs.
skc stack [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc stack list | List stacks from every registered catalog, or from one catalog. |
skc stack show | Show one stack from a registered catalog. |
skc stack list
List stacks from every registered catalog, or from one catalog.
skc stack list [OPTIONS] [CATALOG_ID]Without a filter, the command lists every registered catalog, one group per catalog. Pass --catalog-id <CATALOG_ID> to list only that catalog.
A positional CATALOG_ID also works as an alias for --catalog-id. Supplying both the positional and --catalog-id with different values is a user-input error.
A stack file that cannot be parsed is left out of the list. The command still succeeds. Text output prints a warning for the file on standard error. With --json, the file appears under invalid_items with its slug, path, and error. skc validate still reports it.
| Argument | Description |
|---|---|
--catalog-id <CATALOG_ID> | Catalog id (from catalog.yaml) to list. Must match a registered catalog; unknown ids fail with catalog-not-found. |
[CATALOG_ID] | Positional alias for --catalog-id. Supplying both forms with different values is rejected. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc stack show
Show one stack from a registered catalog.
skc stack show [OPTIONS] <ARGS>...Use either the positional form skc stack show <CATALOG_ID> <SLUG> or the explicit flag form skc stack show <SLUG> --catalog-id <CATALOG_ID>.
The catalog id must match a registered catalog; unknown ids fail with catalog-not-found.
| Argument | Description |
|---|---|
<ARGS>... | Positional arguments. Use <CATALOG_ID> <SLUG> without --catalog-id, or <SLUG> with --catalog-id. |
--catalog-id <CATALOG_ID> | Catalog id (from catalog.yaml). Must match a registered catalog; unknown ids fail with catalog-not-found. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc bundle
Inspect bundles in registered catalogs.
skc bundle [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc bundle list | List bundles from every registered catalog, or from one catalog. |
skc bundle show | Show one bundle from a registered catalog. |
skc bundle list
List bundles from every registered catalog, or from one catalog.
skc bundle list [OPTIONS] [CATALOG_ID]Without a filter, the command lists every registered catalog, one group per catalog. Pass --catalog-id <CATALOG_ID> to list only that catalog.
A positional CATALOG_ID also works as an alias for --catalog-id. Supplying both the positional and --catalog-id with different values is a user-input error.
A bundle file that cannot be parsed is left out of the list. The command still succeeds. Text output prints a warning for the file on standard error. With --json, the file appears under invalid_items with its slug, path, and error. skc validate still reports it.
| Argument | Description |
|---|---|
--catalog-id <CATALOG_ID> | Catalog id (from catalog.yaml) to list. Must match a registered catalog; unknown ids fail with catalog-not-found. |
[CATALOG_ID] | Positional alias for --catalog-id. Supplying both forms with different values is rejected. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc bundle show
Show one bundle from a registered catalog.
skc bundle show [OPTIONS] <ARGS>...Use either the positional form skc bundle show <CATALOG_ID> <SLUG> or the explicit flag form skc bundle show <SLUG> --catalog-id <CATALOG_ID>.
The catalog id must match a registered catalog; unknown ids fail with catalog-not-found.
| Argument | Description |
|---|---|
<ARGS>... | Positional arguments. Use <CATALOG_ID> <SLUG> without --catalog-id, or <SLUG> with --catalog-id. |
--catalog-id <CATALOG_ID> | Catalog id (from catalog.yaml). Must match a registered catalog; unknown ids fail with catalog-not-found. |
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
skc validate
Check catalogs, profiles, settings, delivered files, and the team manifest in this folder.
skc validate [OPTIONS]| Argument | Description |
|---|---|
--drift | Run only the drift checks. |
--settings | Run only the settings-file checks. |
--profiles | Run only the checks of profile files in the SkillCatalog folder. |
--manifest | Run only the team manifest checks for the current checkout. |
--path <PATH> | Limit catalog, drift, or manifest validation to a specific path. |
--no-drift | Skip the drift checks that a full run includes. Cannot be combined with --drift. |
--warnings-ok | Exit successfully when diagnostics are warnings only. |
Output
- By default this command prints human-readable diagnostics for any failing checks.
--jsonreturns the standard SkillCatalog JSON envelope.
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- The default run includes drift checks unless
--no-driftis set. - Errors exit non-zero; warnings do too unless
--warnings-okis set. Informational findings never fail validation. --driftand--no-driftcannot be combined.- When
--pathpoints at a catalog root, validation scopes catalog checks and drift to that catalog. - For a catalog in
.skillcatalog/catalog/,--pathaccepts the repository root, the catalog folder, or its catalog.yaml. The repository root also checks its team manifest; the catalog folder and file check only the catalog. A root catalog keeps catalog-only selection. - Two catalog locations report
catalog-layout-conflict; keep only one catalog.yaml. - Catalog checks treat missing
stacksandbundlesfolders as empty, like the rest of SkillCatalog, and report a missingskillsfolder, symbolic links that delivery would refuse in skill folders, and leftover Git conflict markers outside fenced code as errors.
skc hook
Run the check that a catalog's pre-commit hook calls. Not for direct use.
skc hook [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
skc hook run | Run the check that a catalog's pre-commit hook calls. |
skc hook run
Run the check that a catalog's pre-commit hook calls.
skc hook run [OPTIONS] --protocol <PROTOCOL> --path <PATH>| Argument | Description |
|---|---|
--protocol <PROTOCOL> | Required. Hook protocol version, set by the hook. |
--path <PATH> | Required. Catalog clone to check. |
Side effects
- Startup maintenance writes local logs and prunes expired proposal records and orphaned Git state. It does not restore unfinished sync edits inside the commit check.
skc status
Show your catalogs, profiles, tools, and drift.
skc status [OPTIONS]Output
- By default this command prints registered catalogs, profiles, enabled delivery targets, and drift counts.
--jsonreturns the standard SkillCatalog JSON envelope with the same summary.
Side effects
- Startup maintenance writes local logs, prunes expired proposal records and orphaned Git state, and can restore unfinished sync edits into registered catalog clones before the command runs. JSON mode omits the restoration warning.
Exit status
- This command exits non-zero with
status-inconsistent-statewhen validating profile files, settings, or catalogs finds errors or warnings. Runskc validatefor diagnostics.
skc completions
Generate shell completions for skc.
skc completions [OPTIONS] <SHELL>| Argument | Description |
|---|---|
<SHELL> | Target shell for the generated completion script. Allowed values: bash, zsh, fish, powershell. |
Output
- This command always prints a shell completion script to standard output.
- It does not use the standard JSON envelope, even when
--jsonis present.
skc help-json
Print the full command tree as JSON.
skc help-json [OPTIONS]Output
- This command always prints raw JSON to standard output.
- It does not use the standard JSON envelope, even when
--jsonis present. - The JSON describes every command and argument, including the built-in help and version flags, aliases, options that cannot be combined, and these behavior notes.