evilayman / opencode-raven
PublicHard tool/MCP rerouter for opencode that prevents flooding and wasted context from searches, docs, web, GitHub examples, and verbose MCP calls.
Opencode-Raven is a plugin for the opencode.ai AI coding assistant that intercepts certain tool requests (search, documentation lookup, web browsing) and routes them through a dedicated helper agent called Raven. Instead of letting raw search results flood your conversation, Raven does the work and returns a compact answer. This keeps your main assistant fast and focused, uses less of your AI budget, and gives you control over which tools get managed. Raven auto-configures on install with defaults for common tools, and you can customize routing using simple commands like '/raven route tool add' to add any tool or service prefix you want managed.
How It Works
You notice that when you ask your assistant to search docs, browse websites, or look up examples, the conversation fills up with long, noisy results that slow everything down.
You enable the Raven plugin in your assistant's settings. Raven quietly starts running in the background, ready to help manage your tool requests.
When you ask for help finding something in documentation or on the web, Raven does the searching but hands you only a clean, summarized answer instead of dumping raw results into your chat.
You can tell Raven which tools to manage using simple commands like '/raven route tool add' to add a tool, or '/raven route mcp add' to route all tools from a particular service.
Use '/raven stats' to see how many tokens Raven has saved you across this session and all time — you might be surprised how much room you've gained.
Adjust how deeply Raven thinks with '/raven effort', change how long it waits with '/raven timeout', or swap in a different AI model with '/raven model'.
Your main assistant stays lean and fast because Raven handles all the heavy tool work quietly in the background, returning only the answers you actually need.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.