Ctxlint — Code Quality skill for Claude Code
Lint CLAUDE.md, AGENTS.md & Cursor rules against your repo: catch stale paths, missing scripts and broken imports.
How to install Ctxlint
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Falco-Studios/ctxlint and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ctxlint does
Lint CLAUDE.md, AGENTS.md & Cursor rules against your repo: catch stale paths, missing scripts and broken imports.
Alternatives in Code Quality
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
- Brooks Debt — Run a Brooks-Lint tech debt assessment 1.5k ★
- Lint Task — Lint coder-eval Task YAML 166 ★
README
ctxlint
[](https://www.npmjs.com/package/@falco-studios/ctxlint) [](https://github.com/Falco-Studios/ctxlint/actions/workflows/ci.yml) [](LICENSE) 
**Your `CLAUDE.md` says `npm run lint`. That script was deleted three months ago. Your agent doesn't know that.**
`ctxlint` checks agent context files (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, Cursor rules, Copilot instructions) against the repository they describe. It catches paths that moved, scripts that were renamed, imports that broke, and rules that can never apply, before your coding agent wastes a turn on them.
Zero dependencies, runs offline, no API keys, no LLM calls. It reads files and checks them against your repo, the way a type checker checks imports.
Why
Context files are code that nobody compiles. They're written once, then the repo moves on:
- a folder gets renamed and the instructions keep pointing at the old one,
npm run test:unitbecomesnpm run test, but the agent keeps trying the old name,- an
@importinCLAUDE.mdsilently stops resolving, - a Cursor rule's
globs:no longer matches anything, so the rule never fires, - the file grows to 15k tokens and gets sent with every single request.
Each of these costs agent turns, tokens and wrong edits. `ctxlint` makes them a CI failure instead.
Usage
npx @falco-studios/ctxlint # lint the current repo
npx @falco-studios/ctxlint path/to/repo
npx @falco-studios/ctxlint --list # show which files would be checked
npx @falco-studios/ctxlint --rules # show all rules
Related Skills
Subagentlint
Lint Claude Code subagent files (.claude/agents) before they fail silently: frontmatter typos, missing descrip
Lint Framework
Run framework-linter to detect drift, missing files, malformed specs, rule violations, template drift, and sta
Gc Exploratory
Exploratory review — find concerns lint/golden-rules/docs-reviewer cannot catch, then create tq actions for ea
Memory Lint
Lint a layered-memory directory for missing frontmatter, orphaned facts, and oversized files
Agent Skills Lint
Cross-agent skill validator and installer — Claude Code, Codex, OpenCode, Aider, Copilot, Cursor, Gemini, Droi
Skill Validator
Lint SKILL.md agent skills for Claude Code, Codex and Cursor. Every rule quotes the official source it relies
Related Agents
Extension Smoke Test
Pre-reload smoke test for the WXT browser extension. Run this agent before reloading the extension in Chrome t
Orchestra Reviewer
Audits the Orchestra system for cross-file consistency, broken references, stale terminology, and missing upda
Test Gap Finder
Finds missing, weak, or stale test coverage in a diff. Use during review when production logic, user flows, er