agentleFS
edloidasedloidas/skills/CLAUDE.md

skills

CLAUDE.md2 starsChanged 3 months agoMITView on GitHub

A collection of Claude Code and other agents skills following the Agent Skills specification. Never commit or push changes unless explicitly asked. Never commit directly to the main branch unless explicitly asked. No AI footers: Do not add "Drafted with AI assistance", Claude Code session links, <sub> attribution lines, a trailing --- rule, or anything similar to commit messages, issue bodies, or PR bodies — including PRs created from the web. No Co-Authored-By trailer crediting an assistant either, and an…

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

37 rules. About 0 are common, 10 are distinctive, and 27 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 27

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never commit or push changes unless explicitly asked: Never commit directly to the main branch unless explicitly asked.

    line 5
  2. Very specific:

    No leading/trailing hyphens, no consecutive hyphens (--)

    line 132
  3. Very specific:

    When a Codex-exposed skill needs bundled-script paths, keep the current <skill-dir> prose placeholder and let Claude resolve it …

    line 187
  4. Very specific:

    Only use arguments when the skill genuinely cannot function without explicit input (e.g.

    line 250
  5. Distinctive:

    Every option has a description explaining the choice

    line 259
  6. Distinctive:

    All three are generated — never edit them by hand.

    line 377
  7. Very specific:

    Use allow_implicit_invocation: false for destructive or environment-specific skills that should only run when explicitly invoked.

    line 398
  8. Very specific:

    Keep under 500 lines / ~5000 tokens.

    line 410
  9. Very specific:

    Use relative paths from the skill root when referencing files (e.g.

    line 414
  10. Distinctive:

    Keep references one directory level deep.

    line 415
  11. Distinctive:

    Keep individual reference files focused — smaller files mean less context usage

    line 416
  12. Distinctive:

    Must be self-contained or clearly document dependencies

    line 458
  13. Distinctive:

    Never cut: task-specific boundaries, decision criteria, gates, edge cases, required commands, output schemas, worked examples, and the …

    line 633
  14. Very specific:

    Create a real directory: mkdir -p <group>/skills/<skill-name> (never a symlink)

    line 658
  15. Very specific:

    Create <group>/skills/<skill-name>/SKILL.md with required frontmatter and instructions

    line 659
  16. Very specific:

    Add scripts/, references/, or assets/ directories as needed

    line 660
  17. Very specific:

    Update the appropriate "Available Skills" table in README.md

    line 661
  18. Very specific:

    Run bash .github/scripts/validate-skills.sh to verify marketplace, manifests, and skill layout

    line 662
  19. Very specific:

    If the skill bundles a shell script, add its tests under tests/<group>/<skill>/ and run bash tests/run.sh

    line 663
  20. Very specific:

    Run skill-audit and clear it before committing — see below

    line 664
  21. Very specific:

    Do not add .codex-plugin/plugin.json directly to the source group directories (plan/, build/, review/, audit/, maintain/, ship/, assist/, …

    line 756
  22. Very specific:

    Use wrapper plugins under plugins/<plugin-name>/ instead:

    line 759
  23. Very specific:

    Do not rely on compatibility metadata alone to hide unsupported skills from Codex discovery.

    line 766
  24. Very specific:

    Only add Codex to a skill's compatibility frontmatter after reviewing that the instructions are actually Codex-safe.

    line 767
  25. Distinctive:

    When adding a new skill, or when upgrading an existing skill to support Codex, make sure the Codex packaging layer is updated in the same …

    line 806
  26. Very specific:

    Add or update the skill's compatibility frontmatter to reflect actual Codex support.

    line 809
  27. Very specific:

    Add agents/openai.yaml if the skill should be exposed in Codex.

    line 810
  28. Very specific:

    Add the skill symlink in .agents/skills/ if it is part of the repo-local Codex skill set.

    line 811
  29. Very specific:

    Add the skill symlink in the appropriate plugins/<plugin-name>/skills/ wrapper plugin if it should be installable through the repo …

    line 812
  30. Very specific:

    Ensure the wrapper plugin manifest and .agents/plugins/marketplace.json still reflect the intended Codex plugin set.

    line 817
  31. Very specific:

    Update scripts/codex/catalog.json, run ./scripts/validate-codex.sh, and run ./scripts/skills-packaging.sh sync-repo so the generated …

    line 819
  32. Distinctive:

    Update README.md if the exposed Codex skill set or plugin group contents changed.

    line 821
  33. Very specific:

    Place agent files in an agents/ directory at the plugin group root:

    line 832
  34. Very specific:

    When multiple locations define an agent with the same name, higher-priority locations win silently:

    line 864
  35. Very specific:

    Use the skills-release skill (tools/skills-release/, surfaced to Claude Code through the .claude/skills/skills-release symlink).

    line 890
  36. Distinctive:

    One commit per feature: Do all work first, then produce a single clean commit.

    line 922
  37. Very specific:

    All skills in this repository are released under the MIT License unless a skill's own SKILL.md specifies otherwise via the license …

    line 930

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

edloidas/skills

A collection of Claude Code and other agents skills following the Agent Skills specification.

Never commit or push changes unless explicitly asked. Never commit directly to the main branch unless explicitly asked.

No AI footers: Do not add "Drafted with AI assistance", Claude Code session links, <sub> attribution lines, a trailing --- rule, or anything similar to commit messages, issue bodies, or PR bodies — including PRs created from the web. No Co-Authored-By trailer crediting an assistant either, and an existing one in git history is not licence to repeat it. Add attribution only when this file, the user's own instructions, or the user's prompt asks for it.

Canonical Repo Instructions

CLAUDE.md is the canonical repo instructions file. The repo root also contains an AGENTS.md symlink pointing to this file so Codex and other agents read the same instructions.

Edit CLAUDE.md directly. Do not replace the AGENTS.md symlink with a copied file.

Repository Structure

Skills are organized into plugin groups. Each group has a .claude-plugin/plugin.json for auto-discovery and contains related skills:

<group>/
├── .claude-plugin/
│   └── plugin.json               # Plugin metadata
└── skills/
    └── <skill-name>/             # Canonical skill location — a REAL directory
        ├── SKILL.md              # Required — frontmatter + instructions
        ├── scripts/              # Optional — executable code
        ├── references/           # Optional — docs loaded on demand
        └── assets/               # Optional — templates, images, data

<group>/skills/<skill-name>/ is the one canonical location for a skill, and it must be a real directory — never a symlink. Two independent constraints force this:

  1. Claude Code's plugin loader looks inside the plugin's skills/ directory, not the plugin root. A skill outside <group>/skills/ is invisible to the plugin even though SKILL.md, plugin.json, and the marketplace entry all exist.
  2. Agent skill CLIs (notably npx skills) discover skills with readdir(withFileTypes) + entry.isDirectory(), which is false for a symlink. A symlinked skill directory is invisible to them. They also hard-skip directories named node_modules, .git, dist, build, and __pycache__ — which is why the build/ group is only reachable through the <group>/skills/ path that the marketplace manifest points at.

.github/scripts/validate-skills.sh enforces both: it rejects a symlinked skill directory and rejects a leftover pre-4.0 <group>/<skill-name> path. It also enforces the per-skill rules that must never regress — required frontmatter, name matching the directory and the naming format, description within 1,024 chars, the combined discovery entry within 1,536, and no references/, scripts/, or assets/ path in SKILL.md that the skill does not ship.

Distribution trees are generated symlinks into that canonical location. Claude Code, Codex, OpenCode, and pi all resolve symlinks, so only the canonical directory has to be real:

.agents/
├── plugins/
│   └── marketplace.json  # Repo-local Codex marketplace
└── skills/
    └── <skill-name> -> ../../<group>/skills/<skill-name>

plugins/
└── <plugin-name>/
    ├── .codex-plugin/
    │   └── plugin.json   # Codex wrapper plugin manifest
    └── skills/
        └── <skill-name> -> ../../../<group>/skills/<skill-name>

Internal, repo-only skills stay out of the published set by living under tools/ with a symlink into .claude/skills/ — Claude Code follows the symlink, while npx skills skips it. tools/skills-release is the one current example.

Behavioral tests for bundled scripts live in a repo-root tests/ tree that mirrors the skill paths, deliberately outside every skill and every distribution tree — see Script Tests.

Plugin groups:

  • plan/ — Issue drafting, analysis, next-issue selection, and the full issue lifecycle (4 skills)
  • build/ — Conflict resolution, commit summaries, quick commits, findings fixes, and live behavioral probes (5 skills)
  • review/ — Adversarial change review, cleanup, claim verification, approach boards, PR feedback triage, and spec extraction (6 skills)
  • audit/ — CI, script, security, skill, workspace, tsconfig, Three.js, React, and test-suite auditing (9 skills)
  • maintain/ — Agent instruction layer setup and drift check, label sync, lint migration, editor config sync, repo security hardening, and stale process cleanup (6 skills)
  • ship/ — Release workflows for npm packages (1 skill)
  • assist/ — External opinion, design discussion, assistance, handoffs, and plain restatement tools (5 skills)
  • write/ — Markdown, README, and repository documentation writing (1 skill)
  • obsidian/ — Obsidian vault organization and working document management (1 skill)
  • workflow/ — End-to-end workflows that orchestrate multiple skills (1 skill)

Wrapper plugin names and display names for Codex:

  • plugins/edloidas-plan/ → edloidas-plan / Edloidas Plan
  • plugins/edloidas-build/ → edloidas-build / Edloidas Build
  • plugins/edloidas-review/ → edloidas-review / Edloidas Review
  • plugins/edloidas-audit/ → edloidas-audit / Edloidas Audit
  • plugins/edloidas-maintain/ → edloidas-maintain / Edloidas Maintain
  • plugins/edloidas-ship/ → edloidas-ship / Edloidas Ship
  • plugins/edloidas-assist/ → edloidas-assist / Edloidas Assist
  • plugins/edloidas-write/ → edloidas-write / Edloidas Write
  • plugins/edloidas-obsidian/ → edloidas-obsidian / Edloidas Obsidian
  • plugins/edloidas-workflow/ → edloidas-workflow / Edloidas Workflow

The Codex wrapper layer is driven from scripts/codex/catalog.json. After changing the Codex-exposed skill set or plugin metadata, run:

./scripts/validate-codex.sh
./scripts/skills-packaging.sh sync-repo

Treat .agents/plugins/marketplace.json, plugins/<plugin-name>/.codex-plugin/plugin.json, .agents/skills/, .opencode/skills/, .pi/skills/, and plugins/<plugin-name>/skills/ as generated outputs. Update the source skills, their compatibility frontmatter, and scripts/codex/catalog.json, then regenerate instead of editing those files by hand.

The generated Codex wrapper layer is symlink-based and should be treated as repo-local when this repository is open in Codex. For user-scoped or cross-repo Codex usage, install skills via ./scripts/skills-packaging.sh install-links --dest "$HOME/.agents/skills" ... or direct installs into ~/.codex/skills rather than assuming the wrapper plugin cache will be portable.

How Skills Load (Progressive Disclosure)

Skills use progressive disclosure to manage context efficiently:

  1. Discovery — Only name and description are read (~100 tokens). Write descriptions that clearly signal when the skill applies.
  2. Activation — Full SKILL.md body is loaded (<5000 tokens recommended). Keep instructions concise.
  3. Execution — references/ and assets/ files are loaded on demand. Put detailed material there, not in the body.

Skill Naming

  • Directory name must match the name frontmatter field exactly
  • Lowercase letters, numbers, and hyphens only (a-z, 0-9, -)
  • No leading/trailing hyphens, no consecutive hyphens (--)
  • Max 64 characters

Valid: pdf-processing, data-analysis, code-review Invalid: PDF-Processing (uppercase), -pdf (leading hyphen), pdf--processing (consecutive hyphens)

SKILL.md Conventions

Frontmatter (YAML)

Required fields:

FieldConstraint
name1–64 chars, matches directory name
description≤1,024 chars; when paired with when_to_use, the combined discovery entry is capped at 1,536 chars and truncated

Optional fields:

| Field | Constraint | | --------------- | --------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | license | License name or reference to a bundled LICENSE file | | compatibility | 1–500 chars; target agent and/or environment needs (see Multi-Agent Convention) | | metadata | Key-value mapping; use reasonably unique key names to prevent conflicts | | when_to_use | Trigger phrases and scenarios for activation. Appended to description at discovery; combined cap 1,536 chars | | arguments | Space-separated parameter names for autocomplete tokens. Caution: makes arguments mandatory for marketplace-installed plugin skills — users cannot submit with Enter unless they provide arguments. Only use for skills that genuinely cannot function without explicit input (e.g. an issue number that can't be derived from context). For optional arguments, use argument-hint only. See Arguments Behavior below. | | allowed-tools | Experimental. Pre-approved tools, as a space-separated string (Bash(git:*) Read) or a YAML list |

Claude Code extension fields (ignored by other agents, safe to use in any skill):

FieldConstraint
argument-hintHint shown during autocomplete to indicate expected arguments (e.g. [issue-number], [filename] [format])
disable-model-invocationtrue prevents Claude from auto-loading the skill; invoke manually with /skill-name. Default: false
user-invocablefalse hides from the / menu; Claude can still load it when relevant. Default: true
modelModel to use when skill is active (e.g. claude-sonnet-4-5)
effortOverride session effort while the skill is active: low, medium, high, xhigh, or max
pathsGlob string or YAML list that scopes auto-activation to matching file paths (e.g. ".github/workflows/**/*.yml")
shellbash (default) or powershell; gates the shell used for !`command` and ```! injection blocks
contextfork runs the skill in a forked subagent context
agentSubagent type when context: fork (e.g. Explore, Plan, general-purpose, or a custom .claude/agents/ agent)
hooksHooks scoped to skill lifecycle. See Claude Code hooks docs

String substitutions available in skill body: $ARGUMENTS, $ARGUMENTS[N] / $N, ${CLAUDE_SESSION_ID}, ${CLAUDE_SKILL_DIR} (absolute path to the skill's SKILL.md directory — useful for invoking bundled scripts regardless of cwd). Dynamic context injection: !`command` runs a shell command and inserts its output before Claude sees the skill content.

Claude-only vs Agent Skills spec

The Agent Skills spec defines a portable subset. The following fields and features are Claude Code extensions — they are silently ignored by the spec but must not be relied on for skills exposed to Codex via scripts/codex/catalog.json. Using them on a compatibility: Claude Code, Codex skill risks silent behavior differences across hosts:

  • !`command` dynamic injection and ```! blocks
  • Skill-scoped hooks:
  • effort, paths, shell
  • ${CLAUDE_SKILL_DIR} substitution (host support varies — verify before using on Codex-exposed skills)

When a Codex-exposed skill needs bundled-script paths, keep the current <skill-dir> prose placeholder and let Claude resolve it contextually. Save ${CLAUDE_SKILL_DIR} for Claude-only skills.

This is now enforced, not advised. validate-skills.sh hard-fails a skill declaring Codex, OpenCode, or Pi that contains !`command` injection, a ${CLAUDE_*} substitution, ToolSearch, TodoWrite, SlashCommand, or subagent_type — in SKILL.md or any bundled .md. Claude-only skills are exempt, since for them these are the correct mechanism. The rule exists because advice did not hold: build/skills/commit sat in the Codex catalog with its entire context-gathering section written as seven injected commands, plus three body lines instructing the agent not to gather the context itself. On Codex, OpenCode, and pi the skill had no git state and was told not to look for any.

Detection lives in CLAUDE_ONLY_PATTERNS in that script. Note the comment there about (^|[[:space:]]): BSD grep treats ^ inside a group as a literal, so the anchored alternative matches nothing on macOS while passing on CI's GNU grep. Two -e patterns are the portable form.

A separate rule covers discovery text. validate-skills.sh rejects a tool name in description or when_to_use — AskUserQuestion, ToolSearch, TodoWrite, SlashCommand, NotebookEdit, WebFetch, WebSearch, StructuredOutput, subagent_type, and the explicit <Name> tool phrasing. Unlike the rule above this applies to every skill, Claude-only ones included, because the reason is different: discovery text is matched against what a person types, and nobody asks for a skill by naming the tool it calls. A tool name there cannot help the skill fire on any host.

Task, Agent, Skill, Read, Write, Edit, Glob, Grep, and Bash are ordinary English and appear legitimately — "Audit Agent Skills", "Write Markdown", "Reads and reports only" — so they are caught only in the <Name> tool form. allowed-tools is untouched by this rule; it is a declaration, and naming tools is its whole job.

One skill is exempt from the portability patterns, via CLAUDE_ONLY_EXEMPT:

SkillWhy
audit/skills/skill-auditIts subject matter is these mechanisms — the rubric and the dispatched prompt have to name them to tell an auditor what to look for. The exemption is skill-wide, so a genuine violation inside it would go uncaught; acceptable because it dispatches as intent and has no workflow of its own a host could fail to run.

Adding a row is a decision that needs a reason in this table. The exemption is not a way past a finding — a skill that uses one of these mechanisms narrows its compatibility or states the step as intent instead.

Example frontmatter:

---
name: pdf-processing
description: >
  Converts PDF files to text and extracts metadata.
  Use when the user asks to parse, read, or analyze PDF documents.
license: MIT
compatibility: Requires poppler-utils (pdftotext) installed on the system
allowed-tools: Bash(pdftotext:*) Read
user-invocable: true
model: claude-sonnet-4-5
metadata:
  author: edloidas
---

Arguments Behavior

For marketplace-installed plugin skills, arguments makes arguments mandatory (Enter is blocked until provided) and argument-hint is not displayed. Direct skills (~/.claude/skills/) are unaffected — both fields work as expected.

Only use arguments when the skill genuinely cannot function without explicit input (e.g. an issue number). Prefer argument-hint alone for optional hints. $ARGUMENTS works regardless of whether arguments is declared.

AskUserQuestion Conventions

Skills using AskUserQuestion must follow these rules:

  1. First option is recommended — add (Recommended) suffix to its label
  2. Every option has a description explaining the choice
  3. Order by relevance — recommended first, alternatives next, skip/none last
  4. Maximum 4 options — "Other" is added automatically by Claude Code
  5. Headers ≤12 characters, labels 1-5 words

The canonical Asking the User section

Any skill declaring a non-Claude host and asking a question carries exactly one section, worded verbatim as below. The single source of the wording is audit/skills/skill-audit/references/asking-the-user.md, so the rule travels into repos without this file; the block here is a copy for reading. It sits immediately before the skill's first procedural section — ## Workflow, ## Phase 0, ## Execution Steps, whichever the skill uses — at ##, or ### where the skill nests its conventions.

## Asking the User

Every question in this skill is written as `AskUserQuestion` options. Use that tool where
the host offers it, or the host's nearest structured-choice equivalent. Where the host has
neither, ask the same question in normal chat as a numbered list of 2–5 options —
recommended first, one short line of description each — and wait for the user to reply
with a number.

Copy it; do not paraphrase it. Fourteen skills each carried their own wording of this rule before it was unified, which made a reader unable to tell a deliberate variation from drift. validate-skills.sh hard-fails an asking skill — AskUserQuestion in allowed-tools, an Asking the User heading, or a per **Asking the User** call site — whose first paragraph under that heading differs from the reference file, whitespace collapsed. Change the wording there first, then here and in every skill, in one change.

Call sites do not re-explain the fallback. They say Ask, per **Asking the User**: followed by the options, and nothing more. A skill may add one extra paragraph under the section for its own policy — which gate is never skipped, what happens when the host cannot prompt at all — but not a second copy of the mechanics.

A skill whose only mention of AskUserQuestion is documentation about the field (as in skill-audit's rubric) does not need the section, and neither does a Claude-only skill.

A skill may deliberately refuse structured-choice prompting, and then it carries its own Asking the User section saying so instead of the canonical one. review/skills/pr-review and review/skills/changes-review do: they publish outward-facing correspondence, and the gate that approves it has to be answerable after reading the text it is about, which a modal firing mid-report is not. Both ask one question in prose as the last line, so AskUserQuestion is absent from allowed-tools and appears in the body only as the thing being refused. skill-metrics.mjs reports these as mentioned, NO fallback wording found, because its heuristic cannot tell a refusal from an omission — that flag is expected on those two, and the fix is never to re-add the canonical section.

Multi-Agent Convention

Skills for different agents (Claude Code, Codex, etc.) live in the same group directories — no nesting by agent. Agent compatibility is declared via the compatibility frontmatter field.

compatibility is the single source of truth for host support. It is not just documentation: scripts/skills-packaging.sh sync-repo parses it to decide which skills land in each host's generated tree, so editing it changes what ships.

Recognised host tokens are Claude Code, Codex, OpenCode, and Pi, comma-separated:

compatibility: Claude Code                        # Claude-only — needs a documented reason
compatibility: Claude Code, Codex, OpenCode, Pi   # fully portable (the common case)

Universal skill: Omit compatibility entirely — the skill works with any agent.

The Codex set must be a subset of every other host's set. Codex, OpenCode, and pi all read .agents/skills/, which carries the Codex-vetted set, and each non-Codex host also reads its own tree. So the set a host really sees is its own tree unioned with the Codex tree. If a skill declared Codex but not Pi, pi would still pick it up from .agents/skills/ despite never declaring support. scripts/validate-codex.sh fails on that combination. In practice: a skill that is Codex-safe is portable, so declare all four.

Adding a host to a skill is not free. Check that the body has no Claude-only dependency — AskUserQuestion without a chat fallback, subagent_type, Skill-tool orchestration, ${CLAUDE_SESSION_ID}, or ~/.claude/... paths.

Subagent dispatch is written as intent, never as mechanism. A skill declaring any non-Claude host must not name a tool, an agent type, or a model when it dispatches work. Say what to spawn and what it must return, and note the inline fallback for hosts without subagents:

Dispatch a subagent to scan the target files against the active convention
rules and return structured violations. If the host has no subagent facility,
run the same prompt inline.

For dispatch specifically, per-host "Claude Code path / Codex path" splits and host-hint parentheticals ( `subagent_type: Explore` (Claude Code; use the host's nearest equivalent elsewhere)) are violations, not fallbacks — the aim is one set of instructions every agent can follow. When the dispatched prompt is long enough to matter, put it in references/ and point every host at the same file; never keep a second copy in a plugin agents/ file, which only one host can read and which will drift.

Three things this rule does not cover:

  • allowed-tools — a declaration, not an instruction. A portable skill that dispatches subagents should still declare Task / Agent for Claude Code's pre-approval, and that is not a mismatch with intent-only prose in the body.
  • AskUserQuestion — the per-host fallback above is required, not forbidden.
  • Per-host data, such as assist/skills/handoff's table of where each host stores its transcripts. Facts that genuinely differ per host belong in a table with a documented default; only the dispatch procedure has to be uniform.

The README "Available Skills" tables include an Agent column for quick scanning.

Per-Host Skill Trees

sync-repo generates one symlink tree per host, all pointing into the canonical <group>/skills/<name> directories:

TreeRead byContents
.agents/skills/Codex, OpenCode, piCodex-vetted set (from scripts/codex/catalog.json)
.opencode/skills/OpenCodeEvery skill declaring OpenCode
.pi/skills/piEvery skill declaring Pi

All three are generated — never edit them by hand. To install a host's set globally rather than repo-locally:

./scripts/skills-packaging.sh install-host opencode   # -> ~/.config/opencode/skills
./scripts/skills-packaging.sh install-host pi         # -> ~/.pi/agent/skills
./scripts/skills-packaging.sh install-host codex      # -> ~/.agents/skills

install-host prunes only links that point into this repo, so unrelated skills sharing the destination directory are left alone.

Codex Metadata

Skills exposed to Codex should include agents/openai.yaml with:

  • interface.display_name
  • interface.short_description
  • optional interface.default_prompt
  • policy.allow_implicit_invocation

Use allow_implicit_invocation: false for destructive or environment-specific skills that should only run when explicitly invoked.

Writing Good Descriptions

The description determines when an agent activates the skill. Be specific and actionable — include what the skill does, what inputs it handles, and keywords that would appear in a matching user request.

  • Poor: "Helps with PDFs."
  • Good: "Converts PDF files to text and extracts metadata. Use when the user asks to parse, read, or analyze PDF documents."

Body (Markdown)

  • Keep under 500 lines / ~5000 tokens. Enforced by .github/scripts/validate-skills.sh, which fails the build on a breach — see Body Line Budgets
  • Include step-by-step instructions, examples, and edge cases
  • Move detailed reference material to references/ files
  • Use relative paths from the skill root when referencing files (e.g. references/api-guide.md)
  • Keep references one directory level deep; avoid nested reference chains
  • Keep individual reference files focused — smaller files mean less context usage

Body Line Budgets

The 500-line body cap is mechanical, so it lives in validate-skills.sh rather than in skill-audit's rubric. Two skills carry a larger budgeted allowance in BODY_LINE_BUDGETS:

SkillAllowanceWhy
plan/skills/issue-flow1000Sanctioned. It owns every git and gh write in the issue pipeline — base detection, the fork point, the squash rules, the force-push lease. That concentration is the seam that let solve-issue and changes-review become portable, and splitting it would put the same rules in two files, which this repo treats as the drift mechanism. Its size is the cost of being the single writer.
workflow/skills/solve-issue550At 537 after the prompting-standard pass added a stop sentence and a named end-of-phase line to every phase, paid for by cutting the 21-row Error Handling table and the trailing ## Scope recap and moving the deferral block into references/review-feedback.md. Raised from 540 to 550 deliberately, because three lines of headroom made every subsequent edit a trim-or-nothing choice on an 11-phase orchestrator that is still growing. The 13 lines now free are for the phases the auditors named — Phase 0 has no counted closing line, and the Phase 6 summary has no worked fragment in the body — not for general expansion.

The ~5000-token cap is enforced the same way, estimated as body bytes / 4, because the line cap alone let a body grow sideways — changes-review sat at 499 lines and ~7.3k tokens. BODY_TOKEN_BUDGETS carries issue-flow (13400) and solve-issue (7650) for the reasons above. Both were raised from 13000 and 7500 when slice delivery arrived: the per-slice reset point belongs in issue-flow's Consolidate, the one owner of the squash rules, and solve-issue keeps only the switch and its call sites in the body, with the loop itself in references/slices.md. It also carries three skills grandfathered at their size when the cap arrived: changes-review 7500, code-cleanup 6500, security-audit 5700. Those ceilings stop growth and sanction nothing; lower a row whenever its skill is trimmed, and delete it once the skill fits the cap — consilium left the table that way.

A budget is a per-skill ceiling, not an exemption — a budgeted skill that grows past its allowance still fails, so a deliberate size cannot drift into an accidental one. Adding a row is a decision that needs a reason in this table.

body_line_count counts every line after the frontmatter, horizontal rules included. It used to skip each --- in the file rather than only the two delimiters, which made a body measure smaller than what the agent actually loads: issue-writer reported 498 lines against a real 507, because nine --- rules sit inside its issue templates. Six other skills were undercounted too, none of them across a ceiling — lint-sync at 493 is now the closest to the cap. A checker that reads low is worse than no checker, so if the two counts ever disagree again, trust neither until you know which one is wrong.

skill-audit does not re-score a budgeted skill for its size. The validator owns the mechanical limit; the rubric still judges whether heavy material is deferred, whether the length is proportionate, and whether anything is duplicated into references/.

Scripts

  • Must be self-contained or clearly document dependencies
  • Include helpful error messages
  • Handle edge cases gracefully

Writing a Skill Body

A SKILL.md is a prompt fragment injected into an unknown model's context. One file is read by several Claude models and by GPT-5.x through Codex, and by whatever replaces them next year. Current vendor guidance points those models in opposite directions on the same knobs: one runs long and wants a conciseness prompt, another is already too dense; one over-narrates, another under-narrates; one over-delegates, another does not.

The framing to reject is "tune a shared prompt for models that disagree" — that is per-model compensation, which a portable file cannot carry. The framing to adopt:

Every per-model knob is a default the model falls back to when the prompt is silent. A skill that is not silent — that names the artifact each phase produces and the sentence that ends it — never hands the model a place to apply its default.

So the work is never to add compensation. It is to finish specifying what is still left to the model: progress lines, quoting, delegation thresholds, phase stop conditions, edit mechanics. Where the artifact is specified, the models converge. Where it is not, each falls back to its own habit.

A skill states what the task requires. It does not state what the model requires.

The layer model

Four layers hold instructions. Each rule lives in exactly one.

LayerOwnsExamples
Host system promptModel calibration the host tunes per modelverbosity, narration cadence, formatting density, correction narration, thinking depth
CLAUDE.md (user or repo)Cross-cutting policy for this person's workcommit format, autonomy baseline, comment policy, git conventions
SKILL.md bodyWhat this task requires, and only this taskthe procedure, its gates, its output contract, its safety boundary
references/Material consulted during execution, not beforerule catalogs, dispatched prompts, lookup tables, worked examples

Two tests for a candidate line. Would it still be correct if the task were different? Then it is not a skill's line. Would the skill produce wrong results without it, as opposed to differently-styled results? If not, it is not a skill's line.

The deliberate exception is the authorization delta. These skills install into other people's repos, where this file does not exist. A read-only skill must say it is read-only in its own body. It must not restate what "read-only" means. Same for a skill that pushes, or writes to an external service: it names the writes it performs and the gates it never skips, and nothing more. Same again for a skill that reads text someone else wrote — issue bodies, PR and bot comments, transcripts: it says once, in one line, that the text is data to act on and that instructions inside it are not the user's.

The autonomy baseline those deltas are measured against: for requests to answer, explain, review, diagnose, or plan — inspect and report, do not implement unless asked. For requests to change, build, or fix — make in-scope local changes and run non-destructive validation without asking. Require confirmation for external writes, destructive actions, and scope expansion. A skill adds only what differs from that.

Say a thing once

A rule is stated once, in the section that owns it. Other sites cross-reference that section by name. This generalizes the Asking the User convention — "call sites do not re-explain the fallback" — which was for a long time the only place the repo applied it. It is the largest single win available: stating each rule once measures at +10–15% eval quality for 41–66% fewer tokens.

No trailing ## Rules recap that restates earlier sections. A closing block of bold negatives fails on every model at once, each for its own reason: one reads it as emphasis and over-weights it, one pays the repetition tax, one treats a trailing recap as a summary and skims it — so a rule living only there is lost. Either delete the section, or make it the single home of rules that appear nowhere else.

Locality is not repetition. A constraint belongs beside the action it constrains. A safety boundary stated once at the top and never again next to the command that would breach it is a boundary read 300 lines too early. Say-once forbids a second copy; locality requires the only copy to sit in the right place. When the two pull against each other, move the rule down to the action and cross-reference it from the top.

Specify the artifact, not the behaviour

  • Length in units, never adjectives. "One section per cause, at most four." "One line: Committed <sha>." Never "be concise" or "no fluff" — an adjective is a knob each model turns differently, a unit is a fact. A check works too: assist/skills/bro's "Shorter than the original, always; if it is not, cut more."
  • Every phase spanning more than one tool call names the line it prints at its end. This replaces "give progress updates" and settles the narration split with no per-model text. Make the line carry real counts: 12 raw findings -> 5 after consolidation. It has to be one line per phase, not one per skill: a single named line elsewhere is read as the ceiling rather than the floor, and the model goes silent everywhere it was not asked.
  • Every phase that could continue ends with a stop sentence naming what does not follow. review/skills/changes-review is the model: "Then stop. Do not fix, do not offer to fix, and do not start a second round." This is also the real defence against a model bolting its own re-check on top of the specified one, and against ending a turn with a promise ("Round 3 would attack the fix…") instead of an action. Where a skill runs in rounds, add: a round ends only in one of the states in the table; a description of the next round is not a state, run it.
  • A skill with six or more phases states its done condition once, before the first phase: Done means: <the artifact or state>, or a gate waiting on the user. The stop sentence bounds the end; the done line stops the opposite failure, a turn that ends between phases with a summary announcing the next one. A phase's closing line is a status note printed in the same message as the next phase's first action, not a turn boundary. The only turn ends are the done condition, a gate, and a blocker the report names.
  • Reproduced source text is marked, and the template shows the marker. An instruction saying "quote the clause" while the template renders prose gets prose. Put a literal > blockquote line in the template where the quote goes. Where a skill says "paste it, never describe it", add: in a fenced block, unedited; if you cut lines, say how many and from where.
  • A skill that edits files states the edit mechanic once: targeted edits per hunk, never a whole-file rewrite. Otherwise removing six comments from a 300-line file becomes a whole-file write whose diff carries whitespace and quote-style churn nobody asked for. Language about "surgical" scope is a different statement and does not cover this.
  • Quantify read-scope where under-reading is possible. "What to read" without "how many" gets one file opened, the rest reasoned about, and the "what I verified" line quietly downgraded. One sentence fixes it and fixes tool-call batching at the same time: list every file the trace will touch, and open all of them in one response before writing a word.
  • Every dynamic check that did not run is named in the report, with why. If one optional check says "skip it and say so" and its sibling does not, the sibling gets skipped silently and a partial run reads as a clean one.

Phrasing

  • Say what to do, not what to avoid, where both work.
  • No shouty emphasis as a compliance device — enforced by validate-skills.sh. Where the shout sits on an approval gate, drop the shout and keep the gate: "Pushing the tag publishes it and cannot be recalled. Show the version and the tag, and wait for approval." Same imperative force, no capitals. Never weaken a gate to satisfy the rule.
  • Instruction first, rationale after, one line, next to the rule. The why genuinely helps and the rationale-heavy skills in this collection work — do not strip rationale. What fails is rationale wrapping an imperative: in a 40-line section holding two instructions and 38 lines of reasoning, the instructions get extracted and the scope the reasoning attached to them is lost.
  • A condition attached to a table row lives in the row. Tables and fenced templates bind far more reliably than the prose paragraph after them, so a condition in the following sentence is dropped while the row is applied.
  • Tables for classification, prose steps for procedure. Tables bind for exact mappings and mutually exclusive cases, poorly for ordered procedures, exceptions, and nested conditionals.
  • Never gate a finding on the model's own confidence. "Only report violations you are CERTAIN about", "only report high-severity", "be conservative" are followed literally and cap recall. Worst inside a dispatched prompt, where the sub-agent is the one finding things and no filter stage exists downstream. Carry **Confidence**: high | medium | low as a reported field and filter in synthesis — the architecture review/skills/changes-review already uses.
  • No behavioural-style words in a body — "be thorough", "think carefully", "double-check", "verify your work". Warned by validate-skills.sh. description and when_to_use are exempt: those match what a user types, so consilium's "think hard" and "ultrathink" triggers are correct. Quoted trigger phrases in a body are exempt for the same reason.
  • No model-calibration adverb in description or when_to_use — "thoroughly", "concisely", "carefully". Enforced by validate-skills.sh. Discovery text is read every session by every host and cannot make a skill fire by describing how it works.

Examples and verification

Every skill producing structured output ships one complete worked example of that output — a filled-in instance of the skill's own template, not a second template. One, in the body, as a fenced block; anything further goes in references/. Do not use <example> tags: fenced blocks already separate example from instruction, and XML tagging is a system-prompt tool. The exception is the quoting marker above, which earns an explicitly marked block.

Do not instruct a model to double-check its own work. Cut "before finishing, verify your answer", "add a final verification step", "use a subagent to double-check your own output". Keep everything external and structural — an independent agent attacking the artifact blind to the implementer's reasoning, running the project's tests, a live observation. Those are not self-verification. In practice the defence against over-verification is the stop sentence above, not a prohibition.

Delegation

  • Every dispatch site carries a numeric threshold or a named trigger. build/skills/commit is the model: "~500 changed lines or ~20 files AND you need actual diff content". An adjective like "when the surface is wide" leaves it to the model, so one host spawns and another does not.
  • An inline fallback for a chained skill is at most 5 lines and a pointer. A fallback longer than the invocation gets taken every time, and it is a second copy of the skill it replaces — the drift mechanism this file warns about throughout.

Cut order, when a body is over budget

  1. Duplicated mission statements and restated procedure summaries
  2. Historical rationale not attached to a live constraint (compress to one line)
  3. "Core Principle" sections that do not change a later decision
  4. Failure-mode tables that only restate the procedure
  5. Generic agent-behaviour advice (host layer)

Never cut: task-specific boundaries, decision criteria, gates, edge cases, required commands, output schemas, worked examples, and the one-line reason behind a surprising rule.

Deliberately not adopted

Recorded so it is not re-derived. Effort sweeps and output_config (an API loop; a skill has no analogue) · prefill migration, structured outputs, budget_tokens (request shape; a skill never constructs a request) · turn-scoped system messages, beta headers, append-only history (harness layer) · programmatic tool-calling routing (vendor-specific, and naming it is a mechanism violation) · XML-tagged system-prompt blocks and the "mannered prose" block (host-layer calibration) · "ask the model to self-check" (superseded above) · restating a conciseness reminder near the end of a long prompt (model-specific compensation; the per-phase stop sentence does the same job portably) · "prefer general instructions over prescriptive steps" (wrong here — these skills exist to replace the model's default procedure, which is the whole premise of issue-flow's squash rules and changes-review's cold dispatch) · "report everything, filter separately" as new text (already the architecture; adding it again violates say-once).

effort: and model: frontmatter stay unset collection-wide. Claude Code supports them and the other hosts ignore them, so there is no portability cost — but there is also no measurement saying which skills are under- or over-thought, and the rubric already treats a model override as needing justification. Revisit with numbers, not intuition.

Creating a New Skill

  1. Choose the appropriate group directory (plan/, build/, review/, audit/, maintain/, ship/, assist/, write/, obsidian/, or workflow/)
  2. Create a real directory: mkdir -p <group>/skills/<skill-name> (never a symlink)
  3. Create <group>/skills/<skill-name>/SKILL.md with required frontmatter and instructions
  4. Add scripts/, references/, or assets/ directories as needed
  5. Update the appropriate "Available Skills" table in README.md
  6. Run bash .github/scripts/validate-skills.sh to verify marketplace, manifests, and skill layout
  7. If the skill bundles a shell script, add its tests under tests/<group>/<skill>/ and run bash tests/run.sh
  8. Run skill-audit and clear it before committing — see below

Skill Changes Are Gated

Any change that creates, edits, moves, renames, or deletes a skill directory clears audit/skills/skill-audit before it is committed. Any change to a bundled shell script also clears bash tests/run.sh. The four checkers own different halves and none substitutes for another:

CheckerOwnsFailure
.github/scripts/validate-skills.shMarketplace and plugin manifests, canonical layout, per-skill frontmatter rules, body line and token ceilings, dangling bundled paths, Claude-only mechanisms in a portable skill, the verbatim Asking the User section, shouty emphasis in the body and in references/*prompt*.md fences, and calibration adverbs (see Writing a Skill Body)Hard, fails CI; behavioural-style words warn only
scripts/validate-codex.shCodex catalog, compatibility agreement, agents/openai.yaml, host subset ruleHard, fails CI
tests/run.shWhat a bundled script actually returns — exit codes, chosen branch, parsed output, refusalsHard, fails CI
skill-auditDiscovery, instruction quality, context cost, portability, safety, layer disciplineScored 1-5, PASS / FAIL

skill-audit never edits anything and never regenerates the packaging layer — a stale generated tree is one of its findings. Anything mechanically checkable belongs in one of the two validators, not in the rubric; add new mechanical rules there and let the skill cite them.

Reading a script cannot replace running it. detect-base.sh shipped a wrong answer while skill-audit scored issue-flow 4.7/5 with no category below 4 — the prose was correct and the script did not do what the prose said. That is what tests/run.sh is for.

Script Tests

tests/ holds behavioral tests for the shell scripts this repo bundles. Plain bash, no install step, no new dependency:

bash tests/run.sh                    # everything
bash tests/run.sh detect-base        # only files whose path matches

Tests live at the repo root, never inside a skill. A tests/ directory under <group>/skills/<name>/ would be symlinked into every generated host tree and ship inside the installed plugin. tests/<group>/<skill>/<script>.test.sh mirrors the skill path instead, so the distribution layer never sees them.

A test file sources tests/lib/assert.sh and tests/lib/fixture.sh, defines test_* functions, and ends with run_tests. Each case runs in its own subshell in its own sandbox directory, with HOME, TMPDIR, and XDG_CONFIG_HOME pointed inside it and every environment variable the scripts under test consult unset — CLAUDECODE, OUTSIDER_*, GIT_DIR, and the rest. A script that starts reading a new variable needs that variable added to the scrub in run_tests, or a case will pass or fail based on who ran it. fixture.sh builds throwaway git repos with a local bare "remote" and replaces PATH with a sandbox pair — a stub directory plus symlinks to a fixed list of core tools — which is what makes "the tool is not installed" testable at all. Nothing reaches the network, real $HOME, or a real remote.

Two conventions matter:

  • Target bash 3.2, the shell stock macOS ships. No associative arrays, no mapfile, no ${var,,}, no [[ -v ]]. Under set -u, "${arr[@]}" and ${arr[0]} on an empty array are unbound-variable errors on every bash before 4.4 — but ${#arr[@]} is not, which is why it is the guard the bundled scripts use. Where an expansion cannot be guarded by a preceding ${#arr[@]} check, use ${arr[@]+"${arr[@]}"}.
  • The suite needs timeout or gtimeout on PATH, since one of the scripts it tests requires it. Stock macOS has neither.
  • A known defect gets two cases: one asserting the correct behavior, marked skip with the reason and the fix, and one pinning what the script does today. The skip keeps the finding visible in the report; the pin makes a fix trip the suite instead of passing silently.

Scripts whose whole body is a gh call are deliberately untested — the stub would assert the stub. Cover logic, refusals, and parsing.

The per-skill rules in validate-skills.sh are tested too, in tests/github/. validate-skills.sh --skill <dir> runs only those rules against one skill directory — no marketplace, manifests, or README — which is what lets a case build a fixture skill in its sandbox. A new per-skill rule gets a failing and a passing case there.

The suite runs on both axes. The test-scripts job is a matrix over ubuntu-latest and macos-latest, so the bash 3.2 and BSD-userland targets above are verified rather than merely conventional. Two details make the macOS leg real: it invokes /bin/bash tests/run.sh explicitly, because Homebrew's bash 5 comes first on the runner's PATH and plain bash would just duplicate the Linux leg; and it installs coreutils first, because CORE_TOOLS links timeout/gtimeout only when one is already present and stock macOS ships neither — without it the suite drops the tool silently instead of failing. fail-fast is off so a failure on one OS still reports the other.

Plugin Manifests (.claude-plugin/)

marketplace.json and plugin.json have different schemas — do not mix their fields.

  • marketplace.json — marketplace registry entry. Plugin objects support: commands, agents, hooks, mcpServers, lspServers. No skills field. Adding skills here causes validation error: plugins.0.skills: Invalid input.
  • plugin.json — plugin manifest. Skills are auto-discovered from subdirectories containing SKILL.md. Do not declare a skills field — it is no longer supported.

Skills are discovered automatically from the plugin root directory. No per-skill registration is needed in either file.

Codex Wrapper Plugins

Do not add .codex-plugin/plugin.json directly to the source group directories (plan/, build/, review/, audit/, maintain/, ship/, assist/, write/, obsidian/, workflow/).

Use wrapper plugins under plugins/<plugin-name>/ instead:

  • Source groups remain the canonical skill source for all agents.
  • Wrapper plugins expose only the Codex-vetted subset of skills.
  • plugins/<plugin-name>/skills/ should contain symlinks to the real skill directories.
  • .agents/skills/ should also contain only Codex-vetted skill symlinks.

Do not rely on compatibility metadata alone to hide unsupported skills from Codex discovery. Only add Codex to a skill's compatibility frontmatter after reviewing that the instructions are actually Codex-safe. In this repo, Codex-compatible skills must also be exposed through scripts/codex/catalog.json.

One skill is compatibility: Claude Code, locked by what it actually does. It should stay Claude-only unless its workflow changes:

  • review/skills/code-to-spec — dispatches fleets of plugin-namespaced subagents via subagent_type and keys temp files on ${CLAUDE_SESSION_ID}.

review/skills/consilium was Claude-only for the same reasons and is now portable. It stopped being a review skill: it is an approach board that takes a problem or a decision, generates candidate approaches from independent seats, and ranks them. Making it portable was mostly subtraction — dispatch is stated as intent, model choice as intent, its outside seat runs through outsider instead of a private codex exec wrapper, and the temp files that forced ${CLAUDE_SESSION_ID} are gone entirely because the candidate set travels in the dispatched prompt and outsider owns the one file that still hits disk.

plan/skills/issue-flow and workflow/skills/solve-issue were Claude-only for the same reason changes-review was: they named the mechanism. Both now state delegation as intent ("invoke issue-flow", "dispatch one subagent"), each call site documents what to do when the host cannot chain skills or has no subagents, and both carry the standard AskUserQuestion fallback in a single Asking the User convention rather than repeating it at sixteen call sites. issue-flow owns every git and gh write in the pipeline, so solve-issue holds no duplicate of its commit format or squash rules — the seam is what made them portable.

review/skills/changes-review was Claude-only for its per-agent model overrides. It now states model choice as intent — most capable model the host offers, next tier down when that is the orchestrator's own, a different one per reviewer where the host allows it — and degrades to role diversity alone where it does not. Model diversity is still half of why the reviewers disagree usefully, so the report says which kind of diversity a run actually got.

assist/skills/outsider used to be two skills, codex and claude, each excluded from the host it would have called recursively. It now resolves an installed agent CLI that is not the current host, so it declares all four hosts and still never invokes itself. Recursion is a selection rule in scripts/run-outsider.sh, not a compatibility omission — which is the pattern to follow for anything else that shells out to an agent CLI.

When adding a new skill, or when upgrading an existing skill to support Codex, make sure the Codex packaging layer is updated in the same change:

  • Add or update the skill's compatibility frontmatter to reflect actual Codex support.
  • Add agents/openai.yaml if the skill should be exposed in Codex.
  • Add the skill symlink in .agents/skills/ if it is part of the repo-local Codex skill set.
  • Add the skill symlink in the appropriate plugins/<plugin-name>/skills/ wrapper plugin if it should be installable through the repo marketplace.
  • A dispatched prompt lives in exactly one place — the skill's references/*-prompt.md, read by every host. Do not mirror it into a plugin agents/ file: only Claude Code can read that copy, and the two drift the moment one is edited.
  • Ensure the wrapper plugin manifest and .agents/plugins/marketplace.json still reflect the intended Codex plugin set.
  • Update scripts/codex/catalog.json, run ./scripts/validate-codex.sh, and run ./scripts/skills-packaging.sh sync-repo so the generated wrapper layer stays in sync.
  • Update README.md if the exposed Codex skill set or plugin group contents changed.

A skill is not considered fully integrated until both the source skill and the Codex wrapper layer are kept in sync.

Bundling Agents with a Plugin

Claude Code agents (.claude/agents/) can be distributed alongside skills as part of a plugin. This is a Claude Code-specific feature — the Agent Skills spec (agentskills.io) has no concept of agent distribution.

Directory layout

Place agent files in an agents/ directory at the plugin group root:

<group>/
├── .claude-plugin/
│   └── plugin.json
├── agents/
│   ├── my-agent.md       # Auto-discovered by Claude Code
│   └── other-agent.md
└── <skill-name>/
    └── SKILL.md

agents/ at the plugin root is auto-discovered — no declaration needed in plugin.json. The "agents" field in plugin.json is additive (supplements auto-discovery for non-standard paths).

Agent file format

Agent files are Markdown with YAML frontmatter:

---
name: my-agent
description: What this agent does and when to invoke it
model: sonnet
tools: Bash, Read, Glob, Grep
---

Agent system prompt here.

Priority order

When multiple locations define an agent with the same name, higher-priority locations win silently:

  1. .claude/agents/ — project-level (highest)
  2. ~/.claude/agents/ — global user
  3. Plugin's agents/ — distributed (lowest)

Naming and invocation

  • Agents appear in the UI as <plugin-name>:<agent-name> (e.g. review:spec-analyzer)
  • subagent_type for plugin-distributed agents requires the namespaced form (e.g. subagent_type: "review:spec-analyzer")
  • subagent_type for built-in agents uses the plain name (e.g. subagent_type: "general-purpose")
  • Agent name in frontmatter must match the filename (without .md)

Avoid

  • Putting all content in SKILL.md body — move reference material to references/
  • Writing vague descriptions that don't help the agent decide when to activate the skill
  • Creating scripts with undocumented external dependencies
  • Using absolute paths or paths outside the skill directory

Specs and Plans

Specs and plans are stored in docs/superpowers/ (gitignored). Delete the spec and plan files for a feature once it is fully implemented.

Releases

Use the skills-release skill (tools/skills-release/, surfaced to Claude Code through the .claude/skills/skills-release symlink). Its release-prepare.sh / release-bump.sh scripts handle every version-bearing file.

The version is declared in four kinds of file, and every one must match the release tag:

FileRead by
.claude-plugin/marketplace.json (per plugin entry)Claude Code marketplace
<group>/.claude-plugin/plugin.jsonClaude Code plugin loader
scripts/codex/catalog.jsonCodex wrapper generator
plugins/<plugin-name>/.codex-plugin/plugin.jsonCodex plugin loader (generated)
package.jsonpi package manifest

.github/scripts/validate-version.sh fails the release workflow if any of them drifts from the tag. Add new version-bearing files to that script, to release-prepare.sh, and to release-bump.sh in the same change — mutual agreement between manifests is not enough, since they can all go stale together.

package.json

It exists only as the pi package manifest (pi.skills points at the generated .pi/skills tree) and as a version anchor. It is "private": true and is never published to npm — pi installs straight from git. Do not run npm publish, npm version, or add dependencies.

Git & GitHub

Conventional commit style: feat, fix, docs, chore, refactor, test, style, ci.

  • Branch: issue-<number> when working on an issue.
  • Commit / issue / PR title: <Issue Title> #<number>, e.g. feat: add ask skill #12. Without an issue, <type>: <description>.
  • One commit per feature. Do all work first, then produce a single clean commit. No intermediate commits.
  • PR body: concise what and why, one blank line between sections. One Closes #<number> per line, last — after the body text. GitHub links only the first reference after a keyword, so Closes #1 #23 #456 closes #1 and silently leaves the rest open.

License

All skills in this repository are released under the MIT License unless a skill's own SKILL.md specifies otherwise via the license frontmatter field.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.