Agent Slimmer
Description
An AI coding agent skill for optimizing AGENTS.md files
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
Agent Slimmer
An AI coding agent skill for optimizing `AGENTS.md` files (and similar repository-level context files like `CLAUDE.md`, `COPILOT.md`, etc.).
Why
Research shows that repository-level context files measurably change AI coding agent behavior — but more content isn't better. Overly comprehensive files increase inference cost and can *reduce* task success rates. The most effective context files are short, specific, and contain only instructions that change agent behavior in ways the project actually requires.
Agent Slimmer encapsulates findings from two peer-reviewed studies into a reusable skill that evaluates and rewrites context files to their minimum effective form.
Research basis
- Lulla et al. (2026) — On the Impact of AGENTS.md Files on the Efficiency of AI Coding Agents (arXiv): Focused context files reduced agent completion time by ~28% and output tokens by ~17%.
- Gloaguen et al. (2026) — Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents? (arXiv): LLM-generated context files reduced task success by 3% and increased cost by 20%+. Unnecessary instructions measurably degrade performance.
Usage
Point your AI coding agent at the skill file and provide an `AGENTS.md` (or equivalent) to optimize:
Use the skill in agent-slimmer/slim-agents.md to optimize my AGENTS.md file.
The skill will evaluate the file against research-backed criteria, flag content that should be removed or revised, and produce an optimized version.
What the skill does
- Identifies and removes codebase descriptions the agent could discover on its own (directory trees, component summaries, architecture overviews)
- Identifies and removes content that duplicates existing repository documentation (README, CONTRIBUTING, inline docs)
- Preserves and sharpens behavioral instructions — specific tools, workflows, and constraints
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