Workflow Orchestrator logo

Workflow Orchestrator

Community
zhaono1
workflow-orchestrator

Coordinates multi-skill workflows and records or runs follow-up actions when the host runtime supports them. Use when completing PRD creation, implementation, or any milestone that should be evaluated for additional skills.

Overview

Publisherzhaono1
Repositoryagent-playbook
Skill nameworkflow-orchestrator
Stars
79
Forks
12
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by zhaono1 on GitHub. Read the source before you install it.

Installation

Install the Workflow Orchestrator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zhaono1/agent-playbook.git /tmp/agent-playbook
mkdir -p .claude/skills
cp -r /tmp/agent-playbook/skills/workflow-orchestrator .claude/skills/workflow-orchestrator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Workflow Orchestrator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Workflow Orchestrator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Workflow Orchestrator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Workflow Orchestrator

A skill that coordinates workflows across multiple skills by evaluating hook metadata, recording pending follow-ups, and running only the actions that are safe and supported in the current host runtime.

When This Skill Activates

This skill should be used when:

  • A skill completes its main workflow
  • A milestone is reached (PRD complete, implementation done, etc.)
  • User says "complete workflow" or "finish the process"

How It Works

┌─────────────────────────────────────────────────────────────┐
│                    Workflow Orchestration                   │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  1. Detect Milestone → 2. Read Hooks → 3. Record/Run Safe Follow-ups │
│                                                             │
│  prd-planner complete                                       │
│       ↓                                                     │
│  workflow-orchestrator                                      │
│       ↓                                                     │
│  ┌─────────────────────────────────────┐                   │
│  │ declared self-improving follow-up   │ (record/run)       │
│  │ declared session logging follow-up  │ (record/run)       │
│  └─────────────────────────────────────┘                   │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Trigger Configuration

Read trigger definitions from skills/auto-trigger/SKILL.md:

yaml
hooks:
  after_complete:
    - trigger: self-improving-agent
      mode: background
    - trigger: session-logger
      mode: auto
  on_error:
    - trigger: self-improving-agent
      mode: background

Execution Modes

ModeBehaviorUse When
autoRun or record a low-risk follow-up when the host supports itLogging, status updates
backgroundRecord a non-blocking follow-upReflection, analysis
ask_firstAsk user before executingPRs, deployments, major changes

Milestone Detection

PRD Complete

markdown
Detected when:
- docs/{scope}-prd.md exists
- All phases in {scope}-prd-task-plan.md are checked
- Status shows "COMPLETE"

Actions:
1. Record self-improving-agent as a background follow-up
2. Run or record session-logger if the host supports it

Implementation Complete

markdown
Detected when:
- All PRD requirements implemented
- Tests pass
- Code committed

Actions:
1. Ask before running code-reviewer
2. Run create-pr only when the user requested submission
3. Run or record session-logger if the host supports it

Self-Improvement Applied

markdown
Detected when:
- Candidate validated with auditable evidence
- One named durable owner changed
- Representative behavior rerun
- Candidate recorded as applied

Actions:
1. Ask before running create-pr
2. Run or record session-logger if the host supports it

Learning Candidate (Skill Complete)

markdown
Detected when:
- A skill completes its workflow and produces reusable evidence
- User provides feedback
- Error or issue encountered

Actions:
1. Record self-improving-agent as a background follow-up
2. Run or record session-logger if the host supports it

The self-improving-agent:
- Captures a candidate only when reusable evidence exists
- Excludes raw transcripts and private tool payloads
- Keeps uncertain findings under observation
- Validates candidates only with explicit, auditable evidence
- Applies validated changes only to a named durable owner with a change reference
- Proves the representative behavior after application

Error Handling (on_error)

Detected when:

  • A command returns non-zero exit code
  • Tests fail after following skill guidance
  • User reports the guidance produced incorrect results

Actions:

  1. Record self-improving-agent (background) for self-correction
  2. Run or record session-logger to capture error context

Hook Implementation in Skills

To declare follow-up metadata, add this section to any skill's SKILL.md:

markdown
## Auto-Trigger (After Completion)

When this skill completes, record or run supported follow-ups:

```yaml
hooks:
  after_complete:
    - trigger: skill-name
      mode: auto|background|ask_first
      context: "relevant context"
  on_error:
    - trigger: self-improving-agent
      mode: background

Current Hook Contract

Hook metadata is declarative intent, not proof of CLI automation. Read the current skill front matter before acting. An absent hook means no declared follow-up; an existing hook still requires host support and the permission boundary for the target action.

Universal Learning Pattern

┌─────────────────────────────────────────────────────────────┐
│                  Skill Completes With Evidence              │
└──────────────┬──────────────────────────────────────────────┘
    ┌──────────────────────┐
    │ workflow-orchestrator │
    └──────────┬───────────┘
    ┌──────────┴─────────┐
    ↓                   ↓
self-improving-agent  session-logger
    ↓                   ↓
Capture candidate     Save bounded context
    ↓                   ↓
Validate evidence     Log session
Apply to named owner
create-pr (only if submission was requested)

## Workflow Examples

### Example 1: PRD Creation Workflow

User: "Create a PRD for user authentication" ↓ prd-planner executes ↓ Phase 6 complete: PRD delivered ↓ workflow-orchestrator detects milestone ↓ ┌─────────────────────────────────┐ │ Background: self-improving-agent │ → Records learning proposal │ Auto: session-logger │ → Saves session when supported └─────────────────────────────────┘


### Example 2: Full Feature Workflow

User: "Create a PRD and implement it" ↓ prd-planner → workflow-orchestrator ↓ self-improving-agent (candidate capture only) ↓ prd-implementation-precheck ↓ implementation complete → workflow-orchestrator ↓ code-reviewer → optional candidate capture ↓ create-pr (only when requested) → workflow-orchestrator ↓ session-logger


Each milestone can produce a `self-improving-agent` follow-up, but durable
skill edits still require validation or explicit approval.

## Implementation Steps

### Step 1: Detect Milestone

Check for completion indicators:

```bash
# PRD complete?
grep -q "COMPLETE" docs/{scope}-prd-task-plan.md

# All phases checked?
grep -q "^\- \[x\].*Phase 6" docs/{scope}-prd-task-plan.md

# PRD file exists?
ls docs/{scope}-prd.md

Step 2: Read Trigger Config

bash
# Read hooks from auto-trigger skill
cat skills/auto-trigger/SKILL.md

Step 3: Record or Execute Hooks

For each hook in order (before_start, after_complete, on_error):

  1. Check if condition is met
  2. Record or execute based on mode and host support
  3. Pass context to triggered skill
  4. Wait/continue based on mode

Step 4: Update Status

Log what was triggered and the result:

markdown
## Workflow Execution

- [x] self-improving-agent (background) - Started
- [x] session-logger (auto) - Session saved
- [ ] create-pr (ask_first) - Pending user approval

Skills with Auto-Trigger

SkillTriggers After
prd-plannerself-improving-agent, session-logger
self-improving-agentNo automatic PR; applied changes may declare a logging follow-up
prd-implementation-precheckself-improving-agent, session-logger
code-reviewerself-improving-agent, session-logger
create-prsession-logger
refactoring-specialistself-improving-agent, session-logger
debuggerself-improving-agent, session-logger

Adding Follow-up Metadata to Existing Skills

To add follow-up metadata to an existing skill, add to the end of its SKILL.md:

markdown
---

## Auto-Trigger

When this skill completes, record or run supported follow-ups:

```yaml
hooks:
  after_complete:
    - trigger: session-logger
      mode: auto
      context: "Save session context"

For more complex triggers, specify mode and context:

```markdown
## Auto-Trigger

When this skill completes:

```yaml
hooks:
  after_complete:
    - trigger: next-skill
      mode: background
      context: "Description"
    - trigger: session-logger
      mode: auto
      context: "Save session"
    - trigger: create-pr
      mode: ask_first
      context: "Create PR if files modified"
  on_error:
    - trigger: self-improving-agent
      mode: background

## Best Practices

1. **Log only when supported and appropriate** - Session logging is a bounded optional follow-up
2. **Ask before major actions** - PRs, deployments, destructive changes
3. **Background for analysis** - Reflection, evaluation, optimization
4. **Auto for status** - Logging, status updates, bookmarks
5. **Don't create loops** - Ensure chains terminate

Frequently asked questions

What does the Workflow Orchestrator AI skill do?

Coordinates multi-skill workflows and records or runs follow-up actions when the host runtime supports them. Use when completing PRD creation, implementation, or any milestone that should be evaluated for additional skills.

Why use Workflow Orchestrator on TypingMind?

Because you install it once and use it with any model. Workflow Orchestrator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Workflow Orchestrator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zhaono1/agent-playbook/tree/main/skills/workflow-orchestrator. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Workflow Orchestrator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Workflow Orchestrator?

As many as you like. As long as a model supports skills, you can use Workflow Orchestrator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Workflow Orchestrator AI skill free?

Yes. It is published on GitHub by zhaono1 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇