agent-skills
CLAUDE.md2 starsChanged 5 months agoMITView on GitHub
This is the Mi9 LLC public catalog of Claude Code Agent Skills, hosted on GitHub at github.com/Mi9-LLC/agent-skills. Teammates and external users install individual skills with: It is not application code. There is no build, test, or lint pipeline — the entire repo is Markdown skill definitions. Do not invent commands; there are none to run. Flat skills layout, matching the canonical anthropics/skills example: .claude-plugin/marketplace.json and hooks/ are the one exception to the flat layout. They exist because npx skills add…
- Reads credentials
- Deletes or force-pushes
- Installs packages
- Commits and pushes
In this repository28 other files it gives its agents.
- find-skillsSkill
- skill-creatorSkill
- anti-sycophancySkill
- clear-and-shortSkill
- coding-standardsSkill
- convert-plan-to-featureSkill
- dead-code-removalSkill
- delegation-promptSkill
- document-generateSkill
- execute-changeSkill
- live-app-security-auditSkill
- new-featureSkill
- plan-eng-reviewSkill
- pr-review-requestSkill
- pr-reviewSkill
- repo-change-summarySkill
- security-vulnerability-scanSkill
- session-cleanupSkill
- session-handoffSkill
- sonar-issue-checkSkill
- sonar-issue-fixSkill
- systematic-debuggingSkill
- trim-initial-bundleSkill
- unslopSkill
- update-dependenciesSkill
- verify-frontend-changeSkill
- verify-implementationSkill
- windows-disk-cleanupSkill
The file
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Repository purpose
This is the Mi9 LLC public catalog of Claude Code Agent Skills, hosted on GitHub at github.com/Mi9-LLC/agent-skills. Teammates and external users install individual skills with:
npx skills add https://github.com/Mi9-LLC/agent-skills --skill <skill-name>It is not application code. There is no build, test, or lint pipeline — the entire repo is Markdown skill definitions. Do not invent commands; there are none to run.
Layout
Flat skills layout, matching the canonical anthropics/skills example:
skills/<name>/SKILL.md— the skill definition (YAML frontmatter withname,description,allowed-tools+ Markdown body that's loaded into the model when the skill triggers).skills/<name>/references/— on-demand reference docs the skill reads itself when it needs the detail. Keep these out ofSKILL.mdso the always-loaded body stays small.
.claude-plugin/marketplace.json and hooks/ are the one exception to the flat layout. They exist because npx skills add installs skill files only: clear-and-short needs a UserPromptSubmit hook, and execute-change needs three subagent-watching hooks plus a process-sweep script. Read "Distribution mechanism" below before adding a third plugin.
The one other top-level directory is evals/ — skill eval fixtures (e.g. evals/session-handoff/) kept out of the installable skill folders. It is development material only: npx skills add installs a single skills/<name>/ tree and never pulls evals/, so nothing here ships to consumers.
Current skills
security-vulnerability-scan(skills/security-vulnerability-scan/) — OWASP Top 10:2025 static scanner. Read-only on the target source tree; writes onlyaudit/<YYYY-MM-DD>/report.md. Never modifies source files, configs, lockfiles, or.gitignoreof the repo being scanned; declaresdisallowed-tools: Edit, NotebookEditto drop those tools while the skill is active (a per-turn guard — clears on the next message). Shipsreferences/(one file per OWASP A01–A10 category +framework-checks.md).live-app-security-audit(skills/live-app-security-audit/) — Runtime audit of a deployed live URL. Seven checks: security headers, TLS, frontend-bundle secret search, localStorage tokens, unauthenticated endpoints, login rate-limit, username enumeration. Read-only on the user's source tree; writes onlyaudit/<YYYY-MM-DD>/live-audit.md(mirrorssecurity-vulnerability-scan's path, so both reports live side-by-side). Declaresdisallowed-tools: Edit, NotebookEdit(drops those tools while active; a per-turn guard that clears on the next message). Active probes (rate-limit, enumeration) require explicit target-authorization at Step 0; uses RFC-reserved@example.invalidemails for probes. Designed as the runtime counterpart tosecurity-vulnerability-scan.anti-sycophancy(skills/anti-sycophancy/) — Behavioral skill that swaps Claude into critical-thinking-partner mode for review/feedback/decision asks. Argues the strongest opposing case first, names untested assumptions, surfaces weaknesses before strengths, ends with a sit-with question. Produces no files or reports; behavioral only — changes only how Claude argues. Trigger description carved byskill-creator's description-optimization loop against an Opus 4.7 eval set. A do-NOT carve-out for structured pre-implementation plan review (routes toplan-eng-review) was appended to the description post-eval; re-running the description eval is an optional follow-up, not done.update-dependencies(skills/update-dependencies/) — Research-first dependency updater for any JS/TS project. Supports npm, pnpm, yarn Classic, yarn Berry, and bun; auto-detects single-package or monorepo layout. Manual-only (disable-model-invocation: true; invoke with/update-dependencies [package-names...]). Operates exclusively on a dedicatedagent/update-dependencies/<ts>-<rand>branch created from the auto-detected default branch; never commits or pushes. Shipsreferences/docs: per-PM command table (package-managers.md) and lockstep-ecosystem families (lockstep-ecosystems.md).convert-plan-to-feature(skills/convert-plan-to-feature/) — Decomposes an approved plan into independently-trackable, per-feature implementation specs under a dedicated<plan-location>/<initiative>/subfolder (the repository's own plan location checked first — its CLAUDE.md and existing folders, e.g.docs/up next/— defaulting todocs/plans/): aREQUIREMENTS.mdindex (context, blast radius, cross-cutting catalogs, deploy ordering, parallel groups, feature table with a Status column — the initiative's status board; when every feature is done the folder follows the repo's docs contract, many repos pruning implemented plans) plus onefeatures/NN - <name>.mdfile per unit of work, each with its own requirements, technical steps with real file paths, dependencies, acceptance criteria, and a verbatim Standing instructions for the implementer block (open questions go back to the requester, never resolved by assumption; external library/API behavior verified against current docs, not internal knowledge; the file's acceptance criteria are the verification contractverify-implementationruns against, so a mid-feature scope change is written back into them). A feature that modifies existing behavior must carry an acceptance criterion naming its regression test. Model assignments are quality-first: Opus is the default; Sonnet/Haiku only when a feature meets every condition of the cheaper tier; any underestimation signal (shared contracts, cross-component work, concurrency/caching/migrations/auth, modified existing behavior, open questions, "just/simple/quick" wording) forces Opus; a mandatory second pass re-reviews every assignment after all files are written (in doubt between tiers ⇒ the higher one), and the plan's own per-phase recommendations are input, not authority. Parallel groups mark concurrency mechanically (no dependencies ⇒ group 1; otherwise 1 + highest dependency group; same group ⇒ no mutual dependencies ⇒ safe to implement concurrently), recorded in the features table and each file's header and consistency-checked at the verify step — so a step-5 fleet coordinator never re-derives the dependency graph. On a re-run where the<initiative>/folder already exists it reads the existingREQUIREMENTS.mdfirst, preserves every feature's Status value, and asks (AskUserQuestion) before overwriting any feature file whose status is pasttodo. Produces planning documents only — does not implement anything. Declaresdisallowed-tools: Edit, NotebookEditto drop those tools while the skill is active (a per-turn guard — clears on the next message). Invoke when a finished/approved plan exists (from plan mode or underdocs/plans/) and the user wants it split into trackable features/tickets/specs — but NOT in a repository that mandates its own spec workflow (e.g. OpenSpec repos, where the change'stasks.mdowns the breakdown; there the skill's execution rigor — model rubric, parallel groups, acceptance criteria, standing implementer instructions — is ported into that artifact instead of a parallel breakdown).new-feature(skills/new-feature/) — Investigative Q&A workflow that turns a fuzzy feature request into a fully-specified design before any code is written. Researches the relevant code plus current best practices first, then surfaces every ambiguous design decision as categorized questions (A/B/C…) with[REC]-marked default options, one category per message, locking decisions as the user confirms. After the first one or two categories it emits the full punch list of outstanding decisions proactively (a living list re-posted as answers add or close items, was previously on-demand), and Phase 5 posts the complete locked-decision register in one message before transitioning to plan mode with zero ambiguity left. Design-only — writes no code itself; hands off to plan mode. Declaresdisallowed-tools: Edit, Write, NotebookEdit(drops those tools while active; a per-turn guard that clears on the next message), enforcing the design-only promise — Bash stays available for the git-history research step. Shipsreferences/examples.md(longer worked examples; the in-body example stays short).sonar-issue-check(skills/sonar-issue-check/) — Reads SonarCloud / self-hosted SonarQube issues for the current repo's analyzed branch or PR and prints a terminal summary; by default the new-code issues on that branch/PR (the pre-commit / pre-PR "did I introduce a problem?" check), or--allfor the full unresolved backlog on that same branch/PR. Runs a bundled zero-dependency Node script (scripts/extract-sonar-issues.mjs, built-infetch); read-only against the Sonar API — it queries results, never triggers a scan and never modifies the repo (writes only when--out <file>is passed).--quality-gatereports the project's quality-gate status for the branch/PR (previously advertised but unimplemented); the terminal listing is capped at 150 issues with an "… and N more" line, overridable with--max-print N. Auto-detects project key/org/host fromsonar-project.properties(falling back to.vscode/settings.json); reads the token fromSONAR_TOKENor a local.env.allowed-tools: Bash, Read. Noreferences/.sonar-issue-fix(skills/sonar-issue-fix/) — Companion tosonar-issue-checkthat changes code to resolve the findings. Triages the new-code issues by rule into mechanical (localized, recipe-driven edits) and structural (cognitive-complexity refactors), applies behavior-identical fixes, and re-verifies against the project's own lint / type-check / test gates. Hard constraint: never changes runtime or wire behavior — code-quality smells only, not bug fixes; genuine bugs and genuine false positives (code right, rule wrong → recommend won't-fix/accepted) are surfaced, not force-fixed. Structural refactors on untested code are characterization-tests-first (lock current output with a snapshot, refactor to byte-identical output, keep the tests as regression coverage). Recipes are JS/TS today; the workflow is language-agnostic. Callssonar-issue-check's script to fetch findings when installed, else accepts a pasted list.allowed-tools: Read, Edit, Write, Bash, Grep, Glob. Shipsreferences/: per-rule fix recipes (rule-fixes.md) and the complexity-refactor playbook (refactor-playbook.md). Does not commit or push unless asked.trim-initial-bundle(skills/trim-initial-bundle/) — Gets heavy vendor libraries off a React + Vite app's initial JavaScript load when they're only needed behind a lazy route/component (shrinks first-load size, LCP, TTI). Decides everything from the builtdistvia a bundled zero-dependency Node analyzer (scripts/analyze-initial-load.mjs— computes the entry's static-import closure, ranks initial-load chunks, flags vendor-looking deferral candidates), then diagnoses the leak (eager import / un-tree-shaken barrel re-export /manualChunkshoist), applies the matching fix on approval, and verifies against rebuilt artifacts. Vite/Rollup/Rolldown only (not Next.js/Webpack).allowed-tools: Bash, Read, Edit, Write, Grep, Glob, WebFetch. Shipsreferences/(diagnosis-and-fixes.md,verification.md).systematic-debugging(skills/systematic-debugging/) — Root-cause-first debugging discipline adapted fromobra/superpowers(MIT, © 2025 Jesse Vincent). Four phases: root-cause investigation → pattern/context analysis → ranked hypotheses, one tested at a time → fix the cause behind a failing test. Iron law: no fix without root-cause investigation first; after 3 failed fixes, stop and question the architecture rather than trying a 4th. States the running fix-attempt count in the visible reply on every failed fix. Phase 1 requires a reproduction loop before any diagnosis — one named command, run once with its output shown, that fails on the exact symptom, fast and deterministic (or, for a flaky bug, at the highest reproduction rate reachable —condition-based-waiting.mdhas the loop/parallel/load/injected-sleep techniques), then minimised one element at a time; temporary logs carry a unique[DEBUG-xxxx]prefix so cleanup is one grep. Phase 3 lists 2–4 ranked hypotheses, each with a falsifiable prediction, and tests only the top one; a failed test moves to the next on the list, re-ranked. Phase 4's regression test goes at a seam that exercises the bug as it happens at the real call site (no correct seam ⇒ a finding).root-cause-tracing.mdadds a redaction rule for shown diagnostics (<REDACTED>, credentials only via environment variables). Decoupled from the superpowers hook/dispatcher/sibling skills; Windows-clean (no unix-only shell to run); examples for .NET/xUnit + TS/Vitest. Shipsreferences/(root-cause-tracing, defense-in-depth, condition-based-waiting).allowed-tools: Read, Grep, Glob, Bash, Edit, Write. The reproduction-loop, ranked-hypotheses, seam, log-tag, redaction, and flaky-rate rules are adapted frommattpocock/skillsdiagnosing-bugs(MIT, © 2026 Matt Pocock).session-handoff(skills/session-handoff/) — Creates and resumes handoff documents for transferring work between AI agent sessions, so a fresh agent can continue with zero ambiguity. CREATE mode scaffolds a handoff viascripts/create_handoff.py(pre-fills timestamp, git branch, recent commits, modified files; supports--continues-fromto chain handoffs), then validates it withscripts/validate_handoff.py(blocks finalizing if secrets are detected — API keys, passwords, tokens, private keys, connection strings — or the quality score is below 70). RESUME mode lists handoffs (scripts/list_handoffs.py) and grades staleness FRESH → SLIGHTLY_STALE → STALE → VERY_STALE from time elapsed, commits, and file/branch drift (scripts/check_staleness.py) before loading. Bundled scripts are Python, stdlib only (Python 3.9+, nothing topip install). Writes only under.claude/handoffs/(YYYY-MM-DD-HHMMSS-<slug>.md). Declares noallowed-tools/disallowed-tools(unrestricted). Shipsreferences/(handoff-template.md,resume-checklist.md) and its ownREADME.md.verify-frontend-change(skills/verify-frontend-change/) — Browser-verification loop that forbids calling a frontend/UI change done from a successful edit, green build, or HMR reload alone. Five steps driven through the Chrome DevTools MCP server (required; if absent the skill stops and reports the change unverified): start/reuse the dev server (background task; URL taken from the server's own output, never assumed) → open the affected route → interact with the changed behavior itself → console gate (zero new errors; unattributable errors count as new, pre-existing ones reported, never silent) → performance trace (fails on change-attributable regressions; dev-mode-numbers caveat). Any failure → fix → rerun from Step 1, never resume mid-loop; after 3 failed fix cycles on the same step, stop and question the approach (points tosystematic-debugging). Exactly two end states: Verified-with-evidence or Blocked/unverified — no "probably fine". Stops only dev servers it started. Declares noallowed-tools/disallowed-tools(unrestricted — the browser tools it needs are the user's ownchrome-devtoolsMCP registration). Shipsreferences/(chrome-devtools-mcp.mdtool cheatsheet,dev-server-playbook.md).plan-eng-review(skills/plan-eng-review/) — Pre-implementation gate that reviews a written implementation plan (plan-mode draft, a file underdocs/plans/, or a pasted plan) before any code is written: scope challenge (incl. challenging any per-phase model recommendations the plan carries — quality-first, an underestimation signal forces Opus) → what-already-exists reuse check → four dimensions (architecture — including the deletion test on every planned module and the two-adapter rule (no interface/port unless two implementations are justified, normally production + test); code quality of the planned code; tests — the heaviest, including the seams-and-dependency-categories check (a planned test that must change when the implementation changes tests past the interface ⇒ a finding; fewer seams, existing ones preferred; the dependency category — in-process / locally substitutable / remote-but-owned / true external — decides the test strategy); performance) → verdict (APPROVED/APPROVED WITH CHANGES/NEEDS REVISION, bound by a decision table: any CRITICAL GAP or unresolved decision ⇒ NEEDS REVISION; non-empty Required plan changes ⇒ at most APPROVED WITH CHANGES). Iron law: no finding without evidence — presence findings quote the plan or a verifiedfile:line; absence findings quote the obligation-creating plan text plus the verified negative search; findings depending on external library/framework/API behavior are verified against current documentation in-session (WebSearch/WebFetch), never internal knowledge; neither evidence form ⇒ at most a low-confidence appendix note. REGRESSION RULE (non-negotiable): plan modifies existing behavior with no covering test → regression test enters Required plan changes, no question asked. Max 8 findings per dimension, severity-ranked, confidence 1–10. Genuine scope/design forks go to the user via AskUserQuestion batched per section (never one-interrupt-per-finding); unanswered forks land underUNRESOLVED DECISIONS:, never silently defaulted; answered ones are recorded in a Decisions block and carried forward on re-runs, and on a re-run each prior report's Required plan changes are re-verified against the amended plan so the max-8-findings-per-dimension cap can't silently drop one. The only mutation it ever performs is replacing/appending the plan file's## ENG REVIEW REPORTsection via a whole-file Write-splice (H2 boundaries matched outside fenced code blocks, trailing-\rtolerant; report interior###-only; every non-report byte preserved); no plan file on disk → terminal-only report, zero writes. Optional outside voice (one subagent prompted to refute the verdict) on explicit ask only. Never implements the plan; never commits or pushes. Catalog position:new-feature(design) → plan mode →plan-eng-review(gate) →convert-plan-to-feature(decomposition) → implement →verify-implementation(post-code gate).allowed-tools: Read, Grep, Glob, Bash, Write, Agent, AskUserQuestion, WebSearch, WebFetch(Bash read-only; Agent for the parallel Explore subagents in the what-already-exists reuse sweep — the reviewer re-reads every citedfile:lineitself, since a subagent report is a lead, not evidence — and for the optional outside-voice subagent; WebSearch/WebFetch only for current-docs verification);disallowed-tools: Edit, NotebookEdit. Shipsreferences/review-dimensions.md(four checklists, coverage legend, severity/confidence tables, verdict rules, report skeleton, and the whole-file Write-splice procedure). Adapted from/plan-eng-reviewingarrytan/gstack(MIT, © 2026 Garry Tan); per-finding question gates → per-section batching, Codex outside-voice → optional on-request Claude subagent, test-plan/tasks artifacts folded into the single in-plan report, iron law extended to absence findings, gstack state (~/.gstack,bin/loggers, brain, TODOS.md, readiness dashboard, review chaining, Lake Score) dropped. The deletion test, two-adapter rule, and seams/dependency-categories check are adapted frommattpocock/skillscodebase-designandto-spec(MIT, © 2026 Matt Pocock).document-generate(skills/document-generate/) — Writes human-facing documentation files — Diataxis tutorials, how-to guides, reference pages, explanations — for a named feature, module, or whole project, grounded in end-to-end codebase archaeology (implementation + tests read first) before any prose. Classifies each entity into the four Diataxis quadrants via a 7-row decision matrix, then never writes a doc file before the partition plan is approved via an always-on AskUserQuestion gate — an unanswered or blocked gate means nothing is written. Iron law: every example is executed (ran side-effect-free this session), traced (every identifier read at a realfile:linethis session), or illustrative (shape traced, explicitly labeled) — in that preference order; an example meeting none of these gets rewritten or cut. Collision policy: a planned file that already exists becomes anextendrow — read fully, merged under its structure, authored prose preserved except where it contradicts the code (code wins every factual/API claim; every correction reported). Docs home resolves target-local convention → repodocs/→ detected doc-framework config (Docusaurus/MkDocs/VitePress/Nextra, sidebar updated) → new rootdocs/.allowed-tools: Read, Grep, Glob, Bash, Write, Edit, Agent— nodisallowed-tools: the skill needs Edit and Bash to do its job, so its never-rules (never editsCLAUDE.md/AGENTS.md; never commits or pushes) are workflow discipline rather than a tool-pool restriction, and the body says so explicitly. Shipsreferences/quadrant-templates.md(four templates, per-quadrant rules, anti-mixing table, example-verification techniques, doc-framework identification table, collision-policy detail) andreferences/example-and-report.md(an annotated worked example plus the end-of-run report format). Adapted from/document-generateingarrytan/gstack(MIT, © 2026 Garry Tan); the commit/push/PR-body-update tail is dropped (this skill never commits), thegstack-redactbinary becomes the placeholder-credentials rule, the confirm-only-above-5-docs threshold becomes the always-on partition-plan approval gate, upstream's inline-summaries-plus-standalone-files default narrows to standalone files plus minimal link lines, and the gstack machinery is dropped.coding-standards(skills/coding-standards/) — Behavioral reuse-before-build discipline for new TypeScript/Node and C#/.NET code: a strict 4-rung ladder (built-in/standard-library API → C#-only first-partyMicrosoft.Extensions.*→ widely-adopted library the project already uses → custom implementation last) with one consistency exception (where the project already uses one library consistently for the exact task, matching that convention outranks introducing a rung-1 built-in alongside it; a genuine conflict is named to the user rather than decided silently), plus precise types (noany, noobject/dynamic), specific error classes over bareError/Exception, C# async withCancellationTokenand no sync-over-async, and short doc comments on non-obvious members. Always asks before adding a dependency (AskUserQuestion); produces no files — changes only the code Claude writes. Description carved to the two decision moments (writing a new utility/helper/service; adding/choosing a dependency); do-NOT covers code review, debugging existing behavior, trivial edits, and other languages. Canonical copy of the## Coding standardsblock checked into Mi9 repoCLAUDE.mdfiles (their<!-- source -->comments point here) and the bootstrap for future repos. Declares noallowed-tools/disallowed-tools(guides code-writing; must not restrict tools). Noreferences/(body is small).repo-change-summary(skills/repo-change-summary/) — Per-month change totals for a git repo across all branches: lines added/deleted, total lines changed (churn, not net), distinct files modified, file-touches, commits, PRs merged, authors — each commit counted once, merges excluded from the line/file/commit counts. A bundled POSIX-shell script (scripts/summary.sh, needs onlygit+ a POSIX shell; kept LF via.gitattributes) computes everything deterministically, prints a Markdown table the model relays verbatim, and writes a self-contained HTML report (YYYY-MM-DD-HHMM-repo-change-summary-<month>.html) that opens in the browser (--no-opento suppress). Defaults to the current month and current repo;--month YYYY-MM,--repo PATH,--out DIR,--no-fetch,--exclude PATTERN(repeatable; matched by basename with*/?glob support — exact match is the fast path, character classes unsupported, case-sensitive). The default exclude list (lockfiles + CI config) lives in a sharedscripts/exclude-lib.shboth scripts source. Scope is local + remote-tracking branches (stash entries and tag-only commits excluded); authors respect.mailmap. PR count = distinct PR numbers from platform merge messages (GitHub subjects, Bitbucket "(pull request #N)" subjects incl. its squash merges, GitLab "See merge request<path>!N" body lines) — reverts, body mentions, and re-merges don't inflate it; markerless squash/rebase merges aren't counted. Companionscripts/multi-summary.sh --group NAMErolls up a named group of repos (processed in parallel, bounded to 4 at a time) into one combined Markdown + HTML report (rollup totals row + per-repo tables; group authors = distinct people across the group, never the column sum; fetch-failed repos marked*); groups are machine-local.listfiles under~/.claude/repo-change-summary-groups/, one repo path per line — deliberately outside the skill because clone paths differ per machine.--per-authorappends a per-developer activity table (sorted by total changed ascending like the rollup, explicitly activity-not-performance, single-dominating-file footnotes; PRs-authored via Bitbucket API throughscripts/pr-authors.py, Python stdlib, creds fromgit credential fillas<git user.email>:<API token>withBITBUCKET_EMAILoverride — column omitted with a note when unavailable; bot identities excluded from the table and footnoted — built-incommits-noreply@bitbucket.org, extend via<groups-dir>/bot-emails.list— rollup keeps every commit). The combined HTML embeds inline-SVG bar charts (zero JS/CDN; palette CVD-validated): lines changed by repo, plus per-developer lines + PRs charts under--per-author. Both scripts also support optional PDF-email delivery (--email,--to LIST,--subject STR,--email-dry-run,--env-file PATH,--mailmap PATH) via the bundledscripts/send-report.py(Python 3.9+, stdlib only): preview-first —--email-dry-runresolves every recipient (literal email, or a tiered case-insensitive.mailmapname match) and renders the HTML report to PDF via the locally-installed headless browser (Chrome preferred, Edge fallback — an Oct-2025 Edge-141--print-to-pdfregression is why) without sending anything; only a confirmed re-run without that flag actually sends, over SMTP (AWS SES, credentials from~/.claude/repo-change-summary.env) with a modern email-safe HTML body plus the PDF attached.allowed-tools: Bash; nomodel:pin (it runs on the session's model). Shipsreferences/emailing.md.verify-implementation(skills/verify-implementation/) — Post-implementation gate,plan-eng-review's counterpart on the other side of the code: adversarially verifies a finished implementation against whatever claims it is done — a feature file's acceptance criteria (convert-plan-to-feature'sfeatures/NN - <name>.mdoutput is the designed-in highest-preference input), a plan, ticket, PR description, or a subagent's completion report; an informal claim gets a derived acceptance table labeled as derived, and no claim at all ⇒ refuse (nothing to verify against). Stance: the report is a claim, not evidence — diff first, report second; a claimed change absent from the diff is the most serious finding; balanced by an explicit no-manufactured-findings rule (a short review confirming real evidence is a good review). Highest-yield check: read every new test body and re-run mutation proofs — a test that cannot be made to fail is not a guard; proof bar = mutated line + verbatim failure output + confirmed revert, each cycle re-running only the targeted test file or single test (the full suite is the separate gate pass). Re-runs the project's own gates (CLAUDE.mdis the source) reading output not exit codes; a not-run gate is reported as not run with the reason; verifies against the merged tree when the branch will merge (per-branch green ≠ merged green). Fixes what it finds on the same branch in dedicated commits, minimal and in scope, with two carve-outs (never changes a locked decision, never widens scope — both go in the report); never commits to a shared branch, never pushes, never opens a PR. On aCLEANorFIXEDverdict against aconvert-plan-to-featurefeature file it also writes that feature's Status cell todonein the initiative'sREQUIREMENTS.md— a write outside the reviewed diff, so it is named explicitly in the report (aNEEDS ATTENTIONverdict changes no Status cell). VerdictsCLEAN/FIXED/NEEDS ATTENTIONbound by a decision table (any unfixed finding, locked-decision conflict, or not-run gate ⇒ at mostNEEDS ATTENTION; any fix applied ⇒ at mostFIXED). When run as a subagent, the report is the run's return value, not chat text. Pinsmodel: opus(a weaker review returnsCLEANon broken work andCLEANis acted on — false assurance is the failure mode).allowed-tools: Read, Edit, Write, Bash, Grep, Glob; nodisallowed-tools(the skill needs Edit and Bash, so the never-rules are workflow discipline, and the body says so). Shipsreferences/(verification-checklist.md— the seven priority passes with per-pass evidence bars;tautology-catalog.md— the three tautological-guard failure modes, mutation construction per test shape, the proof bar;report-format.md— the six-section report skeleton, including a one-line Passes not run slot, + verdict table). Distilled from the review brief of a 20-feature internal Mi9 initiative (2026-07, one implementer subagent + one independent reviewer per feature); not adapted from an external project.pr-review(skills/pr-review/) — Reviews a Bitbucket pull request end to end through the Composio MCP tools (COMPOSIO_SEARCH_TOOLSto load the schemas, thenCOMPOSIO_MULTI_EXECUTE_TOOL; no Composio registration ⇒ it stops rather than falling back togh, and it never works on GitHub). Eight steps: fetch the pull request, the paginated diffstat (values[].new.pathis null on a deletion, so it falls back toold.path) and the unified diff (atruncated: trueresponse is not reviewed — it re-derives the diff from the pinned checkout and says so in the report); then the skip conditions, before anything is cloned (notOPEN, draft, needs no review, or this skill's own comment already posted at the current head — recognised by its fixed first lineCode review by pr-reviewand compared through its second lineReviewed at head <hash>., so a review comment anyone else posted, an author's own AI review included, is not a skip condition; when the head has moved, or the comment names no head, it asks withAskUserQuestionwhether to re-review, and stops when the question cannot be asked; all lead-run, no subagent, since Step 1 already holds the state and the draft flag; an AI-written pull request is explicitly not a skip condition); pin a throwaway checkout of the head commit viascripts/pin-pr-head.shso no line number can move while the review is written, then cross-check that checkout's--numstatagainst Bitbucket's diffstat and stop on any difference (the pull request or the destination branch moved). The script printsORIGIN=for the confirm-the-right-repository check; its optional fourth argument is the repository to clone from and is required when the pull request is not in the current checkout, since the default clones the current directory; it clones withcore.longpaths=trueand exits 2 on an incomplete checkout, because on Windowsgit checkoutskips a path over 260 characters withFilename too longand still exits 0 (5 files went missing that way on 2026-09-16). Then collecting the in-scopeCLAUDE.md/.claude/rules/paths with Glob, no subagent (aCLAUDE.mdgoverns only its own directory and below); the parallel diff pass — four agents at once (two Sonnet onCLAUDE.mdcompliance, two Opus on bugs and security), then one validation subagent per candidate finding from all four agents (validating only the bug agents' output would have made Step 5c discard everyCLAUDE.mdfinding), capped at 12 per run and ranked by the rubric's now-explicitly-ranked "what to flag" list, ties broken by diffstat order, with every unvalidated finding dropped rather than reported and the count of unvalidated ones stated; the verification pass, which is the part the skill exists for — every claim in the commit messages and the pull request description is a claim to settle against a primary source, never evidence (a design or review document the pull request adds was written by the same author as the code, so it is part of the change under review), sibling repositories read-only, changed shell scripts linted throughscripts/shellcheck-safe.sh(CRLF-normalised soSC1017cannot bury real findings, and it reports an unfollowedsourceinstead of printing a clean result that means less than it looks), changed YAML parsed, and the target repository's ownCLAUDE.mdas the source of truth for its quality gates and contribution rules (dependencies installed in the pinned checkout first, since a fresh clone has none and every gate would otherwise report "could not run"; noCLAUDE.mdor no gates named ⇒ named per-ecosystem fallbacks,package.jsonlint/typecheck/test,dotnet buildthendotnet test, thepyproject.tomllinter pluspytest; the report names the exact commands run, and a gate that cannot run is reported as not run, never left looking like it passed); the report; and the comment. Every finding quotes its evidence — a line of code, a line of aCLAUDE.mdrule, a line of a commit message, or the line of source that settles the claim — and a finding with no quoted evidence does not go in the report at all. Severity comes fromreferences/severity-rubric.md, never by feel: rate on the failure mode not the size of the diff (a silent, permanent, low-probability failure outranks a loud one of the same size), bounded-or-unbounded is the usual HIGH/MEDIUM line, a wrong justification for correct code is a real finding, documentation-only findings are marked and capped at MEDIUM, and packaging raises a finding a level when it removes the cheap escape route. A finding re-rated or withdrawn mid-review is recorded in two places (the severity line and a corrections block), and if the comment is already posted a threaded reply says so. Posting is not gated (changed 2026-11-23 at the user's request; before that the comment was shown andAskUserQuestionasked first):BITBUCKET_CREATE_PULL_REQUEST_COMMENTis called with no question, in an interactive session, aclaude -prun, or a subagent alike, and the terminal reply then shows the exact posted text and names the report path; a failed post is reported with its error and the report path.--no-commentskips Step 8. Hard rules: read and comment only (never push, never merge, never edit the pull request branch), the report is the only file written in the repository (docs/reviews/pr-review-{repo}-{pr_number}.md, or wherever the repository'sCLAUDE.mdputs review documents; for a pull request in another repository the report goes to the scratchpad, never into the unrelated checkout you are standing in), no links of any kind in the posted comment (not even to the report — it may name the path as plain text), and never a key, token, password or connection string in either. Bundled scripts are invoked through${CLAUDE_SKILL_DIR}. Pinsmodel: opus(the skill posts its verdict onto a real pull request a team acts on, so a weak "no issues found" is the costly failure); declares noallowed-tools(the Bitbucket tools are the user's own Composio MCP registration and cannot be listed) but does declaredisallowed-tools: Edit, NotebookEdit, sinceWritecovers the single report — a per-turn guard that does not reach the Step 5 subagents, so the never-rules remain workflow discipline as well. Shipsreferences/(report-template.md— the 13-section skeleton with a worked example at each severity, the corrections mechanism, and the self-review list;severity-rubric.md— the four definitions, the tie-break rules, and the what-to-flag / what-not-to-flag lists) andscripts/(pin-pr-head.sh,shellcheck-safe.sh). Description trigger sweep on 2026-09-16 under real.claude/skills/registration (evals/pr-review/, 14 prompts,claude-opus-5): 6/6 Bitbucket positives fired, 7/8 hard negatives stayed quiet (retroandplan-eng-reviewtook theirs); the one miss is a barereview PR 29in a checkout whose origin is GitHub, which no description can separate from the same words in a Bitbucket checkout, and which the skill body then stops safely by asking for the repository instead of guessing. First live run the same day:licensing-and-deployment-portalPR 300 through Steps 1 to 7 with--no-comment, verdict approve with 0 findings; Step 8 has shown its comment and been declined at the gate, but has never posted. A review request is not a review (added 2026-11-24): the description excludes writing the message that asks colleagues for a review (pr-review-request), and the body stops before Step 1 on such a request, because this skill would go on to post a comment the user did not ask for. Added after the wording "Review request for<Bitbucket URL>" loadedpr-reviewfirst in onepr-review-requestbehavior run. To make room under the 1,024-character limit the description's never-rules sentence and two exclusions were shortened (988 to 1,011 characters). Its own Bitbucket-checkout trigger prompts were re-run the same day indontAskmode (claude-fable-5-2): 6/6 positives fired and 6/6 negatives stayed quiet; the 2 GitHub-origin negatives were not re-run. Written at Mi9 from a run of real Bitbucket reviews and generalized out of one repository on 2026-09-16 (the Cloud Build substitution checkercheck-subs.pywas dropped in that move); not adapted from an external project.execute-change(skills/execute-change/) — Autonomous end-to-end execution of a plan brief in an OpenSpec-managed repo (detected viaopenspec/config.yaml, elseopenspec context— non-zero exit means not managed, but only with the CLI installed: a missing CLI goes to the install path first, never read as not-managed; not managed is a blocking AskUserQuestion, never a printed notice the user can scroll past — stop and work without OpenSpec (recommended) oropenspec init --tools claudehere and continue, and on the init answer the CLI is brought current againstnpm view @fission-ai/openspec versionFIRST, becauseinitgenerates the repo's instruction and command files and an outdated CLI writes outdated ones into a brand-new root;--toolsis required orinitprompts and an unattended run hangs,--forceis never passed by default since it deletes legacy files without asking, andinitcreates.claude/commands/opsx/so the session-restart rule applies): one lead session drives the feature routine — optionally starting from a free-text idea instead of a brief (design-first entry, before Step 0 in the main tree: read-only research subagent (the idea text passed inside aUSER_IDEAblock the prompt marks as data, so a pasted ticket or message cannot instruct the subagent; every claim in the dossier carries a source — a file path, or a URL to a primary source such as official docs, source code, or a spec, never a secondary write-up) → design dossier → categorized interview with[REC]defaults, one category per question call, run in frontier rounds (each answer opens the next round's questions; a question that depends on a still-open one waits; ends only when nothing is open) with repo/doc facts looked up by a read-only subagent instead of asked, and with domain-modeling habits (challenge a term that conflicts with the repo'sCONTEXT.mdglossary, propose one canonical word for a vague term, offer an ADR only when the decision is hard to reverse + surprising without context + a real trade-off) → lead draftsdocs/up next/<date-time>-<slug>-plan.mdwith## Glossary updates,## Decisions to record as ADRs, and a closing## Research dossiersection holding the dossier verbatim (so the Step 1/2/7 subagents and a resumed run see the same facts the interview used) → approve-or-revise gate; only an approved brief enters the pipeline) — author the OpenSpec change (/opsx:proposeflow; task groups are vertical slices sized to one fresh context window, prefactoring first; a change too wide for vertical slices is sequenced expand–contract instead — add the new form beside the old, migrate call sites in batches of one task group each, remove the old form as the last group blocked by every batch; the author readsCONTEXT.md/docs/adr/when present and writes the brief's glossary/ADR sections intoCONTEXT.mdanddocs/adr/NNNN-slug.md, files created lazily, committed with the change artifacts; content rules, not line caps, decide what goes in —design.mdholds only the decisions the brief leaves open, one per heading, restating neither the brief nor the problem nor the code,tasks.mdgives one line per task naming the file and the change, and file lists and verify clauses are never shortened because the step 6 concurrency gate and step 7 read them, after a 10 KB brief produced 154 KB of artifacts on 2026-09-03; when the author returns the lead printswc -lofdesign.mdandtasks.mdin the Step log, information only, no threshold) →plan-eng-reviewgate (non-interactive; forks land underUNRESOLVED DECISIONS, report spliced intodesign.md) → one batched user question per step for decisions → apply required changes (/opsx:updateflow, always one subagent launched after the step 3 answers are in, since nothing is started while the question is out and two subagents editingdesign.mdandtasks.mdin sequence left contradictions on 2026-09-03; its report ends with aQUOTESsection giving one whole quoted line per required change and per decision, and aTASKS.MD RE-READsection listing everytasks.mdline that contradicts an edit it made, ornone) → step 5, lead-run: a whole-linegrep -F -xof every line step 4 quoted against the file it names (aMISSINGquote or a non-emptyTASKS.MD RE-READis a failed step 4, not a failed step 5), one conditional Opustasks.mdreader launched only when a required change or a decision edits a file list, a group boundary, or a blocked-by order (the class a whole-line grep cannot judge; the one real catch on 2026-09-03 was a file list of 12 where 14 were touched), and a re-review ofplan-eng-reviewthat is mandatory under aNEEDS REVISIONverdict and launches right after the grep check passes, with no unplanned fix subagents on planning documents (a contradiction betweenproposal.md,design.md, the deltas, andtasks.mdgoes to the step 4 retry or to the user, never to an extra subagent the pipeline does not define) → implement one subagent pertasks.mdtask group on the model its row names (missing/unmappable ⇒ Opus, never Fable; implementers readCONTEXT.md/docs/adr/, use the glossary words, and return an ADR conflict as an open question; parallel groups run concurrently only when theirtasks.mdfile lists are disjoint, serialized otherwise; an implementer runs the type check and the single test files it touches while working, then its verify clauses, and never the full suite or the project-wide gates, since the lead's own gate run is the only one that counts; the lead picks that run's gates proportionate to the group's changed files (docs/comments/README-only: no typecheck and no tests, only a markdown lint or link check if the project has one; any code change: typecheck and lint always; tests through the runner's related-tests mode where one exists,vitest related <files>orjest --findRelatedTests <files>, which also covers tests in other groups' files whose import graph reaches the changed code; where no such mode exists, .NET included, the group's own test files plus the full suite when the change alters behavior other tests assert on, meaning a call count, the order of operations, SQL or log text, or state left behind, and the full suite whenever unsure), then runs the full gates once after the last group, before step 7, and bisects a failure there across the per-group commits; the worked example is one addedprobeInstancecall that broke an integration test in another group's file asserting the exact list of probed names, and the motivation is five serial groups times two full 8-minute runs, implementer plus lead, at roughly 80 minutes of gates with two of those groups documentation-only) →verify-implementationaudit againstgit diff <start commit>..HEAD— the run's own commits, not the base branch against the branch, because reusing the current branch made the old diff empty when that branch was the base (git diff main...mainreturns nothing, so the audit checked nothing) and polluted when it was a feature branch (it included commits made before the run) (max 2 fix cycles) → self-contained simplification pass + gate re-run → reconciletasks.mdcheckboxes,openspec validate --strict, STOP. Fresh subagents per step (step 3 is lead-run; steps 5/7/8 may launch a bounded follow-up); every substantial task runs in a subagent to preserve the lead's context for the hours-long run — the lead never edits source (only the ledger and the close-outtasks.mdreconciliation); every "done" claim is checked against evidence on disk (one retry, then pause). Commits per checkpoint by explicit pathspec. The branch and the run root — the directory the run works in — are both settled by a blocking preflight question (check 6) with three options: reuse the current branch and checkout (recommended; commits go onto whatever branch is checked out now, no new branch and no new directory), create the run's branchagent/execute-change/<timestamp>-<plan name>in the current checkout, or create that branch in a dedicated git worktree under../<repo>.worktrees/(the previous always-on behavior); the timestamp is the run start's current date-time, never a date from the brief's filename. Only the worktree option leaves the main working tree untouched and supports concurrent runs of different plans on one repo — git refuses a branch checked out twice; it alone carries the per-run dependency install and the manualgit worktree removeclose-out step, and it alone puts that removal in the final report. Under the other two the main working tree is the run root: the user cannot work in the repo while the run executes, and a second concurrent run on that repo is not supported. The question states two facts before it is answered — reusing a current branch that ismain/mastercommits an hours-long autonomous change straight onto it (stated, not blocked), and a dirty working tree means every gate run executes against those uncommitted changes, so a pre-existing failure can be blamed on the implementation and committing or stashing first is the clean path (commits go by explicit pathspec, so unrelated modified files are never committed). The route is check 6a, asked as the second question of check 6's AskUserQuestion call so Step 0 still has one pause: full (steps 1 to 8) or light. The lead answers six signals from the brief's own text and prints each with the brief line it came from: shared contract (an exported type, function, schema, or API that another package in the repo, or another repo, imports); infrastructure or data (deploy scripts, cloud resources, alert policies, CI config, database migrations, backfills); sensitive paths (auth, permissions, secrets, locks, concurrency, caching); breadth (more than one package, or more than 8 files, which isplan-eng-review's own hotspot threshold); test plan present (concrete test cases plus the commands or gates that prove them); engineering-reviewed (an## ENG REVIEW REPORTwhose verdict isAPPROVEDorAPPROVED WITH CHANGES, whose closing marker isNO UNRESOLVED DECISIONS, and whose required changes are marked addressed, where a## Research dossiersection does not count, since the design-first entry interviews the user but runs no engineering review). A brief that does not say what it touches getsyeson the signal it leaves open. Recommendation rule: Light [REC] when signals 1 to 4 are allnoand 5 isyes, or when 5 and 6 are bothyes; Full [REC] otherwise. The user's answer is the route, whatever the recommendation was. The light route runs step 0 (with check 6a), then a light step 1 author that does NOT invoke/opsx:propose(it writes every artifact of the schema,design.mdincluded, and would re-plan a brief that is already the plan): it runsopenspec new change <id>for the scaffold and hand-writesproposal.md, the spec deltas (or setsskip_specs: truein the change's.openspec.yamlwhen the brief changes no observable behavior), and atasks.mdcarrying the full route's columns with its task groups taken from the brief's own order section, and writes nodesign.md; then steps 6 and 7. Steps 2 to 5 and step 8 are skipped, each skip recorded as one Step log line, and the full route's step numbers are kept so a resume keeps its meaning: the ledger'sRoute: full | lightfield decides what followsLast completed step(a ledger with noRouteline is a full run;Route: lightwith a last completed step anywhere from 1 to 5 resumes at step 6). Its step 1 acceptance check adds three mechanicaltasks.mdchecks the lead runs itself (every group has a model, a blocked-by line, and at least one verify clause; the file lists of groups sharing a parallel group are disjoint; every listed file exists or is marked new). There is no switch between routes mid-run: to get the review after choosing light, stop the run, delete the ledger, and re-run with full. What the light route gives up is whatplan-eng-reviewcatches before any code exists: a changed path with no regression test asked for, over-build inside the claim, silent-failure gaps, architecture and performance findings, and a wrongtasks.mddecomposition. A Step log entry is capped at 5 lines (the subagent's outcome, the acceptance-check result, the report file's path, and at most two lines of what matters next); detail stays in the report files the ledger names, decisions stay verbatim, and between step boundaries the lead writes nothing but the ledger update and the next prompt fill, after a run measured on 2026-09-03 in which the lead alone wrote 235,000 tokens including a 36 KB ledger. A subagent that dies on the API or the transport (the Agent tool returns an error or a synthetic last message such as529 OverloadedorInternal server error, and no report file exists at its{{REPORT_PATH}}; an existing report file, whatever its contents, means the subagent finished and the acceptance check judges it) gets exactly one automatic relaunch: the death-relaunch wrapper inreferences/step-prompts.mdwhen its progress file{{PROGRESS_PATH}}(<report label>.progress.md, one appended line per file the subagent finished, written as it works) exists and is non-empty, the plain template when it does not, and a second death pauses the run. That relaunch is one per subagent per step (per subagent inside a parallel set), shares its budget with the stall ladder's single relaunch, and does not consume the acceptance-check retry; a skill refusal is not a death. Nevergit add -A; ledger + reports folder + plan brief never committed. Pauses notify the phone via Remote Control push (AskUserQuestion renders in the app, waits indefinitely, survives sleep — verified live 2026-08-13); resume comes from<plan path>.ledger.md(branch, run root path — a worktree recreated if gone,Start commit: <full sha>— the commitHEADpointed at when the run began, which steps 7 and 8 diff against,Route: full | light, change ID, last completed step, decisions, group summaries). Beside the ledger, Step 0 creates the reports folder<plan path>.reports/: every pipeline subagent writes its complete report to the{{REPORT_PATH}}file the lead names in its prompt (step1.md,step6-group3.md,step7-fix1.md, and so on) withOPEN QUESTIONSas its first section, and returns only that path plus a summary of at most 20 lines, so the lead reads the file instead of the returned text, which arrived truncated mid-sentence five times in one run on 2026-09-01, twice insideOPEN QUESTIONS; the design-entry research subagent gets the literal valuenoneand returns its dossier directly. The reports folder is never committed, and the user deletes it at close-out with the ledger and the brief. Installed as a plugin (its own.claude-plugin/marketplace.jsonentry, hooks declared inline there), the run watches its own subagents:SubagentStart/SubagentStop/Notification(matcherpermission_prompt|agent_needs_input|idle_prompt) all fire in the parent (lead) session, not inside the subagent, and are handled by one script,hooks/execute-change-watch.py, which appends one JSON object per line to<session project root>/.claude/execute-change-run.jsonl(start: kind, at, agent_id, agent_type;stop: kind, at, agent_id, agent_transcript_path, stop_hook_active, last_message_head — the first 200 characters oflast_assistant_message;notify: kind, at, notification_type, notification_text, title;sweep: kind, at, line;resume: kind, at — appended by a resumed run before it arms anything, and treated by both replays as a hard reset of the running set, since the subagents of the interrupted run leftstartevents that will never get a matchingstop). The lead writes<session project root>/.claude/execute-change-run.jsononce at Step 0 (session id — read from theCLAUDE_CODE_SESSION_IDenvironment variable, which the Bash tool inherits; absent or empty means the file is not written at all and the lead says so, because a wrong id makes every hook inert while the readiness line claims the heartbeat is armed — plusrun_root, branch, ledger path, start time — the hook falls back to the olderworktreekey so a run already in flight keeps working) and deletes it at close-out; both run-state files live in the directory the session was started in — the main repo checkout — and not in the run root, because the hooks start from the payload'scwdand walk up to the nearest directory holding the metadata file, and the session's project root is the one directory every such walk from inside the project reaches; thatcwdis the Bash tool's current directory rather than the session's, since acdinto a subdirectory of the project persists between the lead's commands and Claude Code resets it only when a command leaves the project, and a worktree sits outside the project, so no walk up reaches a file written there and every hook stays inert; under the two reuse-checkout options the two directories are the same, and the metadata file'srun_rootfield is what points at the actual run root; no metadata file, or asession_idthat does not match the payload's, means the hook exits 0 and writes nothing — that is what keeps it inert in every session that is not anexecute-changerun — and the hook always exits 0 (exit code 2 onSubagentStopwould block the subagent from stopping). After launching a subagent the lead arms a background watcher (Bash(run_in_background: true)) that re-reads the log every 180 seconds and prints a message only when something is wrong (9 minutes of log silence, or apermission_prompt/agent_needs_input/idle_promptnotification), prints onealive: N agents running, oldest <age>line every 30 minutes, and exits when every subagent has stopped. 9 minutes of silence is not proof of a stall —SubagentStartfires once and nothing else arrives untilSubagentStop, so a step-6 implementer working normally for 20 minutes looks identical to a stall from the log alone: the lead callsListAgentsfirst (still running ⇒ it is working ⇒ re-arm and carry on; idle with no stop event ⇒ the real stall ⇒ retry ladder: SendMessage status request → TaskStop and one relaunch → pause and ask the user), and apermission_promptis reported at once and waited on, never treated as a stall (only a human can answer it). AnIDLEverdict is confirmed withListAgentsthe same way, for the reverse reason: astartline can be missing (4 of 8 subagents in one session on 2026-09-01, and a parallel batch of three that produced nostartline at all), so the watcher's replayed running set can be empty while agents are still working and the first check then prints a falseIDLE; a missingstartalso makes the sweep fire on everystopinstead of once per batch. The cause was diagnosed and fixed on 2026-09-01: the hook as shipped before that date read<cwd>/.claude/execute-change-run.jsonliterally, and the payload'scwdis the Bash tool's current directory, so every event that fired while the shell sat in a package directory found no metadata file and was dropped. That is why each missingstartfollowed a command that had changed into a package directory, and why the matchingSubagentStopevents were logged: a later command had reset the directory. Reproduced the same day in a test session, a subagent launched after acdinto a subdirectory logged neitherstartnorstop, one launched from the project root logged both, and two parallel launches from the root logged both starts.hooks/execute-change-watch.pynow has a_find_rootthat walks up fromcwdto the nearest directory holding.claude/execute-change-run.json, bounded at 64 levels, and every read and write uses that directory (verified by running the patched hook with a synthetic payload: a subdirectorycwdappends to the project-root log, and acwdoutside the project,C:\Temp, stays inert). TheListAgentsconfirmation stays in force, because an installed copy of the older hook keeps the defect until the plugin is updated, and so do two lead rules: never leave the shell in another directory ((cd <dir> && <command>),git -C <dir>,pnpm -C <dir>or--filter,dotnet <verb> <path>), and never pass the run's worktree as an additional working directory (--add-dir), since a walk up from outside the project finds nothing. WhenIDLEhas proved false once in a run, or the hooks are not installed (NOLOG), the log watcher is replaced by a plain fallback timer (sleep 175, printing a timestamp and the newest file-modification time in the run root) whose exit re-invokes the lead, which callsListAgents(authoritative) and re-arms; a subagent that has already reported but still shows as running isTaskStopped before a lead gate run. A subagent's stop carries no success or failure signal, so a failed step is caught by the lead's own acceptance check, not by the watcher.hooks/sweep-worktree-processes.ps1(Windows only — on a non-Windows platform it exits 0 and kills nothing;-WhatIflists without killing) runs automatically when the last subagent of a batch stops and once by hand at close-out (the close-out call resolves it as<Skill dir>/../../hooks/sweep-worktree-processes.ps1from the ledger'sSkill dir:field, replacing the earlierls ~/.claude/plugins/cache/*/...glob that picked the alphabetically first cached copy, a stale one; under annpx skills addinstall the sweep is skipped without testing that path), and kills a process only when all three hold: its command line contains the run root path OR it descends from the currentclaudeprocess; it started at or after-Since; and its executable is in a fixed allowlist (node,npm,npx,pnpm,yarn,bun,biome,eslint,tsc,vitest,jest,esbuild,dotnet— shellsbash/sh/pwshare deliberately not on it, since every process the sweep exists for is a node or dotnet process and a shell is far more often the lead's own tooling, the stall watcher included).-Sincediffers by caller: the automatic sweep passes the start of the batch of subagents that just finished, so the Step 0 background dependency install (which runs while steps 1–5 run their subagents) is never a candidate; the close-out sweep passes the run's start time, correct there because every subagent has finished. Known blind spot: a process started asnode script.jswith its working directory set to the run root carries no run root path on its command line, so only the parent-chain rule catches it —Win32_Processexposes no working-directory field. The sweep also reaches the lead's own gate runs, which descend from theclaudeprocess and name the run root on their command line: under a reuse-the-checkout run root it killed one twice on 2026-09-01, and a killed gate run reads as a real failure (the block ends in[ELIFECYCLE] Command failed with exit code 1and names no failing test), costing 50 minutes. So the lead parks the metadata file for every gate run it starts itself, moving<session project root>/.claude/execute-change-run.jsontoexecute-change-run.json.parkedimmediately before the run and back as soon as it ends; the hooks pass through while that file is absent, so the sweep cannot fire in that window. Parking logs nostart/stop/notifyline for the window, so it is safe only when no subagent is running (the serial flow guarantees that), and a crash between park and restore leaves the hooks inert, which is why a resume (check 2) looks for a leftover.parkedfile and restores it; check 6's run-root question states this cost for its two reuse-the-checkout options. Before believing a gate failure, grep the gate's output for a failing-test marker (FAIL,✗,×,AssertionError): none of those plus anELIFECYCLEending means the run was killed rather than failed, so look for asweepline containingkilled pidnear that timestamp in.claude/execute-change-run.jsonland re-run the gate. Preflight verifies/offers to install-update the OpenSpec CLI (version compared againstnpm view @fission-ai/openspec version— an outdated CLI silently reports "up to date", so never trustopenspec updateoutput) and the two companion skills; beyond those install offers and the blocking forks (check 3's not-OpenSpec-managed question, and check 6's run-root question together with check 6a's route question, both asked in one AskUserQuestion call so Step 0 has one pause) it asks no approval question — readiness (brief, branch, base, run root, route, notification state read from~/.claude.json'sagentPushNotifEnabled+hasUsedRemoteControl) is printed, since the manual invocation is the authorization andtasks.md— the only input to the concurrency decision — does not exist yet at Step 0. Never: deploy, push, open a PR, archive the change. Manual-only (disable-model-invocation: true;/execute-change "<plan-brief path | free-text idea>"); noallowed-tools/disallowed-tools(the lead needs Agent/Bash/AskUserQuestion — never-rules are workflow discipline); nomodel:pin. Shipsreferences/(preflight.md— OpenSpec detect/install/update, companion-skill check, the Step 0 procedure detail (resume, run-root question, route signals, readiness line), one-time Remote Control/push/allowlist setup, two optional hooks documented-only;design-entry.md— the design-first entry from a free-text idea to an approved brief, read only on an idea run;step-prompts.md— verbatim per-step subagent prompt templates with the standing implementer instructions embedded, including the rule that any prose written for people to read (proposal.md,design.md, spec deltas,tasks.md,CONTEXT.md, an ADR, a commit message body) must be free of AI writing tells — invoke theunslopskill on it or write to its rules directly — and never change a fact, a number, or a technical term to satisfy that;domain-docs.md— theCONTEXT.mdglossary and ADR formats plus the three-condition ADR test, adapted frommattpocock/skillsdomain-modeling, MIT) andscripts/stall-watcher.sh— the heartbeat-log watcher the lead arms after every subagent launch (verdictsNOLOG/TROUBLE/IDLE/STALL), plus a--fallbacktimer mode; the path is built from theSkill dir:ledger field, which Step 0 records from the base directory Claude Code prints when the skill loads. The source-per-claim, research-dossier-in-brief, expand–contract, and serial-vs-parallel test-running rules are adapted frommattpocock/skillsresearch,implement, andto-tickets(MIT, © 2026 Matt Pocock).clear-and-short(skills/clear-and-short/) — Behavioral reply-compression mode: use the fewest words a reply needs in simple, correct, complete English. Compresses which facts get stated, never how words are formed — the deliberate opposite of telegraphic "caveman" compression, since dropping articles saves roughly 5-8% of tokens and costs every reader effort (most of all anyone reading in a second language), while the structural cuts save far more and cost nothing. Cuts: preamble/pleasantries, tool-call narration (before a call: nothing, or one short line such as "Checking both repos." when the calls take more than a few seconds; that line is also the whole answer to the harness's say-a-line-before-you-start instruction, which is where the pre-call sentence came from in an A/B on 2026-09-04,evals/clear-and-short/preamble-ab-2026-09-04.md), restating the user's question, comments on the question or on the approach ("that is checkable rather than a judgement call", "Let me verify in both repos"), plus a first-sentence check before sending (a first sentence that says nothing about the subject itself is deleted), the same fact repeated across heading + bullet + closing line, a closing summary on a reply under ~10 lines, surveys of options that will not be recommended, decorative tables/emoji, long raw logs (quote the one decisive line), hedging. Never cuts: full sentences and articles, negations (not/never/only/except), numbers/units/versions/file:line, verbatim code, error strings and API names, and anything skipped/failed/uncertain/assumed — a shorter report never turns a partial result into a clean one. Work reports capped at three lines (what changed / what was verified / what is left), only the lines with real content. Simple English: the common word over the rare synonym, one idea per sentence (about 20 words or fewer), no idioms or figurative verbs, concrete names over umbrella words ("the system", "the pipeline"), technical terms kept and defined in plain words on first use, active voice. Questions to the user: one at a time, numbered options with a[REC]default (AskUserQuestion when available), so the answer can be one number — the user's words cost tokens too. Steps back to full prose on its own for security warnings, destructive-action confirmations, hand-followed multi-step instructions where order matters, and when the user repeats a question (the repeat means the short version did not land → answer longer and in simpler words, not shorter), resuming after. Boundaries: chat replies only — code, comments, commit messages, documentation, PR/issue/ticket text, memory files, and messages for other people stay at normal length. Two entry points: a length ask ("be brief", "too many words") switches on every rule, while a voice-only ask ("humanize your responses", "remove the AI tells", "your replies sound like ChatGPT") switches on the simple-English and no-AI-tells rules and leaves the length caps off (the cut list is split into always and only when asked for shorter replies for exactly this; the three-line work-report cap and one-question-per-message are length rules too) — that request is for a different voice, not for less content. TheNo AI tellssection covers what simple English misses: em dashes, "not just X, but Y", forced groups of three, AI vocabulary, "serves as" for "is", puffery, bold-label lists, sycophancy, feeling-words, connector colons, fake-candid openings ("Honestly?", "Look,", "Here's the thing"), fake deep truth ("at its core", "the real question is", "fundamentally"), announcing the next point ("Let's dive in", "here's what you need to know"), answering an objection the user did not raise ("To be clear", "Don't get me wrong"), and rows of dramatic fragments (items 11-15, borrowed fromblader/humanizerin the same change that took ten patterns intounslop; the YAMLdescriptionandhooks/clear-and-short-trigger.pyare unchanged, the hook'sDIRECTIVE_VOICEnaming the section rather than listing its items, so the new items reach every session through the always-on voice default). The same words aimed at a file instead of at the replies ("humanize this README") areunslop's, and the routing is stated in both descriptions. Persists for the session until "normal mode"/"stop clear-and-short". The plugin'sUserPromptSubmithook makes the voice half an always-on default: it emits the VOICE directive on the first prompt of every session, so replies are in plain voice from the start without anyone asking — the voice directive and not the length one deliberately, because this is a default and a default must not silently drop content the user never asked to lose. It emits once per session, not on every prompt (re-injecting the same text every turn adds nothing and would conflict with an explicit "normal mode" later in the session); seen sessions are recorded in~/.claude/.clear-and-short-sessions.json, entries older than 7 days are pruned, the file is written atomically, and a missing or corrupt file never blocks a prompt. A prompt that matches the skill's own patterns keeps today's behavior exactly — "be brief" still upgrades to the length rules, "normal mode" still turns the skill off — and it closes out the default for that session, so the voice directive can never fire a turn later and tell the model to drop length rules the user just asked for. Three things hold the default back: a first prompt asking for the mode off ("normal mode", "stop clear-and-short", "stop being brief", "you can be verbose again", "back to normal") emits nothing and closes out the default for that session (before, such a prompt got the voice directive on the very message asking for the mode to be off); the default fires only when the environment variableCLAUDE_CODE_ENTRYPOINTisclior absent, neversdk-cli— so not inclaude -p, SDK runs, or automated eval harnesses, where it silently changed output measured for other purposes (the payload'ssourcefield is also checked when present, but theclaude -ppayload on 2.1.251 carries none, which is how the default was caught firing in aclaude -prun on 2026-08-28 under the earliersource-only check); a prompt that explicitly matches the skill's patterns is still honored whatever the entrypoint or source; and the environment variableCLEAR_AND_SHORT_NO_DEFAULT, set to any non-empty value, turns the default off with matched prompts still working — the documented opt-out, where before the only way out was uninstalling the plugin. The trigger description was validated by a real-registration A/B (2026-08-27, three skills registered under a scratch project's.claude/skills/, the installed user-level twin parked): the earlier wording under-triggered at roughly 8/16 across repeats — the model answered briefly inline without loading the skill, so nothing persisted — while precision was already 100%. The current wording front-loads the use-when clause, names "from now on keep it short" / "use fewer tokens" / "stop narrating every tool call" as phrases (bare "save tokens" was being read as a memory-save request), and adds the invoke-reason: invoke on the first such request even when that message also asks an ordinary question, because one shorter answer does not make the change persist. That scored 6/6 recall with 6/6 hard negatives still clean (README/release-notes prose →unslop, docs →document-generate, commit message / shorter function / summarize-a-file → no skill). Re-measured 2026-08-28 after the voice phrases were added (evals/clear-and-short/description-ab-2026-08-28.md, claude-opus-5, plugin disabled so the hook could not fire): voice asks 5/6 with "Humanize your responses and remove the AI tells." firing, length-with-task asks 4/6 against 3/6 for the pre-voice wording on the same model — the misses (bare "Be brief." / "keep it short from now on" plus a task) come from the model generation, not the added text, and the hook covers them in real use; hard negatives 0/8. Description kept unchanged. Declares noallowed-tools/disallowed-tools(behavioral; must not restrict tools) and nomodel:pin. Noreferences/(body is small). Also carries caveman's no-invented-abbreviations and no-arrows rules (the tokenizer splitscfg/impl/→into as many tokens as the full words, so they save nothing) and its never-add-a-word / no-mode-announcement / reply-in-the-user's-language rules. Adapted fromjuliusbrussee/caveman(MIT, © 2026 Julius Brussee) by splitting its two mechanisms apart and keeping only the structural one — its grammar-mangling and six intensity levels are dropped; roughly caveman'slitelevel plus the simple-English and question rules.unslop(skills/unslop/) — Behavioral prose editor that removes the patterns marking text as AI-written, working from a fixed list of 41 patterns in seven groups (content, language, style, communication artifacts, filler, jargon, plain speech): puffery, AI vocabulary, "not just X, but Y" (incl. its tailing-negation form), forced groups of three, synonym cycling and repeated sentence openings, em-dash/colon/bold overuse, bold-label lists, title-case headings, chatbot phrases, filler, hedging, abstract metaphor nouns ("substrate", "north star"), passive voice and missing subjects, feeling-words instead of facts — plus answering an objection nobody raised ("To be clear", "Don't get me wrong"), rejecting a fake alternative that never comes back, writing about the previous version instead of current behavior, hyphenated pairs kept after the noun, a heading whose first sentence only repeats the heading, fake-candid openings ("Honestly?", "Here's the thing"), announcing the next point ("Let's dive in"), fake deep truth ("at its core", "the real question is"), formulaic sayings ("X is the Y of Z", "the currency of"), and rows of dramatic fragments. Process: scan → rewrite preserving meaning and tone → self-audit. A## What not to flagsection is the false-positive guard, so the skill does not strip writing that was never machine-written: perfect grammar, mixed register, one em dash alone, curly quotes from a word processor, one short sentence for emphasis, deliberate repeated openings, real caveats and legal notices, real alternatives weighed in a design document, and a watched phrase inside a quotation, title, or an example discussing the phrase (one tell proves nothing, several together are evidence; pattern 16 still bans em dashes outright in prose we author, the stricter rule for our own text). A## Keep the author's own voicesection names what the edit must not delete (specific unusual details, unresolved tension, era-bound references, genuine asides, varied sentence length) — the mirror of the existing never-add-a-voice rule, not upstream's "Adding soul". Scope: human-facing prose only — docs, READMEs, posts, emails, PR descriptions — never code, comments, commit messages, or chat replies (their length, wording, and AI tells areclear-and-short's job, including a "humanize your responses" ask; the two are complementary). Never changes meaning, facts, numbers, or established technical terms; adds no opinions or first-person voice; a project style guide overrides a conflicting pattern. Produces no files; edits the given text. YAMLdescriptiondeliberately unchanged by the 41-pattern expansion (the new patterns do not change when the skill should trigger). Declares noallowed-tools/disallowed-toolsand nomodel:pin. Noreferences/. Adapted fromcursor/pluginspstack (MIT, © 2026 Lauren Tan) — all 31 of its patterns kept; upstream's "Adding soul" section (opinions, first person, deliberate mess) and itsMust always apply.trigger are dropped — the first conflicts with the catalog's plain-facts style, the second would fire on every turn. The ten added patterns, the three pattern extensions, and both new sections are adapted fromblader/humanizer(MIT, © 2025 Siqi Chen), whose list comes from Wikipedia: Signs of AI writing; humanizer's "Add personality only when it fits" section is dropped for the same reason "Adding soul" was, and humanizer itself is deliberately not installed as a skill (it would claim the same "humanize"/"de-AI" trigger wordsunslopalready owns).delegation-prompt(skills/delegation-prompt/) — Writes the paste-ready prompt that briefs a different session, agent, or teammate to do a follow-up job on work this session just finished (review the PR, test under load, port the fix to a sibling repo, audit it). Output: one fenced code block holding the whole prompt, preceded by one to three lines naming the mode. Mode is decided first: checking (the receiver reviews/audits/verifies/tests) withholds this session's conclusions, phrases risk areas as questions with no answers attached, and frames claimed-deliberate oddities as claims to judge, because a reviewer handed the answer confirms it instead of verifying it; extending (the receiver continues/implements/ports) states every settled decision plainly so nothing is re-derived; a task that is both is split into a checking section and an extending section inside the single block. Always included in both modes: concrete identifiers (PR + URL, repo, branch, paths, exact tool/MCP server, the installed catalog skill to invoke, e.g.verify-implementation), provenance ("written by an AI session; commit-message claims are claims to verify"), environment traps with what the failure looks like, ground rules (read-only, no push), the wanted output shape. Iron rule: carry over only what you can trace to a source — every number/filename/version/command/decision traces to the user's words, a file read, or a command run, else cut or marked unknown ("the author did not say which other files changed; establish that yourself"); added after the skill's own eval runs showed prompts inventing an incident timing profile, a load-scenario description, and a "the only file changed" claim (those runs used an earlier eval set, since replaced). Never puts a secret in the prompt (names where the credential lives instead). Not for continuing the same work later (session-handoff), and never performs the follow-up itself. Declares noallowed-tools/disallowed-toolsand nomodel:pin. Noreferences/. Eval fixtures underevals/delegation-prompt/evals.json(3 scenarios: PR-review checking mode, sibling-repo port extending mode, load-test verification checking mode).session-cleanup(skills/session-cleanup/) — The cleanup phase after a piece of work is merged or deployed: deletes the branches, plan documents, spec artifacts, scratch files, and background processes this session created, and reports everything else instead of removing it. Two questions decide every deletion and the skill's claim is that conflating them is the failure mode: is it mine? (the ownership test, run before any git check — a stale, merged, obviously-finished branch belonging to a teammate, another agent session in the same checkout, or the repository's arrival state is not yours; unsure whether you created it means you did not) and is it recoverable? (git ls-remote --heads origin/git branch -r --contains <sha>before the delete, not after — a commit on no remote branch is load-bearing even when stale). Ancestry lies after a squash merge:git branch -drefuses a branch whose content shipped an hour ago, ancestry can also pass while a branch's newest commits are missing, and-dsucceeds on a branch merged only to its own upstream and never to the target (verified in-session: it warnsmerged to 'refs/remotes/origin/feature', but not yet merged to HEADand deletes), so a clean-dproves nothing about the target;git diff --stat <branch> <target>andgit merge-base --is-ancestor refs/heads/<branch> <target>decide and the report names which check was used. Never candidates, excluded before the ownership test: the repo's real default branch (read fromgit symbolic-ref --short refs/remotes/origin/HEAD, never assumed to bemain), the current branch, andmain/master/develop/dev/staging/production/qa/uat/release/*/hotfix/*— excluded from deletion but still reported when carrying unpushed commits. Branch names can run commands:$(id),`id`,a;banda&bare all legal refnames (confirmed against git;a|bis rejected), so every branch name and path is single-quoted in a shell command and double quotes are not enough. A dirty worktree is never removed under a batch confirmation and--forceis not the answer to the refusal: its uncommitted changes exist nowhere else, so they are listed and acknowledged individually first. Plan documents: a file reading "Status: not started" is queued work, not finished work, and the plan worked from is rarely the only one in the directory. Spec artifacts: where the workflow archives a change, the archive is the record and archiving is the cleanup. Scratch work products (a review report, a dossier, a generated summary a skill wrote into the session scratchpad) get one question, who will ever open this?: nothing indexes a session's scratchpad and no later session reads another's, so a file no committed file, memory note or message names is noise whatever it cost, and the recoverability test does not protect it; it is either deleted with its facts already recorded elsewhere, or moved to a place with a reader (evals/,docs/) as a change the user approves, never left in place (added after a 20 KB review report was kept on 2026-09-16 and deleted the moment the user asked who would read it). Worktrees:git worktree remove(which refuses a dirty tree, the check working) andgit worktree prune, neverrm -rf, which leaves the.git/worktreesregistration and makes git refuse to check that branch out anywhere else. The remote is never deleted:git push origin --deleteremoves the copy that made the local delete reversible and takes the branch from everyone else, so cleanup deletes local refs and leaves the remote one to the user or the merge platform. Processes: identify by what they are doing, not by name — agcloudornodeprocess may be the user's or another session's; unidentifiable ⇒ leave it and say so. Shared checkouts: the branch can change between two commands, so re-checkgit branch --show-current/git status --shortbefore committing, nevergit add -Aorgit add .(stage by explicit path), never commit or discard someone else's uncommitted files, and message a live sibling session before moving the branch; a blob compare (git rev-parse <branch-a>:<path> <branch-b>:<path>) confirms a file is identical on both branches before a switch carries changes across. Report shape: removed / kept and why / at risk — the exceptions are the actionable part — and a mistake made and reversed is reported, since a quiet delete-then-restore looks identical to a clean run. Declares noallowed-tools/disallowed-tools(the never-rules are workflow discipline). Noreferences/. Written at Mi9 from one real session's cleanup on 2026-09-04, including its two mistakes (a branch deleted for being merged rather than for being ours, and a plan document deleted while it still read "Status: not started"). Description carved by a three-variant A/B against real.claude/skillsregistration on 2026-09-04 (evals/session-cleanup/, 42 queries + 11 re-checks,claude-opus-5, skill-creator's.claude/commandsloop deliberately skipped): shipped wording vs proactive-clause-removed vs use-when-first-with-do-NOT-carve-outs; all three scored 14/14 (6/6 positives, 8/8 hard negatives againstsession-handoff/retro//simplify/repo-change-summary), so the set separated nothing and the third was adopted on a pre-registered tiebreak rather than a measured win. Three method findings recorded there: P5 ("kill the background processes you started") is unanswerable for a freshclaude -psubprocess that started none, so it measured the query and was replaced by P5b with a real running process (all three then fire); renaming an installed skill inside~/.claude/skills/does not park it (it stays registered under the new directory name and fires during the run — it must leave the tree), which contaminated C's first negative pass and forced a clean re-run (8/8 both times); and thenodeprocess the P5b fixture starts holds the repo directory open, so therm -rfreset failed for the B and C runs. The behaviour eval is still owed — nothing has checked that the skill changes which things get deleted. The protected-branch list, quoting rule and dirty-worktree refusal were prompted bytrailofbits/skillsgit-cleanup(CC-BY-SA-4.0, 4K installs), found when checking skills.sh for prior art: it handles branches and worktrees more rigorously than this skill did (refutation pass,verifyWithpreconditions, two approval gates) and handles ownership, plan/spec/scratch files and processes not at all, and it isdisable-model-invocation: truewhere this one triggers on its own. Its text is deliberately not reused — the licenses are incompatible (that repo is CC-BY-SA, this catalog is MIT), so each borrowed rule was re-derived from behavior verified against git in-session and written fresh.dead-code-removal(skills/dead-code-removal/) — Re-checks an existing, dated dead-code analysis and its removal plan against the code as it stands today, using parallel read-only re-check subagents that re-prove every finding from scratch with a repository-wide search and record fresh VALID / CHANGED / INVALID / GONE verdicts into the plan and a newNN-recheck-<YYYY-MM-DD>.mdfile next to the analysis (the analysis itself gets at most one index paragraph and one table row, and its original findings are not rewritten), then deletes what is still statically proven dead, one plan step per commit, in a dedicated git worktree, running the project's own quality gates after every step and comparing each result to a pre-deletion baseline. Step 0 asks the user for the base commit (AskUserQuestion) before anything is created; the worktree is then created detached at that base, at../<repo>.worktrees/dead-code-removal-<YYYY-MM-DD>(suffix-2if it exists), beside the repository. Step 0 also checks whether git tracks the analysis and plan: an untracked one, or a tracked one that differs from the base commit (modified, staged, or missing there), is copied into the worktree and committed with the Step 3 documents, a git-ignored one is edited where it is and reported as not committed. Read-only during the re-check — a re-check agent writes only its own report file, to the session scratchpad, outside the repository; during the deletion phase it changes code only inside the worktree, never in the user's own checkout; the one exception is a git-ignored analysis or plan, which it edits where it is. Deletes on static proof only (never on config, deploy settings, or traffic alone); never fixes a gate failure forward (reverts the step per path withgit restore --source=HEAD --staged --worktree -- <path>andgit clean -f -- <path>, records it, skips it, and continues with the next step, skipping any later step that depends on it; the one exception is an import-order lint auto-fix the user approved in advance); runs the formatter only on the step's files and refreshes the lockfile and reinstalls before the gates when a step changes a dependency list; never deletes a defect it finds along the way (a bug like an uninjected dependency or an unregistered plugin is reported, not removed; state written but never read is recorded as a follow-up); never commits or pushes without the user's approval (stages each file of the current step by its explicit path, nevergit add -Aorgit add .); the Step 3 documents (re-check file, edited plan, analysis index) are proposed at Step 4 together with the checked plan and committed on approval as the branch's first commit, before any deletion, and test-only items are put to the user at Step 4. Section 2c's agent rules follow current Claude Code behaviour: only an agent's final result reaches the coordinator, so status lines go by SendMessage; an agent reads incoming messages only between tool calls; a background command a foreground agent started stops at its final response. Ends with a final check (clean, uncached build and test; a search for every removed name and deleted file) and a six-section report (removed, skipped, behaviour changes, gates, defects and follow-ups, steps left). Declares noallowed-tools.model: opus— a weaker re-check can return VALID on code something already uses, and that verdict is what leads straight into deleting live code. Shipsreferences/(recheck-brief.md, the fillable prompt and heartbeat rule sent to each re-check agent;false-positives.md, the checklist an agent must clear before calling anything VALID, re-read again before each deletion). Eval fixtures underevals/dead-code-removal/evals.json(8 trigger positives, 8 hard negatives, 5 behaviour scenarios). The trigger set scored 8/8 recall and 8/8 precision on 2026-09-29; behaviour scenarios 0, 1 and 3 were run, their failures led to theSKILL.mdfixes, and after those fixes scenario 3 passes 7/7 and scenario 1 scored 16/16 on its fourth run, after the fixes to the closing report and the document agent's git use; scenarios 2 and 4 are not run. Results are inevals/dead-code-removal/results-2026-09-29.md.windows-disk-cleanup(skills/windows-disk-cleanup/) — Finds what fills a Windows machine's disk and what can be removed without harm. A bundled read-only PowerShell script (scripts/Measure-DiskUsage.ps1, Windows PowerShell 5.1 and 7) measures free space, the user'sTEMP/TMPvariables against%LOCALAPPDATA%\Temp, the largest profile andAppDatafolders with reported AND on-disk size (cloud placeholders, sparse and NTFS-compressed files), known locations with a category, large folders no installed program matches, Docker and WSL.vhdxdisks, and repeating Temp growth (Visual Studio Installer copies left by theBackgroundDownloadscheduled task). The report sorts every large item into safe to delete / caches / shrink / your call / do not delete with one command per item. The agent never deletes: it hands over the commands, andscripts/Clear-DiskSpace.ps1(with-DryRun; restarts itself elevated forLiveKernelReportsandPanther\monitor) deletes the safe groups when the user runs it. Rules come from the source session's mistakes: Temp named by full path, never$env:TEMP; a folder called a leftover only after the program is confirmed uninstalled; unreadable is reported as not checked; a.vhdxis shrunk, never deleted; a script is given by its full path in the installed skill's folder, checked to exist first. Step 4 re-measures after the user runs the commands and explains every unchanged item. Procedures inreferences/locations.md. Trigger sweep on 2026-11-06 (evals/windows-disk-cleanup/, 15 prompts,claude-opus-5-5, real registration; every run in--permission-mode dontAskwith only Skill/Read/Glob/Grep allowed, neverbypassPermissions, because the prompts ask to delete files on the real machine and the user-level settings default to bypass): recall 6/7, precision 8/8, thesession-cleanupoverlap on "delete the temp files" split correctly by scope; the miss was the uninstalled-program leftover prompt (0/3), which the description did not name. The description then gained a clause for "the folders a program left behind after it was uninstalled" (862 to 950 characters), and a second sweep the same day (17 prompts: added a second leftover wording and an uninstall-question negative) scored recall 8/8, precision 9/9, the Cursor prompt 3/3. Results inevals/windows-disk-cleanup/description-sweep-2026-11-06.md. No behaviour eval run.pr-review-request(skills/pr-review-request/) — Writes the Google Chat message that asks colleagues to review one or more open pull requests; it does not review them (pr-reviewdoes) and posts nothing. Output: one fenced code block with raw Google Chat markup, preceded by a short note with one line per item (the mention reminder, what was left out, any difference between the description and the diff), nothing below it. The whole message stays within about 350 words: a larger pull request gets grouped bullets, not a longer message, and*Behavior to check*is cut last. The header is the team's existing format and is fixed: line 1*<TICKET> <Component>: <summary>*(the whole line in bold since 2026-11-24, at the user's request;*,_,~and backticks are kept out of it because markup inside bold text was not tested in Chat), one mention line (Hi @<reviewer> This PR is ready for review., pluralThese PRs arefor more than one), one<Repo label> PR: <url>line per pull request with a blank line between them; several pull requests for one ticket, in several repositories, go in one message. The detail sections follow in a fixed order, each included only when a source gives its content:*Why*,*What changed*,*Behavior to check*(ends with the line saying what did NOT change),*Also in the PR*. There is no*Not in scope*and no*Verification*section (removed 2026-11-24 at the user's request, after reading a generated message): the gates pass before a review is requested, so a line saying so is the same in every message, and a list of what the pull request does not do is not what the reviewer came to check; the skill does not run gates, puts no gate or test result in any section, and does not say in the note that the two sections are missing. Step 1 reads every pull request first: Bitbucket through the Composio MCP tools with the slugspr-reviewverified (BITBUCKET_GET_PULL_REQUEST,_COMMITS,_DIFFSTATwith its pagination and nullnew.pathon a deletion,_DIFFwith itstruncatedflag,BITBUCKET_GET_FILE_FROM_REPOSITORY), GitHub throughgh pr view --jsonandgh pr diff, or a local checkout with read-only git commands againstorigin/<branch>(never a checkout, switch or pull); then the ticket, a CHANGELOG entry, and a spec or plan document when one exists. A pull request that cannot be read ⇒ ask for the pasted description and diff stat, never write from the URL alone; a merged, declined or draft pull request ⇒ ask before writing, because the mention line would be false. Asking meansAskUserQuestionwhen the session has it; otherwise (aclaude -prun, a subagent) the question goes in the reply and the run stops with no message block, and only the user's own words count as the answer. Iron rule: every specific claim (a number, a file, a limit, a behavior change) traces to the pull request, its commits, its diff, the ticket or a document, or the user's words; otherwise it is left out and named in the note. A number the diff can confirm is confirmed there, and the diff wins over the description; a number only a document states is carried as stated, not rounded or extended; an item goes on the "unchanged" line only after it was checked against the diff stat (config and env vars; deployment, which a database migration in the diff stat also rules out) or the whole diff (response codes; a partial read of a large or truncated diff cannot support that item). Reviewer names:@<reviewer>placeholder when none are given, never invented and never taken from the pull request's reviewer list or commit authors; the note always says the mention has to be entered again in Chat. The message never states that the code was written or reviewed with an AI tool, even when that is true, the user confirmed it, or the user asks for the line (the note then says the skill does not add it). Wording rules: no pleasantries beyond the mention line, common literal words, no figurative verbs ("lands", "ships"), no AI vocabulary, no em dashes, identifiers kept as the code names them and always in backticks, each paragraph and bullet on one unwrapped line, never a secret. Google Chat markup was checked against Google's pages on 2026-11-24 (support.google.com/chat/answer/7649118,/answer/14170425,developers.google.com/workspace/chat/format-messages): a person can type*bold*,_italic_,~strike~, backtick code, triple-backtick blocks,>quotes,-or*bullets and1.lists; headings are "Not supported" in Chat's own syntax, and[text](url),**bold**and tables exist only for app messages sent through the Chat API in Markdown mode; a mention is documented as entering@and the name, with the select-from-the-suggestion-menu step given only in the page's steps for editing a message. The message uses only*...*(around line 1 and for each*Label*), backticks, bare URLs and a literal•for bullets (a plain character, so it reads as a bullet whether or not Chat converts markup in pasted text). Not documented by Google, and stated as such in the skill: what happens to typed markup when text is pasted while the Live Markdown setting is on; the help page only says formatting applies "as you type" and that with the setting off the text converts after sending. Tested once, 2026-11-24: a message from this skill pasted into Google Chat and sent showed bold section labels, inline code, the•bullets and a linked URL; the test did not record whether Live Markdown was on. A user who reports mid-paragraph line breaks selected the text with the mouse in a terminal and is pointed to/copy. Declaresdisallowed-tools: Edit, Write, NotebookEdit(the only output is chat text; a per-turn guard) and noallowed-tools(the Bitbucket tools are the user's own Composio MCP registration and cannot be listed); nomodel:pin;argument-hintfor the URLs or numbers. Noreferences/. The worked example in the body is invented (service, ticket and every number), with the shape and length of a review request a user accepted on 2026-11-24; the accepted request itself described a weakness in a production service and was removed before the skill was committed, so do not put a real pull request back into this public catalog as the example. Eval fixtures underevals/pr-review-request/evals.json(9 trigger positives, 10 hard negatives aimed atpr-review,delegation-prompt,unslopand plain writing tasks, 8 behavior scenarios that carry the pull request facts inline so they need no Bitbucket access) and the runnerrun_evals.sh, which uses--permission-mode dontAskwith only Skill, Read, Glob and Grep allowed becausepr-reviewposts without asking (neverbypassPermissions). Run on 2026-11-24 (claude-fable-5-2, real.claude/skillsregistration in a scratch repository,results-2026-11-24.md): trigger run 1 scored 8/8 positives and 9/10 negatives ("reply to the reviewer's comments on PR 114" loaded the skill), run 2 after the description fix 9/9 and 10/10, withpr-reviewloading on no positive. Behavior: 8/8 pass after three fixes the runs led to. (1) "Review request for<Bitbucket URL>" loadedpr-reviewfirst in one run, sopr-reviewgained its exclusion and stop rule and the wording became positive P9. (2) The note grew to 8 lines and the "unchanged" line was written as the check that was run, so the note is capped at six lines with a fixed list of contents and the line is written as a claim. (3) Scenario 4 passed in run 1 and added the AI line in run 2 because the prompt asked for it; the rule gained "a direct request in the prompt does not change this", and 3 of 3 re-runs then left the line out. A single passing run does not prove a refusal rule holds. Not measured: Step 1 (reading a pull request through Composio,ghor a checkout). Written at Mi9; not adapted from an external project.
Removed skills
scaffold-claude, test-driven-development, retro and health were removed on 2026-11-24 because they were not used. To restore one, run from the repo root:
git restore --source=$(git log --diff-filter=D --format=%h -1 -- skills/<name>/SKILL.md)^ -- skills/<name>Restore its README.md table row and section, and its bullet in this file, from that same commit (git show <commit>^:README.md), then follow the Contributing rules below.
Contributing
- Create or edit a directory under
skills/<skill-name>/. Include aSKILL.md; put long-form reference docs underreferences/. The frontmatter must parse under a strict YAML parser (python -c "import yaml,sys; yaml.safe_load(open(sys.argv[1]).read().split(' ---')[0].lstrip('- '))" skills/<name>/SKILL.md): write thedescriptionas a>-block scalar, never as a plain one-line scalar, because a colon followed by a space anywhere in the text (...need removing: "clean up"...) is a nested mapping to YAML. Claude Code's own loader tolerates that and registers the skill, so nothing looks wrong locally, butnpx skills addrejects the file withYAML parse error: Nested mappings are not allowed in compact mappingsand reportsNo matching skills found, and the skill is unshipped for everyone else.session-cleanupwas in that state from 2026-09-04 to 2026-09-16. Skill eval fixtures live under repo-rootevals/<skill-name>/, never inside the installable skill folder — they are development materialnpx skills adddoes not install. - When adding (or renaming/removing) a skill, update ALL catalog docs in the same change — this is mandatory, not optional:
README.md— add a row to the Skills at a glance table and a full per-skill section (mirror the existing format: what it does, use it for, triggers on, what it does not do / what it produces, install, full definition link). The README is how consumers discover skills — an undocumented skill is effectively unshipped.- This
CLAUDE.md— add a bullet to the Current skills list above. - Keep the table-row count, the
##section count, and theskills/directory count in agreement.
- Open a PR against
main. Teammates pick up changes on their nextnpx skills add … --skill <name>.
There are no versions to bump and no catalogs to update — npx skills add always pulls the current state of the branch it points at.
Distribution mechanism
Two mechanisms, with a split worth stating plainly.
Almost every skill installs with npx skills add, which copies one skills/<name>/ tree into ~/.agents/skills/<name> and symlinks that into ~/.claude/skills/<name>. It installs skill files and nothing else, so an edit here does not reach an installed skill until the command runs again.
A skill that also needs a non-skill component — hooks, agents, MCP servers, LSP — is published as a plugin as well, through .claude-plugin/marketplace.json. There are two entries today, both with "source": "./": clear-and-short, for its UserPromptSubmit hook, and execute-change, for the three hooks that watch its subagents. hooks/README.md covers what each hook does and how a teammate installs it.
claude plugin marketplace add Mi9-LLC/agent-skills
claude plugin install clear-and-short@mi9-agent-skills
claude plugin install execute-change@mi9-agent-skillsBoth entries declare their hooks inline, as a "hooks" object mapping hook event names to matcher arrays. There are two reasons, and both matter. First, a marketplace entry rejects a hooks file path — the CLI's own error text starts hooks: the file-path and array forms are not yet supported in a marketplace entry. and then names the two supported forms, the plugin's own hooks file or an inline object. Second, a hooks file auto-loads from the plugin root, and both entries share the repo root as their plugin root, so one hooks file there would load into both plugins — installing execute-change alone would have silently registered the clear-and-short UserPromptSubmit hook as well.
The earlier Bitbucket-hosted mi9-plugins marketplace was retired because the Claude Code TUI's /plugin install flow hit a "source type not supported" bug that blocked teammates from installing through the UI. The marketplace came back on 2026-08-27 to carry the hooks, this time from GitHub. If that bug returns, move the plugins to a second repo rather than dropping the hooks.
Do not install one skill both ways on the same machine. Two copies register under the same name, and only the plugin carries the hooks.
Agent skills
Issue tracker
Issues live as local markdown files under .scratch/<feature-slug>/ in this repo (gitignored — not published). See docs/agents/issue-tracker.md.
Triage labels
The five canonical roles, each label string equal to its name. See docs/agents/triage-labels.md.
Domain docs
Single-context: CONTEXT.md + docs/adr/ at the repo root. See docs/agents/domain.md.
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
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.

