agents-md-pro

SKILL.md

AGENTS.md Pro

Create token-efficient AGENTS.md files that maximize clarity with minimal tokens.

Core Principles

  1. Token efficiency - Every word justifies its cost
  2. Commands over explanations - Show, don't tell
  3. Reference configs - Point to .eslintrc, never duplicate
  4. Model-agnostic - Universal terminology only
  5. Condensed default - Always minimal output

Input

Required: Project directory path If missing: Request from user

Workflow Router

Map user request to workflow:

Quick Reference

Output template - Standard repo:

# [Project] | [Tech Stack]
## COMMANDS
- Dev: `cmd` | Build: `cmd` | Test: `cmd` | Lint: `cmd --fix`
## STRUCTURE
- `dir/` - purpose
## PATTERNS
[1-2 key patterns with minimal code]
## CODE STYLE
See `.eslintrc`, `.prettierrc`
## DOMAIN
| Term | Definition |
## SECURITY
[Auth/validation only]
## GIT
Format: `convention`

Line limits:

  • Standard: ≤150 lines
  • Monorepo root: ≤50 lines
  • Sub-project: ≤100 lines

Target tokens:

  • Standard: 500-800
  • Monorepo root: 300-400
  • Sub-project: 400-600

Resources

Load as needed:

Weekly Installs
21
GitHub Stars
10
First Seen
Feb 5, 2026
Installed on
claude-code16
opencode13
gemini-cli12
kimi-cli12
github-copilot11
codex11