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

parallel-execution并行执行

Agent Skill

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

总安装

259

周安装

11

GitHub Stars

24

下载量

91
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/noobygains/godmode --skill parallel-execution

简介

parallel-execution 用于查找、检索和筛选相关信息,适合多线索并行处理场景。

  • 适用于 Codex、Claude、Cursor 和 Gemini CLI,支持提升信息获取效率。
  • 可通过 GitHub 仓库和原始文档继续核验具体用法。
  • 安装前应评估权限范围和维护状态,避免引入不稳定因素。
  • 建议在低风险任务中先行测试,确保不影响核心工作流。

SKILL.md

Parallel Execution

Overview

When multiple distinct failures appear across separate subsystems, tackling them one after another wastes time. Each investigation is self-contained and can run simultaneously.

Core principle: Assign one agent per isolated problem domain. Let them operate concurrently.

Prime Directive

NO CONCURRENT DISPATCH WITHOUT CONFIRMING ISOLATION

No exceptions. No workarounds. No shortcuts.

When to Use

digraph dispatch_decision {
    "Multiple problems?" [shape=diamond];
    "Are they isolated?" [shape=diamond];
    "Single agent handles all" [shape=box];
    "One agent per domain" [shape=box];
    "Can they run concurrently?" [shape=diamond];
    "Sequential agents" [shape=box];
    "Parallel dispatch" [shape=box];

    "Multiple problems?" -> "Are they isolated?" [label="yes"];
    "Are they isolated?" -> "Single agent handles all" [label="no - coupled"];
    "Are they isolated?" -> "Can they run concurrently?" [label="yes"];
    "Can they run concurrently?" -> "Parallel dispatch" [label="yes"];
    "Can they run concurrently?" -> "Sequential agents" [label="no - shared state"];
}

Appropriate when:

  • Three or more test files failing for distinct reasons
  • Multiple subsystems broken independently
  • Each issue can be understood without knowledge of the others
  • No shared mutable state between the work items

Not appropriate when:

  • Failures are connected (resolving one may resolve others)
  • Understanding requires a holistic system view
  • Agents would interfere with each other's work

The Approach

1. Map Independent Domains

Classify failures by root cause area:

  • Module X tests: Permission validation flow
  • Module Y tests: Queue drain behavior
  • Module Z tests: Cancellation handling

Each domain is self-contained — fixing permissions has no bearing on cancellation tests.

2. Craft Focused Agent Briefs

Each agent receives:

  • Defined scope: One test file or subsystem
  • Concrete objective: Get these tests green
  • Boundaries: Do not modify code outside your scope
  • Deliverable: Summary of root cause and changes made

3. Launch Concurrently

// Dispatch parallel agents using the Agent tool in Claude Code
Agent("Fix permission-validation.test.ts failures")
Agent("Fix queue-drain-behavior.test.ts failures")
Agent("Fix cancellation-handling.test.ts failures")
// All three execute at the same time

4. Reconcile and Verify

When agents complete:

  • Study each summary
  • Confirm changes do not overlap
  • Execute the full test suite
  • Integrate all results

Agent Brief Structure

Effective agent briefs share these qualities:

  1. Narrow — One clear problem area
  2. Self-sufficient — Everything needed to understand the issue is included
  3. Output-specified — The agent knows exactly what to report
Resolve the 3 failing tests in src/workers/queue-drain.test.ts:

1. "should drain remaining items on shutdown" - expects empty queue, finds 2 items
2. "should handle mixed priorities during drain" - high-priority item processed last
3. "should report drain metrics accurately" - expects 3 metrics but receives 0

These stem from async drain ordering. Your assignment:

1. Read the test file and understand the intended behavior
2. Determine root cause - ordering bug or stale test assumptions?
3. Fix by:
   - Implementing deterministic drain ordering
   - Correcting production bugs if found
   - Updating test expectations if behavior legitimately changed

Do NOT just add delays or increase timeouts - identify the underlying issue.

Return: Root cause analysis and description of changes made.

Pitfalls

Too broad: "Fix all the tests" — the agent loses focus Focused: "Fix queue-drain.test.ts" — narrow scope

No context: "Fix the ordering bug" — the agent has no starting point Contextual: Paste error messages and failing test names

No boundaries: Agent may restructure unrelated code Bounded: "Do NOT modify production code outside src/workers/"

Vague output request: "Fix it" — you have no idea what changed Specific output request: "Return root cause summary and list of modified files"

Cognitive Traps

RationalizationTruth
"They're probably isolated enough"Confirm isolation explicitly or agents will collide.
"We'll reconcile conflicts later"Merge conflicts from concurrent agents are harder than sequential work.
"More agents = faster delivery"Agents editing shared files = wasted effort and broken merges.
"The scope is self-evident"Vague briefs yield vague outcomes. Specify scope, boundaries, and output.
"One agent can handle everything"An agent with too wide a scope gets lost. Divide by domain.

When NOT to Use

Coupled failures: Resolving one may cascade fixes to others — investigate holistically first Holistic understanding required: Comprehension demands seeing the full system Exploratory debugging: The problem space is unknown Shared resources: Agents would conflict (same files, same databases, same services)

Worked Example

Situation: 8 test failures across 3 files after a major refactor

Failures:

  • permission-validation.test.ts: 3 failures (auth token issues)
  • queue-drain-behavior.test.ts: 3 failures (ordering bugs)
  • cancellation-handling.test.ts: 2 failures (incomplete cleanup)

Judgment: Isolated domains — auth validation, queue drain, and cancellation logic are unrelated

Dispatch:

Agent 1 -> Fix permission-validation.test.ts
Agent 2 -> Fix queue-drain-behavior.test.ts
Agent 3 -> Fix cancellation-handling.test.ts

Outcomes:

  • Agent 1: Replaced hardcoded tokens with dynamic fixtures
  • Agent 2: Fixed drain ordering to respect priority field
  • Agent 3: Added cleanup hooks for partial cancellation state

Reconciliation: All fixes touched separate files, zero conflicts, full suite green

Value: Three problems solved concurrently instead of sequentially

Advantages

  1. Concurrency — Multiple investigations proceed at once
  2. Concentration — Each agent manages a small context
  3. Non-interference — Agents stay out of each other's way
  4. Throughput — N problems solved in the time of one

Post-Dispatch Checks

After agents return:

  1. Study each summary — Understand what changed and why
  2. Detect overlaps — Did any agents touch the same code?
  3. Run the full suite — Confirm all fixes coexist
  4. Spot-check — Agents can introduce systematic errors
  5. Finalize — REQUIRED SUB-SKILL: Use godmode:merge-protocol to land the work

Guardrails

Prohibited:

  • Dispatching concurrent agents without verifying task isolation
  • Allowing agents to modify the same files simultaneously
  • Integrating without reviewing agent summaries
  • Using parallel dispatch for exploratory diagnosis
  • Dispatching without defined scope, boundaries, and deliverables

Mandatory:

  • Confirm isolation before dispatching
  • Give each agent a narrow, explicit scope
  • Include error messages and test names in agent briefs
  • Review all agent summaries before integration
  • Execute full test suite after integrating all changes
  • Check for conflicts between agent outputs

Integration

godmode:team-orchestration:

  • Parallel execution is a foundational pattern for team-based work
  • Use team orchestration when agents have partial dependencies

godmode:delegated-execution:

  • Launch parallel agents for independent tasks within a development plan
  • Each agent owns one task from the plan

godmode:agent-messaging:

  • Agents dispatched in parallel should not need inter-agent communication
  • If they need to communicate, they are not isolated enough for parallel dispatch

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.01%
按下载量换算34

Claude

30.36%
按下载量换算28

Cursor

18.78%
按下载量换算17

Gemini CLI

10.02%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills