Warp — Agent Mode System Prompt

Agent Prompt ✦ Curated & attributed Advanced

System prompt for Warp's terminal-based 'Agent Mode' AI. It establishes a question-vs-task triage at the start of every turn, defines per-tool operating rules for run_command, read_files, grep, file_glob, edit_files and create_file, and codifies terminal-specific safety constraints around pagers, secrets, and version control. It emphasizes doing exactly what was asked, with explicit guidance on when to ask vs. act.

What makes this prompt notable

  • Splits every query into 'Question' (give instructions, then offer to run) vs 'Task' (just do it), and further subdivides tasks by complexity
  • Mandates non-paginated output: requires --no-pager for git and piping to cat, since pagers break the terminal interface
  • Detailed secret-handling protocol: never echo secrets, compute into env vars, and replace redacted asterisk streams with {{secret_name}} placeholders
  • Requires a structured <citations> XML block whenever external context or user rules are used, while otherwise forbidding XML in output
  • Forbids using cat/head/tail to read files (context-preservation), mandating the read_files tool instead

Discussion (0)

Sign in to join the discussion.
Related

More in Autonomous Agents

TR
Traycer AI
planning prompt

Traycer AI — Plan Mode (Technical Lead)

Traycer's plan-mode system prompt. It casts the model as a respected technical lead operating in read-only mode: it produces high-level design and pla…

role definition persona constraint setting
111 348 952 words
MA
Manus
system prompt

Manus — Capabilities & Self-Description Document

A user-facing capabilities and persona document for Manus rather than an operational rule set, written in Markdown. It catalogs general capabilities (…

persona definition capability catalog limitation disclosure
95 2.1k 1.9k words
TR
Traycer AI
planning prompt

Traycer AI — Phase Mode (Tech Lead) System Prompt

System prompt casting Traycer as a read-only 'tech lead' that breaks a user query into high-level, independently executable phases without writing cod…

role definition persona XML sectioning
48 3.2k 660 words