Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计提醒

workflow-orchestrator工作流程协调器

Agent Skill

workflow-orchestrator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,152

周安装

49

GitHub Stars

12

下载量

404
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:workflow-orchestrator(工作流程协调器)
来源仓库:https://github.com/scientiacapital/skills
仓库路径:skills/workflow-orchestrator
安装命令:
npx skills add https://github.com/scientiacapital/skills --skill workflow-orchestrator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/scientiacapital/skills --skill workflow-orchestrator

简介

workflow-orchestrator 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可结合来源仓库和原始 README 进一步核验具体用法和功能边界。

SKILL.md

<quick_start> Start session:

pwd && git status && git log --oneline -5
cat PROJECT_CONTEXT.md 2>/dev/null

→ Auto-spawns Observer team (non-negotiable)

Feature development: Contract → Builder Team → Observer monitors → Security gate → Ship

End session:

  1. Observer final report
  2. Security sweep: gitleaks detect --source.
  3. Update PROJECT_CONTEXT.md
  4. Log costs to costs/daily-YYYY-MM-DD.json </quick_start>

<success_criteria> Workflow is successful when:

  • Context scan completed at session start
  • Observer team spawned and monitoring (non-negotiable)
  • Contract defined before any feature implementation
  • Observer BLOCKER gate checked before phase transitions
  • Security sweep passes before any commits
  • Cost tracking updated (daily.json, mtd.json)
  • Observer final report generated at end of day
  • PROJECT_CONTEXT.md updated at session end
  • All security gates passed before shipping </success_criteria>
  • Session Management: "start day", "begin session", "what's the status", "end day", "wrap up", "done for today"
  • Feature Development: "new feature", "build", "implement"
  • Dual-Team: "dual team", "observer team", "builder team", "spawn observers", "devil's advocate"
  • Debugging: "debug", "investigate", "why is this broken"
  • Research: "research", "evaluate", "should we use"

DUAL-TEAM ARCHITECTURE

Every session runs two concurrent teams under the Orchestrator:

              ORCHESTRATOR
              ┌────┴────┐
        BUILDER TEAM   OBSERVER TEAM
        (ships fast)   (watches quality)
        ├ Lead Builder  ├ Code Quality (haiku)
        ├ Builder(s)    └ Architecture (sonnet)
        └ Devil's Adv.    └─ (Devil's Advocate)

Observer team is non-negotiable. It always runs, even for "small" changes.

  • Builders optimize for velocity — ship features via worktrees or subagents
  • Observers optimize for correctness — detect drift, debt, gaps, scope creep
  • Devil's advocate on each team prevents groupthink and blind spots

Observers write findings to .claude/OBSERVER_*.md with severity levels:

  • 🔴 BLOCKER — stop work, fix immediately
  • 🟡 WARNING — fix before merge or log
  • 🔵 INFO — backlog

Deep dive: See reference/dual-team-architecture.md


START DAY

Pre-Flight Checks

git status --short | head -5
[ -f package.json ] && [ ! -d node_modules ] && echo "Run npm install"
[ -f requirements.txt ] && [ ! -d .venv ] && echo "Run pip install"
[ -f .env.example ] && [ ! -f .env ] && echo "Copy .env.example to .env"

Context Scan (Mandatory)

pwd && git status && git log --oneline -5
cat PROJECT_CONTEXT.md 2>/dev/null || echo "No context file"
cat CLAUDE.md 2>/dev/null
cat PLANNING.md 2>/dev/null

Observer Team Spawn (Automatic)

Spawn Observer team concurrent with standup:

  • Code Quality Observer (haiku) — tech debt, test gaps, imports
  • Architecture Observer (sonnet) — contract drift, scope creep, design violations
# Detect Native Agent Teams support
if [ "${CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS}" = "1" ]; then
  echo "Native Agent Teams enabled — using DAG task system"
  # Use TeamCreate + SendMessage for Observer coordination
else
  echo "Native Agent Teams not enabled — falling back to manual worktree spawn"
  # Use subagent-teams-skill Task tool pattern
fi

Sprint Plan

Include Observer BLOCKER gate in sprint plan — no phase transitions if active BLOCKERs in .claude/OBSERVER_ALERTS.md.

Output Format

## Session Start: [PROJECT_NAME]
### Completed (Last Session)
- [x] Task 1
### In Progress
| Task | Branch/Worktree | Status |
|------|-----------------|--------|
| API endpoint | feature/api | 70% |
### Observer Status
- Team: ACTIVE (Code Quality + Architecture)
- Active blockers: 0
### Today's Priority Queue
1. [BUILDER] Feature implementation
2. [OBSERVER] Continuous monitoring
### Cost Context
- Today: $0.00 | MTD: $12.34 | Budget: $100

Deep dive: See reference/start-day-protocol.md


RESEARCH PHASE

Trigger: Before ANY feature development involving new frameworks, APIs, or architectural decisions.

Scan → Evaluate → Decide

  1. Check existing solutions in your repos and MCP cookbook
  2. Use research-skill checklist for framework selection
  3. Cost projection before building
  4. Create RESEARCH.mdFINDINGS.md with GO/NO-GO recommendation

Gate: Human checkpoint required before proceeding

Deep dive: See reference/research-workflow.md


FEATURE DEVELOPMENT

Phase 0: CONTRACT DEFINITION (Before Code)

## Feature Contract: [NAME]
### Endpoints / Interfaces
- POST /api/widgets → { id, name, created_at }
### Scope Boundaries
- IN SCOPE: [list]
- OUT OF SCOPE: [list]
### Observer Checkpoints
- [ ] Architecture Observer approves contract
- [ ] Code Quality Observer runs after each merge

Gate: Architecture Observer must approve contract before Phase 1

Phase 1: BUILDER TEAM SPAWN

# Option A: Worktree sessions (long tasks, 30+ min)
git worktree add -b feature/api ~/tmp/worktrees/$(basename $(pwd))/api
# Option B: Native Agent Teams (short tasks, <20 min)
# Use TeamCreate + Task tool subagents
# Option C: Hybrid — worktrees for Builders, Task tool for Observers

Each builder gets a WORKTREE_TASK.md with:

  • Scope boundary (what they CAN and CANNOT touch)
  • Contract reference
  • Devil's advocate mandate (for one builder per cycle)

Phase 2: OBSERVER MONITORING (Concurrent)

Observers run parallel to builders on a 5-10 minute loop:

  1. Pull latest from builder branches
  2. Run 7 drift detection patterns (see reference/observer-patterns.md)
  3. Write findings to .claude/OBSERVER_QUALITY.md and .claude/OBSERVER_ARCH.md
  4. Escalate BLOCKERs to .claude/OBSERVER_ALERTS.md

Phase 3: SECURITY + QUALITY GATE

# Security scans
semgrep --config auto .
gitleaks detect --source .
npm audit --audit-level=critical || pip-audit
pytest --cov=src || npm test -- --coverage

Gate: ALL must pass + no active Observer BLOCKERs

gate = (
    sast_clean AND
    secrets_found == 0 AND
    critical_vulns == 0 AND
    test_coverage >= 80 AND
    observer_blockers == 0  # NEW: Observer gate
)

Phase 4: SHIP

git diff main...HEAD
git add . && git commit -m "feat: [description]"
git push
echo '{"feature": "X", "cost": 1.23}' >> costs/by-feature.jsonl

Deep dive: See reference/feature-development.md


DEBUG MODE

Trigger: When standard troubleshooting fails or issue is complex.

Evidence → Hypothesize → Test → Verify

  1. Evidence gathering — exact error, reproduction steps, expected vs actual
  2. Hypothesis formation — 3+ hypotheses with evidence for each
  3. Systematic testing — one variable at a time
  4. Verification — root cause confirmed before committing fix

Critical Rules

  • ❌ NO DRIVE-BY FIXES — explain WHY before committing
  • ❌ NO GUESSING — verify everything
  • ✅ Use all tools: MCP servers, web search, extended thinking
  • ✅ One variable at a time

Deep dive: See reference/debug-methodology.md


END DAY

Phase 1: Observer Final Report (Before Security Sweep)

Observers generate final reports:

  • Summary of all findings (resolved + open)
  • Metrics: debt items, test coverage delta, contract compliance
  • Write to .claude/OBSERVER_QUALITY.md and .claude/OBSERVER_ARCH.md

Gate: Review Observer report before proceeding

Phase 2: Security Sweep (Mandatory)

gitleaks detect --source . --verbose
git log -p | grep -E "(password|secret|api.?key|token)" || echo "Clean"
npm audit --audit-level=critical 2>/dev/null || pip-audit 2>/dev/null

Gate: ALL must pass before any commits

Phase 3: Context + Metrics + Cleanup

## PROJECT_CONTEXT.md Update
### Completed This Session
- [x] Feature X
### Observer Summary
- Blockers resolved: N | Warnings logged: N | Debt delta: +/-N
### Tomorrow's Priorities
1. Next task

Archive observer reports to .claude/OBSERVER_HISTORY/, reset for next session.

# Cost tracking
echo '{"total": 0.47}' >> costs/daily-$(date +%Y-%m-%d).json
# Portfolio metrics
git diff --stat $(git log --since="today 00:00" --format="%H" | tail -1)..HEAD 2>/dev/null

Deep dive: See reference/end-day-protocol.md


COST GATE

Pre-Flight Budget Check

COST_FILE=~/.claude/daily-cost.json
SPENT=$(jq '.spent' "$COST_FILE" 2>/dev/null || echo 0)
BUDGET=$(jq '.budget_monthly' "$COST_FILE" 2>/dev/null || echo 100)
echo "MTD: \$$SPENT / \$$BUDGET"
% of BudgetAction
< 50%Proceed normally
50-80%Cost warning, suggest model downgrade
80-95%WARN — Ask user before proceeding
> 95%BLOCK — Require explicit override

Deep dive: See reference/cost-tracking.md


ROLLBACK / RECOVERY

  • Stash current work → find last known good → selective rollback or full revert → verify tests → investigate root cause
  • Use debug-like-expert-skill for root cause analysis

Deep dive: See reference/rollback-recovery.md


SKILL INVOCATION QUICK REFERENCE

NeedInvokeModel
Spawn builder teamagent-teams-skill or Task tool with team_namesonnet
Spawn observer teamAuto at START DAY, or workflow-orchestratorhaiku/sonnet
Debug a failing testdebug-like-expert-skillsonnet
Review code qualitysuperpowers:requesting-code-reviewsonnet
Run security sweepsecurity-skillsonnet
Track costscost-metering-skillhaiku
Write teststesting-skillsonnet
Design API contractapi-design-skillsonnet
Plan architectureplanning-prompts-skillopus
Capture metricsportfolio-artifact-skillhaiku
Parallel build (worktrees)agent-teams-skillsonnet
Parallel build (in-session)subagent-teams-skillsonnet
Map task → best agentagent-capability-matrix-skill

Native Agent Teams (Experimental)

export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
claude --worktree  # auto-creates worktree branch

Features: DAG task system, peer-to-peer messaging, TeammateIdle/TaskCompleted hooks, shared task lists, isolation: "worktree" for subagents.

Deep dive: See reference/agent-routing.md for complete 70+ agent catalog


PROGRESS RENDERING

Use TaskCreate with activeForm for live UI spinners:

TaskCreate({ subject: "Plan architecture", activeForm: "Planning architecture" })
TaskUpdate({ taskId: "1", status: "in_progress" })  // → live spinner
TaskUpdate({ taskId: "1", status: "completed" })     // → checkmark

Use addBlockedBy for phase sequencing. Markdown tables for summaries.


CLAUDE CODE COMMANDS

CommandWorkflow
/start-dayStart Day — context scan, Observer spawn, cost status
/build-feature <name>Feature Dev — contract → build → observe → ship
/end-dayEnd Day — Observer report, security sweep, context save
/quick-fix <issue>Debug — evidence → hypothesis → fix
/cost-checkDisplay daily/MTD spend and budget status

GTME PERSPECTIVE

This dual-team workflow demonstrates advanced GTME capabilities:

  1. Process Engineering — Quality control built into lifecycle, not bolted on
  2. Parallel Orchestration — Managing concurrent teams with different objectives
  3. Adversarial Thinking — Devil's advocate prevents "happy path only" trap
  4. Cost Awareness — Observers use cheaper models; unit economics thinking
  5. Measurable Output — Observer reports quantify debt, coverage, compliance

Portfolio Value: Produces auditable artifacts demonstrating engineering discipline + process thinking + cost optimization.

Emit Outcome Sidecar

As the final step, write to ~/.claude/skill-analytics/last-outcome-workflow-orchestrator.json:

{"ts":"[UTC ISO8601]","skill":"workflow-orchestrator","version":"2.0.0","variant":"default",
 "status":"[success|partial|error]","runtime_ms":[estimated ms from start],
 "metrics":{"workflows_run":[n],"stages_completed":[n],"observers_spawned":[n]},
 "error":null,"session_id":"[YYYY-MM-DD]"}

Use status "partial" if some stages failed but results were produced. Use "error" only if no output was generated.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.56%
按下载量换算115

Antigravity

24.51%
按下载量换算99

Gemini CLI

18.02%
按下载量换算73

Codex

15.43%
按下载量换算62

OpenCode

8.38%
按下载量换算34

windsurf

3.99%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/scientiacapital/skills --skill workflow-orchestrator;npx skills add scientiacapital/skills --skill "workflow-orchestrator" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills