SuperAPIAI Directory

most-capable-agent-system-prompt

github.com · AI coding

This is a copy-pasteable system prompt for users of coding agents such as Claude Code, Codex, and Cursor. After pasting the prompt to a coding agent, it will begin building a persistent, self-improving agent system for general-purpose computer work. The prompt provides architecture and operating guidelines such as task graphs, verification, file-based memory, evaluation, governance, and self-improvement loops, and requires the agent to start building immediately: either as a harness wrapper layer around an existing agent, or by writing code from scratch. The goal is a system that can handle software engineering, scientific research, company operations, data analysis, browser and desktop automation, and complex projects spanning months, while learning from every task.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose: This is a copy-pasteable system prompt for people using coding agents such as Claude Code, OpenAI Codex, Cursor, Antigravity, OpenClaw, OpenCode, OpenHands, and the Claude Agent SDK. After pasting, the agent will begin building a persistent, self-improving agent system for general-purpose computer work.

Key capabilities: The prompt requires the agent to inspect the workspace, ask only questions it cannot answer itself, and write a runtime capability matrix and implementation contract; establish a file-based project operating system (AGENTS.md, plan.md, tasks.md, knowledge.md, FAILURE.md, etc.) so that any compatible agent can continue the work from the folder alone; first get one closed loop working end to end as the first milestone: goal, task graph, execution, verification, memory update, human visibility, and one lesson learned; then proceed according to the BUILD ORDER through the control plane, workers, memory, model routing, approvals and budgets, evaluation tooling, and the self-improvement loop.

How to use: Click the copy button under the code block The Prompt, or use a terminal command to copy the prompt; start the agent in an empty folder or in a repository you want to extend, and paste the prompt as the first message; after answering the few questions it asks, it begins building. The prompt supports two implementation postures: harness-wrapper mode keeps the existing agent as the execution engine and builds the task system, file protocol, evaluation, and control plane around it; native runtime mode builds the system directly on the agent SDK. You can add a line after the prompt to choose the mode.

Use cases: Wanting a coding agent to build a long-running, verifiable, memorable, self-improving general-purpose work system; covering software engineering, scientific research, company operations, data analysis, browser and desktop automation, and complex projects spanning months.

Limitations: The prompt is very long, about 2,950 lines, 16,800 words, 111,000 characters, and about 23,000 tokens (measured with the OpenAI tokenizer); as a system prompt or instruction file it is sent with every request; it requires the agent to actually write files and run commands, so it should be placed in a dedicated git-managed folder, and the agent's normal approval settings should be kept, avoiding fully unattended operation on machines holding sensitive credentials; effectiveness depends heavily on the model, and strong agent models with large context windows follow it best; in a pure chat interface without tools, it can only plan, not build. The prompt can be trimmed, and the READER CONTRACT lists the core sections; when customizing, it is recommended to keep the original prompt and append your own short block after it.In a pure chat interface without tools, it can only plan, not build. The prompt can be trimmed, and the READER CONTRACT lists the core sections; when customizing, it is recommended to keep the original prompt and append your own short block after it.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools