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

wave-executor波执行器

Agent Skill

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

总安装

888

周安装

37

GitHub Stars

25

下载量

296
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill wave-executor

简介

wave-executor 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中获取信息的场景。
  • 通过 npx skills add 命令安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • 注意该技能当前无原始 SKILL.md 内容可参考,实际功能以仓库实现为准。

SKILL.md

Wave Executor

Overview

Wave Executor runs EPIC-tier batch pipelines by spawning a fresh Claude Code process per wave via the Claude Agent SDK. Each wave gets a clean Bun runtime with zero accumulated spawn() or abort_signal state, preventing the JSC garbage collector use-after-free crash (oven-sh/bun, anthropics/claude-code#21875, #27003) that occurs when a single Bun process handles thousands of concurrent subagent spawns.

This is the framework's implementation of the Ralph Wiggum pattern: iteration over fresh processes with file-based coordination.

When to Use

Use this skill when:

  • EPIC-tier batch work: >10 artifacts, >5 waves
  • Multi-wave skill updates, bundle generation, or mass refactoring
  • Any pipeline expected to run >30 minutes with parallel subagents
  • Work that previously crashed due to Bun segfaults

Do NOT use for:

  • Simple 1-3 skill updates (use skill-updater directly)
  • Single-skill work (use Task() subagent)
  • Work that fits in one context window (just do it inline)

How It Works

Router invokes wave-executor via Bash
  │
  └─ node .claude/tools/cli/wave-executor.mjs --plan <path>
       │  (runs on system Node.js — NOT Bun)
       │
       ├─ Reads plan.json with wave definitions
       ├─ Reads inventory.json for resume state
       │
       ├─ For each pending wave:
       │    ├─ SDK query() → NEW Bun process (fresh GC)
       │    ├─ Claude executes wave tasks
       │    ├─ Streams output to stdout
       │    ├─ Bun process exits → memory freed
       │    ├─ Updates inventory.json
       │    └─ Sleeps → next wave
       │
       └─ Returns JSON summary

Key invariant: no single Bun process accumulates more than ~100 spawns.

Invocation

Via Bash (agents):

node .claude/tools/cli/wave-executor.mjs --plan <path> --json

Via slash command (users):

/wave-executor --plan .claude/context/plans/my-plan.json

CLI flags:

FlagDefaultDescription
--plan <path>requiredPath to wave plan JSON
--model <model>claude-sonnet-4-6Model for wave execution
--max-turns <n>50Max conversation turns per wave
--start-from <n>1Resume from wave N
--dry-runfalsePreview without executing
--jsonfalseMachine-readable output

Plan File Format

{
  "name": "enterprise-bundle-generation",
  "waves": [
    {
      "id": 1,
      "skills": ["rust-expert", "python-backend-expert", "typescript-expert"],
      "domain": "language",
      "promptTemplate": "Update enterprise bundle files for skills: {skills}. Read each SKILL.md and .claude/rules/ file. Do 3-5 WebSearch queries for current {domain} tools and patterns. Generate domain-specific bundle files (append-only, never overwrite non-stubs). Validate JSON schemas and Node.js syntax. Commit results."
    },
    {
      "id": 2,
      "skills": ["nextjs-expert", "react-expert", "svelte-expert"],
      "domain": "web-framework"
    }
  ],
  "config": {
    "model": "claude-sonnet-4-6",
    "maxTurnsPerWave": 50,
    "sleepBetweenWaves": 3000,
    "inventoryPath": ".claude/context/runtime/wave-inventory.json"
  }
}

Each wave must have id (number) and skills (non-empty array). Optional: domain, promptTemplate.

Inventory Tracking

The executor maintains an inventory file at the configured path (default .claude/context/runtime/wave-inventory.json). This enables:

  • Resume from crash: --start-from N picks up where a failed run left off
  • Progress monitoring: read the inventory file to see completed waves
  • Cost tracking: each wave records its cost

Integration with Router

The router should use this skill when the planner classifies work as EPIC-tier:

  1. Planner creates a plan file with wave definitions
  2. Router invokes: Skill({skill: 'wave-executor'})
  3. Agent runs: node.claude/tools/cli/wave-executor.mjs --plan <path> --json
  4. Router reads JSON result for success/failure

The router's Bun process stays idle during execution (single Bash call) — no subagent spawning, no hook accumulation.

Iron Laws

  1. ALWAYS spawn each wave in a fresh Bun process to prevent GC-related crashes in long-running sessions
  2. NEVER batch more concurrent waves than the configured MAX_PARALLEL_WAVES limit
  3. ALWAYS await wave completion acknowledgment before spawning the next wave
  4. NEVER proceed to the next wave if the current wave has any failed or incomplete agents
  5. ALWAYS log wave metadata (wave number, agent count, duration) for pipeline observability

Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Reusing the same process across wavesGC pressure causes crashes in long pipelinesSpawn a fresh Bun process per wave
Exceeding MAX_PARALLEL_WAVESResource exhaustion and flaky failuresRespect the configured concurrency limit
Starting next wave before current completesRace conditions and incomplete pipeline stateAwait wave completion signal before advancing
Ignoring failed agents in a wavePartial state propagates incorrect data forwardHalt and surface failures before continuing
No wave metadata loggingCan't diagnose which wave caused issuesLog wave number, agents, and duration to context

Memory Protocol (MANDATORY)

Before starting:

  • Read .claude/context/memory/learnings.md for prior wave execution learnings
  • Check inventory file for resume state

After completing:

  • Append wave execution summary to .claude/context/memory/learnings.md
  • Record any errors to .claude/context/memory/issues.md
  • Record architecture decisions to .claude/context/memory/decisions.md
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.99%
按下载量换算104

Claude

29.76%
按下载量换算88

Cursor

17.48%
按下载量换算52

Gemini CLI

9.34%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills