opencode-gui: Skill for Claude Code

.agents/skills/spec-review/SKILL.md

spec-review is a skill for Claude Code, Codex from saffron-health/opencode-gui. It costs 35 tokens per session (1,009 once invoked), scanned A, a copy of spec-review, MIT.

A skill for reviewing a software specification against expected requirements and the current codebase. It looks for missing details, bugs, and design choices that the specification does not settle.

In plain words
What is it for?
Use it when checking a specification for completeness and correctness. It examines referenced files and external documentation, then reports findings with specific locations.
Why use it?
It helps find problems before implementation, such as ambiguous files, missing migration steps, or incomplete dependency and API decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is saffron-health/opencode-gui's own configuration. It tells Claude Code and Codex how to work on opencode-gui 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 opencode-gui configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saffron-health/opencode-gui. 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/saffron-health/opencode-gui/main/.agents/skills/spec-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saffron-health/opencode-gui

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/saffron-health/opencode-gui/spec-review.svg)](https://agentmods.dev/skills/saffron-health/opencode-gui/spec-review)
Your own site
<a href="https://agentmods.dev/skills/saffron-health/opencode-gui/spec-review"><img src="https://agentmods.dev/badge/skills/saffron-health/opencode-gui/spec-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 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 89% copy Near-identical to another mod 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.00035 $0.01009
Opus 5 $0.00017 $0.00504
Sonnet 5 $0.00007 $0.00202
Haiku 4.5 $0.00003 $0.00101

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

Security

Grade A, and why

spec-review 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 7d 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.

Origin

This is a copy

89% identical to spec-review — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/spec-review/SKILL.md · 97 lines

How it starts

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

Review the spec the user points you to. Follow these steps in order.

Step 1: Read the spec and the generate-spec skill

Read the spec file the user references. Then read .agents/skills/generate-spec/SKILL.md to understand the requirements specs must meet.

Step 2: Research the codebase

Use sub-agents to read every file listed in the spec's "Important files" section. For each file, understand its current state well enough to evaluate whether the spec's proposed changes are correct and complete.

If the spec references external libraries or APIs, look up their documentation.

Step 3: Evaluate

Assess the spec against three categories. For each finding, cite the specific spec line or section and the relevant source file and line number.

Under-specified areas

Find places where the spec leaves ambiguous decisions that should have explicit design intent from the user. Examples:

  • A phase says "update the handler" but two handlers exist and the spec does not say which one
  • A schema change is described but the migration path for existing data on disk is not addressed
  • A new dependency is introduced between two modules but the spec does not state which module owns the interface
  • Error handling or edge cases are not mentioned for a path that can clearly fail
  • The spec describes behavior but does not specify what happens when the precondition is not met

Do not flag things that are obviously implied by context. Flag things where a reasonable implementer would have to guess.

Bugs

Find design-level logical errors — things that would send an implementer down the wrong path or produce incorrect behavior that tooling won't catch. Examples:

  • A phase deletes a module but a later phase depends on the concept it provided (not just the import — the typecheck catches that)
  • The spec contradicts its own goals or non-goals (e.g., says "calendar support later" but removes the only calendar mechanism without acknowledging it)
  • A fan-out loop creates sessions but nothing deduplicates if the same event matches the same trigger twice
  • The spec assumes a data shape or behavior that doesn't match reality in the codebase

Read the full file on GitHub · 97 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. 7d ago First seen · 97 lines · 35 tokens per session scan A 3667a3eeefb0

Subscribe to this mod's changes

spec-review is a skill published in the GitHub repository saffron-health/opencode-gui (58 stars, last pushed 5mo ago), licensed MIT. It adds 35 tokens to every session and 1,009 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to spec-review, differing in 18 lines, and is treated as a copy.