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 · recommended by both Bashiri Smith & Melvin Vivas
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: Developers moving from ChatGPT/Codex to Claude (Melvin Vivas on X · notes), Creator Opinion: Codex Is Still the Best at Computer Use (Melvin Vivas on X · notes), OpenAI Codex Ambassador applications are open (Melvin Vivas on X · notes), GPT-Live-1.1: Multilingual Voice Update for ChatGPT and Codex (Melvin Vivas on X · notes) and 264 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: First impressions: Claude Code in the cloud is good and fast (Melvin Vivas on X · notes), Why Claude Code feels faster: gzipped turns and instant cloud sessions (Melvin Vivas on X · notes), Watch What Fills Your Coding Agent's Context and When to Clear (Melvin Vivas on X · notes), Claude Code's Right Sidebar and Context Breakdown (Melvin Vivas on X · notes) and 124 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
Open standard for connecting models to tools and data sources through one interface. It turns an N×M integration problem into N+M.
Also in: Extend Grok Bot with Your Own MCP Servers and Connectors (Melvin Vivas on X · notes), AI Engineer Vocab Quiz: 11 Acronyms to Know for Interviews (Bashiri Smith on Facebook · notes), The 3 AI Engineering Skills: Generative AI, RAG, and Agentic AI (Bashiri Smith on Facebook · notes), xAI's Experimental TypeScript SDK: Grok Text, Voice, Image and Video in One SDK (Melvin Vivas on X · notes) and 11 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.