crew-lint
Skill8 starsChanged 11 days agoMITView on GitHub
Manual checks that only report: scans CLAUDE.md, memory and agent files for stale standing instructions (a standing 'always delegate' line, a token-budget number, an absolute 'never' with no case), checks an agent brief for its stop rule, verification, output path and scope limit, and checks that the quotes in a research claims file or report really appear on their pages. Use when the user runs /crew-chief:crew-lint, asks whether their instruction files are out of date for newer models, or wants a brief or a set of sources checked before relying on it. Never edits a file on its own.
In this repository23 other files it gives its agents.
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- animateSkill
- animation-performanceSkill
- choreographSkill
- crew-briefSkill
- crew-handoffSkill
- crew-modeSkill
- crew-nightSkill
- crew-researchSkill
- crew-routingSkill
- crew-setupSkill
- design-taste-frontendSkill
- frontend-designSkill
- frontend-ui-engineeringSkill
- interaction-designSkill
- remove-animationsSkill
- security-auditSkill
- securitySkill
- thesvgSkill
- ui-ux-pro-maxSkill
- vercel-react-best-practicesSkill
- web-3d-perfSkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
If the user gives an argument that is none of these, show the three forms in one line and ask which one they want.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Manual lint with three local tools. Arguments: $ARGUMENTS. None of them edits anything or runs by itself (no hook): you run one when the user asks, show its output, and offer fixes. Edit a file only after the user says yes to that specific change. All tools need Node 22 or newer; if node is missing, say so in one line and stop.
stale(or no argument):node "${CLAUDE_PLUGIN_ROOT}/scripts/stale-scan.mjs"scansCLAUDE.md,CLAUDE.local.md,~/.claude/CLAUDE.md, this project's auto-memory folder and theagents/folders; add paths as arguments to scan others (--jsonfor machine-readable output). It printsfile:line: rule: text -> suggested fixand a count; it never scansSTATUS.mdand never writes. Rules:always-delegate(a standing "always delegate" line makes the model delegate when it should not),token-budget(a token number in an instruction: state the scope and a stop rule instead),absolute-never(a "never" with no case or reason: name the case, or say "ask before X"; this is only a warning). Group the hits by file for the user, say which look like real problems and which are fine (a safety rule such as "never modify the project" often is), and offer to rewrite only the real ones. A line the user wants to keep can carrycrew-chief:keep(on the line or the line above) and the scan skips it. The plugin's own agent files will showabsolute-neverwarnings: report them, do not change them unless the user asks.brief <file>:node "${CLAUDE_PLUGIN_ROOT}/scripts/brief-check.mjs" <file> --kind agent(use--kind researchfor a research brief,-instead of a file to read standard input). Exit 0 means the brief has a stop rule, a verification step, an output path and a scope limit (an agent count, a search or call count, or a bounded scope; never a token number); exit 1 printsmissing: ...with one suggested sentence per missing part anderror:lines for a token number. Research briefs also get warnings for a missing objective, output format, assumption to verify and sources guidance. Offer to add the suggested sentences to the brief.sources <file or folder>:node "${CLAUDE_PLUGIN_ROOT}/scripts/source-check.mjs" <claims.json | folder | report.md>checks that each claim's quote appears on its URL. This makes web requests (read only: GET, private and loopback addresses refused, nothing sent but the URL and a generic user agent): say so once before running it. Stdout is a JSON array with one row per claim{id, url, http, status, reason}; status isfound,not_found(page read, quote absent: the only refutation signal),dead_link(404, 410, no such host) orunverified(page could not be read: JavaScript page, PDF, 403, timeout, a quote under 20 characters; this is never a refutation). Page text is never printed. Show the rows grouped by status. The tool cannot judge whether a source supports a claim; for that, offer a verifier agent. For a Markdown report the claim pairing (a URL with the nearest following quote) is best effort: say so.
If the user gives an argument that is none of these, show the three forms in one line and ask which one they want.
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.

