codexspec:clarify

codexspec:clarify is a skill for Claude Code, Codex from Zts0hg/codexspec. It costs 21 tokens per session (595 once invoked), scanned A, original, MIT.

A requirements-clarifying tool that resolves ambiguous details and keeps requirements and specifications aligned.

In plain words
What is it for?
Use it to clarify unclear feature requirements, update requirements.md and spec.md together, and review an optional review-spec.md file.
Why use it?
It helps prevent the requirements from saying one thing while the specification says another. It also checks the relevant existing files before making changes.

Skill for Claude CodeCodex

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/zts0hg/codexspec/codexspec-clarify
Any agent
npx skills add Zts0hg/codexspec --skill codexspec-clarify
Clone the repo
git clone --depth 1 https://github.com/Zts0hg/codexspec

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 codexspec:clarify

README.md
[![agentmods](https://agentmods.dev/badge/skills/zts0hg/codexspec/codexspec-clarify.svg)](https://agentmods.dev/skills/zts0hg/codexspec/codexspec-clarify)
Your own site
<a href="https://agentmods.dev/skills/zts0hg/codexspec/codexspec-clarify"><img src="https://agentmods.dev/badge/skills/zts0hg/codexspec/codexspec-clarify.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 595 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 $0.00021 $0.00595
Opus 5 $0.00010 $0.00298
Sonnet 5 $0.00004 $0.00119
Haiku 4.5 $0.00002 $0.00060

Measured 3d ago against content hash cf670ea47123, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codexspec:clarify 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 3d 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.

.agents/skills/codexspec-clarify/SKILL.md · 77 lines

How it starts

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

Requirements Clarifier

Language Preference

Read .codexspec/config.yml. Two independent language controls apply (each falls back to language.output, then English):

  • Interaction language (language.interaction): language for all conversation with the user — questions, explanations, status messages, and codexspec CLI terminal output.
  • Document language (language.document): language for generated artifact files (requirements/spec/plan/tasks).

Converse in the interaction language and author artifacts in the document language. Apply the project's translation standard to both: translate by meaning (not word-for-word), keep English for terms with no good native equivalent, and write as if originally in that language.

User Input

the text after the $codexspec:clarify skill mention

Feature Resolution

Use an explicit path first, then the current branch. Ask the user when resolution is ambiguous; never silently select the latest feature.

Read:

  • requirements.md
  • spec.md
  • review-spec.md when present
  • Constitution

Legacy compatibility: when only spec.md exists, extract candidate requirement records with Status: open. Do not assume the extracted wording reflects the original discussion until the user confirms it.

Clarification Priorities

Prioritize:

  1. Confirmed requirement and spec mismatches
  2. Critical or Warning defects from review-spec.md
  3. Open items that block planning
  4. Material ambiguity, contradiction, missing behavior, or unverifiable requirements

Do not ask questions solely to fill a template section or add generic best practices.

Question Loop

  • Ask exactly one material question at a time.
  • Explain the affected requirement IDs and implementation consequence.
  • Offer 2-4 meaningful options when possible.
  • Limit a session to five questions unless the user explicitly asks to continue.

After each answer, keep it as a candidate. At a coherent stage boundary, present a stage summary and request explicit confirmation.

Read the full file on GitHub · 77 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. 3d ago First seen · 77 lines · 21 tokens per session scan A cf670ea47123

Subscribe to this mod's changes

codexspec:clarify is a skill published in the GitHub repository Zts0hg/codexspec (5 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 595 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

implement-type-annotations

Add comprehensive type hints to Python/TypeScript code to improve IDE support, catch errors early, and enable better AI code understanding.

ambient-code/agentready · 30 tokens

python-anti-patterns

Use this skill when reviewing Python code for common anti-patterns to avoid. Use as a checklist when reviewing code, before finalizing implementations, or when debugging issues that might stem from known bad practices.

zebbern/pocmap · 46 tokens

python-background-jobs

Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request/response cycles.

zebbern/pocmap · 45 tokens

python-design-patterns

Python design patterns including KISS, Separation of Concerns, Single Responsibility, and composition over inheritance. Use this skill when designing a new service or component from scratch and choosing how to layer responsibilities, when refactoring a God class or monolithic function that has grown too large, when…

zebbern/pocmap · 121 tokens

python-error-handling

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

zebbern/pocmap · 43 tokens

python-performance-optimization

Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing bottlenecks, or improving application performance.

zebbern/pocmap · 40 tokens