Agent Prompt Setup
quint-code works out of the box — the MCP tools are always available once you run init.
But adding a project-level prompt file makes the agent significantly better at using quint-code proactively.
What is a project prompt?
Each AI tool reads a specific file from your project root at the start of every session. This file contains project-specific instructions that shape the agent's behavior:
| Tool | Prompt file |
|---|---|
| Claude Code | CLAUDE.md |
| Cursor | .cursorrules |
| Codex CLI | AGENTS.md |
| Gemini CLI | GEMINI.md |
The quint-code repository includes a reference CLAUDE.md that teaches the agent:
- Communication style — direct, no validation theater, peer-level technical discourse
- Thinking principles — weakest link analysis, reversibility checks, separation of concerns
- When to use quint-code — the decision framework for quick choices vs. full FPF mode for complex ones
- FPF commands and workflow — the recommended protocol (frame → char → explore → compare → decide)
- Key concepts — R_eff, evidence decay, CL penalties, Transformer Mandate
- Glossary — quick reference for FPF terminology
Install it
Download the reference file and rename it for your tool:
# Claude Code
curl -fsSL https://raw.githubusercontent.com/m0n0x41d/quint-code/main/CLAUDE.md > CLAUDE.md
# Cursor
curl -fsSL https://raw.githubusercontent.com/m0n0x41d/quint-code/main/CLAUDE.md > .cursorrules
# Codex CLI
curl -fsSL https://raw.githubusercontent.com/m0n0x41d/quint-code/main/CLAUDE.md > AGENTS.md Adapt it to your project. The reference file is opinionated (no emoji, direct communication, functional core / imperative shell). Keep the Quint-specific sections (FPF Mode, Commands, Glossary) and adjust the rest to match your team's style.
What it changes
Without CLAUDE.md:
- Agent uses quint-code tools when you explicitly call slash commands
- No proactive decision capture
- No structured reasoning unless you ask for it
With the prompt file:
- Agent understands when to suggest
/q-reasonfor complex tasks - Agent records micro-decisions as notes when it notices them in conversation
- Agent checks
/q-statusproactively to surface stale decisions - Agent applies weakest link analysis and reversibility checks naturally
- Agent follows the recommended FPF protocol for non-trivial decisions
Keeping it up to date
The reference prompt evolves with quint-code releases. When you update the binary, check if the reference file has changed:
# Compare your version with the latest
curl -fsSL https://raw.githubusercontent.com/m0n0x41d/quint-code/main/CLAUDE.md | diff - CLAUDE.md The Quint-specific sections (FPF Mode, Commands table, Glossary) are the most important to keep current. The general engineering style sections can stay customized.
Next step
How /q-reason works — learn the primary workflow.