·optimize-agents-md
</>

optimize-agents-md

Optimize AGENTS.md and rules for token efficiency. Auto-invoked when user asks about improving agent instructions, compressing AGENTS.md, or making rules more effective.

11Installs·0Trend·@youdotcom-oss

Installation

$npx skills add https://github.com/youdotcom-oss/agent-skills --skill optimize-agents-md

How to Install optimize-agents-md

Quickly install optimize-agents-md AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/youdotcom-oss/agent-skills --skill optimize-agents-md
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: youdotcom-oss/agent-skills.

SKILL.md

View raw

Apply Boris Cherny's compression principles to AGENTS.md and rules files.

| Context stuffing | Repeating info agents already know | Delete obvious instructions | | Static memory | No learnings section | Add ## Learnings with dates | | Format drift | Inconsistent structure | Use consistent headers | | Missing verification | No way to check work | Add Verify: patterns to rules |

| Verbose rules | Paragraphs instead of patterns | Compress to pattern + verify + fix |

Optimize AGENTS.md and rules for token efficiency. Auto-invoked when user asks about improving agent instructions, compressing AGENTS.md, or making rules more effective. Source: youdotcom-oss/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/youdotcom-oss/agent-skills --skill optimize-agents-md
Category
</>Dev Tools
Verified
First Seen
2026-03-10
Updated
2026-03-11

Browse more skills from youdotcom-oss/agent-skills

Quick answers

What is optimize-agents-md?

Optimize AGENTS.md and rules for token efficiency. Auto-invoked when user asks about improving agent instructions, compressing AGENTS.md, or making rules more effective. Source: youdotcom-oss/agent-skills.

How do I install optimize-agents-md?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/youdotcom-oss/agent-skills --skill optimize-agents-md Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/youdotcom-oss/agent-skills