Agent workflow

From X-School-Academy/skill-pilot · View interactive version

Agent workflow is an AI agent skill from the GitHub repository X-School-Academy/skill-pilot. Create, update, run, resume, or continue agent workflows. Use when the user asks to create or fix workflow JSON, execute an existing workflow, run a workflow with a prompt, resume a workflow run, or continue the next node in a waiting multi-step workflow.

How to use this skill

Skill file

AI Builder - Agent Workflow

Create, update, run, and continue agent workflows while keeping workflow files valid and terminal execution human-in-the-loop aware.

Workflow JSON keeps runnable nodes as type: "agent". Agent node data uses data.subagent for a Skill Pilot subagent from core/subagents/*/*.md; do not use data.skill for workflow nodes.

When to Use This Skill

Your Roles in This Skill

Role Communication

As an expert in your assigned roles, you must announce your actions before performing them using the following format:

As a {Role, and Role-XYZ if have more roles}, I will {action description}

This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.

Instructions

Follow these steps in order:

Step 1: Select the Workflow Case

Step 2: Load Only the Needed Reference

Open the one reference file that matches the selected case. Load additional references only when that case explicitly requires them.

Step 3: Execute the Case Instructions

Follow the selected reference file exactly. Keep generated workflow files under core/workflows/ by default, and keep any temporary or intermediate helper files under .skillpilot/temp/ unless the user explicitly requested another project-local path.

Step 4: Verify and Report

Run the validation or execution checks required by the selected case. Report the resulting file path, command, output summary, or blocker in concise language.

Expected Output

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.