Official agent skill

Openspec Apply Change

by elastic in elastic/terraform-provider-elasticstack

Implement tasks from an OpenSpec change. An agent skill from elastic/terraform-provider-elasticstack.

OfficialMITAuto-check passed

Install Openspec Apply Change

skills CLI
$ npx skills add elastic/terraform-provider-elasticstack --skill openspec-apply-change -a claude-code

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

GitHub CLI
$ gh skill install elastic/terraform-provider-elasticstack openspec-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/elastic/terraform-provider-elasticstack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/openspec-apply-change .claude/skills/openspec-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-apply-change
GitHub stars
210
Used in
92 other repos
Token cost
~2.1k tokens
SKILL.md length
950 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Implement tasks from an OpenSpec change. An agent skill from elastic/terraform-provider-elasticstack.

  • Works in 7 steps: Select the change → Check status to understand the schema → Get apply instructions → …
  • The user wants to start implementing
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Continue implementation

What it does

Openspec Apply Change is an agent skill from elastic/terraform-provider-elasticstack, published by the product's own GitHub organization. Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

Its SKILL.md is about 2.1k 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 openspec CLI.

The repository describes itself as: Terraform provider for Elastic Stack. The licence is MIT.

When your agent uses it

  • The user wants to start implementing
  • Continue implementation
  • Work through tasks

Example prompts

  • “/openspec-apply-change”

Requirements

  • Compatibility (from SKILL.md): Requires openspec CLI.
  • Pre-approved tools (allowed-tools): Bash(openspec:*)

Workflow steps

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

  1. Select the change
  2. Check status to understand the schema
  3. Get apply instructions
  4. Read context files
  5. Show current progress
  6. Implement tasks (loop until done or blocked)
  7. On completion or pause, show status

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(openspec:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

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

  • Network

    No URLs in SKILL.md.

    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 openspec CLI.

    From compatibility in the SKILL.md frontmatter.

Context cost

Openspec Apply Change loads about 2.1k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 950 words of instructions outside code blocks.

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

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 elastic/terraform-provider-elasticstack at commit b6bbc21, republished under its MIT licence (© elastic). 950 words, ~2,052 tokens.

Download SKILL.mdSave it as .claude/skills/openspec-apply-change/SKILL.md (or your agent's skills folder).
name
openspec-apply-change
description
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
allowed-tools
Bash(openspec:*)
compatibility
Requires openspec CLI.
license
MIT
metadata.author
openspec
metadata.version
1.0
metadata.generatedBy
1.12.0

Implement tasks from an OpenSpec change.

Store selection: If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run openspec store list --json to discover registered store ids, then pass --store <id> on the commands that read or write specs and changes (new change, status, instructions, list, show, validate, archive, doctor, context, schemas, view). Once selected, treat --store <id> as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run openspec status --change "<name>" --json --store "<id>", not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local openspec/ root.

Input: Optionally specify a change name (e.g., /openspec-apply-change add-auth). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.

Steps

  1. Select the change

    If a name is provided, use it. Otherwise:

    • Infer from conversation context if the user mentioned a change
    • Auto-select if only one active change exists
    • If ambiguous, run openspec list --json to get available changes and ask the user to select one

    Always announce: "Using change: <name>" and how to override (e.g., /openspec-apply-change <other>).

  2. Check status to understand the schema

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

    Parse the JSON to understand:

    • schemaName: The workflow being used (e.g., "spec-driven")
    • planningHome, changeRoot, and actionContext: planning scope and edit constraints
    • Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
  3. Get apply instructions

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

    This returns:

    • contextFiles: artifact ID -> array of concrete file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs)
    • Progress (total, complete, remaining)
    • Task list with status
    • Dynamic instruction based on current state
    • Optional context: current required project instruction input from the selected root
    • Optional operationGuidance: current advisory guidance for apply

    Handle states:

    • If state: "blocked" (missing artifacts): show message, suggest using /openspec-continue-change (if it is not installed, run openspec status --change "<name>" --json to see the next artifact and openspec instructions <artifact-id> --change "<name>" --json for how to create it)
    • If state: "all_done": congratulate, suggest archive
    • Otherwise: proceed to implementation

    Treat context as a required prompt-level input. Read and consider it, and apply relevant project facts, conventions, and constraints while implementing. Treat operationGuidance as optional additive advice. Read and consider every entry, and follow entries that are applicable and compatible with the built-in workflow.

    Keep both fields separate from CLI-returned state, missing artifacts, tasks, progress, contextFiles, and the built-in instruction. They are not evidence of task completion, do not replace the built-in instruction, and do not permit bypassing a blocked state. If context conflicts with the built-in instruction, an explicit user choice, or a CLI-controlled value, report the conflict and preserve the controlling value. If guidance is inapplicable or conflicts with those controlling inputs, do not follow it and explain why. These are prompt-level behavior contracts, not enforceable checks.

  4. Read context files

    Read every file path listed under contextFiles from the apply instructions output. The files depend on the schema being used:

    • spec-driven: proposal, specs, design, tasks
    • Other schemas: follow the contextFiles from CLI output

    Do not copy context or operationGuidance verbatim into implementation files or planning artifacts unless the user separately asks for that content.

  5. Show current progress

    Display:

    • Schema being used
    • Progress: "N/M tasks complete"
    • Remaining tasks overview
    • Dynamic instruction from CLI
  6. Implement tasks (loop until done or blocked)

    For each pending task:

    • Show which task is being worked on
    • Make the code changes required
    • Keep changes minimal and focused
    • Mark task complete in the tasks file: - [ ] → - [x]
    • Continue to next task

    Pause if:

    • Task is unclear → ask for clarification
    • Implementation reveals a design issue → suggest updating artifacts
    • A task needs work beyond what the spec and tasks describe, or you are tempted to drop, narrow, defer, or accept exceptions to specified behavior to make it fit → surface the added scope and ask; do not absorb it silently
    • Error or blocker encountered → report and wait for guidance
    • User interrupts
  7. On completion or pause, show status

    Display:

    • Tasks completed this session
    • Overall progress: "N/M tasks complete"
    • If all done: suggest archive
    • If paused: explain why and wait for guidance
Show full SKILL.md (231 more words)Show less

Output During Implementation

## Implementing: <change-name> (schema: <schema-name>)

Working on task 3/7: <task description>
[...implementation happening...]
✓ Task complete

Working on task 4/7: <task description>
[...implementation happening...]
✓ Task complete

Output On Completion

## Implementation Complete

**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 7/7 tasks complete ✓

### Completed This Session
- [x] Task 1
- [x] Task 2
...

All tasks complete! You can archive this change with `/openspec-archive-change`.

Output On Pause (Issue Encountered)

## Implementation Paused

**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 4/7 tasks complete

### Issue Encountered
<description of the issue>

**Options:**
1. <option 1>
2. <option 2>
3. Other approach

What would you like to do?

Guardrails

  • Keep going through tasks until done or blocked
  • Always read context files before starting (from the apply instructions output)
  • If task is ambiguous, pause and ask before implementing
  • If implementation reveals issues, pause and suggest artifact updates
  • Keep code changes minimal and scoped to each task
  • Update task checkbox immediately after completing each task
  • Pause on errors, blockers, or unclear requirements - don't guess
  • When a task needs work beyond what the spec describes, surface the added scope and pause - never silently narrow, defer, or simplify away specified behavior
  • Only mark a task - [x] when its specified behavior is fully implemented, not when it is partially done or deferred
  • Use contextFiles from CLI output, don't assume specific file names
  • Do not use context or operation guidance as proof that a task is complete
  • Apply relevant project context; report conflicts with controlling workflow inputs
  • Consider every guidance entry; explain any inapplicable or conflicting advice
  • Do not copy runtime context or operation guidance into implementation files or planning artifacts
  • Preserve CLI-controlled blocked/ready/all-done behavior and completion criteria

Fluid Workflow Integration

This skill supports the "actions on a change" model:

  • Can be invoked anytime: Before all artifacts are done (if tasks exist), after partial implementation, interleaved with other actions
  • Allows artifact updates: If implementation reveals design issues, suggest updating artifacts - not phase-locked, work fluidly

© elastic, 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 .agents/skills/openspec-apply-change of elastic/terraform-provider-elasticstack.

Open the folder on GitHubat commit b6bbc21

Used in at least 31 other repositories

We found 156 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 92 other GitHub owners. This page covers the copy in elastic/terraform-provider-elasticstack, which our catalogue first saw on October 7, 2026.

…and 106 more copies not listed here.

Compare with similar skills

Openspec 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 Apply Change compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openspec Apply Change this skillelastic/terraform-provider-elasticstack21092 repos~2.1kAutomated safety check: PassMIT
Implementsickn33/agentic-awesome-skills47k5 repos~306Automated safety check: PassMIT
Implementcodewhale-hq/Codewhale41k—~190Automated safety check: PassMIT
Openspec Verify ChangeFission-AI/OpenSpec71k2 repos~4.6kAutomated safety check: PassMIT
Incremental Implementationaddyosmani/agent-skills103k1 repos~2.3kAutomated safety check: PassMIT
Implementbestofjs/bestofjs3.1k18 repos~109Automated safety check: PassMIT

Similar skills

  • Implement

    sickn33/agentic-awesome-skills

    Implement a piece of work based on a PRD or set of issues. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 5 repos~306 tokens
    Product & Project ManagementAuto-check passed
  • Implement

    codewhale-hq/Codewhale

    Carry an authorized, defined request or approved plan through scoped edits and proportionate verification.

    41k GitHub stars~190 tokensUpdated today
    Auto-check passed
  • Openspec Verify Change

    Fission-AI/OpenSpec

    Verify implementation matches OpenSpec change artifacts. An agent skill from Fission-AI/OpenSpec.

    71k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Incremental Implementation

    addyosmani/agent-skills

    Delivers a change in thin vertical slices, each implemented, tested, verified and committed before the next, using vertical, contract-first or risk-first slicing.

    103k GitHub starsUsed in 1 repo~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Implement

    bestofjs/bestofjs

    Implement a piece of work based on a spec or set of tickets.

    3.1k GitHub starsUsed in 18 repos~109 tokens
    Auto-check passed
  • Implement

    Automattic/simplenote-android

    End-to-end implementation workflow: plan, implement, verify, commit, and open a draft PR.

    1.9k GitHub stars~1.1k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from elastic/terraform-provider-elasticstack

All 21 skills in this repo
  • Openspec Explore

    elastic/terraform-provider-elasticstack

    Official

    Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements.

    210 GitHub starsUsed in 87 repos~4.6k tokens
    Auto-check passed
  • Openspec Archive Change

    elastic/terraform-provider-elasticstack

    Official

    Archive a completed change in the experimental workflow. An agent skill from elastic/terraform-provider-elasticstack.

    210 GitHub starsUsed in 86 repos~2.7k tokens
    Auto-check passed
  • PR Monitoring Loop

    elastic/terraform-provider-elasticstack

    Official

    Monitor GitHub pull requests through a subagent-based loop that watches CI checks, review comments, PR comments, review state, merge conflicts, and branch freshness.

    210 GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Openspec Plus Proposal

    elastic/terraform-provider-elasticstack

    Official

    MANDATORY skill that activates whenever the OpenSpec proposal phase begins.

    210 GitHub starsUsed in 1 repo~3.2k tokens
    Auto-check passed
  • Openspec Continue Change

    elastic/terraform-provider-elasticstack

    Official

    Continue working on an OpenSpec change by creating the next artifact.

    210 GitHub starsUsed in 31 repos~1.7k tokens
    Auto-check passed
  • Openspec Plus Spec

    elastic/terraform-provider-elasticstack

    Official

    MANDATORY skill that activates whenever the OpenSpec specification phase begins.

    210 GitHub starsUsed in 1 repo~4.7k tokens
    Auto-check passed

Questions about Openspec Apply Change

What does Openspec Apply Change do?

Implement tasks from an OpenSpec change. An agent skill from elastic/terraform-provider-elasticstack. Openspec Apply Change is an agent skill from elastic/terraform-provider-elasticstack, published by the product's own GitHub organization. Implement tasks from an OpenSpec change.

When should I use Openspec Apply Change?

Openspec Apply Change fits situations like: the user wants to start implementing; continue implementation; work through tasks.

How do I install Openspec Apply Change in Claude Code?

Run `npx skills add elastic/terraform-provider-elasticstack --skill openspec-apply-change -a claude-code`. Or copy the skill folder (.agents/skills/openspec-apply-change in elastic/terraform-provider-elasticstack) into .claude/skills/openspec-apply-change in your project. Claude Code loads it when a task matches its description.

How do I install Openspec Apply Change in Codex?

Run `npx skills add elastic/terraform-provider-elasticstack --skill openspec-apply-change -a codex`. Or copy the skill folder (.agents/skills/openspec-apply-change in elastic/terraform-provider-elasticstack) into .agents/skills/openspec-apply-change in your project. Codex loads it when a task matches its description.

Can I use Openspec 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 elastic/terraform-provider-elasticstack --skill openspec-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-apply-change, .gemini/skills/openspec-apply-change, .github/skills/openspec-apply-change and .opencode/skills/openspec-apply-change in your project.

What does Openspec Apply Change need to run?

SKILL.md names no scripts, command-line tools or credentials: Openspec Apply Change is instructions for the agent only. Its frontmatter pre-approves these tools: Bash(openspec:*). Compatibility (from SKILL.md): Requires openspec CLI..

Does Openspec Apply Change access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openspec 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 Apply Change use?

Openspec 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 Apply Change use?

About 2.1k tokens (SKILL.md is roughly 8.2k 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 Apply Change?

Skills that share tags, products or a category with Openspec Apply Change: Implement (sickn33/agentic-awesome-skills, 47k stars), Implement (codewhale-hq/Codewhale, 41k stars), Openspec Verify Change (Fission-AI/OpenSpec, 71k stars) and Incremental Implementation (addyosmani/agent-skills, 103k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openspec Apply Change?

elastic (a GitHub organization, an official publisher) maintains it in elastic/terraform-provider-elasticstack, which has 210 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 8, 2026.

Source: elastic/terraform-provider-elasticstack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.