·optimize-agent-docs
""

optimize-agent-docs

petekp/agent-skills

Build a retrieval-optimized knowledge layer over agent documentation in dotfiles (.claude, .codex, .cursor, .aider). Use when asked to "optimize docs", "improve agent knowledge", "make docs more efficient", or when documentation has accumulated and retrieval feels inefficient. Generates a manifest mapping task-contexts to knowledge chunks, optimizes information density, and creates compiled artifacts for efficient agent consumption.

5Installs·1Trend·@petekp

Installation

$npx skills add https://github.com/petekp/agent-skills --skill optimize-agent-docs

SKILL.md

Transform accumulated documentation into a retrieval-optimized knowledge system.

File organization is a human concern. Agents don't browse—they search and load. Optimize for:

Break content into retrieval units—the smallest self-contained piece of information that makes sense alone.

Build a retrieval-optimized knowledge layer over agent documentation in dotfiles (.claude, .codex, .cursor, .aider). Use when asked to "optimize docs", "improve agent knowledge", "make docs more efficient", or when documentation has accumulated and retrieval feels inefficient. Generates a manifest mapping task-contexts to knowledge chunks, optimizes information density, and creates compiled artifacts for efficient agent consumption. Source: petekp/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/petekp/agent-skills --skill optimize-agent-docs
Category
""Writing
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is optimize-agent-docs?

Build a retrieval-optimized knowledge layer over agent documentation in dotfiles (.claude, .codex, .cursor, .aider). Use when asked to "optimize docs", "improve agent knowledge", "make docs more efficient", or when documentation has accumulated and retrieval feels inefficient. Generates a manifest mapping task-contexts to knowledge chunks, optimizes information density, and creates compiled artifacts for efficient agent consumption. Source: petekp/agent-skills.

How do I install optimize-agent-docs?

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

Where is the source repository?

https://github.com/petekp/agent-skills