← ClaudeAtlas

skill-publishinglisted

How to author and publish agent skills for the skills.sh / `npx skills` ecosystem — the SKILL.md format, why the frontmatter description is the trigger, multi-skill repo layout, the `skills` CLI (init/add/list/find/update/remove with flags), publishing to GitHub with SEO metadata, and public vs private repos (it git-clones, so private works with auth). Use when asked to "create/write/author a skill", "publish a skill", "set up a skills repo", "make a skill installable/discoverable", "use npx skills", or "can I use a private skills repo".
stealth-engine/skills · ★ 2 · AI & Automation · score 76
Install: claude install-skill stealth-engine/skills
# skill-publishing How to write a good agent skill and publish it so others (and your other machines) can install it with `npx skills`. ## What a skill is Reusable, **on-demand context** for an AI coding agent. One skill = one folder with a `SKILL.md`: ```markdown --- name: my-skill # kebab-case, matches the folder description: <one line> # the TRIGGER — see below; most important field metadata: author: you version: "1.0.0" # semver; bump on meaningful change --- # Title <the body the agent loads only when this skill fires> ``` **Context economy:** only the `description` of every installed skill stays in the agent's context. The body loads **only when the description matches** the task. That's the whole design — so the description does the heavy lifting. ## The `description` is the trigger (get this right) Write it as **concrete triggers**: what it does, then "Use when …" listing symptoms, situations, and phrases a user might actually say. - Good: `…Use when an iPhone page shows black bars, content is cut off at the bar edge, a cropped shadow, or the page jumps after the keyboard closes.` - Bad: `Helps with iOS Safari styling.` If the agent won't *match* it to the right moment, the skill is dead weight. ## The body - Write for the **agent**, not end users: actionable facts, steps, rules. - **Scannable**: headings, short sections, tables, code blocks. - **Progressive disclosure**: keep `SKILL.md` focused; put heavy reference docs or sc