Troubleshooting
Each section starts with a message that SkillCatalog prints, such as Error: dirty-tree, explains why it appears, and gives the fix. The sections are grouped by what you were doing when the message appeared, in the order most people meet them. Messages show your home folder as ~ and Acme's names in place of yours. Each error's exit code is in the reference.
Catalogs and skills
A new catalog stays empty on the Git host
Warning: SkillCatalog committed the new catalog's starter files, but could not push them to the Git host, so the repository is still empty there. Check that you can push to it, then run `skc sync acme-skills`.You added an empty repository, and SkillCatalog created the catalog's starter files and committed them in your clone, but the Git host refused the push. The usual cause is access: the account or SSH key that Git uses on this machine cannot push to that repository. The catalog works on your machine, but anyone who adds the repository now gets a separate, empty catalog of their own, so push before you share it. In the desktop app, the same warning appears after Add catalog.
Check that git push works for that repository from a terminal, then sync the catalog, which pushes the commit:
skc sync acme-skillsAdding a catalog reports a missing catalog.yaml
Error: catalog-clone-unreadable
Failed to scaffold catalog: Repository 'Platform Skills' is not a SkillCatalog catalog yet: it has commits but no catalog.yaml at its root or in .skillcatalog/catalog/ (missing required catalog path: expected 'catalog.yaml' or '.skillcatalog/catalog/catalog.yaml'). Commit a catalog.yaml with `id` and `name` and push it.
Hint: SkillCatalog did not add the catalog. Fix the problem named above, then rerun `skc catalog add <source>`.The repository has commits, such as a README that your Git host created, but no catalog at either supported location. SkillCatalog writes the catalog files itself only into an empty repository, so here you add them. Choose the repository root or .skillcatalog/catalog/, following the location rule. The example below uses the repository root; for a subfolder catalog, create both catalog.yaml and skills/ under .skillcatalog/catalog/ and stage those prefixed paths. Keep a .gitkeep in skills/, because Git does not keep empty folders and skc validate needs the folder:
git clone git@github.com:acme/platform-skills.git
cd platform-skills
mkdir skills
touch skills/.gitkeepCreate catalog.yaml with the catalog id and name you want:
id: platform-skills
name: Platform SkillsCommit and push, then add the catalog again:
git add catalog.yaml skills
git commit -m "Add catalog files"
git push
skc catalog add git@github.com:acme/platform-skills.gitClones time out
Error: catalog-clone-failed
Clone failed: SkillCatalog stopped waiting for the Git host github.com after 120 seconds. Check your network connection, then try again. To wait longer, set GIT_TIMEOUT_NETWORK to more than 120 seconds.
Hint: Check your network connection and the catalog's address, then rerun `skc catalog add <source>`.SkillCatalog stops a clone, fetch, or push after two minutes, and skc sync shows the same sentence on the catalog's line. The desktop app shows the sentence without GIT_TIMEOUT_NETWORK. In a terminal, when a clone, fetch, or push still runs after five seconds, skc names the host it waits for, once per host, and during a sync also the catalog:
Waiting for the Git host github.com. SkillCatalog stops waiting after 120 seconds.A host that never answers usually means a network problem, such as a VPN that is off or a Wi-Fi login page. A large repository on a slow connection can need longer, so raise the limit for one command, in seconds:
GIT_TIMEOUT_NETWORK=600 skc catalog add git@github.com:acme/platform-skills.gitGit cannot ask its question
Error: catalog-clone-failed
Clone failed: This computer does not trust the SSH key of github.com yet. Open a terminal, run ssh -T git@github.com, and answer yes when SSH asks whether to trust the key. Then try again.
Hint: Let SSH trust the Git host's key as the message says, then rerun `skc catalog add <source>`.Git and SSH sometimes need an answer: whether to trust a host they have not seen before, a key passphrase, or a password. When skc runs in a terminal, they ask you there, as plain git does. The desktop app and scripts have no terminal, so the question fails at once. skc install and skc update also name the catalog and its address, and skc sync shows the message on the catalog's line. Answer the question once in a terminal with the command the message names, then try again:
ssh -T git@github.comSSH shows the key's fingerprint and asks whether to trust the host. If your Git host publishes its fingerprints, as GitHub does, check that they match, then answer yes. For a key with a passphrase, add the key to your SSH agent instead, for example with ssh-add --apple-use-keychain ~/.ssh/id_ed25519 on a Mac.
An HTTPS address that needs a login fails the same way when no credential helper stores one:
Error: catalog-clone-failed
Clone failed: Git needs a login for this address and cannot ask for it without a terminal. Store your user name and password or token in a Git credential helper, then try again. See "Git cannot ask its question" in the troubleshooting guide.
...Set up a credential helper that stores your token, such as git config --global credential.helper osxkeychain on a Mac. Then run a Git command against the address once in a terminal, such as git ls-remote https://github.com/acme/platform-skills.git, and give your user name and token when Git asks; the helper keeps them for the desktop app and for scripts.
No repository at the catalog's address
Error: catalog-clone-failed
Clone failed: No repository was found at the catalog's address, or your account cannot access it. Check the address and your access, then try again. Git said: remote: ERROR: The project you were looking for could not be found or you don't have permission to view it.
...The Git host found no repository at the address, or none that your account may see: hosts answer both the same way, so they do not reveal private repositories. Check the address for a typo, and check that the account or SSH key Git uses can open the repository in the host's web page. The text after Git said: is the host's own.
The Git host refuses access to the repository
Error: catalog-clone-failed
Clone failed: The Git host refused access to this repository. Your account or token may not have access to it, or the host may ask for a sign-in step first, such as single sign-on. Check your access, then try again. Git said: remote: The 'acme' organization has enabled or enforced SAML SSO. To access this repository, you must re-authorize the OAuth Application 'Git Credential Manager' at https://github.com/orgs/acme/sso
fatal: unable to access 'https://github.com/acme/platform-skills.git/': The requested URL returned error: 403
...The Git host answered and refused the account or token that Git used. GitHub does this when your organization requires single sign-on and the token is not authorized for it. The host's own words after Git said: name its step, such as the page where you authorize the token. Do what the host asks, or ask the repository's owner for access, then add the catalog again.
SkillCatalog refuses a damaged or redirected Git folder
If an operation says Repair the clone's .git folder, the catalog clone cannot use its own Git data safely. SkillCatalog requires a real .git folder inside each managed clone. A file or symbolic link that redirects Git elsewhere is unsupported, including a linked worktree registered as a catalog.
Keep a copy of unpublished edits before repairing the clone. Restore its own .git folder, or remove the registration while keeping the old clone:
skc catalog remove acme-skills --force --keep-clone
skc catalog add git@github.com:acme/acme-skills.gitThe new clone contains published content. Compare the old clone before moving unpublished edits into it. Startup maintenance skips the rejected clone and continues with other catalogs; automatic recovery keeps its saved edits for later repair.
The desktop says a catalog's local folder is missing
The warning names the folder the catalog needs. If you moved it or its disk is not mounted, restore the folder or mount the disk, then choose Refresh.
Choose Re-clone to download the catalog again from its saved address. The download uses a new folder and keeps the catalog's name, sync choice, selection and profiles. It changes no files on the Git host. A fresh download contains published content; it cannot recover unpublished edits in the missing folder. Keep that folder if you find it later and compare its work before removing it.
If the download fails or declares a different catalog id, the registration stays unchanged. Correct the access or source problem and choose Re-clone again. A folder that exists but has broken catalog files needs repair in the repository instead.
A skill is missing from the list
Warning: skill 'review-tests' in catalog 'acme-skills' is not listed because it cannot be read: invalid YAML in frontmatter: missing field `created_at` (~/.skillcatalog/catalogs/acme-skills/skills/review-tests.md)
2 skills in catalog 'acme-skills'.
...skc skill list lists the skills it can read and prints this warning on standard error for each one it cannot. Here a skill kept in one file has no dates. Fix what the warning names, or move the skill into its own folder as Skill files describes, then sync. Until then, skc validate fails on the file, while delivery of the other skills goes on. In the desktop app, the Skills page shows a row that starts with Cannot read skill "review-tests".
skc stack list and skc bundle list also list valid items and warn about each malformed file. The desktop Stacks and Bundles pages show the same kind of row, such as Cannot read stack "code-review".
The desktop app cannot load the selected catalog
SkillCatalog cannot load the catalog "Acme Skills"The desktop app shows this above every page when the catalog you selected stops loading, for example after a refresh pulled a catalog.yaml that does not parse. The catalog stays selected, and a skill, stack, or bundle you were editing stays open with your changes. Nothing in that catalog can be saved until it loads again. Fix the file in the catalog repository, or ask the teammate who changed it, then choose Refresh. You can also switch to another catalog; the app asks before it discards unsaved changes.
A catalog cannot be removed
Error: catalog-remove-local-work
Catalog 'Platform Skills' (platform-skills) has work that is not on the Git host: 1 changed file and 1 unpushed commit. Removing the catalog deletes its clone at /Users/sam/.skillcatalog/catalogs/platform-skills.
Hint: Publish the work first with `skc sync platform-skills`, or keep the clone with `--keep-clone`. To delete it, run the command again with `--discard-local-work`.The catalog's clone holds changes that are not on the Git host, and removing the catalog would delete them. In a terminal, skc catalog remove asks before it deletes them; in a script, or with --json, it stops. Sync the catalog to publish the work, then remove it:
skc sync platform-skills
skc catalog remove platform-skillsTo delete the work instead, add --discard-local-work.
A catalog that profiles still use cannot be removed either:
Error: catalog-remove-in-use
catalog 'platform-skills' is used by 2 installed profile(s):
- profile 'home' at ~: skill 'incident-response'
- profile 'payments-api' at ~/code/payments-api/.skillcatalog/skillcatalog.yml: the team manifest declares this catalog
Hint: Remove these entries, then rerun `skc catalog remove platform-skills`:
skc profile remove home --kind skill --slug incident-response --catalog-id platform-skills
...Each profile listed still uses the catalog, through direct entries, its manifests, or consumer imports. Run each skc profile remove command that the hint lists. Where a team manifest declares the catalog, run skc uninstall in that checkout, because excluding inherited entries does not clear the check. For an owned consumer import, remove the import first; its declared catalogs remain in use while that selection exists. Then remove the catalog:
skc profile remove home --kind skill --slug incident-response --catalog-id platform-skills
cd ~/code/payments-api
skc uninstall
skc catalog remove platform-skillsThe hint also offers --force, which removes the catalog anyway. Entries that depend on its shared clone can no longer deliver. Entries backed by available selected snapshots keep their saved content. A checkout whose team manifest declares an unselected catalog adds it again at its next skc install or skc update.
The catalog registry cannot be read
SkillCatalog lists your registered catalogs in catalogs.yml in the SkillCatalog folder. When one row of that file is invalid, for example a row with no source URL, most commands stop, and the error names the row's catalog and the command that removes it:
Error: internal-error
catalog registry state is inconsistent: catalog 'acme-skills' has an invalid registration: it has no source URL. Run `skc catalog remove acme-skills --force`, then add the catalog again with `skc catalog add <url>`.Run that command. It removes only the row and keeps the catalog's clone and your profiles. Then add the catalog again from its source.
When the file itself is not valid YAML, no command can read it, so no command can repair it either:
Error: registry-unreadable
The catalog registry '~/.skillcatalog/catalogs/catalogs.yml' cannot be parsed: catalogs[0]: unknown field `colour`, expected one of `id`, `name`, `source`, `local_path`, `last_synced_at`, `created_at`, `sync_policy` at line 3 column 3
Hint: Fix the reported line in '~/.skillcatalog/catalogs/catalogs.yml', or restore the file from a backup, then run the command again.skc status reports the same problem as a registry-malformed finding. Edit the line the message reports, or restore the file from a backup. A newer SkillCatalog that wrote a field this version does not know causes this too, so upgrading skc and the desktop app also fixes it.
An import selection reports a failed save
Read the error's committed effect and recovery hint before retrying. A failed command can still have saved part or all of the selection.
If the local imports were saved but the installed profile was not, the previous saved graph remains. Delivery stops while those selections differ. Inspect .skillcatalog/skillcatalog.local.yml, then run skc profile import update --profile <profile-id> to prepare and save the current selection. Use the id from skc profile list.
If the message says the prepared profile selection was saved, inspect it with skc profile import show --profile <profile-id>, then retry skc deliver <profile-id>. The failed command does not restore the previous selection.
A failed direct addition can instead report that the local entry was saved but its selected catalog choice was not. Retry the same add before removing the import that supplies that catalog.
Syncing
Git identity is missing
Error: missing-config
Git is missing required config: user.email and user.name.
Hint: Set `git config --global user.email <you@example.com>` and `git config --global user.name <Your Name>`, then rerun `skc sync`.SkillCatalog commits under your Git identity, and Git has none. Adding an empty repository as a catalog stops the same way, with missing-git-identity, because SkillCatalog commits the catalog's starter files. Set your name and email, then run the command again:
git config --global user.name "<your name>"
git config --global user.email "<your email>"skc sync reads Git identity in the folder where you run it, including any repository settings. Desktop Git status reads global settings. To change them in the app, open Settings, then choose Edit under Git identity.
Sync refuses to run
Error: dirty-tree
Pending changes detected and stdin is not a terminal; refusing to sync without an explicit commit message.
Catalog Acme Skills (acme-skills) [direct]
modified: skills/review-checklist/SKILL.md
Hint: Rerun with `--message <msg>` to commit, or run the command in an interactive terminal.A catalog has changes to commit, and skc sync asks for a commit message only in a terminal. Pass the message:
skc sync --message "Check that migrations can be rolled back"Another sync is running
Error: another-sync-running
Sync could not start: another operation is using the catalog. Busy catalog: Acme Skills (acme-skills).
Hint: Another sync, a desktop save, or a Git command in the catalog folder is running. Wait for it to finish, then run the command again.Another sync, a desktop save, the desktop app's check when its window comes to the front, or a Git command is using the busy catalog. Wait, then run the command again. In the desktop app, the Sync Center shows the same message when every catalog was busy. When other catalogs synced, it shows the results of the run instead, with the busy catalog's name and Another operation is in progress.
When Git left its lock file in the clone, the hint ends with its path:
Hint: Another sync, a desktop save, or a Git command in the catalog folder is running. Wait for it to finish, then run the command again. If no Git command is running, a Git command that stopped part way left /Users/sam/.skillcatalog/catalogs/acme-skills/.git/index.lock; delete it, then run the command again.If no Git command is running, delete that file:
rm ~/.skillcatalog/catalogs/acme-skills/.git/index.lockA push is rejected or a pull conflicts
Error: sync-all-failed
Every requested catalog-sync attempt failed.
Catalog results:
- Acme Skills (acme-skills): diverged (Conflicts detected: 1 file could not be merged automatically: skills/review-checklist/SKILL.md.)
...You and a teammate changed the same lines of the files listed. Merge in the clone with git pull --no-rebase, keep the lines you want, delete the conflict markers, and sync again.
When the Git host refused the push, the catalog's line gives the host's reason instead:
Error: sync-all-failed
Every requested catalog-sync attempt failed.
Catalog results:
- Acme Skills (acme-skills): push failed (The Git host refused the push: Changes to main must go through a pull request. (pre-receive hook declined).)
...Your commit stays in your clone. Do what the host asks, then sync again. To send changes through review instead, switch the catalog to review branches.
The Git host rewrote a branch
Synced 1 catalog (1 commit pulled, 1 commit removed, 0 commits pushed, 0 deliveries).
Catalogs:
- Acme Skills (acme-skills): pull updated (1 commit pulled), push nothing to push - The Git host rewrote this branch, and the clone followed it: 1 commit left the clone, and refs/skillcatalog-removed/main keeps it. 1 commit pulled.Someone rewrote main on the Git host with a force push, for example to remove a leaked secret. Sync never merges the removed commits back. When your clone has only commits that came from the host, sync switches it to the new history on its own. When you also have ordinary commits of your own, sync moves them onto the new history. If those commits include a merge, sync stops before replaying them, because a merge can contain changes that a rebase would discard. Keep a backup branch, inspect the merge result, and rebuild the changes you intend on the new upstream before syncing again. Either way, the catalog's line says how many commits left your clone.
If the force push was a mistake, the removed commits are still in your clone, under the ref that the line names. List them, bring back the ones you want, and sync:
git -C ~/.skillcatalog/catalogs/acme-skills log --oneline --cherry-pick --right-only HEAD...refs/skillcatalog-removed/main
git -C ~/.skillcatalog/catalogs/acme-skills cherry-pick <commit>
skc syncOn a review-branch catalog, that sync sends them as a proposal. The ref keeps the commits until sync follows the next rewrite of the same branch.
When the force push removed a secret, make your clone drop it too. A proposal made before the purge can still hold the removed commit, so first discard each such proposal with skc proposal discard <id>, and delete its branch on the Git host and in the clone. Then delete the ref and let Git discard the commits:
git -C ~/.skillcatalog/catalogs/acme-skills update-ref -d refs/skillcatalog-removed/main
git -C ~/.skillcatalog/catalogs/acme-skills reflog expire --expire-unreachable=now --all
git -C ~/.skillcatalog/catalogs/acme-skills gc --prune=nowSync stops when one of your commits changes the same lines as the new history:
Error: sync-all-failed
Every requested catalog-sync attempt failed.
Catalog results:
- Acme Skills (acme-skills): error (Not synced: the Git host rewrote main and removed 1 commit that this clone still has. SkillCatalog merged and pushed nothing, so it does not publish them again. Your local commits change the same lines as the new history in: skills/review-checklist/SKILL.md. To move them by hand, run `git -C '/Users/sam/.skillcatalog/catalogs/acme-skills' rebase --onto origin/main 3f2a9c1e8b7d4a6f0c5e2b9d8a7f6e5d4c3b2a19`, resolve each conflict, run `git -C '/Users/sam/.skillcatalog/catalogs/acme-skills' rebase --continue`, then sync again.)
...Run the command from the message. Git stops at each conflict; keep the lines you want, delete the conflict markers, then add the file and continue:
git -C ~/.skillcatalog/catalogs/acme-skills rebase --onto origin/main 3f2a9c1e8b7d4a6f0c5e2b9d8a7f6e5d4c3b2a19
git -C ~/.skillcatalog/catalogs/acme-skills add skills/review-checklist/SKILL.md
git -C ~/.skillcatalog/catalogs/acme-skills rebase --continue
skc syncWhen the message says Changed files in the catalog folder are in the way instead, sync with a commit message: the commit moves onto the new history like your other commits. When it says Changed files that sync does not commit are in the way, it names files outside the catalog's own files. Save a copy of them, discard their changes, sync again, then make the changes again.
On a review-branch catalog, an edit to the very lines that the host removed cannot become a proposal without bringing them back. Sync stops with Not synced: your change to <file> changes lines that the Git host removed and leaves your edit in the catalog folder. Save a copy of your change, discard it, sync, then make it again on the new history.
A commit stops on leftover conflict markers
Error: sync-all-failed
Every requested catalog-sync attempt failed.
Catalog results:
- Acme Skills (acme-skills): error (Save blocked by catalog validation
...
- [validation.conflict-markers] catalog '~/.skillcatalog/catalogs/acme-skills' skill 'review-checklist' validation: validation.conflict-markers (line 10-14): leftover Git conflict markers; resolve the conflict and delete the marker lines
...A merge left in a SKILL.md the <<<<<<<, =======, and >>>>>>> lines that Git adds around a conflict. Before each commit that skc sync or a desktop save makes, SkillCatalog checks the catalog, and a marker block fails the check. Keep the text you want, delete the marker lines, and sync again.
The check reads only SKILL.md files, and it skips fenced code blocks, where examples of markers belong. After each merge, search the whole clone for the markers it misses:
git -C ~/.skillcatalog/catalogs/acme-skills grep -n '^<<<<<<<'To turn the check off for one catalog, see The pre-commit check.
A desktop save stops on unsynced changes
Not saved: skills/review-security/SKILL.md has changes that are not synced yet. Sync them first, then save again.On a direct catalog, a desktop save commits and pushes only the files of the item you saved. Here the clone also holds an unsynced change to that same item, such as a hand edit, so saving would publish that change with yours. The save stops and changes nothing. Sync the change, from the desktop app's Sync Center or in a terminal, then save again:
skc sync acme-skills --message "Check for leaked tokens"A save also stops when the item uses a skill, stack, category, owner, or tag that exists only in unsynced changes, because the Git host would receive an item that points at something it lacks:
Stack 'code-review' uses skill 'review-tests', which is not synced yet. Sync first. Your change is kept in the catalog folder; Sync publishes it together with every other pending change in this catalog.Deleting an item stops the same way, with could break references in changes that are not synced yet, when an unsynced file, such as a stack, can refer to it. In both cases your edit stays in the clone, and your next sync publishes it with the other changes.
Sync or update reports an unexpected error
Error: catalog-refresh-failed
catalog 'acme-skills' could not be refreshed: An unexpected error occurred. Please try again.
...SkillCatalog prints this when Git fails for a reason it does not recognize, such as a lost network connection, and skc sync shows the same text for each catalog. The log keeps Git's own message:
grep git_stderr ~/.skillcatalog/logs/latest.logUntil you fix the cause, skc deliver still delivers from the clones on your machine.
If install or update reports changed-after-catalog-refresh, review the team manifest and the catalogs named in the message. A failed refresh may have left a catalog partly changed. The recovery hint names the failure and the clone to inspect. Retry the original command in the checkout after reviewing the changes.
Review branches and proposals
Sync refuses one catalog
Error: sync-partial
Some catalogs synced successfully, but others require attention.
Catalog results:
- Acme Skills (acme-skills): error (Not synced: your change to skills/review-security/SKILL.md overlaps proposal 01m37fg6fptp6cjc6rvvyc44w2 (branch skillcatalog/acme-skills/01m37fg6fptp6cjc6rvvyc44w2-dirty-sync), which changed the same lines. Your changes are back in the catalog folder, uncommitted. Wait until the proposal is merged, then sync again. Editing the item in the desktop app changes the waiting proposal directly. Your other catalogs still pull and push, but sync delivers nothing while it refuses a catalog. To deliver them, sync them by id: `skc sync <catalog-id>`.)
- Platform Skills (platform-skills): updated (1 update applied)
...A change in acme-skills overlaps a waiting proposal, so sync refuses that catalog and leaves your change in its clone, uncommitted. The desktop app's Sync Center names the file and the proposal by its title, and its Review tab warns about a changed file that a waiting proposal also changes before you sync. Your other catalogs still pull and push, but sync delivers nothing while it refuses a catalog, and the desktop app's Sync does the same. Until the proposal is merged, sync the other catalogs by name in a terminal, which also delivers them, and give a commit message if it asks:
skc sync platform-skillsSync stops on an unfinished merge
Error: sync-all-failed
Every requested catalog-sync attempt failed.
Catalog results:
- Acme Skills (acme-skills): error (Not synced: the catalog folder has an unfinished merge, rebase, or cherry-pick. Finish or abort it first, then sync again.)
...On a review-branch catalog, sync stops while the clone has an unfinished merge, rebase, or cherry-pick. Finish it with Git or abort it, then sync again. To abort a merge:
git -C ~/.skillcatalog/catalogs/acme-skills merge --abort
skc sync --message "Log every export"For a rebase or a cherry-pick, run git rebase --abort or git cherry-pick --abort instead.
Local commits conflict with the Git host
Error: sync-all-failed
Every requested catalog-sync attempt failed.
Catalog results:
- Acme Skills (acme-skills): error (Conflicts detected: 1 file could not be merged automatically: skills/review-checklist/SKILL.md. Local commits on main conflict with origin/main; SkillCatalog did not publish or deliver them. To turn only your local changes into a proposal, run `git -C '~/.skillcatalog/catalogs/acme-skills' reset --soft 8d92b6fc4fafea9f7c1fa22ba43383b42774879c`, then `skc sync --message "<message>"`. To sync your other catalogs, run `skc sync <catalog-id>`.)
...On a review-branch catalog, sync turns commits on main that the Git host lacks into a proposal. It pulls first, and here the host's main changed the same lines. The message names the commit where your work split from the host's. Reset to that commit, which turns your commits back into uncommitted changes, then sync them as a proposal:
git -C ~/.skillcatalog/catalogs/acme-skills reset --soft <commit>
skc sync --message "Tests pass locally"Sync stops on a proposal that changed on the Git host
Error: sync-all-failed
Every requested catalog-sync attempt failed.
Catalog results:
- Acme Skills (acme-skills): error (save blocked: proposal '01m37fg6fptp6cjc6rvvyc44w2' (branch 'skillcatalog/acme-skills/01m37fg6fptp6cjc6rvvyc44w2-dirty-sync') refreshed to ExternallyChanged: remote branch changed externally. To send your change as a new proposal instead, run `skc proposal discard 01m37fg6fptp6cjc6rvvyc44w2`, which keeps the branch on the Git host, then sync again. Your changes are back in the catalog folder, uncommitted. Your other catalogs still pull and push, but sync delivers nothing while it refuses a catalog. To deliver them, sync them by id: `skc sync <catalog-id>`.)
...Your edit changes an item that a waiting proposal also changes, and someone changed that proposal's branch on the Git host, for example a reviewer who committed a suggestion. Sync does not add your edit on top of their commits. Wait until the proposal is merged, then sync again. To send your edit now as a separate proposal, discard the local record of the waiting proposal; its branch and pull request stay on the Git host:
skc proposal discard 01m37fg6fptp6cjc6rvvyc44w2
skc sync --message "Check for leaked tokens"Recover unpublished changes
Warning: Acme Skills (acme-skills) has 1 recovery file(s) from syncs that did not finish, in ~/.skillcatalog/proposals/acme-skills/recovery. See "Recover unpublished changes" in the troubleshooting guide.On a review-branch catalog, sync takes your edits out of the clone while it sends them as a proposal, and puts them back when the push fails. It also puts them back when the sync does not finish, for example because you pressed Ctrl-C during a slow push or the process was killed: before skc exits, or with your next skc command or the next start of the desktop app. In text mode, the skc command that puts them back says so on standard error, and the next sync sends them:
Warning: A sync of Acme Skills (acme-skills) did not finish, so SkillCatalog put your changes back in the catalog folder, uncommitted: skills/review-security/SKILL.md.When SkillCatalog cannot put a file back, because the file changed after sync took your edit out, it does not overwrite it. It keeps your version in a recovery file instead, and a failed sync names that file. Until the folder has no recovery files, each later skc sync prints the recovery file warning at the start of this section on standard error, unless you pass --json. The desktop app does not show it.
Each recovery file holds the edits of one sync or desktop save. Version 2 stores repeated file contents once, as base64, and keeps their metadata under record. A sync's original edits use clone_capture; a save uses payloads. Older version 1 records store bytes directly as lists of numbers. The command below reads either format and writes recovered files under ~/recovered. Deleted entries create no file; inspect their paths in the record before applying deletions yourself.
cd ~/.skillcatalog/proposals/acme-skills/recovery
python3 -c 'import base64, json, pathlib, sys
stored = json.load(open(sys.argv[1]))
version = stored["schema_version"]
if version not in (1, 2):
raise ValueError("Unsupported recovery version")
record = stored["record"] if version == 2 else stored
capture = record.get("clone_capture")
payloads = (capture or record)["payloads"]
indices = stored.get("capture_contents" if capture else "payload_contents")
root = (pathlib.Path.home() / "recovered").resolve()
for i, p in enumerate(payloads):
if not p["deleted"]:
out = (root / p["path"]).resolve()
try:
out.relative_to(root)
except ValueError:
raise ValueError("Recovery path escapes the output folder")
contents = base64.b64decode(stored["contents"][indices[i]], validate=True) if version == 2 else bytes(p["contents"])
out.parent.mkdir(parents=True, exist_ok=True)
out.write_bytes(contents)' 3c5980b992d9a7d942e866e72e169897.jsonCompare each file with the clone's copy, copy the changes you want into the clone, and sync. Then delete the recovery file:
rm ~/.skillcatalog/proposals/acme-skills/recovery/3c5980b992d9a7d942e866e72e169897.jsonDelivery is blocked on a review-branch catalog
Error: delivery-failed
Delivery for all profiles did not complete cleanly: 0 conflicts, 1 failed item.
...
Failures:
- ~/.claude/skills/incident-response (Platform Skills, incident-response, Claude Code) (profile 'home') : delivery blocked: catalog 'platform-skills' has 1 pending proposal(s) in RemoteStatusUnknown state; run `skc proposal refresh` before delivering [reason: blocked_remote_status_unknown; actions: retry]
...The last proposal check could not reach the Git host, so SkillCatalog does not know whether the proposal was merged. Until it knows, delivery skips that catalog's skills and keeps the copies it delivered earlier, while it still delivers everything else. When no profile can be delivered at all, skc deliver stops with delivery-blocked-by-remote-status-unknown instead. Check the proposals again, then deliver:
skc proposal refresh
skc deliverDelivery
A skill folder already exists
Added skill 'release-notes' from catalog 'acme-skills' to profile 'home'.
Warning: delivery after mutation failed.
delivery completed with 1 failed item; rerun delivery to inspect and repairskc deliver gives the reason:
Error: delivery-failed
Delivery for all profiles did not complete cleanly: 0 conflicts, 1 failed item.
...
- ~/.claude/skills/release-notes/SKILL.md (Acme Skills, Release notes, Claude Code) : target file exists in the app folder but is not managed by SkillCatalog [reason: unmanaged_target_exists; actions: inspect, skip, replace]
...SkillCatalog did not write this file, for example because you made the skill by hand, so delivery leaves it in place. It creates or updates no companion files in that skill folder until you accept taking over the main file. Move your folder away, then deliver:
mv ~/.claude/skills/release-notes ~/release-notes.bak
skc deliverA file that is exactly what delivery would write gets the same treatment. Its line says target file matches the catalog version but is not managed by SkillCatalog, and the output names the command that takes such files over. This happens when you copy a delivered skill by hand, or when a profile's delivery record is lost. Take the files over for one profile:
skc deliver home --adopt-matching--adopt-matching takes over only files that match exactly, and never overwrites a file with different content. Without a profile id, it works on every profile.
In the desktop app, the Sync Center and delivery report list these files. The report names each affected profile. Both choices deliver saved content for every profile, including when you open Choose… from one profile's header. This can create, update or remove managed files in other profiles.
Keep my files and deliver is the primary choice. It remembers your choice for that profile and leaves the listed files unmanaged, including on later syncs and after app restart. Keeping a main file also leaves its companion files alone. To deliver the catalog version later, remove the kept file and run Sync. Other existing companion files may then need their own choice.
Replace and deliver writes the catalog's version over the listed files with different content and takes over the listed files that match. SkillCatalog then manages them. An unmanaged file the card did not list, such as one that turned up after the card appeared, stays in place. To share your own version instead, bring it into a catalog.
Either choice updates the delivery result. The delivery report offers Retry when it has a failure count even if it has no file paths to show. If Retry fails, its error stays in the open report. A delivery with no remaining problems clears the earlier delivery failure cards. An incomplete delivery keeps them.
A delivered file is reported as changed
Error: delivery-check-drift
Drift check for all profiles: drift detected, 1 manually edited, 0 deleted, 0 unreadable.
Manually edited:
- ~/.claude/skills/review-checklist/SKILL.md [claude-code] Review checklist
...Someone edited a delivered copy. Delivery keeps the edit and lists the file under Kept edited files, not updated or removed:, so your tools read the edited copy.
To keep the edit for everyone, copy the changed lines into the catalog's copy of the skill. Then delete the delivered copy, deliver, and sync:
rm ~/.claude/skills/review-checklist/SKILL.md
skc deliver
skc sync --message "Check endpoint examples"Turning a tool off keeps an edited file
Disabled delivery target 'cursor'.
Kept edited files, not updated or removed:
- ~/.cursor/skills/review-checklist/SKILL.md
A tool you turn off keeps the files you edited in its skills folder until you delete them. Delete each one once you no longer need your changes, then run `skc deliver`.Turning a tool off removes the skills SkillCatalog delivered to it, but it never deletes a file you edited, so that file stays in the tool's skills folder, and the tool still reads it. Delete it yourself, then deliver, so that SkillCatalog stops tracking it:
rm ~/.cursor/skills/review-checklist/SKILL.md
skc deliverA skill folder holds a symbolic link
Error: delivery-failed
Delivery for profile 'home' did not complete cleanly: 0 conflicts, 1 failed item.
...
- ~/.claude/skills/review-security (Acme Skills, review-security, Claude Code) (profile 'home') : could not locate source payload for skill 'review-security' under catalog skill layout: source skill companion '~/.skillcatalog/catalogs/acme-skills/skills/review-security/scripts/find-secrets.sh' must not be a symlink [reason: symlink_in_skill; actions: inspect]
...Delivery never copies a symbolic link, so it skips the skill that holds one, keeps the copy it delivered earlier, and delivers the profile's other skills. skc validate reports the link too, and until the link is gone, the check before each commit refuses every commit to the catalog. Replace the link with a copy of its target, here ~/tools/find-secrets.sh, then sync:
cd ~/.skillcatalog/catalogs/acme-skills/skills/review-security/scripts
rm find-secrets.sh
cp ~/tools/find-secrets.sh find-secrets.sh
skc sync --message "Copy the secrets script into the skill"A tool's folder is a symbolic link
Error: delivery-failed
Delivery for all profiles did not complete cleanly: 0 conflicts, 1 failed item.
...
- ~/.claude/skills/review-checklist/SKILL.md (Acme Skills, Review Checklist, Claude Code) : unsafe delivery parent path: delivery target root '~/.claude' must not be a symlink [reason: unsafe_parent_path; actions: inspect, retry]
...Dotfile managers often make ~/.claude, or the skills folder inside it, a symbolic link to a folder they keep elsewhere. Delivery never writes through a link in a tool's folder, so every skill for that tool fails until the folder is real. skc deliver --dry-run and skc update --check report unsafe_parent_path and exit 25 before suggesting file adoption. For files already delivered, skc deliver --check exits 26, and skc status lists the unsafe parent while still succeeding. Repair the folder before retrying; deleting or adopting a file does not repair its parent. Replace the link with the folder it points to, here ~/dotfiles/claude, then deliver again:
rm ~/.claude
mv ~/dotfiles/claude ~/.claude
skc deliverIf a dotfile manager made the link, set it to link the files inside the folder instead of the folder itself, as stow --no-folding does, so the next run of the manager keeps the folder real.
Two entries deliver the same skill
Error: delivery-failed
Delivery for all profiles did not complete cleanly: 1 conflict, 0 failed items.
...
CONFLICT: ~/.claude/skills/review-checklist/SKILL.md (Review checklist, Claude Code) - picked skill review-checklist (Acme Skills), dropped skill review-checklist (Platform Skills)
...Two entries in one profile deliver a skill with the same slug from different catalogs. Until you remove one of them, skc deliver and skc sync fail, and skc status and skc validate report the conflict:
skc profile remove home --catalog-id platform-skills --kind skill --slug review-checklistA profile entry is missing from the catalog
Error: delivery-failed
Catalogs synced, but delivery reported 0 conflicts, 1 failed item.
...
Failures:
- profile 'home' was not delivered: profile 'home' entry 'skill:review-security' with catalog id 'acme-skills' cannot resolve delivery content safely against catalog 'Acme Skills' (git@github.com:acme/acme-skills.git): profile entry 'skill:review-security' is missing from the catalog [reason: broken_entry; actions: inspect]
...The profile lists a skill that its catalog does not have, here because a teammate deleted review-security. skc profile add refuses a slug that the catalog lacks, so this happens when the catalog changes after you add the entry, or when someone edits the profile or a manifest by hand and misspells a slug.
Delivery skips the whole profile and keeps the copies it delivered earlier, while it still delivers your other profiles. skc deliver and skc sync fail until you remove the entry:
skc profile remove home --catalog-id acme-skills --kind skill --slug review-securityFor an entry in a team manifest, fix the manifest and commit it instead.
Project profiles
Install or update cannot find the team manifest
Error: manifest-missing
no team manifest exists at '~/code/payments-api/src/.skillcatalog/skillcatalog.yml'
Hint: This folder is inside the checkout at '~/code/payments-api', which has the team manifest. Run `skc update` there.You ran the command in a subfolder, and skc install and skc update read the team manifest only in the current folder. Run it at the top of the checkout:
cd "$(git rev-parse --show-toplevel)"
skc updateInstall stops with a catalog mismatch
Error: install-url-mismatch
manifest '~/code/payments-api/.skillcatalog/skillcatalog.yml' declares catalog id 'acme-skills' with source 'git@github.com:acme/acme-skills.git' but the registered source is 'https://github.com/acme/acme-skills.git'
...The Sync Center names the profile and labels the two addresses as Team manifest address and Registered address. Its Technical details labels the checkout and manifest paths; long paths and addresses wrap inside the dialog. The message names the team manifest's URL and your registered URL. SkillCatalog compares them as text, including when HTTPS, SSH, or a Git rewrite reaches the same repository. Confirm the intended address with your team. If the manifest is wrong, correct its source and run skc install again. When the address comes from an imported library's consumer file, which you cannot change, the hint says so: ask the library's maintainers to correct it, or register the catalog under the library's address as below.
If the manifest is right, remove the registration while keeping its clone and any unsynced work, then add the manifest's address and retry:
skc catalog remove acme-skills --force --keep-clone
skc catalog add git@github.com:acme/acme-skills.git
skc installThe old clone stays on disk. The new registration uses a separate clone. Inspect the old clone before moving or removing it.
A wrong catalog id in the team manifest stops install too:
Error: install-intrinsic-id-mismatch
manifest '~/code/payments-api/.skillcatalog/skillcatalog.yml' declares catalog id 'acme' but source 'git@github.com:acme/acme-skills.git' declares catalog id 'acme-skills'
...In the team manifest, change the key under catalogs: and each entry's catalog_id to acme-skills, the id the catalog declares, then commit.
A project's team manifest cannot be read
skc deliver delivers every other profile, then reports a failure row for the project whose team manifest it cannot read. skc sync and the desktop app do the same.
Error: delivery-failed
Delivery for all profiles did not complete cleanly: 0 conflicts, 1 failed item.
...
Failures:
- ~/code/payments-api/.skillcatalog/skillcatalog.yml (profile 'payments-api') : team manifest for profile 'payments-api' at ~/code/payments-api/.skillcatalog/skillcatalog.yml is invalid: invalid team manifest YAML: unknown field `future_field`, expected one of `profile`, `catalogs`, `entries`, `imports` at line 11 column 1; fix the manifest, or upgrade SkillCatalog if the manifest uses a field this version does not know [reason: broken_entry; actions: inspect]
...That checkout's team manifest has a syntax error, such as leftover merge-conflict markers, or uses a field that a newer SkillCatalog release added. Fix the file, or upgrade SkillCatalog when a teammate adopted a newer field, then deliver again:
skc deliverA profile's folder cannot be found
If you remove a worktree or move a checkout, the next delivery of all profiles, desktop check for changes, or catalog removal clears its project profile and names the missing checkout. Status, validation, and delivery checks report the missing checkout and leave the profile in place. If SkillCatalog already removed the profile, run skc install in the checkout when it is available again. See Use the skills in a second checkout.
If the checkout still exists and only the folder saved with --target-dir is missing, delivery reports checkout_missing and keeps the profile. Restore that folder, or run skc install --target-dir . in the checkout to deliver there again.
A checkout's team manifest names another profile id
Error: delivery-failed
Catalogs synced, but delivery reported 0 conflicts, 1 failed item.
...
Failures:
- ~/code/payments-api-hotfix/.skillcatalog/skillcatalog.yml (profile 'payments-api-hotfix') : team manifest for profile 'payments-api-hotfix' at ~/code/payments-api-hotfix/.skillcatalog/skillcatalog.yml is invalid: installed profile id 'payments-api-hotfix' (installed from team manifest profile id 'payments-api') does not match checkout manifest profile id 'payments-core'; run `skc uninstall` and then `skc install` in '~/code/payments-api-hotfix', or switch back to a branch whose team manifest names 'payments-api' [reason: broken_entry; actions: inspect]
...The branch checked out in ~/code/payments-api-hotfix changed the id under profile: in its team manifest to payments-core, but the checkout's profile was installed from payments-api. Delivery skips that profile and delivers the others. In that checkout, skc install stops with checkout-directory-conflict and skc update with manifest-profile-mismatch, for the same reason.
If the branch changed the id by mistake, or you are done with it, switch back to a branch whose team manifest names payments-api. To keep the branch, install the checkout's profile again:
cd ~/code/payments-api-hotfix
skc uninstall
skc installRemoved profile 'payments-api-hotfix'.
Cleanup: removed 1, failed 0.
Installed profile 'payments-core'.
Scoped delivery: created 1, restored 0, replaced 0, updated 0, removed 0, failed 0.The new profile gets the id the branch names, here payments-core, unless another profile already uses it. Personal changes in the local manifest stay, because skc uninstall keeps both manifests.
Edited files are in the way after a reinstall
Error: delivery-failed
delivery failed for profile 'payments-api-hotfix-2': delivery report contained 0 conflicts, 1 failed item
...
- ~/code/payments-api-hotfix/.claude/skills/release-notes/SKILL.md (Acme Skills, release-notes, Claude Code) : target file exists in the app folder but is not managed by SkillCatalog [reason: unmanaged_target_exists; actions: inspect, skip, replace]
...You ran skc uninstall in this checkout, which kept the delivered file you had edited, and then another checkout installed its profile and took this checkout's old profile id, payments-api-hotfix. The edited files belong to that old id, so the reinstalled profile, payments-api-hotfix-2, treats them as files SkillCatalog did not write and leaves them in place. Keep your version or replace it with the catalog's, as A skill folder already exists describes.
A profile's manifest binding is invalid
Error: profile-write-failed
profile 'payments-api-hotfix' of this checkout is unusable: invalid manifest binding at ~/.skillcatalog/profiles/payments-api-hotfix/manifest-binding.yml: manifest_profile_id 'Payments API' is not a valid profile id: slug must start with a lowercase letter or digit, got 'P'
Hint: Fix or remove '~/.skillcatalog/profiles/payments-api-hotfix/manifest-binding.yml' (removing it binds profile 'payments-api-hotfix' to its own id), then run `skc uninstall` in '~/code/payments-api-hotfix' and `skc install` again.A checkout whose profile id differs from the team manifest's keeps the team manifest's id in manifest-binding.yml in its profile's folder. Here the file does not hold a valid profile id, for example after an edit by hand. skc update stops with the same message, and skc validate and skc status report it as profile-manifest-binding-invalid with the same fix. Until you repair it, commands that read that profile or every profile, such as skc profile list, skc sync, and skc uninstall, fail too. Remove the file, then install the checkout's profile again:
rm ~/.skillcatalog/profiles/payments-api-hotfix/manifest-binding.yml
cd ~/code/payments-api-hotfix
skc uninstall
skc installWithout the file, the profile counts as installed from its own id, so skc uninstall can remove it. skc install then creates the checkout's profile again, with a new manifest-binding.yml.
git pull stops on .gitignore
error: Your local changes to the following files would be overwritten by merge:
.gitignoreThe first time you make a personal change in a checkout, SkillCatalog adds two lines to its .gitignore, which leaves that file modified. When a teammate commits the same lines, git pull refuses to overwrite your copy. First check what your copy changes:
git diff .gitignoreIf the diff shows only SkillCatalog's two lines, discard your copy and pull:
git checkout -- .gitignore
git pullIf it also shows lines of your own, commit or stash them before you pull. SkillCatalog expects its two lines to be the last rules in the file, so keep them at the end whenever you commit .gitignore.
Share links
Installing from a share link stops
shared source changed after this install link was resolved; reopen the share link and try againWhen you choose Install, SkillCatalog reads the Git host again, and it stops when the catalog changed after you opened the link, for example because a teammate pushed. Nothing is installed. Open the link again, which reads the new version.
registered shared catalog has local changes; sync or repair it before installing this linkYou already have this catalog, and its clone holds local changes. This includes host files outside a subfolder catalog. SkillCatalog updates the whole clone before it installs, so it stops and changes nothing. When the changes are new files, the message says untracked local changes instead. Sync catalog edits, then open the link again:
skc sync acme-skills --message "Add the rollback checklist"If the message comes back, use git -C ~/.skillcatalog/catalogs/acme-skills status to find the remaining changes. Commit or stash host-file changes with Git, or move new files out of the clone, before retrying. See which files sync commits.
Logs and reporting a problem
Find and share logs
The log has details that messages leave out. The newest log file is ~/.skillcatalog/logs/latest.log. To record more detail, run the failing command again with SKILLCATALOG_LOG=debug:
SKILLCATALOG_LOG=debug skc syncLog files are not redacted. Skill and catalog names appear in them as short codes, such as rev~a1deb48cb5, that differ between installations, but catalog ids, file paths, repository URLs, and Git's error output appear in full. Read a log and remove anything private before you share it.
In the desktop app, choose Logs in the sidebar, pick a file, then choose Save to Downloads or Copy log package. The package holds the end of that file, with tokens, email addresses, and most paths replaced by markers. When a path with spaces has no clear ending, redaction hides the rest of that line too. Separate diagnostic fields and later lines stay visible. Read the package before you share it.
Report a problem
Email hi@skillcatalog.dev with:
- The output of
skc --version. - The command you ran and its full output. For
skc, add the output of the same command with--json. - What you expected to happen.
- The log lines from that run, after you check them.