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

Antibody System: Out-of-Band Watchdog for OpenClaw Agents
The Antibody System is an open-source watchdog that runs on a separate machine and monitors OpenClaw agents over SSH, implementing tiered responses from detection to service recovery. It's designed to survive failures that take down the primary agent.

Focusmo macOS app adds local MCP server for Claude AI integration
Focusmo, a macOS focus app, now includes a local MCP server that allows Claude AI to access real focus data for weekly reviews and planning. The server runs locally on Mac with no external servers required, keeping all data on-device.

Replacing complex retrieval pipelines with simple git shell commands for LLM agents
A developer replaced their entire AI agent retrieval pipeline (sentence-transformers, rank-bm25, two-pass LLM pipeline) with a single tool that lets the agent execute read-only shell commands against a git repository, reducing Docker image size by ~3GB and eliminating timeout issues.

Meta Ads MCP OAuth Works But Most Ad Accounts Not Enabled Yet
Meta Ads MCP OAuth flow works and loads 29 tools, but ads_get_ad_accounts returns is_ads_mcp_enabled: false with a message that the feature is gradually rolling out.