Agent skill
context-hygiene
Audit and repair the context layer.
Filed under Content and SEO.
From getcargohq/cargo-manifest · 4 skills · 6 · pushed 2026-09-12
What it does when it runs
Audit and repair the context layer. Use when asked to clean up context, before a quarterly review, or when the knowledge graph feels stale. Finds missing frontmatter, broken references, orphan files, and stale content, then fixes them file by file.
Read from the skill and the 0 files bundled beside it. A skill’s own description is written to be selected by an agent, so it describes the job and not the dependencies.
- Keys and connectors you must supply
- None found.
- Hosts it reaches
- No third-party host appears in the skill or its bundled files.
- Tool permissions it declares
- No
allowed-toolsin the frontmatter. It only issues instructions, so there is nothing to bound. - Actions present in the files
- None. Instructions only.
Install it
View source on GitHub ↗git clone --depth 1 --filter=blob:none --sparse https://github.com/getcargohq/cargo-manifest.git /tmp/cargo-manifest git -C /tmp/cargo-manifest sparse-checkout set ".claude/skills/context-hygiene" mkdir -p ~/.claude/skills/context-hygiene cp -R "/tmp/cargo-manifest/.claude/skills/context-hygiene/." ~/.claude/skills/context-hygiene/
Picked up without a restart. A project skill of the same name is shadowed by your personal one. For one repository only, swap ~/.claude/skills for .claude/skills. Claude Code docs ↗
The folder is the same in every client that implements the format — 46 of them — so if yours is not above, only the destination changes.
The skill
Source on GitHub ↗Reproduced in full from getcargohq/cargo-manifest/blob/c8b9850b5f9cf07d5a2290dd42227e2ac128a906/.claude/skills/context-hygiene/SKILL.md, which is licensed MIT (repository). 225 words, 3 headings.
Context hygiene pass
The context layer is only useful if agents can trust it. Run this audit periodically or when onboarding a new team member.
Steps
-
Mechanical lint. Run
npm run lint:context. Fix every error (missingtitle/description, brokenreferences:entries, broken wikilinks or relative links). Errors block CI; do these first. -
Orphans. The linter warns about files nothing references. For each orphan, decide: link it from the file that should own the relationship, or delete it if it no longer earns its place. Do not leave orphans standing.
-
Staleness. The linter warns about files untouched for more than 90 days. For each, check it against reality: recent won/lost deals in
context/client/, current pricing, live positioning. Update the file or add a dated note explaining why it is still accurate. -
Contradictions. Read
global/andicp/together and flag claims that conflict (two different ICPs, outdated competitor claims inalternative/). Surface contradictions to the team in the PR description rather than silently picking a side. -
Ship it. One PR titled
context: hygiene pass YYYY-MM-DD, with a summary table: files fixed, orphans resolved, stale files refreshed, contradictions flagged.
Rules
- Never invent facts to fill a template. An honest gap beats a plausible lie;
leave the section empty with a
TODO(owner):marker. - Preserve frontmatter fields you do not understand.
Other skills for the same job
Different authors, same problem. Matched on the words in the skill name, across every library in the catalogue except this one.
- startup-context by shawnpang · 324
- multi-turn-context-retention by louisblythe · 153
- context-building by extruct-ai · 107
- crm-hygiene-scanner by Othmane-Khadri · 56
- cargo-context by getcargohq · 17
- pipeline-hygiene-audit by elijeangilles · 9
- product-context by taizen-ai · 8
- context-building by getbeton · 6
Need help setting it up?
This page tells you what context-hygiene does and what it needs. Cheetah builds the agent setup it runs inside: data, CRM, sequencing and the guardrails.
Book a call →The directory stays free. There is nothing gated behind this.