Skip to main content
The MCP server gives your agent the seven Preuve tools. This skill gives it the judgment: which scan type to pick, how to sequence start → poll → enrich → export, what each error code means, and when a retry is safe. Install it once and your agent stops learning these lessons on your quota.

What it prevents

Without guidance, agents connected to the Preuve MCP server tend to make four specific mistakes (we tested):
  1. Inverted retry semantics — minting a fresh clientRunId after every failure, which risks double-spending deep scans. The correct rule: a failed run that never attached a report retries with the same id (it resets and re-dispatches, refunded); only report-attached outcomes need a new id.
  2. Exporting to “see what’s there” — the export never returns partial data; a non-ready analysis is always a 409 sequencing signal, not a failure.
  3. Misreading starter exportsdetails.citations is available on every tier; agents without the skill assume it’s deep-only and under-report sources.
  4. Missing the 503 INSUFFICIENT_TIME_BUDGET retry — a founder-fit call that ran out of wall clock succeeds on a simple re-call.

Install (Claude Code)

Save the skill below as .claude/skills/preuve-agent-api/SKILL.md in your project (or ~/.claude/skills/preuve-agent-api/SKILL.md for all projects). Claude Code picks it up automatically; the skill triggers whenever a conversation involves validating ideas with the Preuve tools. Agents can also fetch this page directly as Markdown: https://docs.preuve.ai/agent-skill.md.

The skill

The skill is a static document — it carries no credentials and makes no calls itself. Auth still comes from the two environment variables on the MCP server.

Other agent frameworks

The skill body is plain Markdown. For agents that don’t support Claude Code skills, drop the same content wherever your framework accepts standing instructions (a system prompt include, a AGENTS.md / .cursorrules section, a RAG document). Everything below the frontmatter works standalone.