openspec-apply-change
What it does
This skill guides an agent through implementing the tasks in an OpenSpec change. It is for developers who write their plans as OpenSpec changes and want the agent to work through them in order.
When to use it
- ✓When you want to start implementing a change that already has a task list.
- ✓When you want to continue a change where the work stopped.
- ✓When you want the agent to work through the remaining tasks of a change one by one.
Skill link
https://github.com/monid-ai/monid/blob/main/.opencode/skills/openspec-apply-change/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Start implementing the add-user-auth change and work through its tasks until they are all done.”
5 new skills a week. 1 minute to read.
How it works
The skill finds the change you name, or the one from the conversation, and reads its status and task list with the OpenSpec command-line tool. It then works through the remaining tasks and tracks what is left.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Implement tasks from an OpenSpec change.
Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
Steps
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 --jsonto get available changes and use the AskUserQuestion tool to let the user select
Always announce: "Using change: <name>" and how to override (e.g.,
/opsx-apply <other>).Check status to understand the schema
openspec status --change "<name>" --jsonParse the JSON to understand:
schemaName: The workflow being used (e.g., "spec-driven")planningHome,changeRoot, andactionContext: planning scope and edit constraints- Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
Get apply instructions
openspec instructions apply --change "<name>" --jsonThis 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
Handle states:
- If
state: "blocked"(missing artifacts): show message, suggest using openspec-continue-change - If
state: "all_done": congratulate, suggest archive - Otherwise: proceed to implementation
Workspace guard: If status JSON reports
actionContext.mode: "workspace-planning"andallowedEditRootsis empty, explain that full workspace apply is not supported in this slice. Treat linked repos and folders as read-only context, ask the user to select an affected area through an explicit implementation workflow, and STOP before editing files.Read context files
Read every file path listed under
contextFilesfrom 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
Show current progress
Display:
- Schema being used
- Progress: "N/M tasks complete"
- Remaining tasks overview
- Dynamic instruction from CLI
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
- Error or blocker encountered → report and wait for guidance
- User interrupts
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
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! Ready to archive this 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
FAQ
What if I do not name a change?
The skill tries to infer it from the conversation, or asks you to pick one if it is unclear.
Does it need OpenSpec installed?
Yes, it uses the OpenSpec command-line tool to read status and task lists.
Can I switch to another change?
Yes, you can name a different change to override the one being used.
Details
Original description by the author
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
repo: monid-ai/monid
Popularity
- GitHub stars
- 6.1k
- Ranking position
- #14421
- License
- MIT
- Updated
- 10/22/2026
Comments
- …
More skills from this repository
openspec-archive-change
6.1kHelps your agent finalize and archive a finished OpenSpec change after its implementation is complete.
openspec-explore
6.1kHelps you think through an idea or problem with an agent as a thinking partner, without writing any code.
openspec-propose
6.1kHelps your agent create a new OpenSpec change with its proposal, design and task list in one step, ready for implementation.
openspec-sync-specs
6.1kHelps your agent update the main specification files with the changes from a delta spec, without archiving the change.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.