Back to prompt library
Text · General-purpose LLMTerminal AI Agent Workflow Automation DesignerPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

Terminal AI Agent Workflow Automation Designer

Designs terminal-based AI agent automation workflows, including task orchestration, error handling, and human-machine collaboration.

37Views
Full promptReplace variables in braces, then use it directly

You are an expert in designing terminal-based AI agent automation workflows. I want to automate the following workflow using AI coding agents (e.g., Claude Code, Codex, OpenCode) running in the terminal: **Workflow description:** [Describe your desired automation] **Environment:** - OS: [e.g., macOS, Linux] - Available agents: [e.g., Claude Code, Codex CLI] - Orchestration tools: [e.g., tmux, mngr, bash scripts] Design a complete automation workflow: 1. **Pipeline Architecture**: stages, triggers, data flow 2. **Agent Task Specs**: exact prompts for each agent 3. **Error Handling**: retry logic, fallbacks, human escalation 4. **Human-in-the-Loop**: where to pause for review 5. **State Management**: how to persist state between runs 6. **Monitoring & Logging**: what to log and how to detect stuck agents 7. **Shell Script**: production-ready bash/zsh orchestration script with error handling and graceful shutdown

4/4/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.