RepoPrompt 2.0 Agent: Context Builder + Oracle for Code Review and Planning
Melvin Vivas · X video post · 2026-03-01 · 4:35 · 210 views · Open on X
Topics: AI Dev Tools & Productivity, Prompt & Context Engineering, AI Agents, Tool Use & MCP · Level: intermediate
Summary
Melvin Vivas shares a demo of RepoPrompt 2.0, an agent with RepoPrompt's MCP tools built in. In the demo, the Review workflow checks uncommitted changes. A "context builder" collects the relevant files and diffs (12 files, about 50k tokens) into one prompt. An "oracle" model then reviews that prompt and writes a plan for the agent to carry out. The video's main lesson is context engineering: give a stuck agent a clean, well-chosen context and a second opinion so it stops going in circles.
Key points
- RepoPrompt 2.0 has built-in workflows: Plan & Build, Review, Refactor and Investigate.
- Review workflow: the model first confirms the review scope (here, only uncommitted changes), then runs the context builder.
- The context builder searches the repo, picks the relevant files and diffs, and packs them into one context prompt. In the demo that was 12 files and about 50k tokens, sent to the review model.
- The oracle's answer gives prioritized findings (P0/P1) and concrete suggestions. It also gives a compact map of the context it used, so the agent knows which files to open.
- You can mix models. A chat agent (Codex, Claude or Gemini) can call the context builder and oracle, which can run on GPT models: one model to talk to, a stronger one to reason.
- When an agent is deep in a chat or going in circles, asking the oracle for a second opinion with fresh context gives it a bird's-eye view of the problem.
- RepoPrompt runs the agent CLIs already installed on your machine with your existing subscriptions. The creator says this avoids OAuth-token tricks that break terms of service. For Codex it uses the Codex app server.
- Typical loop: review, then ask the oracle for a plan that covers all review recommendations, then tell the agent to 'get to work'.
Resources mentioned
- RepoPrompt · tool · repoprompt.com · check price
Context-engineering app for coding agents. It has MCP tools, a context builder, an oracle, and Review/Plan/Refactor/Investigate workflows. - OpenAI Codex · tool · openai.com · paid
OpenAI's coding agent. In the diagram it writes code, fixes review findings and drives the build loop. The creator also used it to make this video.
Also in: An agent bot that installs and drives Codex on its own (Melvin Vivas on X · notes), Asking a Coder bot to install Codex (Melvin Vivas on X · notes), Sign in with ChatGPT: Setting Usage Limits for Each App (Melvin Vivas on X · notes), Codex Cloud Environments Must Be Saved & Published Before Use (Melvin Vivas on X · notes) and 240 more - Claude Code · tool · code.claude.com · paid · recommended by both Bashiri Smith & Melvin Vivas
Build agents and pipelines from the terminal; the guide's main agentic coding tool.
Also in: Create Claude Code Plugins with /plugin-authoring (Melvin Vivas on X · notes), Claude Code mods: customize behavior and UI with plugins (Melvin Vivas on X · notes), AI Engineer Roadmap Overview: From ML Foundations to RAG, Agents & Ops (Bashiri Smith on Facebook · notes), SkillsBento: Free Plugin Marketplace for Codex and Claude Code (Melvin Vivas on X · notes) and 101 more - Gemini CLI · tool · github.com · free
Google's open-source terminal AI agent, which the creator says has been discontinued.
Also in: Google Retires Gemini CLI, Launches Antigravity CLI (Melvin Vivas on X · notes), Google Shuts Down Gemini CLI and Firebase Studio (Melvin Vivas on X · notes), Gemini CLI sunset for individual tiers: migrate to Antigravity CLI (Melvin Vivas on X · notes), Gemini CLI Adds Subagents with Separate Context Windows (Melvin Vivas on X · notes) - Codex app server · tool · developers.openai.com · free
Part of OpenAI Codex that lets you build your own UI or client on top of the Codex agent. - Model Context Protocol (MCP) · docs · modelcontextprotocol.io · free · recommended by both Bashiri Smith & Melvin Vivas
An open standard for connecting LLM apps and agents to tools and data sources. The official docs explain how it works and how to build servers and clients.
Also in: Grok Bot Templates: Sharing, Publishing and Safely Installing Bots (Melvin Vivas on X · notes), 8-Week Roadmap to a $200K+ AI Engineering Role (Bashiri Smith on Facebook · notes), Paste Documentation URLs into Codex Instead of Using MCP (Melvin Vivas on X · notes), OpenAI Agents API: Hosted Codex Harness for Long-Running Cloud Agents (Melvin Vivas on X · notes) and 7 more
Try this
- Try RepoPrompt with the coding agent CLI you already use (Codex, Claude or Gemini).
- Before trusting a complex AI-generated change, run a Review limited to uncommitted changes.
- When your agent goes in circles, ask an oracle or stronger model for a plan using a fresh, curated context.
- Build your own UI or client on top of the Codex app server.