# ctxlint: a linter for agent context files

Source: [GitHub](https://github.com/ctxtools/ctxlint)  
Feed7 permalink: https://feed7.dev/p/ctxlint-repo  
Published: 2026-06-23T00:00:00.000Z  
Trust: Repo Verified (repo_verified)

## Why Included

Lints CLAUDE.md / AGENTS.md / rules files for staleness, contradiction, and dead links.

## Source Summary

CLI that checks agent context files: flags stale dates, contradicting rules, dead links, and files over a token budget. CI-ready. Repo builds and tests pass.

## Practical Implication

Context files rot silently. Run ctxlint in CI so your agent instructions stay as maintained as your code.

## Agent-Ready Context

ctxlint lints agent context files (CLAUDE.md, AGENTS.md): staleness, contradictions, dead links, token budget. Add to CI beside your linter.

## Context Map

- Layer: context
- Domains: coding
- Topics: context-engineering

## Uncertainty

- Maintained by a single author; bus factor 1.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
