spec-workflow

spec-workflow is a skill for Claude Code, Codex from znlgis/my-opencode-deepseek-config. It costs 104 tokens per session (1,464 once invoked), scanned A, original, MIT.

A lightweight workflow for planning a non-trivial software change with Markdown files tracked in Git.

In plain words
What is it for?
Use it to create a proposal, write specifications, document the design when needed, track implementation tasks, and archive completed work.
Why use it?
It keeps the reason for a change, its requirements, technical approach, and task checklist in durable project documents that people and agents can share.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

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/znlgis/my-opencode-deepseek-config/spec-workflow
Any agent
npx skills add znlgis/my-opencode-deepseek-config --skill spec-workflow
Clone the repo
git clone --depth 1 https://github.com/znlgis/my-opencode-deepseek-config

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 spec-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/spec-workflow.svg)](https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/spec-workflow)
Your own site
<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/spec-workflow"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/spec-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,464 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.1 $0.00104 $0.01464
Opus 5 $0.00052 $0.00732
Sonnet 5 $0.00021 $0.00293
Haiku 4.5 $0.00010 $0.00146

Measured 6d ago against content hash d41f34658f38, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

spec-workflow 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 6d 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/spec-workflow/SKILL.md · 121 lines

How it starts

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

Spec-Driven Change Workflow

Plan and land a change through durable, git-tracked artifacts shared by humans and coding agents. Adapted (pure prompt, no tooling) from OpenSpec OPSX.

Philosophy

  • Enablers, not gates. Artifacts show what's possible next, not what you MUST do — edit an earlier artifact anytime.
  • Artifacts are the source of truth. Plans live as markdown in the repo, so they survive the session and stay greppable.
  • Brownfield-friendly + scale down. Delta specs (ADDED/MODIFIED/REMOVED/RENAMED) describe only what changes; skip the ceremony for a one-line fix.

Directory convention

openspec/
├── specs/<capability>/spec.md          ← source of truth (shipped behavior)
├── explorations/<topic>.md             ← optional pre-proposal notes
└── changes/
    ├── <change-id>/                    ← one in-flight change (kebab-case)
    │   ├── proposal.md                 ← WHY + WHAT (required)
    │   ├── design.md                   ← HOW (optional, only when warranted)
    │   ├── tasks.md                    ← checklist the apply step tracks (required)
    │   └── specs/<capability>/spec.md  ← delta: what this change adds/edits
    └── archive/YYYY-MM-DD-<change-id>/ ← completed changes, kept for history

Project-wide context and rules live in AGENTS.md — honor it in every artifact.

Action: propose

Create openspec/changes/<change-id>/ with a proposal, tasks, delta specs, and (when warranted) a design. Research existing code and openspec/specs/ first.

  • proposal.md (1–2 pages, WHY not HOW): ## Why, ## What Changes (mark BREAKING), ## Capabilities, ## Impact, an initially-empty ## Updates.
  • tasks.md: - [ ] checkboxes, grouped and ordered by dependency; each task fits one session and is verifiable.
  • design.md: only if cross-cutting, a new pattern/dependency/data-model, or security/performance/migration complexity (Context · Goals/Non-Goals · Decisions · Risks · Migration · Open Questions).

Read the full file on GitHub · 121 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. 6d ago First seen · 121 lines · 104 tokens per session scan A d41f34658f38

Subscribe to this mod's changes

spec-workflow is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (58 stars, last pushed 3d ago), licensed MIT. It adds 104 tokens to every session and 1,464 once invoked, about $0.0005 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-08-30.