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

Open Source AI Agent Prompt Library Reaches 100 GitHub Stars
A community repository called ai-setup provides shared system prompts, Cursor rules, Claude configs, and local model workflow setups for AI agents. The project has 100 GitHub stars and 90 merged PRs.

AutoSkillUpdate: A Claude Code Plugin That Detects Outdated Skills
AutoSkillUpdate is an open-source Claude Code plugin that scans your codebase, compares it against existing skills, and identifies drift. It provides drift reports with file paths and line references, then offers to rewrite outdated skills with user confirmation.

Pali v0.1: Open Source Memory Infrastructure for LLMs with Reproducible Benchmarks
Pali is an open source memory infrastructure for LLMs built in Go as a single binary with multi-tenant APIs, hybrid retrieval, and plug-and-play extensions. The v0.1 release includes a benchmark suite with reproducible results showing performance metrics for different configurations.

Claude Code adds agent team-based review system in research preview
Claude Code now includes a thorough code review system modeled on Anthropic's internal process, using agent teams. The feature is available in research preview.