Workflow 标志

Workflow

社区热门
jeremylongshore
workflow

当任务规模过大,不适合逐轮编排,而应通过大型任务工作流处理时使用:例如系统范围的更改、大规模迁移、整个代码库的审计、高置信度验证,或用户明确要求运行工作流的任务。Claude Code 使用原生动态工作流;Codex、OpenCode 和 Grok 使用可移植的工作流适配器。可通过 /hyperflow:workflow、“run a workflow”、“dynamic workflow”、“big task”、“large migration”、“repo-wide audit”触发。

概览

发布者jeremylongshore
代码仓库tons-of-skills-marketplace
技能名称workflow
星标数
2.8K
复刻数
402
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 jeremylongshore 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Workflow AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/main/plugins/ai-agency/hyperflow/skills/workflow
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git /tmp/tons-of-skills-marketplace
mkdir -p .claude/skills
cp -r /tmp/tons-of-skills-marketplace/plugins/ai-agency/hyperflow/skills/workflow .claude/skills/workflow
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Workflow,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Workflow。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Workflow 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Workflow

Big-task path for work that is too large for normal turn-by-turn orchestration: system-wide changes, large migrations, repo-wide audits, high-confidence verification, and task prompts that explicitly ask for a workflow.

  • In Claude Code, use the host dynamic workflow runtime.
  • In Codex, run the portable workflow adapter with Codex subagents when exposed; otherwise run the same phases inline in the current thread.
  • In OpenCode, run the portable workflow adapter with Task/subagent dispatch when exposed; otherwise run the same phases inline in the current session.
  • In Grok, run the portable workflow adapter with spawn_subagent when enabled; otherwise run the same phases inline in the current session.
  • In Antigravity, Desktop/web bridge mode, or any host that cannot preserve the adapter phases, say so in one line and route to /hyperflow:plan with chain-mode=auto.

Claude Code dynamic workflows require Claude Code v2.1.154 or later and can be disabled by /config, managed settings, ~/.claude/settings.json, or CLAUDE_CODE_DISABLE_WORKFLOWS=1. When disabled, use the portable adapter if the host is Codex, OpenCode, or Grok; otherwise route to /hyperflow:plan with chain-mode=auto.

Routing Rules

  • Run this skill in Claude Code, Codex, OpenCode, and Grok.
  • Auto-route here when triage returns flow=deep or flow=scientific, scope=system-wide, or the user says big task, large migration, repo-wide audit, run a workflow, or dynamic workflow.
  • Do not route here for moderate multi-file work, routine bug fixes, or a task that needs user sign-off between implementation stages. Big-task workflow runs should not depend on arbitrary mid-run user input; split sign-off-heavy work into separate workflows or use spec -> scope -> dispatch.
  • Do not set /effort ultracode or xhigh automatically. The user can enable /effort ultracode manually for session-wide workflow selection.

Provider Contracts

Claude Code Native Workflow

When this skill runs, ask the Claude Code workflow runtime to create a dynamic workflow for $ARGUMENTS. The generated workflow must preserve Hyperflow's doctrine inside the worker prompts and must include these phases:

  1. Research and planning

    • Map affected files, dependency edges, tests, docs, and risk boundaries.
    • Read .hyperflow/profile.md, .hyperflow/architecture.md, .hyperflow/conventions.md, .hyperflow/testing.md, and .hyperflow/memory/index.md when present.
    • Produce a concise execution graph with parallelizable units and dependencies.
  2. Parallel implementation or investigation

    • Fan out independent agents by subsystem or file family.
    • Keep each agent brief specific: objective, files in scope, constraints, acceptance criteria, and test expectations.
    • Use the lightest model/stage that can safely do the work when the runtime supports model routing.
  3. Adversarial verification

    • Run independent verification agents against each implementation or finding.
    • For audits, verify each finding before reporting it.
    • For implementation, check cross-file integration, regression risk, security-sensitive paths, and missed tests.
  4. Quality gates and repair loop

    • Run the project lint, typecheck, build, and relevant tests from .hyperflow/testing.md or detected package scripts.
    • Retry focused fixes only for verified failures.
    • Never use --no-verify; never force-push to main or master.
  5. Final synthesis

    • Return one coordinated result with completed work, verification evidence, unresolved risks, changed files, and next actions.
    • For durable project learnings, identify what should be appended to .hyperflow/memory/, but do not invent memory entries unrelated to the run.

Codex Portable Workflow Adapter

Codex does not provide Claude Code's dynamic workflow runtime. Treat /hyperflow:workflow as a custom Hyperflow workflow envelope around Codex subagents and inline fallback:

  1. Research and planning

    • Read the same .hyperflow/ cache files listed above when present.
    • Write or update .hyperflow/tasks/<slug>.md for implementation or audit work that needs durable progress tracking.
    • Build an execution graph with parallelizable units, dependencies, expected commits, and verification commands.
  2. Parallel implementation or investigation

    • If Codex subagent tools are exposed, dispatch independent searcher/worker/writer units together and collect their results before review.
    • Map implementation and writing tasks to worker subagents; map codebase research to explorer/search subagents.
    • If subagents are unavailable, run each unit inline with explicit worker and reviewer labels.
  3. Adversarial verification

    • Run a separate verification pass for each completed unit before reporting it.
    • Use Codex thinking defaults for verification and final integration review.
  4. Quality gates and commits

    • Run the detected lint, typecheck, build, and relevant tests.
    • Commit each accepted unit separately using conventional commits.
    • Never use --no-verify; never request xhigh.
  5. Final synthesis

    • Return changed files, verification evidence, unresolved risks, and next actions.

OpenCode Portable Workflow Adapter

OpenCode does not provide Claude Code's dynamic workflow runtime. Treat /hyperflow:workflow as a custom Hyperflow workflow envelope around OpenCode's task/subagent facilities and inline fallback:

  1. Research and planning

    • Read the same .hyperflow/ cache files listed above when present.
    • Write or update .hyperflow/tasks/<slug>.md for implementation or audit work that needs durable progress tracking.
    • Build an execution graph with parallelizable units, dependencies, expected commits, and verification commands.
  2. Parallel implementation or investigation

    • If OpenCode exposes Task/subagent dispatch, send independent implementation or investigation units through that path.
    • Keep each subtask bounded by objective, files in scope, constraints, acceptance criteria, and tests.
    • If task dispatch is unavailable, run each unit inline with explicit worker and reviewer labels.
  3. Adversarial verification

    • Run a separate verification pass for each completed unit before reporting it.
    • Run verification and the final integration review as decision-agent passes on the current session model.
  4. Quality gates and commits

    • Run the detected lint, typecheck, build, and relevant tests.
    • Commit each accepted unit separately using conventional commits.
    • Never use --no-verify.
  5. Final synthesis

    • Return changed files, verification evidence, unresolved risks, and next actions.

Grok Portable Workflow Adapter

Grok does not provide Claude Code's dynamic workflow runtime. Treat /hyperflow:workflow as a custom Hyperflow workflow envelope around Grok spawn_subagent and inline fallback:

  1. Research and planning

    • Read the same .hyperflow/ cache files listed above when present.
    • Write or update .hyperflow/tasks/<slug>.md for implementation or audit work that needs durable progress tracking.
    • Build an execution graph with parallelizable units, dependencies, expected commits, and verification commands.
  2. Parallel implementation or investigation

    • If spawn_subagent is available and subagents are not disabled (GROK_SUBAGENTS / config), dispatch independent units together:
      • implementer/writer → subagent_type: general-purpose
      • searcher/research → subagent_type: explore
    • Collect results before review; spawn independent siblings in parallel when the runtime allows.
    • If subagents are unavailable, run each unit inline with explicit worker and reviewer labels.
  3. Adversarial verification

    • Run a separate verification pass for each completed unit before reporting it.
    • Run verification and the final integration review as decision-agent passes on the current session model.
  4. Quality gates and commits

    • Run the detected lint, typecheck, build, and relevant tests.
    • Commit each accepted unit separately using conventional commits.
    • Never use --no-verify.
  5. Final synthesis

    • Return changed files, verification evidence, unresolved risks, and next actions.

Claude Code Prompt Skeleton

Use this shape when handing the task to the workflow runtime:

text
Create a dynamic workflow for this Hyperflow big-task run.

Task:
<user task>

Doctrine:
- Preserve Hyperflow autonomy: execute reversible work without invented confirmations.
- Ask only for genuine ambiguity after codebase research.
- Keep plans, task decompositions, audits, and memory under .hyperflow/ when files are needed.
- Use conventional commits, one distinct task per commit.
- Never use --no-verify and never force-push to main/master.
- Respect the Hyperflow security blocklist in skills/hyperflow/security.md.

Required phases:
1. Research and planning.
2. Parallel implementation or investigation.
3. Adversarial verification.
4. Quality gates and focused repair loop.
5. Final synthesis.

Acceptance:
- Every substantive result is independently checked before being reported.
- Quality gates run or are explicitly marked unavailable with the command attempted.
- The final answer includes evidence, changed files, unresolved risks, and next actions.

Save For Reuse

When a run succeeds and the user will repeat it, mention that Claude Code can save the generated workflow from /workflows with s. Project workflows save under .claude/workflows/; personal workflows save under ~/.claude/workflows/. Do not create those files directly from this skill because plugin packaging does not currently ship .claude/workflows/ as a first-class component.

Codex, OpenCode, and Grok adapters are not saved through /workflows; repeatable behavior comes from this skill, .hyperflow/tasks/, project memory, and provider-specific subagent/task configuration.

常见问题

Workflow AI 技能有什么作用?

当任务规模过大,不适合逐轮编排,而应通过大型任务工作流处理时使用:例如系统范围的更改、大规模迁移、整个代码库的审计、高置信度验证,或用户明确要求运行工作流的任务。Claude Code 使用原生动态工作流;Codex、OpenCode 和 Grok 使用可移植的工作流适配器。可通过 /hyperflow:workflow、“run a workflow”、“dynamic workflow”、“big task”、“large migration”、“repo-wide audit”触发。

为什么在 TypingMind 中使用 Workflow?

因为您只需安装一次,就能搭配任何模型使用。Workflow 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Workflow?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/main/plugins/ai-agency/hyperflow/skills/workflow。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Workflow?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Workflow 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Workflow 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Workflow AI 技能免费吗?

是的。jeremylongshore 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇