Prompt library

336 prompts · last added

87 results for “codex-exec” · page 1 of 4

  • Codex Exec CI Fixer: Diagnose, Minimal Fix, Rerun, Stop After 3 Attempts

    Gives codex exec a non-interactive procedure to diagnose a failing CI output, apply a minimal fix, rerun the checks and stop after three attempts with a clear report.

  • 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.

  • Outcome-First Codex Task Writer for a Feature or Bug Request

    Turns a raw feature or bug request into a paste-ready Codex task with a goal, constraints, files in scope, definition of done and exact verification commands.

  • 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.

  • Codex Writes an AGENTS.md for This Repository From the Real Setup

    Has Codex inspect your repository and write a short, accurate AGENTS.md with the real build, test and lint commands, conventions and boundaries, checked by actually running them.

  • Rewrite a Vague Issue into a Copilot Coding Agent-Ready Issue

    Turns a vague GitHub issue into a self-contained task with context, testable acceptance criteria, files to touch, and tests to add, so the Copilot coding agent can finish it.

  • 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.

  • Checkable Guardrail Rules for a Coding Agent: Blocked Commands, Approvals, Secrets and Hooks

    Produces a set of testable guardrail rules for your coding agent, covering blocked commands, approval gates, secret handling and hook checks.

  • Codex Pull Request Review With Comments Ranked by Severity

    Has Codex review a pull request and return comments sorted into blocking, should-fix and nit, each with the file and line, the risk, and a suggested change.

  • 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.

  • Subagent Fan-Out Plan for a Large Codebase Migration

    Plans a big migration so an orchestrating agent can split it into independent chunks for parallel subagents, each with a clear brief, a verification command and merge rules.

  • 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.

  • Subagent Roster Designer for Your Coding Project

    Produces a 3-5 subagent roster with system prompts, minimal tool permissions, model tiers and explicit handoff rules for your project.

  • Agent Run Post-Mortem: Trace Root Cause and Prompt or Tool Fixes

    Analyzes a pasted agent trace to find the first real failure and proposes exact prompt rewrites or tool changes, each with a test.

  • 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.

  • 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.

  • Executive Decision Memo Builder With Options, Risks, and Recommendation

    Turns a pending business decision into a one-page-style decision memo with scored options, explicit assumptions, risks, missing information, a recommendation, and next actions an executive can approve or reject.

  • Research, Writer and Editor Agent Pipeline With a Handoff Schema

    Designs a three-agent content pipeline where a researcher, writer and editor pass structured handoffs, with the exact fields each agent receives and returns and checks between stages.

  • Cursor .mdc Rules to Portable AGENTS.md Converter

    Converts your pasted Cursor .mdc rules into a single AGENTS.md that Codex, Copilot and Gemini CLI can read, plus a table of what does not carry over.

  • 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.

  • Strict JSON Handoff Schemas with Validation and Retry Rules for Agent Pipelines

    Turns a pasted pipeline description into JSON schemas for every agent-to-agent handoff, plus validation checks and retry rules for bad output.

  • 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.

  • Parallel Git Worktree Task Split with Interface Contracts and Merge Order

    Turns a pasted feature spec into independent coding-agent tasks with file ownership, interface contracts, a merge order and a done command for each task.

Guide

Using the library

  1. Narrow the list by type, tool or topic, or search for the task you have.
  2. Copy a prompt from its card, or open it to read it in full and fill in the blanks first.
  3. Paste it into your AI tool and check the answer against the format the prompt asks for.

Nothing that fits? Write a prompt with AI.

What is in the prompt library?

336 copy-ready prompts for productivity, writing, business and coding and more. Each one sets the role, the steps and the output format, and marks the parts you fill in with curly brackets.

Which AI tools are the prompts written for?

Most are written for ChatGPT (285), Gemini (260), Claude (217) and Midjourney (42); the number is how many prompts list that tool. Each prompt page lists its tools, and most text prompts also work in any capable chat model.

What are the highlighted blanks?

Words in curly brackets, such as {audience}, are the parts you replace with your own details. Choose “Ready to use (no blanks)” in the filters to see prompts you can paste as they are.

How are the prompts sorted?

By how often they are copied, unless you choose another order. Newest shows the latest additions first. Trending ranks prompts by copies, opens and saves over the last two weeks.

Do I need an account?

No. Every prompt is free to copy or open in your AI tool. A free account lets you save prompts to your vault.

Can I write my own prompt?

Yes. Write with AI asks what you need, builds a short form for it, and writes the prompt as you fill it in.