Files and folders

This page lists the folders SkillCatalog uses on your machine and in your repositories, what each file holds, and which ones you can delete. See File formats.

The SkillCatalog folder

SkillCatalog keeps its files in ~/.skillcatalog/. The desktop app and skc share this folder.

~/.skillcatalog/
  settings.toml
  telemetry-salt
  logs/
  catalogs/
    catalogs.yml
    acme-skills/
  profiles/
    home/
      profile.yml
      delivery-manifest.json
    payments-api/
    payments-api-hotfix/
      profile.yml
      manifest-binding.yml
      delivery-manifest.json
  proposals/
    acme-skills/
  delivery-retained/
  delivery-intent/
PathWhat it holdsSafe to delete?
settings.tomlYour settings. See settings.toml.Only to reset your settings. Every tool is then off, usage metrics are on, and the next delivery removes the files SkillCatalog delivered.
telemetry-saltA random secret that salts the short codes that stand for catalog and skill names in log files. Usage metrics do not use it.Yes. SkillCatalog makes a new one, which changes those codes.
logs/Log files. See Logs.Yes.
catalogs/catalogs.ymlThe registered catalogs: id, name, source URL, clone folder, and sync policy.No. Use skc catalog remove. Edit it by hand only when SkillCatalog cannot parse it. See The catalog registry cannot be read.
catalogs/<name>/The clone of a registered catalog. Its name comes from the catalog name you gave in the desktop app, or else from its repository, such as acme-skills. When that name is taken, it is acme-skills-2. The Essentials catalog, when the desktop app set it up, is skillcatalog-essentials.No. Use skc catalog remove. When the clone holds changes you have not synced, it asks before it deletes them; --keep-clone keeps the folder.
catalog-revisions/<source-hash>/<commit>/Private repository snapshots for selected catalog revisions and consumer imports. Consumer files and their self catalogs share the saved commit; editors and sync use the shared clone. When a command saves a profile's selection or uninstalls a profile, SkillCatalog removes the snapshots that no installed profile uses, and unfinished .prepare-* folders, once they are an hour old.No. A missing snapshot withholds the profile until explicit revision preparation restores it.
profiles/<profile-id>/profile.ymlA profile: its id, name, folder, entries, revision choices, and saved import graph. For a project profile, it also holds the path of the team manifest and the folder saved with --target-dir.No. Use skc profile delete or skc uninstall.
profiles/<profile-id>/manifest-binding.ymlFor a project profile whose id differs from the team manifest's profile.id it was installed from, such as the profile of a second checkout, that team manifest profile id. See Profiles of other checkouts.No. Use skc uninstall or skc profile delete, which remove it with the profile.
profiles/<profile-id>/delivery-manifest.jsonThe delivery record: each file delivery wrote for the profile, with a hash of its content, plus the unmanaged file paths you chose to keep. Kept paths give SkillCatalog no ownership of those files. A record holds at most 10 MiB; delivery does not deliver a profile whose record would grow past that, and writes none of its files.Only to repair a damaged record. Then run skc deliver <profile-id> --adopt-matching, which rebuilds the record and takes back the files whose content matches. Plain skc deliver reports them as files SkillCatalog did not write. Files you edited stay untracked either way.
proposals/<catalog-id>/Records of proposals on a review-branch catalog. Records of finished proposals are kept for 30 days by default. Recovery captures admit 64 MiB of file bytes; each recovery record holds at most 128 MiB of JSON with 64 MiB of unique content.No. Use skc proposal discard.
delivery-intent/<profile-id>.jsonThe files a delivery is about to write for the profile, with a hash of their content, saved before it writes them. When the delivery cannot save the delivery record afterwards, the next delivery, skc deliver --check, and skc status use it to recognize the files that delivery wrote. A successful delivery, skc uninstall, and skc profile delete remove it. If only delivery state remains, a project install can recover the id.Only when no delivery is running. Files written by a delivery that could not save its record then look edited, or like files SkillCatalog did not write.
delivery-retained/<profile-id>.jsonThe edited delivered files that cleanup kept, and ownership and Keep choices recovered from a missing profile. When a profile with that id delivers to those paths again, for example after skc install in the same checkout, delivery tracks them as edited files and removes them from this record. A new profile, such as another checkout's, can still get the id.Yes. Delivery then reports those files as files SkillCatalog did not write, and still leaves them in place.
Locks and working folders: any other file or folder here, such as *.lock files, .locks/, or .remove-quarantine/Files SkillCatalog uses while it works.Leave them. Delete a lock only when no skc command and no desktop app is running.

Every command except skc completions, skc help-json, skc update --check, and skc profile resolve writes to this folder, even one that only reads your catalogs. Commands that read catalogs, such as skc status, skc validate, skc catalog list, and skc proposal list, can also replace the Essentials catalog's copy with the version that comes with skc, when the copy is older.

The desktop app keeps display preferences, such as the theme, outside this folder.

~/.skillcatalog can be a symbolic link to another folder, as dotfile managers make it, and SkillCatalog uses the folder it points to. The files and folders inside it must not be links. A linked or hard-linked settings.toml stops every command that reads settings, with an error that says to replace the link with a copy of the file it points to.

A moved SkillCatalog folder keeps its catalogs: when a clone is no longer where the registry recorded it, SkillCatalog finds it by its folder name in catalogs/. A copy does not work while the original folder exists. Its records still name the original's clones and delivered files, so its commands fail instead of changing the original's skills. For a separate setup, start from an empty folder, as the next section shows.

Use another folder

skc --config-dir <folder> keeps all of SkillCatalog's files in <folder> instead of ~/.skillcatalog: settings, catalogs and their clones, profiles, proposals, logs, and the secret for log codes. A relative <folder> starts from the current folder. Pass it to every command. The desktop app always uses ~/.skillcatalog.

--config-dir does not move delivery. The Home profile still delivers to each tool's skills folder in your home folder, such as ~/.claude/skills/. Two setups with different --config-dir folders share those skills folders.

To isolate delivery too, set HOME to another folder, which moves ~/.skillcatalog with it. See Isolate a run.

Where skills are delivered

SkillCatalog delivers each skill as a folder <slug>/ with its SKILL.md and companion files, into the skills folder of each tool you turned on:

ToolTool idHome profileProject or personal profile
Claude Codeclaude-code~/.claude/skills/<slug>/<folder>/.claude/skills/<slug>/
Cursorcursor~/.cursor/skills/<slug>/<folder>/.cursor/skills/<slug>/
Codexcodex~/.agents/skills/<slug>/<folder>/.agents/skills/<slug>/

For a project profile, <folder> is the checkout, or the folder saved with skc install --target-dir. For a personal profile, it is the folder you gave skc profile create. See Use the skills in a second checkout.

When no entry selects a skill any more, delivery removes its files and then its folder if the folder is empty. Turning a tool off cleans its independent skills folders. Shared folders can retain delivered files. See Turn tools on and off.

When delivery cannot deliver a profile or a skill safely, it skips only that one, keeps its earlier copies, and delivers the rest, as Partial delivery explains.

Delivery and the local manifest replace files atomically: they write a new file next to the old one, then swap or link it into place, so a reader never sees half a file. The folders they write to must therefore be on a filesystem that supports this, such as APFS, HFS+, ext4, XFS, or Btrfs. exFAT and FAT volumes, used by many external drives, do not, so a checkout or a skills folder there fails with an error that says the filesystem does not support atomic file replacement.

Delivered files and drift

Each profile's delivery record lists every file SkillCatalog delivered, with a hash of its content. SkillCatalog compares each file with the record to find drift. skc deliver --check and skc validate --drift fail when they find drift, and skc status counts it.

CaseWhat skc deliver --check reportsWhat delivery does
Clean: unchanged since deliveryNothingUpdates it when the catalog changes, and removes it when no entry selects the skill.
Edited"Manually edited"Keeps your version. It does not update or remove the file, and lists it under "Kept edited files, not updated or removed".
Deleted"Deleted"Writes it again, counted as "restored".
Unreadable"Unreadable"Leaves it in place and lists it with the preserved files.
Not in the record, exactly what delivery would write, such as a file an earlier delivery wrote before its record was lostNothingLeaves it, and reports a failed file with reason unmanaged_target_exists. skc deliver --adopt-matching takes it over without writing: it records the file as delivered, and later deliveries update it and remove it with the skill.
Not in the record, different content, such as a hand-made SKILL.mdNothingLeaves it, and reports a failed file with reason unmanaged_target_exists. --adopt-matching leaves it too.

skc deliver --check also lists a project profile's checkout or --target-dir folder that cannot be found, as "Unreadable", and fails.

To replace an edited file with the catalog's version, delete it and run skc deliver. For files that SkillCatalog did not write, see A skill folder already exists.

Files in a checkout

PathWritten byIn Git?
.skillcatalog/skillcatalog.ymlskc init, or youYes: this is the team manifest.
.skillcatalog/skillcatalog.local.ymlSkillCatalog, when you change a project profile's direct entries, exclusions, or imports; or youNo. SkillCatalog adds it to .gitignore, and refuses to write it while Git would track it.
.skillcatalog/profiles/consumer.yamlThe repository author, when publishing reusable selections outside .skillcatalog/catalog/Yes. Importing it never rewrites it.
.skillcatalog/.skc-recovery/SkillCatalog, the first time it writes your local manifest. If another process changes that file during a write, the replaced version is kept here.No. It holds its own .gitignore.
.gitignoreSkillCatalog appends .skillcatalog/skillcatalog.local.yml and /.skillcatalog/.skc-recovery/ the first time it writes your local manifest, unless both lines are there.Yes.
.claude/skills/, .cursor/skills/, .agents/skills/Delivery of the project profile, unless you saved another folder with --target-dirGit does not ignore them automatically. See Keep delivered files out of Git.

skc install writes delivered files in the checkout. When an older installed project profile still holds local entries, install also writes the local manifest, its ignore rules, and its recovery folder during profile migration.

Files in a catalog clone

The managed clone is the whole Git repository. Its registry path and Git operations stay at the repository root; content lives at the catalog root.

LocationCatalog contentGit repository and hook
Repository-root catalog<clone>/<clone>/
Subfolder catalog<clone>/.skillcatalog/catalog/<clone>/

Content paths in the following table are relative to the catalog root; the hook path is relative to the clone.

PathWhat it is
.git/hooks/pre-commitThe check SkillCatalog runs before each commit, described below.
skills/<slug>/SCORE.jsonA reserved file that delivery skips. SkillCatalog does not read or change it.
.gitkeep in skills/, stacks/, and bundles/Created, with catalog.yaml and README.md, when you add an empty repository, so Git keeps the folders.

SkillCatalog also keeps two Git refs in the clone. refs/skillcatalog-synced/<branch> records the newest tip of the Git host's branch that the clone holds, so sync recognizes a later force push of that branch. refs/skillcatalog-removed/<branch> keeps the commits that left the clone when sync last followed a force push.

skc sync stages changes in catalog.yaml, README.md, skills/, stacks/, bundles/, and a legacy taxonomy.yaml, relative to the catalog root. In a subfolder catalog, these paths start with .skillcatalog/catalog/; sync and saves leave host files outside it alone, including already staged host files. Proposal capture and cleanup also stay inside the catalog.

Direct sync of a repository-root catalog stages only these paths, but its commit can include other files you already staged with Git. Review-branch sync keeps its existing capture of all changed files in a repository-root clone.

Commits you make with Git remain yours, including commits containing host files. Direct sync pushes them; review-branch sync sends them for review and resets the primary branch. Subfolder proposal records list only catalog paths. Moving a catalog between locations is outside the supported workflow; existing proposal and recovery records are not translated.

The pre-commit check

When you add a catalog with skc catalog add, the desktop app's Add catalog, a first skc install, or a share link, SkillCatalog adds its lines to the clone's .git/hooks/pre-commit, between # --- skc-validate-begin --- and # --- skc-validate-end ---. An existing hook keeps its other lines.

Before skc sync or a desktop save commits catalog changes, SkillCatalog checks the catalog directly, including proposal commits. This check runs even when Git skips the managed hook. The hook provides the same catalog checks for commits made outside SkillCatalog when Git runs it. Warnings pass. It checks neither delivered copies, consumer files, nor team or local manifests, even when ordinary repository-root validation would check a manifest. An error refuses the commit, and the hook prints Fix the problems listed above, then commit again.

Each sync and save rewrites SkillCatalog's lines in the hook so they run the skc of the program doing the work, and discards any edit you made between the markers. When the hook cannot run skc at all, it refuses the commit and says to update SkillCatalog and sync.

To turn off the managed hook for external Git commits, run chmod -x .git/hooks/pre-commit in the clone. SkillCatalog keeps the file that way. This does not disable SkillCatalog's direct check.

SkillCatalog preserves core.hooksPath and does not install into your configured hook folder. With a custom hook path, integrate skc hook run --protocol 1 into your own pre-commit hook to validate external Git commits. Run it from the repository root and propagate a failed check's exit status. External commits bypass validation when the hook is missing, disabled, skipped by an earlier exit in your script, or bypassed with git commit --no-verify.

Logs

skc and the desktop app write log files to ~/.skillcatalog/logs/, or to <folder>/logs/ with --config-dir <folder>. When HOME is unset, skc takes the home folder of your user account, so the logs still go to ~/.skillcatalog/logs/. Only when your account has no home folder does skc write logs to skillcatalog-logs in the system's temporary folder.

FileWhat it holds
cli.<date>Everything skc logged that day, such as cli.2026-09-23.
desktop.<date>Everything the desktop app logged that day.
latest.logA link to the file of the program that started most recently.

Each time skc or the desktop app starts, SkillCatalog deletes log files more than 7 days old. skc completions, skc help-json, skc update --check, and skc profile resolve write no log.

SKILLCATALOG_LOG sets how much SkillCatalog logs. The default is info, and the other levels are error, warn, debug, and trace. SKILLCATALOG_LOG=off stops writing log lines, though the day's file is still created.

Log files are not redacted, so read them before you share them, as Find and share logs explains.

Environment variables

VariableEffect
SKILLCATALOG_LOGThe log level. See Logs.
GIT_TIMEOUT_NETWORKSeconds before SkillCatalog stops a Git clone, fetch, or push. The default is 120.
GIT_TIMEOUT_LOCALSeconds before SkillCatalog stops any other Git command. The default is 30.
HOMEYour home folder. ~/.skillcatalog and the Home profile's skills folders are under it. When HOME is unset, SkillCatalog uses the home folder of your user account, so unsetting it does not isolate a run; set it to another folder instead.
PATHWhere SkillCatalog finds git and, for the pre-commit hook, skc. SkillCatalog also looks in /opt/homebrew/bin and /usr/local/bin.

A timeout value that is not a whole number is ignored. No environment variable sets the SkillCatalog folder, so use --config-dir or HOME.

When SkillCatalog syncs, saves, or publishes, its Git commands ignore variables from your environment that point Git at another repository. Examples are GIT_DIR, GIT_WORK_TREE, and GIT_INDEX_FILE. A shell or a Git hook that sets them cannot send those commits elsewhere. GIT_CEILING_DIRECTORIES and the GIT_CONFIG* variables still apply.