Agent skill

Openspec Bulk Apply Change

by intent-driven-dev in intent-driven-dev/intent-driven-template

A skill your agent uses when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.

MITAuto-check passedDevelopment

Install Openspec Bulk Apply Change

skills CLI
$ npx skills add intent-driven-dev/intent-driven-template --skill openspec-bulk-apply-change -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install intent-driven-dev/intent-driven-template openspec-bulk-apply-change --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/intent-driven-dev/intent-driven-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.opencode/skills/openspec-bulk-apply-change .claude/skills/openspec-bulk-apply-change && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openspec-bulk-apply-change
GitHub stars
159
Token cost
~1.4k tokens
SKILL.md length
700 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.

  • Works in 7 steps: Get candidate changes → Run git discipline checks → Collect change context → …
  • Multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge
  • SKILL.md covers When to Use, Steps, Quick Reference and Common Mistakes, plus 1 more section
  • Calls git

What it does

Openspec Bulk Apply Change is an agent skill from intent-driven-dev/intent-driven-template. Use when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires git, OpenSpec CLI, and OpenCode subagents.

It sits in Development, covering Git worktrees. It works with Git. The repository describes itself as: OpenSpec and OpenCode template for intent-driven development with specs, ADRs, C4 diagrams, Gherkin, TDD, Multi-Model Adversarial Spec Authoring, Glossary for Domain Terms, and… The licence is MIT.

When your agent uses it

  • Multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge
  • Tasks that involve Git worktrees

Example prompts

  • “/openspec-bulk-apply-change”

Requirements

  • Compatibility (from SKILL.md): Requires git, OpenSpec CLI, and OpenCode subagents.

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Get candidate changes
  2. Run git discipline checks
  3. Collect change context
  4. Create isolated worktrees
  5. Dispatch subagents in parallel
  6. Collect and normalize reports
  7. Report back without merging

What it can do on your machine

Read from SKILL.md and the folder at commit 73f54d5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires git, OpenSpec CLI, and OpenCode subagents.

    From compatibility in the SKILL.md frontmatter.

Context cost

Openspec Bulk Apply Change loads about 1.4k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 700 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from intent-driven-dev/intent-driven-template at commit 73f54d5, republished under its MIT licence (© intent-driven-dev). 700 words, ~1,428 tokens.

Download SKILL.mdSave it as .claude/skills/openspec-bulk-apply-change/SKILL.md (or your agent's skills folder).
name
openspec-bulk-apply-change
description
Use when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.
compatibility
Requires git, OpenSpec CLI, and OpenCode subagents.
license
MIT
metadata.author
openspec
metadata.version
1.0
metadata.generatedBy
1.3.1

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 or archiving.

REQUIRED SUB-SKILL: Use openspec-git-discipline before any apply or worktree workflow.

When to Use

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

Do not use bulk mode when only one candidate change remains. Stop and tell the user to use /opsx-apply <change> instead.

Steps

  1. Get candidate changes

    Run:

    bash
    openspec list --json
    • If command input included change names, limit analysis to those changes.
    • If fewer than 2 active candidate changes remain, stop and tell the user to use /opsx-apply <change>.
    • Do not ask the user to choose one change when 2 or more candidates remain and the request is clearly bulk apply.
  2. Run git discipline checks

    For each candidate change, verify apply is allowed before creating worktrees:

    • Run git status --short.
    • Verify openspec/changes/<change>/ has no uncommitted proposal files.
    • Verify the proposal change exists on main before applying from any branch or worktree.

    If any candidate fails the gate, exclude it from execution and report the reason. If fewer than 2 executable candidates remain, stop and report that bulk apply is not appropriate.

  3. Collect change context

    For each executable candidate change:

    bash
    openspec status --change "<name>" --json
    openspec instructions apply --change "<name>" --json

    Then:

    • Read all listed contextFiles.
    • Read the tasks artifact and summarize pending work.
    • Note the implementation scope needed by the delegated apply flow.
    • Exclude blocked or all-done changes from execution and include them in the final report.
  4. Create isolated worktrees

    For each executable candidate change:

    • Create a git worktree under .worktrees/<change> unless the user specified another root.
    • Keep the parent agent out of direct implementation work in the main workspace.
    • Do not create commits, branches, or merges unless the user explicitly approved them.
  5. Dispatch subagents in parallel

    For each executable 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.

    Subagent prompt requirements:

    • Work only in the assigned worktree.
    • Use openspec-git-discipline before applying.
    • Run /opsx-apply <change>.
    • Run /opsx-verify <change> after apply work is complete.
    • Stop after verification.
    • Do not merge, archive, or commit unless explicitly instructed by the parent prompt.
    • Return 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, or failed
    • Verify status: ready, warnings, critical, or failed
    • Files changed summary
    • Blockers or unresolved warnings
  7. Report back without merging

    Present a final bulk-apply report:

    • Changes analyzed
    • Changes skipped and why
    • Worktrees created
    • Apply result per change
    • /opsx-verify result per change
    • Which changes are ready for human review

    End with: "No merge or archive was performed. Explicit user approval is required before any merge or archive."

Show full SKILL.md (215 more words)Show less

Quick Reference

SituationAction
2+ active candidatesBulk apply in isolated worktrees
Explicit list of 2+ changesBulk apply only those changes
1 candidateStop and use /opsx-apply <change>
Proposal not on mainExclude or stop before apply
Blocked or all-done changeSkip execution and report status
Subagent finishes applyRequire /opsx-verify <change> before review-ready
User asks to merge/archiveStop and require explicit follow-up approval

Common Mistakes

MistakeFix
Asking user to pick one change for a bulk requestKeep all executable candidates when 2+ remain
Running apply in the parent workspaceDispatch one subagent per worktree
Processing changes sequentiallyDispatch independent apply flows in parallel
Reporting ready after apply onlyRequire /opsx-verify <change> first
Treating verify as permission to mergeReport only; merge needs explicit approval
Archiving after verifyNever archive during bulk apply

Guardrails

  • Do not auto-merge.
  • Do not auto-archive.
  • Do not bulk-apply when only one candidate change remains.
  • Do not perform apply work in the parent agent; use subagents only.
  • Do not run bulk apply in the main workspace; use isolated worktrees only.
  • Keep .worktrees/ as the default worktree root unless the user specifies another location.
  • Require /opsx-verify in every delegated apply flow before reporting a change as review-ready.
  • Preserve OpenSpec git discipline: apply only changes whose proposal state has reached main.

© intent-driven-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .opencode/skills/openspec-bulk-apply-change of intent-driven-dev/intent-driven-template.

Open the folder on GitHubat commit 73f54d5

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in intent-driven-dev/intent-driven-template, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Openspec Bulk Apply Change next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openspec Bulk Apply Change compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openspec Bulk Apply Change this skillintent-driven-dev/intent-driven-template159—~1.4kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Finishing A Development Branchfarm-fe/farm5.6k33 repos~1.8kAutomated safety check: PassMIT
Git Worktree Cleanuplobehub/lobehub83k—~2.8kAutomated safety check: PassCustom licence
Pre-Release PR Triagejamiepine/voicebox57k—~3.1kAutomated safety check: PassMIT
Ccmanager Configkbwo/ccmanager1.3k—~1.5kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…

    5.6k GitHub starsUsed in 33 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Git Worktree Cleanup

    lobehub/lobehub

    Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.

    83k GitHub stars~2.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Ccmanager Config

    kbwo/ccmanager

    Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global ~/.config/ccmanager/config.json.

    1.3k GitHub stars~1.5k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Builds a Cap feature in an isolated Git worktree with disposable dev resources, verification, a recorded demo and a neutral pull request, started with /building.

    23k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check: warnings

More from intent-driven-dev/intent-driven-template

All 10 skills in this repo
  • Acceptance Test Authoring

    intent-driven-dev/intent-driven-template

    A skill your agent uses when creating or modifying acceptance tests, configuring cucumber-js or behave runners, writing or refactoring step definitions, linting executable Gherkin specs, choosing an…

    159 GitHub stars~2k tokensUpdated 3 days ago
    Auto-check passed
  • Adversarial Authoring

    intent-driven-dev/intent-driven-template

    A skill your agent uses when rules or instructions mention "adversarial-authoring", "adversarial authoring", "must use adversarial-authoring skill", "model council", "cross-model review", or…

    159 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • Architectural Decision Records

    intent-driven-dev/intent-driven-template

    A skill your agent uses when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision…

    159 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • Gherkin Authoring

    intent-driven-dev/intent-driven-template

    A skill your agent uses when drafting, reviewing, or improving Gherkin, Cucumber scenarios, BDD acceptance criteria, feature examples, Scenario Outlines, Backgrounds, Rules, Doc Strings, Data…

    159 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Glossary

    intent-driven-dev/intent-driven-template

    A skill your agent uses when authoring or reviewing specs, requirements, design docs, ADRs, tasks, glossary entries, domain terms, technical terms, or wording consistency across artifacts

    159 GitHub stars~767 tokensUpdated 3 days ago
    Auto-check passed
  • Spec As Source

    intent-driven-dev/intent-driven-template

    A skill your agent uses when a user or project explicitly adopts OpenSpec spec-as-source, fenced Gherkin specifications as executable acceptance tests, or acceptance-test-first OpenSpec tasks.

    159 GitHub stars~746 tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about Openspec Bulk Apply Change

What does Openspec Bulk Apply Change do?

A skill your agent uses when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge. Openspec Bulk Apply Change is an agent skill from intent-driven-dev/intent-driven-template. Use when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.

When should I use Openspec Bulk Apply Change?

Openspec Bulk Apply Change fits situations like: multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge; tasks that involve Git worktrees.

How do I install Openspec Bulk Apply Change in Claude Code?

Run `npx skills add intent-driven-dev/intent-driven-template --skill openspec-bulk-apply-change -a claude-code`. Or copy the skill folder (.opencode/skills/openspec-bulk-apply-change in intent-driven-dev/intent-driven-template) into .claude/skills/openspec-bulk-apply-change in your project. Claude Code loads it when a task matches its description.

How do I install Openspec Bulk Apply Change in Codex?

Run `npx skills add intent-driven-dev/intent-driven-template --skill openspec-bulk-apply-change -a codex`. Or copy the skill folder (.opencode/skills/openspec-bulk-apply-change in intent-driven-dev/intent-driven-template) into .agents/skills/openspec-bulk-apply-change in your project. Codex loads it when a task matches its description.

Can I use Openspec Bulk Apply Change in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add intent-driven-dev/intent-driven-template --skill openspec-bulk-apply-change -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openspec-bulk-apply-change, .gemini/skills/openspec-bulk-apply-change, .github/skills/openspec-bulk-apply-change and .opencode/skills/openspec-bulk-apply-change in your project.

What does Openspec Bulk Apply Change need to run?

Going by SKILL.md and its folder, Openspec Bulk Apply Change needs the command-line tools its instructions call (git). Compatibility (from SKILL.md): Requires git, OpenSpec CLI, and OpenCode subagents..

Does Openspec Bulk Apply Change access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Openspec Bulk Apply Change safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openspec Bulk Apply Change use?

Openspec Bulk Apply Change is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openspec Bulk Apply Change use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openspec Bulk Apply Change?

Skills that share tags, products or a category with Openspec Bulk Apply Change: Finishing a Development Branch (obra/superpowers, 296k stars), Finishing A Development Branch (farm-fe/farm, 5.6k stars), Git Worktree Cleanup (lobehub/lobehub, 83k stars) and Pre-Release PR Triage (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openspec Bulk Apply Change?

intent-driven-dev (a GitHub organization) maintains it in intent-driven-dev/intent-driven-template, which has 159 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 4, 2026.

Source: intent-driven-dev/intent-driven-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.