openspec-bulk-apply-change

openspec-bulk-apply-change is a skill for Claude Code, Codex from intent-driven-dev/openspec-schemas. It costs 30 tokens per session (693 once invoked), scanned A, original, MIT.

A workflow for applying several active OpenSpec changes at the same time in separate Git worktrees, which are isolated working copies of a repository. Each change is implemented and verified independently without merging the results.

In plain words
What is it for?
Use it when two or more OpenSpec changes are active and should be applied concurrently in isolated worktrees.
Why use it?
It prevents parallel changes from interfering with one another during implementation. It also organizes verification so each change can be checked on its own.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/intent-driven-dev/openspec-schemas/openspec-bulk-apply-change
Any agent
npx skills add intent-driven-dev/openspec-schemas --skill openspec-bulk-apply-change
Clone the repo
git clone --depth 1 https://github.com/intent-driven-dev/openspec-schemas

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openspec-bulk-apply-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/intent-driven-dev/openspec-schemas/openspec-bulk-apply-change.svg)](https://agentmods.dev/skills/intent-driven-dev/openspec-schemas/openspec-bulk-apply-change)
Your own site
<a href="https://agentmods.dev/skills/intent-driven-dev/openspec-schemas/openspec-bulk-apply-change"><img src="https://agentmods.dev/badge/skills/intent-driven-dev/openspec-schemas/openspec-bulk-apply-change.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 693 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00030 $0.00693
Opus 5 $0.00015 $0.00347
Sonnet 5 $0.00006 $0.00139
Haiku 4.5 $0.00003 $0.00069

Measured today against content hash b77720e8cdda, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openspec-bulk-apply-change scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/openspec-bulk-apply-change/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenSpec Bulk Apply

Apply multiple active OpenSpec changes by creating isolated worktrees, dispatching delegated apply flows in parallel subagents, running verification in each flow, and reporting back without merging.

When to Use

  • More than one active OpenSpec change exists
  • /opsx-apply was invoked without an explicit change target
  • The user wants multiple changes applied in parallel

Do not use this skill when the user explicitly targeted one change for /opsx-apply.

Steps

  1. Get candidate changes

    Run openspec list --json to get active changes.

    • If the command input included change names, limit analysis to those changes.
    • If fewer than 2 active candidate changes remain, do not use bulk mode. Fall back to normal single-change apply.
  2. Collect change context

    For each candidate change:

    • Run openspec status --change "<name>" --json
    • Run openspec instructions apply --change "<name>" --json
    • Read listed contextFiles
    • Read the tasks artifact and summarize pending work
    • Note the implementation scope needed by the delegated apply flow
  3. Create isolated worktrees

    For each candidate change:

    • Create a git worktree under .worktrees/<change>
    • Keep the parent agent out of direct implementation work in the main workspace
  4. Dispatch subagents in parallel

    For each candidate change:

    • Dispatch one subagent in that change's worktree
    • Run all delegated apply flows in parallel
    • Do not apply any change directly in the parent agent
  5. Require apply then verify in each subagent

    Instruct each subagent to:

    • run /opsx-apply <change>
    • run /opsx-verify <change> after apply work is complete
    • stop after verification
    • summarize implementation outcome, verification status, changed files, blockers, and unresolved warnings
  6. Collect and normalize reports

    For each executed change, capture:

    • Worktree path
    • Apply status (complete, paused, failed)
    • Verify status (ready, warnings, critical, failed)
    • Files changed summary
    • Blockers or unresolved warnings

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 92 lines · 30 tokens per session scan A b77720e8cdda

Subscribe to this mod's changes

openspec-bulk-apply-change is a skill published in the GitHub repository intent-driven-dev/openspec-schemas (92 stars, last pushed 19d ago), licensed MIT. It adds 30 tokens to every session and 693 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories