Agent Doc Lint — AI skill for Claude Code
Your CLAUDE.md / AGENTS.md is too long.
How to install Agent Doc Lint
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open AnyiWang/agent-doc-lint and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Doc Lint does
Your CLAUDE.md / AGENTS.md is too long? This skill helps your AI agent analyze it, split it into skills, and keep it drift-free.
Alternatives in AI
- Wiki Lint — Health-check the LLM Wiki for issues 2.3k ★
- Pebrel — AI-native, GPU-accelerated terminal emulator for Windows with SSH, persistent sessions, split panes, and first 670 ★
- Open Researcher — 🔥 Visual AI research assistant that displays real-time thinking, provides split-view analysis, and automatic 634 ★
README
**English** | [中文](README.zh-CN.md)
agent-doc-lint
Your CLAUDE.md / AGENTS.md is too long? This skill helps your AI agent analyze it, split it into skills, and keep it drift-free.
Supports both **Claude Code** (`CLAUDE.md` + `.claude/skills/`) and **Codex CLI** (`AGENTS.md` + `.codex/skills/`).
What It Does
Your instruction file is loaded into **every single request** — a 500-line file costs tokens on every interaction, even simple questions. Skills load **only when relevant**, cutting token waste without losing context quality.
Install this as a skill, run `/doc-lint`, and the agent will:
**Quick mode** (`/doc-lint`) — analyze existing docs only:
- Scan — read your instruction file and existing skills
- Analyze placement — classify each section: protected (must stay) vs. should move to skill
- Propose — output a structured splitting plan, wait for your approval
- Execute — create/update skills, slim down the instruction file, run lint to verify
**Full mode** (`/doc-lint --full`) — also scan project code:
- Scan — read docs + scan project source structure
- Accuracy check — verify docs match current code (stale types, outdated counts, missing modules)
- Analyze placement — same as quick mode
- Propose — splitting plan + accuracy fixes, wait for your approval
- Execute — fix stale content + split, run lint to verify
No changes are made without your explicit approval.
The Splitting Guide
**[best-practices.md](best-practices.md)** provides the methodology the agent follows:
- Context Cost Model — Why splitting matters
- What Goes Where — Always-on rules vs. on-demand reference
- 6 Splitting Triggers — file too long, reference tables (10+ rows), hardcoded counts, static file trees, content duplication, scope-specific sections
- How to Split — 5-step procedure with before/after examples
- Skill Design — Frontmatter, size limits, description quality, scope boundaries
- Anti-Drift —
Related Skills
Herdr LLM Lint
Lints CLAUDE.md, AGENTS.md, and other agent instruction files for stale paths, commands, facts, and drift
Claude4Godot
A drop-in workflow for Godot games built with Claude Code and Claude Cowork: a living design doc, task queue,
Omnigento
Keep AI coding-agent instructions consistent across Cursor, Claude, Copilot, Codex, and AGENTS.md. One canonic
Canopus
Canopus keeps long-running AI coding agents locked on their goal: frozen acceptance envelopes, deterministic c
AwakeLock
Keep your Mac awake behind the native Lock Screen so long-running AI agents, coding tasks, terminals, download
Claw Consensus
Run AI agents across machines without state drift: consensus protocol (propose/counter/accept/commit), dual-ra
Related Agents
Zettelkasten Linker
Use this agent to comprehensively analyze the workspace markdown files for quality and connections. This agent
Doc Reader
Reads long documents (PDF CV, LinkedIn export, job posting, annual report, member directory, large files in th
Project Auditor
Read-only health audit of the VibeFrame monorepo. Use for a periodic project review — structure, CLI/doc drift