/ouroboros-skills:skill-managementfrom ouroboros-skills
Browse, install, update, and contribute skills from the ouroboros-skills shared repository. This is the bootstrap skill that teaches agents how to manage their skill library.
Ships in ouroboros-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill teaches agents how to discover, install, track, update, and contribute skills from the shared ouroboros-skills repository. It is the bootstrap skill -- once an agent has this skill installed, it can self-serve all other skills.
Skills repo: github.com/ourostack/ouroboros-skills -- a public repo containing shared skill definitions as SKILL.md files.
Manifest: manifest.json at the repo root -- a machine-readable index of all available skills with names, repository-relative paths, descriptions, and tags. The manifest path is authoritative; a skill may live in the canonical library or inside a plugin.
Registry: _registry.json -- a local file in the agent's skills directory that tracks which skills are installed, where they came from, and when they were last updated.
Skills directory: The local directory where the agent stores installed skills. Location depends on the runtime (see below).
| Layout | Skills directory | Example installed skill path |
|---|---|---|
| Host-managed skills root | <host-home>/skills/ | <host-home>/skills/word-docs/SKILL.md |
| Agent-managed skills root | ~/.agents/skills/ | ~/.agents/skills/word-docs/SKILL.md |
| Ouroboros bundle | ~/AgentBundles/<agent>.ouro/skills/ | ~/AgentBundles/myagent.ouro/skills/word-docs/SKILL.md |
Detect which runtime you are in:
~/.agents/skills/ exists, use it as an agent-managed skills root.The _registry.json file always lives at the root of each skills directory.
Query the manifest to see what skills are available.
https://raw.githubusercontent.com/ourostack/ouroboros-skills/main/manifest.json
{
"skills": [
{
"name": "skill-name",
"path": "skills/skill-name/SKILL.md",
"description": "One-line description of what the skill does.",
"tags": ["tag1", "tag2"]
}
]
}
path from its manifest entry:
https://raw.githubusercontent.com/ourostack/ouroboros-skills/main/<manifest-path>
Fetch a skill from the repo and install it into the local skills directory.
manifest.json. Set <source-skill-dir> to the directory containing its path; for example, skills/word-docs.mkdir -p <skills-dir>/<skill-name>/
SKILL.md, because modern skills may include agents/, scripts/, references/, or assets/:
tmpdir="$(mktemp -d)"
git clone --depth 1 --filter=blob:none --sparse https://github.com/ourostack/ouroboros-skills.git "$tmpdir/ouroboros-skills"
git -C "$tmpdir/ouroboros-skills" sparse-checkout set "<source-skill-dir>"
rsync -a --delete "$tmpdir/ouroboros-skills/<source-skill-dir>/" "<skills-dir>/<skill-name>/"
rm -rf "$tmpdir"
If git is unavailable but gh is available, download the directory recursively through the GitHub contents API. If neither can fetch a directory, stop and report that the install would be incomplete; do not silently install only SKILL.md for a skill that has bundled resources.https://raw.githubusercontent.com/ourostack/ouroboros-skills/main/<manifest-path>
# Use the GitHub API to get the latest commit touching any file in the skill directory
curl -s "https://api.github.com/repos/ourostack/ouroboros-skills/commits?path=<source-skill-dir>&per_page=1" | jq -r '.[0].sha'
_registry.json (see Track Provenance below).After install, confirm:
<skills-dir>/<skill-name>/SKILL.md exists and is non-empty.agents/, scripts/, references/, or assets/, are present locally._registry.json has an entry for the skill.Installing a skill on disk is not always enough for the current host session to list it in the active skill menu. After installing or updating any skill that affects the current workstream:
~/.agents/skills, host-managed Codex skills, plugin bundle copies, or the explicit bundle path the user named).SKILL.md from disk and treat it as the source of truth for the current run even if the host menu will not refresh until a new session.ouroboros-skills repo when available:
node scripts/audit-work-suite-runtime.cjs --repo-root /path/to/ouroboros-skills \
--skill-root ~/.agents/skills \
--skill-root ~/.codex/skills \
--active-skills <comma-separated active host-menu skill names>
The _registry.json file lives at the skills directory root and tracks all installed skills.
If _registry.json is missing but the skills directory already contains installed skills, do not treat that as "no skills installed" and do not silently skip freshness checks. Bootstrap the registry first.
Steps:
_registry.json.https://raw.githubusercontent.com/ourostack/ouroboros-skills/main/manifest.json
SKILL.md:
path, and fetch the latest commit SHA for that directory path.source, commit, installed, and selfAuthored: false.agents/, scripts/, references/, or assets/, preserve the local directory and add a local/self-authored registry entry with source: "local", commit: "", installed, and selfAuthored: true. Report that it is a local adaptation instead of overwriting it._registry.json as formatted JSON at the root of that skills directory.Freshness checks must fail closed when _registry.json is missing. Print the exact skills directory and tell the agent to run this bootstrap/repair flow before comparing commits. A missing registry is repairable state, not a reason to proceed with ad-hoc freshness guesses.
{
"<skill-name>": {
"source": "https://github.com/ourostack/ouroboros-skills/tree/main/<source-skill-dir>",
"commit": "<sha of the commit that last touched this skill directory>",
"installed": "<ISO 8601 datetime of when the skill was installed or last updated>",
"selfAuthored": false
}
}
| Field | Type | Description |
|---|---|---|
source | string | The GitHub directory URL the skill was fetched from. |
commit | string | The SHA of the latest commit that touched the skill directory at time of install/update. |
installed | string | ISO 8601 timestamp (e.g., 2026-03-18T13:30:00Z) of when the skill was installed or last updated. |
selfAuthored | boolean | true if the skill was written locally by the agent/user (not fetched from the repo). false for skills installed from the shared repo. |
commit and installed.selfAuthored: true and source to "local"."uninstalled": "<ISO date>" field instead._registry.json does not exist, create it as an empty object {} before adding the first entry.Compare locally installed skills against the latest versions in the repo.
_registry.json from the skills directory.https://raw.githubusercontent.com/ourostack/ouroboros-skills/main/manifest.json
_registry.json where selfAuthored is false:
a. Resolve <source-skill-dir> from the skill's current manifest entry, then get the latest commit SHA for that directory from the GitHub API:
curl -s "https://api.github.com/repos/ourostack/ouroboros-skills/commits?path=<source-skill-dir>&per_page=1" | jq -r '.[0].sha'
b. Compare against the commit field in _registry.json.
c. If they differ, the skill has been updated upstream.<skills-dir>/<skill-name>.tmp, verify SKILL.md exists, then rm -rf <skills-dir>/<skill-name>.old, move the current directory aside, move the temp directory into place, and remove the old directory after validation.commit and installed in _registry.json.For a fast staleness check without full update:
_registry.json.<source-skill-dir> from its manifest entry and compare the local commit SHA against the latest commit touching that directory.Guide the agent through contributing a new skill to the shared repo.
ourostack/ouroboros-skills to the contributor's GitHub account.feat/add-<skill-name>).skills/<skill-name>/name and description fields.{
"name": "<skill-name>",
"path": "skills/<skill-name>/SKILL.md",
"description": "<description from frontmatter>",
"tags": ["<relevant>", "<tags>"]
}
ourostack/ouroboros-skills main branch.
feat: add <skill-name> skillEvery skill file must:
name and description.Per the Agent Skills spec, the frontmatter has hard limits. A skill that breaks them fails to load in the Copilot CLI and other Agent Skills runtimes:
name: at most 64 characters, lowercase a-z0-9 and single hyphens, and must match the skill's directory name.description: non-empty, at most 1024 characters. This is the limit that bites most often: only name + description are pre-loaded into the agent's context for every installed skill, so the runtime caps the description hard.scripts/validate-skills.cjs enforces both on every skill in CI (validateSkillDescriptionLimits). Run it locally before opening a PR.
The description is a router, not a summary. Its only job is to help an agent pick this skill over ~100 others, so every token must earn its place by doing discrimination, not explanation. Include exactly three things:
Leave everything else to the body (the spec's progressive disclosure: the body loads only once the skill is chosen). Cut from the description: mechanism / how it works, rationale / motivation, exhaustive "covers A, B, C, D, E" feature lists, and anything that merely restates the body.
The 1024 cap is a ceiling, not a target. Most good descriptions land well under it (word-docs ~250, emu-github ~450 characters). If yours is brushing 1024, it is explaining, not routing -- cut it down.
YAML-safe format. Write the description as a >- folded block scalar, so colons, quotes, and punctuation cannot break the YAML:
name: my-skill
description: >-
One clause on what it does, third person. Use when the user says
trigger-phrase-a or trigger-phrase-b. Not for the adjacent case (use
other-skill instead).
Avoid raw angle-bracket tokens in the description (the spec disallows XML tags). Confirm the file parses before committing -- the CI check above is the backstop.
Guide the agent through proposing improvements to skills already in the repo.
ourostack/ouroboros-skills.improve/<skill-name>-<brief-description>).SKILL.md file.
name field.description if the scope of the skill changed.ourostack/ouroboros-skills main branch.
improve(<skill-name>): <brief description of change>What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (ourostack/ouroboros-skills) — no native marketplace selected
npx claudepluginhub p/ourostack-ouroboros-skills11 skills in this plugin
/book-fetchSearch for ebooks on libgen, download EPUBs, and optionally deliver them to an e-reader or Calibre library. Infrastructure-agnostic — discovers the user's setup at runtime./cswapKeep several Claude Code accounts working unattended with claude-swap (cswap) — install it, turn on automatic switching, read its account labels, re-log a lapsed account, and watch it so a dead login is caught days early. Use when setting up cswap, when an account shows "token expired" or "re-login needed", when auto-switch did not switch, or when the user asks why an account stopped working./designDesign and build production-grade frontend interfaces from scratch. Covers the full workflow from context gathering through visual direction, implementation, and polish. Use when creating new pages, components, or design systems — not just auditing existing UI.Other plugins' skills for the same job