RO

RooCode — Code Mode System Prompt

Agent Prompt ✦ Curated & attributed Advanced

Full system prompt for RooCode's 'Code' mode, a VS Code agent. It opens with UI/configuration text, then defines an XML-tag tool-use protocol with one-tool-per-message iteration, detailed specs for ~15 tools (read_file, apply_diff, write_to_file, search_and_replace, execute_command, use_mcp_tool, switch_mode, new_task), MCP server concepts, multiple operating modes, hard RULES, system info, and a stepwise OBJECTIVE.

What makes this prompt notable

  • Enforces strict one-tool-per-message with mandatory wait for user confirmation before the next step
  • Requires <thinking> tags for parameter analysis before every tool call
  • apply_diff uses a SEARCH/REPLACE block format with explicit :start_line:/:end_line: markers
  • Forbids opening messages with 'Great', 'Certainly', 'Okay', or 'Sure' and bans conversational tone
  • Documents multi-mode architecture (Code/Architect/Ask/Debug/Boomerang) with file-edit restrictions per mode (architect limited to \.md$)

Discussion (0)

Sign in to join the discussion.
Related

More in IDE & Coding Assistants

VSCode Agent
agent prompt

VSCode Agent (GitHub Copilot) — GPT-5 Agent Prompt

The most elaborate Copilot VS Code agent prompt, for GPT-5. It combines the Copilot identity and refusals with a detailed communication-style guide, m…

role definition tool-use protocol structured diff format specification
239 5.6k 3.7k words
KI
Kiro
system prompt

Kiro — Intent Mode Classifier

A lightweight intent-classification prompt that routes a user message into chat/do/spec modes and returns a JSON object of confidence scores summing t…

classification rubric constraint setting few-shot
226 5.3k 600 words
CU
Cursor
agent prompt

Cursor — Agent Prompt v1.0 (Claude Sonnet 4)

An earlier, leaner Cursor agent prompt (Claude Sonnet 4) focused on tool-calling rules, aggressive parallel tool execution, search-and-reading bias to…

role definition tool-use protocol parallel tool-call maximization
225 7.3k 1.5k words