@yawlabs/ctxlint
Lint your AI agent context files, MCP server configs, and session data against your actual codebase
Versions
0.18.7latest0.18.60.18.50.18.40.18.3+ show 52 moreshow less
0.18.20.18.10.18.00.17.00.16.00.15.10.15.00.14.10.14.00.13.30.13.20.13.10.13.00.12.30.12.20.12.10.12.00.10.20.10.10.10.00.9.200.9.190.9.180.9.170.9.160.9.150.9.140.9.130.9.120.9.110.9.100.9.90.9.80.9.70.9.60.9.50.9.40.9.30.9.20.9.10.9.00.8.00.7.00.6.00.5.00.4.00.3.00.2.20.2.10.2.00.1.10.1.0Tools 7
ctxlint_audit Audit AI agent context files (CLAUDE.md, AGENTS.md, etc.) in the project. Checks for stale references, invalid commands, redundant content, contradictions, frontmatter issues, and token waste. Scoped to context-file checks only; MCP-config and session-level checks are exposed as separate tools.
ctxlint_validate_path Check if a file path referenced in a context file actually exists in the project. Returns the file status and suggests corrections if the path is invalid.
ctxlint_token_report Get a token count breakdown for all context files in the project. Shows per-file and aggregate token usage, plus estimated waste from redundant content.
ctxlint_fix Run the linter with --fix mode to auto-correct broken file paths in context files using git history and fuzzy matching. Returns a summary of what was fixed. Pass dryRun: true to preview what would be fixed without writing any files.
ctxlint_mcp_audit Lint MCP server configuration files in a project. Checks for schema errors, hardcoded secrets, deprecated transports, wrong env var syntax, URL issues, and cross-client inconsistencies.
ctxlint_session_audit Audit AI agent session data for cross-project consistency. Checks for missing GitHub secrets, diverged config files, missing workflows, stale memory entries, and duplicate memories across sibling repositories.
ctxlint_skill_audit Audit agent skill and subagent definitions (~/.claude/skills/*/SKILL.md, ~/.claude/agents/*.md). Checks for frontmatter problems, broken file references, trigger collisions, orphaned skill directories, and dead tool restrictions.
Permissions 3
filesystem low shell high env_vars low