Skills
A skill is a directory with a SKILL.md in it. As a zip item it needs a
placement for each directory a tool reads skills from, and one tree that
goes to all of them.
Placements
Section titled “Placements”placements: claude-code-skills: paths: darwin: /Library/Application Support/ClaudeCode/.claude/skills windows: ${ProgramData}\ClaudeCode\.claude\skills applies_to: [Claude Code] codex-skills: paths: darwin: /etc/codex/skills windows: ${USERPROFILE}\.agents\skills scope: windows: user applies_to: [Codex]Each skill lands at <path>/<item_name>. applies_to is display text: the
storefront’s “Applies to” line, or, for an item with both placements on the
OS, the label of each placement’s row on its detail page, where the user can
add or remove it per placement
(Choosing placements). It does
not limit where an item goes.
codex-skills is per machine on macOS and per user on Windows. In user
scope the service does not write the tree. It stages the archive, and the
per-user helper places it in each signed-in user’s profile, under a
windows_user or darwin_user write root. See
Installing.
The item
Section titled “The item”The item’s source is a package-info file with no installer block, and
placements naming where it goes:
item_name: example-skilldisplay_name: Example Skillsection: Skillsdescription: A skill for Claude Code and Codexcatalog: harnessversion: 1.0.0placements: [claude-code-skills, codex-skills]and one tree:
item-trees/example-skill/ SKILL.mdOne item covers both tools. The whole tree goes to every placement the item
lists, on every OS the placement has a path for. To word a skill differently
for each tool or OS, ship SKILL.md.tmpl, a
tree template that reads .Placement.Name and
.OS. The tree holds the skill’s files directly, with no example-skill/
folder around them.
makecatalogs build packs the tree and writes the installer block
(Build and publish).
Changing a skill
Section titled “Changing a skill”Edit the tree, raise version and rebuild. The tree’s hash changes, and
each device replaces its copy on the next run.
sofcat replaces or removes a tree only while it still matches what sofcat
placed. If a user edits a placed skill, the item fails with
placement_conflict and the edited tree stays until someone restores or
deletes it.
A file in a tree whose name ends in .tmpl is rendered on the device, with
the device’s facts and, in user scope, the user’s login name. See
Tree templates.