AI agent prompts

74 prompts

Prompts for coding agents and agent workflows, from Claude Code, Codex and Cursor to multi-agent pipelines. They read like task briefs: the goal, the scope, the tools allowed and the checks that prove the work is done.

74 results · page 1 of 4

  • Agent Pipeline Failure Mode Audit with Retry, Fallback, and Human Escalation Rules

    Audits an existing multi-agent pipeline for failure modes and produces retry limits, fallback paths, escalation triggers, and a test plan. Supports the decision on what to harden before wider rollout.

  • Dependency Graph Planner for a Multi-Agent Software Release Workflow

    Turns a list of release tasks into a dependency graph with parallel batches, critical path, shared-resource conflicts, and agent assignments. Supports the decision on what to run now versus wait on.

  • Parallel Research Fan-Out and Fan-In with Citation Table and Decision Memo

    Splits a research question across parallel research agents, defines source discovery and evidence review steps, merges findings into a citation table, and produces a decision memo without claiming live browsing.

  • Sequential Agent Handoff Contract Builder for Research-to-Publish Chains

    Designs the handoff contracts, stop conditions, and review gates for a sequential chain such as researcher, writer, editor, and fact-checker. Helps you decide whether the chain is ready to run.

  • Coding Agent Task Brief with Guardrails, Test Plan, and Rollback Steps

    Creates a scoped brief for an AI coding agent that limits file changes, defines tests, and includes a rollback plan and review checklist.

  • Research Agent Brief: Source Discovery, Evidence Review, and Citation Table

    Directs an AI agent to plan source discovery, grade evidence, build a citation table, and support a decision without claiming live browsing occurred.

  • Tool Permission Matrix and Function Spec for a Tool-Using Agent

    Produces a least-privilege tool inventory, function definitions, and approval rules for an agent that calls APIs or internal systems.

  • Agent Run Pre-Mortem and Self-Correction Loop Designer

    Designs verification checks, error handling, and a self-correction loop for an agent task before it runs, based on likely failure modes.

  • Agent Workflow Decomposition with Autonomy Levels and Stop Rules

    Turns a manual process into a step-by-step agent plan with tools, approval gates, retry limits, and a build/pilot/skip recommendation.

  • Cursor Characterization-Test-First Refactor of a Legacy Module

    Has Cursor lock in current behavior with characterization tests before restructuring a legacy module in small steps, so you can decide whether the refactor preserved behavior and is safe to merge.

  • Cursor Incremental Dependency Migration Plan and Codemod Execution

    Plans and executes a library or framework version migration in Cursor in small, verifiable batches, with an impact inventory, rollback points, and per-batch test gates instead of one risky bulk edit.

  • Cursor Agent Bug Triage: Reproduce, Root-Cause, Fix, and Regression Test

    Guides Cursor Agent through reproducing a bug, isolating the root cause with evidence, applying a minimal diff, and adding a regression test, ending with a verification checklist and risks.

  • Unit Test Plan and Test Code for an Existing Function

    Builds a behavior-based test matrix for a function or module and then generates test code in your framework. Covers edge cases, failures, and mocking boundaries, with coverage gaps stated honestly.

  • Root Cause Analysis from Stack Trace and Logs

    Turns an error report, stack trace, and logs into ranked root-cause hypotheses. Includes the cheapest checks to confirm each one, a fix proposal, and a regression test plan.

  • Pull Request Review with Merge Recommendation

    Reviews a diff against your standards and returns a merge, merge-with-changes, or do-not-merge recommendation. Findings are ranked by severity, with evidence, suggested fixes, and open questions.

  • Codex Characterization-Test-First Refactor with Verification Handoff

    Runs a behavior-preserving refactor in Codex exec. It pins current behavior with characterization tests, refactors in small verified steps inside an allowed scope, and ends with an evidence-based handoff for the merge decision.

  • Codex CI Failure Triage: Reproduce, Classify, Fix or Hand Off

    Guides Codex through reproducing a failing CI job locally, classifying the cause as code, test, environment, or flaky, applying a minimal fix when safe, and producing an evidence-based handoff for anything it cannot resolve.

  • Codex Pre-Merge Diff Review with Severity-Ranked Findings

    Has Codex review a branch diff against a base ref in read-only mode. It checks correctness, tests, security, and maintainability, and returns evidence-backed findings with severity and a merge recommendation.

  • Codex Read-Only Repo Investigation for a Bug Report

    Runs a read-only Codex investigation that maps the relevant code paths, test commands, and likely root causes for a bug report. It ends with a ranked hypothesis table and a go/no-go recommendation before any edits.

  • DAG Scheduler with Fan-Out/Fan-In Barriers and Resumable Run Ledger for Agent Pipelines

    Guides Claude Code to build or refactor a dependency-aware DAG scheduler for agent phases, with cycle validation, bounded parallelism, join policies, retries, and an append-only run ledger so interrupted runs resume without redoing finished nodes.

  • Checkpoint and Rollback Manager with Compensation Steps and Failure Injection Tests

    Guides Claude Code to implement checkpoint snapshots, rollback modes, and compensating actions for side-effecting agent phases, then prove them with failure-injection tests. Helps you decide the rollback strategy per phase.

  • Typed Phase Handoff Contracts and Validator for Multi-Agent Pipelines

    Has Claude Code define schema-based handoff contracts between agent phases, generate a validator, and add contract tests. Supports the decision of which phase boundaries need strict contracts versus lightweight checks.

  • Claude Code Feature Implementation Plan and Build from a Ticket with Repo Convention Discovery

    Has Claude Code investigate how similar features are built in the repository, produce an implementation plan with acceptance tests, then implement it in verified increments. Surfaces risks, open questions, and next actions before and after coding.

  • Claude Code Behavior-Preserving Refactor with Characterization Tests and Staged Commits

    Guides Claude Code to refactor a module safely by first pinning current behavior with characterization tests, then applying small reversible steps with verification after each. Delivers a diff, risk register, and rollback plan.

About AI agent prompts

How is an agent prompt different from a chat prompt?

An agent acts: it reads files, runs commands and edits code. So the prompt sets limits and a way to verify the result, not only the answer you want.

Which agents do these prompts work with?

Coding agents such as Claude Code, Codex, Cursor and Copilot's agent mode, plus prompts for designing your own multi-agent pipelines. Each prompt lists its tools.

Should I review what the agent does?

Yes. Run agents in a branch or a sandbox, read the diff and the commands they ran, and keep approval on for anything that deletes data or deploys.