Lean Context: Claude Code Plugin Converts Verbose Docs to Agent-Optimized Files

A Claude Code plugin called Lean Context automates the conversion of human-centric technical documentation into agent-optimized context files. The tool is based on findings that verbose context files can reduce agent success rates by approximately 3% and increase costs by 20%, as indicated by research linked in the source. The plugin's purpose is to retain only the information an AI agent cannot easily discover on its own, such as non-obvious commands, gotchas, and environment-specific quirks.
How It Works
The plugin scans your project documentation and strips out content that an agent could find by using grep or similar search methods. This filtering process aims to keep the essential context that provides unique guidance beyond what's already embedded in the codebase.
Performance Example
When tested against a .NET e-commerce project, the plugin processed 8 documents containing 1,263 lines of input documentation and produced a condensed output of just 23 lines.
Installation and Access
The plugin is available for installation directly within Claude Code using the command:
/plugin marketplace add asarnaout/lean-contextIt is free and open-source, released under the MIT license. The source code and further details can be found on GitHub at https://github.com/asarnaout/lean-context.
The author, who posted about the tool on Reddit, is soliciting reviews and feedback from users.
📖 Read the full source: r/ClaudeAI
👀 See Also

pop-pay MCP server adds payment guardrails for Claude Code agents
pop-pay is an MCP server that lets Claude Code agents handle purchases without exposing credit card numbers. It uses CDP injection to place virtual card credentials directly into payment iframes, with Claude only receiving masked confirmation numbers.

AgentMail Founder Details Agent-Native Onboarding After OpenClaw Exposed CAPTCHA Block
AgentMail, an email API for AI agents, rebuilt its onboarding flow after its own OpenClaw agent failed at a Cloudflare CAPTCHA. The new system offers a single REST endpoint for programmatic account creation while keeping humans in the loop for verification.

DESIGN.md: A format spec for describing visual identity to coding agents
DESIGN.md combines YAML design tokens with markdown prose to give AI coding agents a persistent, structured understanding of a design system. Includes a linter and diff tool.

Reseed CLI: Extract Design Systems from Any Site for Claude Code and Cursor
Reseed is a CLI that extracts design tokens (colors, spacing, type scale, radii) from any website and generates a tailwind.config.ts, design-system.md, and reference HTML for Claude Code and Cursor to use.