gaze: Skill for Claude Code

.opencode/skills/openspec-apply-change/SKILL.md

openspec-apply-change is a skill for Claude Code, OpenCode from unbound-force/gaze. It costs 31 tokens per session (2,263 once invoked), scanned A, original, Apache-2.0.

Instructions for implementing an OpenSpec change, a defined set of software tasks and requirements.

In plain words
What is it for?
They help start or continue work on a specified change while enforcing branch and project-context requirements.
Why use it?
They provide checks for selecting the change, confirming the correct Git branch, and finding relevant implementation patterns before coding.

Skill for Claude CodeOpenCode

Written for Claude Code and OpenCode: allowed-tools in frontmatter, but also installed under .opencode/. Also seen: mentions OpenCode.

This is unbound-force/gaze's own configuration. It tells Claude Code and OpenCode how to work on gaze itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gaze configures →

Reuse

Borrowing it

Nothing to install: this file belongs to unbound-force/gaze. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/unbound-force/gaze/main/.opencode/skills/openspec-apply-change/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/unbound-force/gaze

Made for: Claude Code, OpenCode.

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-apply-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/unbound-force/gaze/openspec-apply-change/github.svg)](https://agentmods.dev/skills/unbound-force/gaze/openspec-apply-change)
Your own site
<a href="https://agentmods.dev/skills/unbound-force/gaze/openspec-apply-change"><img src="https://agentmods.dev/badge/skills/unbound-force/gaze/openspec-apply-change/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openspec-apply-change

Your own site · 80×15
<a href="https://agentmods.dev/skills/unbound-force/gaze/openspec-apply-change"><img src="https://agentmods.dev/badge/skills/unbound-force/gaze/openspec-apply-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,263 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.02263
Opus 5.5 $0.00012 $0.00905
Sonnet 5.5 $0.00006 $0.00453
Haiku 4.5 $0.00003 $0.00226

Measured 1mo ago against content hash 645ed12a1335, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openspec-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 1mo ago.

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-apply-change/SKILL.md · 237 lines

How it starts

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

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., /opsx-apply 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: " and how to override (e.g., /opsx-apply <other>).

Validate branch

Run git rev-parse --abbrev-ref HEAD to get the current branch.

  • If the current branch is opsx/<change-name>: proceed.
  • If the current branch is NOT opsx/<change-name>: STOP with error:

    "Must be on branch opsx/<change-name> to implement this change. Run: git checkout opsx/<change-name>"

Retrieve implementation context from Dewey

Before implementing, query Dewey for relevant patterns:

  • dewey_semantic_search with the task description to find similar implementations in other repos
  • dewey_semantic_search_filtered with source_type: "web" to find relevant toolstack documentation
  • dewey_search for convention pack references related to the task's domain

Use the retrieved context to follow established patterns and avoid reinventing solutions that already exist in the ecosystem.

If Dewey is unavailable, proceed with direct file reads of convention packs and local code examples.

Dewey Availability Tiers

Adjust context retrieval based on Dewey availability:

Tier 3 (Full Dewey): Use dewey_semantic_search, dewey_search, dewey_traverse, and dewey_semantic_search_filtered for comprehensive cross-repo and toolstack context.

Tier 2 (Graph-only, no embedding model): Use dewey_search and dewey_traverse for keyword-based and structural queries. Semantic search is unavailable.

Tier 1 (No Dewey): Fall back to direct file operations:

  • Use the Read tool to read local specs, backlog items, and convention packs
  • Use the Grep tool for keyword search across the codebase
  • Reference .opencode/uf/packs/ for coding standards

All tiers produce valid results. Higher tiers provide richer cross-repo context but are never required.

  1. Check status to understand the schema

    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)
  2. Get apply instructions

    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

Read the full file on GitHub · 237 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. 1mo ago Changed · +48 lines 645ed12a1335
  2. 1mo ago Changed · -28 lines 90aba1844c19
  3. 2mo ago First seen · 217 lines · 31 tokens per session scan A 4a81c62d7b25

Subscribe to this mod's changes

openspec-apply-change is a skill published in the GitHub repository unbound-force/gaze (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 2,263 once invoked, about $0.0001 per session on Opus 5.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-08-31.

Related

openspec-apply-change compared with skills from other repositories

openspec-apply-change next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openspec-apply-changeunbound-force/gazeSkill4yesterdayApache-2.0A31Claude Code, OpenCode
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code