Agent Doc Lint
Description
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.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI