/grey-matter:curate-docsfrom grey-matter
Review docs/agents and .scratch for promotion and deletion: graduate mature notes into skills, move reference docs into a skill's references, and prune stale or superseded material.
Ships in grey-matter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A periodic sweep of the repo's agent-facing knowledge, deciding what to promote, what to move, and what to delete. Knowledge accrues as loose notes in docs/agents/ and throwaway files in .scratch/; left alone it rots (stale findings, notes that should be skills, docs stranded away from the skill that needs them). This skill keeps it curated. The governing rules are in docs/agents/doc-conventions.md; this skill applies them.
User-invoked: a human runs it when the knowledge base needs tending, as wrap-session does for the session.
For retained media, embedded reports or artifact retrieval, use repository-artifact-hygiene to classify storage choices. When a worker or harness handoff leaves artifacts retained, carry their owner, purpose and end condition using its retention lifecycle. This skill still owns knowledge promotion, relocation and pruning.
Two independent axes, applied to each candidate.
Apply the promotion test from doc-conventions.md: should an agent do this on cue, or read it when relevant?
docs/agents/ (or .scratch/) that has become a repeatable procedure with a recognizable activation condition should become skills/<bucket>/<name>/. Name the trigger; draft the SKILL.md; carry its supporting detail into the skill's references/. Don't skill-ify raw notes, premature skills dilute the index's trigger precision.references/. A doc in docs/agents/ that exists only to support one skill (its detail, its rubric, its appendix) belongs in that skill's references/ folder, loaded on demand, not stranded in the docs tree. Move it, and repoint the skill's pointer.docs/agents/. Shared reference read by several skills or by humans stays put; don't force it into one skill.Flag for removal, and these are the usual causes:
--status backlog), not a doc..scratch/ material, build output or outside work folders whose lifecycle scope has ended, or that is older than 14 days with no open ticket naming it; it was always disposable. List it for deletion after checking nothing cites it (the close rule owns what to promote first).docs/agents/ (by subfolder: skill-reviews, lenses, research, proposals, conventions) and .scratch/. For each item, note what it is and what references it (grep for its path) so a move or delete repoints cleanly.tkt query); prefer extending or moving over creating a near-duplicate. (Same dedupe discipline as code-review, retro, triage.)review-skill's depth bar and writing-for-agents), move supporting docs into its references/, repoint references, and delete the now-graduated note.references/, repoint the skill's pointer and any others.git mv for moves so history is preserved; verify no dangling links (grep the old path) before committing.docs/agents/ holds only read-when-relevant shared reference; nothing there is really a skill or really one skill's private appendix.references/, not in the docs tree..scratch/ is near-empty of anything older than its task.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub smileynet/grey-matter --plugin grey-matterOther plugins' skills for the same job
51 skills in this plugin
/adopt-projectAdopt a brownfield repo into grey-matter: characterize its as-is model, subsume existing agent config, seed a triaged board, and wire plumbing./changelogMaintain CHANGELOG.md in Keep a Changelog format with user-facing entries. Use when recording what changed for a release, updating the Unreleased section, or asked to write/update the changelog./cheat-sheetList every skill in this set by category with a one-line description. Use when the user wants a quick reference card of available skills, asks "what skills are there", or "list all commands".