Scan your whole stack
Latest version: v0.29.0
ctxlint was last scanned on 23 Nov 2026 at version 0.29.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.29.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.28.3 | 16 Nov 2026 | No rules fired |
| 0.28.2 | 12 Nov 2026 | No rules fired |
| 0.28.1 | 31 Oct 2026 | Not shown |
| 0.28.0 | 9 Oct 2026 | Not shown |
Findings for v0.29.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.29.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Tested with Yaw MCP 1.1.13 or newer. Or install manually below.
Lint your AI agent context files, MCP server configs, and session data against your actual codebase. Context linting + MCP config linting + session auditing. 16 AI tools, 8 MCP clients, cross-project consistency, auto-fix. Works as a CLI, CI step, pre-commit hook, or MCP server.
Your CLAUDE.md is lying to your agent. Your .mcp.json has a hardcoded API key. ctxlint catches both.
Every AI coding tool ships a context file: CLAUDE.md, .cursorrules, AGENTS.md, .mcp.json. These files are the single most important interface between you and your agent — they tell it what to build, how to test, where things live.
But context files rot fast. You rename a file, change a build script, or switch from Jest to Vitest — and your CLAUDE.md still says the old thing. Your agent follows those stale instructions faithfully, then fails. You lose 10 minutes debugging what turns out to be a wrong path in line 12 of a markdown file.
Multiply that across a team with 5 context files, 3 MCP configs, and 2 people who touched the build system last week — and you have a real problem with no existing solution.
ctxlint is a linter purpose-built for this. It reads your context files, cross-references them against your actual codebase, and catches the drift before your agent does.
npx downloads a ~670 KB tarball and starts immediately--fix rewrites broken paths automatically using git history--watch re-lints automatically when context files changeRun directly (no install needed):
npx -y @yawlabs/ctxlint@latest
npm install -D @yawlabs/ctxlint
# or
pnpm add -D @yawlabs/ctxlint
Then add to your package.json scripts:
{
"scripts": {
"lint:ctx": "ctxlint --strict"
}
}
npm install -g @yawlabs/ctxlint
Useful if you want ctxlint available in every project without per-project setup.
| Check | What it finds |
|---|---|
| Broken paths | File references in context that don't exist in your project. Existence is case-exact on every OS, so src/Utils.ts for src/utils.ts is reported on Windows and macOS too |
| Wrong commands | Build/test commands that don't match your package.json scripts or Makefile targets, and Gradle project paths or Maven -pl modules your build doesn't declare |
| Stale context | Context files not updated after recent code changes |
| Token waste | How much context window your files consume per session |
| Redundancy | Content the agent can already infer (e.g. "We use React" when react is in package.json) |
| Contradictions | Conflicting directives across context files (e.g. "use Jest" in one, "use Vitest" in another) |
| Frontmatter | Invalid or missing YAML frontmatter in Cursor .mdc, Copilot .github/instructions/*.instructions.md, and Windsurf rules |
| CI coverage | Release/deploy workflows in .github/workflows/ not documented in any context file |
| CI secrets | Secrets used in CI workflows (${{ secrets.X }}) not mentioned in context files |
| Inline secrets | Real secrets pasted into context files — private-key headers, AWS/GitHub/Anthropic/OpenAI/npm/Slack/Google/Stripe token shapes. Messages never echo the secret (6-char redacted prefix only) |
| Dead hooks | Hook commands and permissions.allow entries in .claude/settings.json pointing at scripts or paths that no longer exist (a dead gate silently no-ops). A Bash(...) / PowerShell(...) allow entry is reported only when the command runs the missing script. Scans project .claude/settings.json[.local] by default; pass --hooks-global to also scan the user-global settings |
| Missing secrets | GitHub secrets set on sibling repos but missing from current project |
| Diverged configs | Canonical config files (CI, tsconfig, etc.) drifting across sibling projects |
| Missing workflows | GitHub Actions workflows present in 2+ siblings but absent here |
| Stale memory | Claude Code memory entries referencing paths that no longer exist |
| Duplicate memory | Near-duplicate memories across projects (>60% content overlap) |
| Loop detection | Agent stuck in loops — repeated commands or cyclic patterns in session history |
| Memory overflow | MEMORY.md past Claude Code's 200-line / 25KB session-load cap — entries beyond it are invisible to the agent |
| Shared temp path | A fixed temp path (e.g. /tmp/pkg.bak) the agent writes and later reads back — any concurrent session can overwrite it in between |
| Unverified gate | A lint/typecheck/test/build run that errored or printed nothing, followed by agent prose claiming it passed |
| Default-branch edits | 10+ files edited on main/master with no intervening commit or branch-away |
| Unresolvable SHA | A memory cites a commit SHA that does not resolve in this repository |
| Large reads | Whole-file Reads of 4,000+ tokens, with an estimate of the tokens they re-send as cached context on later turns (an info-level baseline) |
| File | Tool |
|---|---|
CLAUDE.md, CLAUDE.local.md, .claude/rules/*.md |
Claude Code |
AGENTS.md, AGENT.md, AGENTS.override.md |
AAIF / Multi-agent standard |
.cursorrules, .cursor/rules/*.md, .cursor/rules/*.mdc, .cursor/rules/*/RULE.md |
Cursor |
.github/copilot-instructions.md, .github/instructions/*.md, .github/git-commit-instructions.md |
GitHub Copilot |
.windsurfrules, .windsurf/rules/*.md |
Windsurf |
GEMINI.md |
Gemini CLI |
.clinerules, .clinerules/*.md |
Cline |
.aiderules |
Aider |
.aide/rules/*.md |
Aide / Codestory |
.amazonq/rules/*.md |
Amazon Q Developer |
.goose/instructions.md, .goosehints |
Goose by Block |
.junie/guidelines.md, .junie/AGENTS.md |
JetBrains Junie |
.aiassistant/rules/*.md |
JetBrains AI Assistant |
.continuerules, .continue/rules/*.md |
Continue |
.rules |
Zed |
replit.md |
Replit |
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.