Token导航 LogoToken导航TokenDH.com
研究检索可写文件github未标认证来源可访问许可证需确认审计通过

skill-system-workflow技能系统工作流程

Agent Skill

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

总安装

1,518

周安装

62

GitHub Stars

4

下载量

491
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/arthur0824hao/skills --skill skill-system-workflow

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 支持基于关键词、任务场景或来源线索进行信息筛选与整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • skill-system-workflow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Skill System Workflow

skill-system-workflow is the planning layer for the skill system. It turns a goal into a DAG with Mermaid output, prefers reusable recipes when possible, and stays strictly read-only with respect to execution.

Ticket lifecycle operations are owned by skill-system-tkt. This skill now owns only planning, visualization, and recipe discovery.

Overview

  • Input: a goal plus optional context
  • Output: a DAG document and Mermaid flowchart TD
  • Planning strategy: recipe match first, dynamic planning second
  • Execution: out of scope; downstream skills consume the DAG

Core Operations

plan

Analyze a goal and produce a workflow DAG plus Mermaid visualization.

  1. Read the available recipes/
  2. Match goal against trigger_patterns
  3. If a recipe matches, adapt it to the goal
  4. Otherwise, use prompts/plan-workflow.md to generate a custom DAG
  5. Render Mermaid from the DAG using the conventions below

Procedure: scripts/plan-and-visualize.md

visualize

Convert an existing DAG YAML into a Mermaid flowchart.

  • Parse waves[*].tasks[*]
  • Use one Mermaid subgraph per wave
  • Add depends_on edges
  • Apply status styling (pending, running, done, failed)

list-recipes

List available workflow recipes by reading recipes/ and returning each recipe's name and description.

File Layout

  • prompts/plan-workflow.md: one-pass dynamic DAG planning prompt
  • schema/workflow-dag.yaml: workflow DAG shape specification
  • schema/recipe.yaml: recipe shape specification
  • recipes/*.yaml: reusable workflow templates
  • scripts/plan-and-visualize.md: human procedure for plan -> DAG -> Mermaid
  • scripts/dispatch.sh: multi-agent dispatch engine (sends opencode run commands)
  • scripts/chain.sh: step completion handler (auto-dispatches next step or notifies reviewer)
  • schema/dispatch-order.yaml: dispatch order shape specification
  • recipes/multi-agent-dispatch.yaml: recipe for cross-repo bundle dispatch

Recipe Format Reference

Recipes are small YAML documents that describe reusable waves and tasks.

  • name: recipe identifier (must match the filename without extension)
  • trigger_patterns: goal keywords/phrases that indicate the recipe is applicable
  • waves: ordered execution waves
  • waves[*].parallel: whether tasks in the wave can be performed simultaneously
  • waves[*].tasks[*].depends_on: task ids from earlier waves that must complete first

See: schema/recipe.yaml

Mermaid Conventions

Diagram structure

  • Graph direction: flowchart TD
  • One subgraph per wave: subgraph waveN [Wave N: <description>]
  • Each task is a node with id task_id
  • Node label format: <agent_type>\n<task name>

Node shapes

  • Task nodes: rounded rectangles: task_id(["<agent_type>\\n<name>"])
  • Optional start/end anchors (if used): start((Start)), end((End))

Status styling

Use Mermaid classes based on each task's status:

pending: not started
running: in progress
done: completed successfully
failed: needs intervention

Configuration

Runtime settings are in config/workflow.yaml. Config is the single source of truth.

See: ../../config/workflow.yaml

Multi-Agent Dispatch

skill-system-workflow now also orchestrates cross-repo dispatch via opencode run. The TKT-000 integrator ticket pattern from skill-system-tkt serves as the coordination point.

dispatch

Dispatch a bundle's downstream work to multiple project coders.

  1. Read the upstream bundle's downstream_bundles field
  2. Build a dispatch-order.yaml with steps in dependency order
  3. Execute scripts/dispatch.sh to send opencode run commands
  4. Coders complete their work and call scripts/chain.sh
  5. chain.sh auto-dispatches the next step or notifies the reviewer

Procedure: see recipe multi-agent-dispatch.yaml

Scripts:

  • scripts/dispatch.sh <dispatch-order.yaml> — Send opencode run commands
  • scripts/chain.sh <dispatch-order.yaml> <step-id> — Handle step completion
  • Both support --dry-run for verification

Schema: schema/dispatch-order.yaml

Chain Protocol:

Reviewer → dispatch.sh → opencode run (coder A)
                             ↓ (coder A completes)
                         chain.sh → opencode run (coder B)
                                        ↓ (coder B completes)
                                    chain.sh → notify reviewer

Integration with TKT-000

The TKT-000 integrator ticket coordinates the bundle. When the dispatch chain completes:

  1. Each coder marks their bundle as done
  2. chain.sh updates the dispatch-order step status
  3. On final step: writes .done file or notifies reviewer via claude CLI
  4. Reviewer closes the upstream TKT-000

Migration Note

Ticket lifecycle operations are owned by skill-system-tkt. skill-system-workflow handles planning (3 ops: plan, visualize, list-recipes) and now also multi-agent dispatch (dispatch).

Operational Notes

  • Keep waves small (2-6 tasks) so the diagram remains readable.
  • Prefer parallelism inside a wave; use depends_on for cross-wave ordering.
  • Every task should have a clear verification outcome.
{
  "schema_version": "2.0",
  "id": "skill-system-workflow",
  "version": "2.0.0",
  "capabilities": ["workflow-plan", "workflow-visualize", "workflow-list-recipes", "workflow-dispatch"],
  "effects": ["fs.read", "fs.write", "db.read", "proc.exec"],
  "operations": {
    "plan": {
      "description": "Analyze a goal and produce an execution plan as a DAG with Mermaid visualization.",
      "input": {
        "goal": {"type": "string", "required": true, "description": "User's goal or task description"},
        "context": {"type": "string", "required": false, "description": "Additional context (files, constraints)"}
      },
      "output": {
        "description": "Workflow DAG YAML plus Mermaid diagram",
        "fields": {"dag": "YAML", "mermaid": "string"}
      },
      "entrypoints": {
        "agent": "Follow scripts/plan-and-visualize.md procedure"
      }
    },
    "visualize": {
      "description": "Convert an existing DAG YAML to a Mermaid flowchart.",
      "input": {
        "dag_yaml": {"type": "string", "required": true, "description": "DAG YAML content"}
      },
      "output": {
        "description": "Mermaid flowchart string",
        "fields": {"mermaid": "string"}
      },
      "entrypoints": {
        "agent": "Apply Mermaid conventions from SKILL.md to the DAG"
      }
    },
    "list-recipes": {
      "description": "List available workflow recipes.",
      "input": {},
      "output": {
        "description": "Array of recipe names and descriptions",
        "fields": {"recipes": "array"}
      },
      "entrypoints": {
        "agent": "List files in recipes/ directory"
      }
    },
    "dispatch": {
      "description": "Dispatch a bundle's downstream work to multiple project coders via opencode run with automatic chaining.",
      "input": {
        "upstream_bundle": {"type": "string", "required": true, "description": "Path to the upstream bundle directory containing downstream_bundles"},
        "workspace_root": {"type": "string", "required": true, "description": "Absolute path to the workspace root"},
        "dry_run": {"type": "boolean", "required": false, "description": "If true, show commands without executing"}
      },
      "output": {
        "description": "Dispatch order YAML with step statuses",
        "fields": {"dispatch_order": "YAML", "steps_dispatched": "number"}
      },
      "entrypoints": {
        "agent": "Follow recipe multi-agent-dispatch.yaml: build dispatch-order.yaml from bundle, then run scripts/dispatch.sh",
        "cli": "scripts/dispatch.sh <dispatch-order.yaml> [--dry-run]"
      }
    }
  },
  "stdout_contract": {
    "last_line_json": false,
    "note": "Agent-executed procedures; output is DAG YAML and Mermaid text."
  }
}

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.78%
按下载量换算171

Claude

32.2%
按下载量换算158

Cursor

17.81%
按下载量换算87

Gemini CLI

8.66%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills