agents-md
/agents-md
Build or rebuild AGENTS.md with progressive disclosure. Use when: /harn:agents-md, 'create AGENTS.md', 'update agent instructions', 'too many instructions
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 01.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Build or rebuild AGENTS.md with progressive disclosure. Use when: /harn:agents-md, 'create AGENTS.md', 'update agent instructions', 'too many instructions
Triggers from the description
Original author description
Build or rebuild AGENTS.md with progressive disclosure. Use when: /harn:agents-md, 'create AGENTS.md', 'update agent instructions', 'too many instructions
How it works
- Rules
- Process
- Workflow
- Context Budget
- Escape Hatches
SKILL.md preview
--- name: agents-md description: "Build or rebuild AGENTS.md with progressive disclosure. Use when: /harn:agents-md, 'create AGENTS.md', 'update agent instructions', 'too many instructions'" --- # Reference: https://harn.app/kb/specs.html — "12 Factor Agents" # Reference: https://harn.app/kb/context.html — "Writing a good CLAUDE.md" # AGENTS.md Builder Generate a lean, effective AGENTS.md using progressive disclosure principles. ## Rules 1. **Under 60 lines** — ideally under 100, never over 300 2. **No directory trees** — agents discover structure on their own 3. **No bloated context** — point to skill files for domain-specific rules 4. **Progressive disclosure** — load detailed instructions only when relevant ## Process 1. Read the current project root (package.json, README, existing AGENTS.md) 2. Identify: stack, entry points, architectural constraints 3. Generate AGENTS.md with sections: - North Star (1-2 sentences) - System of Record (stack, entry points) - Constraints (hard rules) - Active Harness Hooks (what's automated) - Skills (progressive disclosure pointers) - Escape Hatch (what to do when stuck) 4. If existing AGENTS.md is over 100 lines, refactor it: - Extract domain rules into separate skill files - Keep only pointers in AGENTS.md ## Workflow 1. Understand → Read code, check LEARNED.md for gotchas 2. Plan → Break task into steps, update CHECKPOINT.json 3. Implement → Write code within architectural constraints 4. Verify → Run quality gate before finishing 5. Document → Update LEARNED.md if something was tricky ## Context Budget - Keep this file under 60 lines — load skills/ on demand - Delegate research to sub-agents — only summaries return - After 30+ tool calls, compact and update CHECKPOINT.json ## Escape Hatches - Quality gate stuck? Stop hook checks `stop_hook_active` — retry lets you through - Security guard wrong? Report false positive, use alternative command - Same error 3 times? Stop and ask the human
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · sliday/harn | 90 | MIT |
| mblode/agent-skills | 100 | MIT |
| akunzai/agent-skills | 100 | MIT |
| hugrverk/riggverk | 100 | MIT |
| getsentry/skills | 100 | Apache-2.0 |
| pantheon-org/tekhne | 100 | MIT |
| mc0571/mc-skills | 100 | MIT |
| jscraik/Agent-Skills | 100 | Apache-2.0 |
| LiHongwei-cn/lihongwei-cn | 100 | MIT |
Database snapshot: 13.11.2026 · package version 78919aecbecd (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100claude-skills
Guide for creating Agent Skills with progressive disclosure and best practices. Use when creating new skills, understanding skill structure, or implementing progressive disclosure. - 100init
This skill should be used when a user asks to initialize a repository for AI agents, create or update an AGENTS.md file, scaffold agent instructions for a codebase, or improve existing agent guidance. Triggers include phrases like 'create an AGENTS.md', 'set up agent… - 100write-agents-files
Use when setting up or improving agent instructions in AGENTS.md, CLAUDE.md or other coding agents instructions files. - 95improve-agent
Guide for improving GitHub Copilot Agent performance through skills, custom instructions, AGENTS.md, or other configuration. Use this when asked to improve agent behavior, create/update skills, modify custom instructions, update AGENTS.md, or customize GitHub Copilot performance in repositories. - 100writing-agent-instructions
How to write great agent instructions for an agent-native app or template: AGENTS.md, skills, and tool/action descriptions. Use when authoring or reviewing AGENTS.md, writing a SKILL.md, wording action descriptions, or deciding what belongs in instructions vs skills vs memory. - 96writing-agent-instructions
Use when creating, revising, or auditing an agent skill, AGENTS.md, CLAUDE.md, nested project instructions, or native harness memory, including trigger design, progressive disclosure, harness-aware scope, behavioral validation, past-session recall, session retrospectives that…