requirement-clarification

requirement-clarification is a skill for Claude Code, Codex from Dqz00116/skill-lib. It costs 23 tokens per session (1,974 once invoked), scanned C, original, MIT.

A method for resolving unclear instructions before carrying them out, especially when they could change files, settings, or other project state.

In plain words
What is it for?
Use it to detect ambiguity, assess the risk of an operation, and ask for the specific information or confirmation needed to proceed.
Why use it?
It prevents work from proceeding with missing details, vague scope, or assumptions the user has not confirmed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - A) ./backup/ (backup directory).

Good fit Use it to detect ambiguity, assess the risk of an operation, and ask for the specific information or confirmation needed to proceed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Dqz00116/skill-lib
agentmods
npx agentmods add skills/dqz00116/skill-lib/requirement-clarification

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 requirement-clarification

README.md
[![agentmods](https://agentmods.dev/badge/skills/dqz00116/skill-lib/requirement-clarification.svg)](https://agentmods.dev/skills/dqz00116/skill-lib/requirement-clarification)
Your own site
<a href="https://agentmods.dev/skills/dqz00116/skill-lib/requirement-clarification"><img src="https://agentmods.dev/badge/skills/dqz00116/skill-lib/requirement-clarification.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,974 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00023 $0.01974
Opus 5 $0.00012 $0.00987
Sonnet 5 $0.00005 $0.00395
Haiku 4.5 $0.00002 $0.00197

Measured 8d ago against content hash 9365cb10469f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

requirement-clarification scanned grade C with 1 finding 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 8d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `rm -rf` or permanent deletion
requirement-clarification/SKILL.md · 340 lines

How it starts

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

Requirement Clarification

Overview

Intercept and clarify ambiguous user instructions before execution.


When to Use

Use this skill when:

  • User instruction contains missing critical information
  • References are vague ("that", "this", "there" without context)
  • Statement is non-affirmative (questions, conditionals, suggestions)
  • Scope or quality criteria are unclear
  • High-risk operations (Git, file changes, config updates) are requested

Trigger Threshold: Score >= 30 or any mandatory trigger condition


Prerequisites

  • Understanding of the user's current context
  • Knowledge of state-changing vs read-only operations
  • Familiarity with confirmation vocabulary (preparing vs approving)

Workflow

Step 1: Ambiguity Detection

Calculate ambiguity score (0-100):

Factor Score
Missing critical parameter +25 each
Vague reference +15 each
Non-affirmative statement +20
Scope ambiguity +10
Conditional clause +15
High-risk operation +25
Non-confirmation word (准备 (Preparing)/考虑 (Considering)/研究 (Studying/Researching)/讨论 (Discussing)) +20

Thresholds:

  • 0-29: Proceed directly
  • 30-59: Light clarification (1-2 questions)
  • 60-89: Deep clarification (structured interview)
  • 90+: Reject (too ambiguous)

Step 2: Mandatory Pause Check

Before ANY state-changing action, ask:

"Stop. Does this change state? Yes. Is it confirmed? No. Go confirm."

Triggers mandatory pause:

  • Score >= 30
  • Git operations (branch, commit, push, merge)
  • File creation/deletion/moving
  • Configuration changes
  • "Preparing" words detected without "approving" context

Step 3: Clarification Strategy

Single Question Focus: Ask ONE critical question at a time.

Provide Sensible Defaults:

Target path?
- A) ./backup/ (backup directory)
- B) ./archive/ (archive directory)
- C) Other: _____

Use Concrete Examples:

Performance target?
Examples:
- "Startup time < 3 seconds"
- "Memory usage < 100MB"
- "QPS > 1000"

Read the full file on GitHub · 340 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. 8d ago First seen · 340 lines · 23 tokens per session scan C 9365cb10469f

Subscribe to this mod's changes

requirement-clarification is a skill published in the GitHub repository Dqz00116/skill-lib (22 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 1,974 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

release-sync

Syncs latest release content to NotebookLM and HQ Knowledge Base after version tagging. Reads CHANGELOG, CLAUDE.md, and hook README, updates notebook sources, and ingests release digest. Optionally generates podcast from updated knowledge base. Use after tagging a new version to propagate release knowledge.

yonatangross/orchestkit · 62 tokens

openclaw-debugger

Trigger when an OpenClaw agent is broken, silent, crashing, stuck, not responding, returning empty output, or the user says "my agent is down", "agent not working", "/openclaw-debugger". Walks through the standard OpenClaw 2026.4 diagnosis checklist and prints a report.

mergisi/awesome-openclaw-agents · 71 tokens

tweetclaw

OpenClaw guide for Twitter search, follower exports, monitoring, media, and approved X automation through Xquik. Not affiliated with X Corp.

Xquik-dev/tweetclaw · 34 tokens

rosclaw-embodied

A set of rules for completing robot tasks in ROSClaw, a system for running and checking robot work. It covers approved robot files, acceptance evidence, and separate rules for simulation and real hardware.

ros-claw/rosclaw · 54 tokens

git-commit-writer

Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit". Reads git diff --staged and produces an opinionated, convention-matching commit message.

mergisi/awesome-openclaw-agents · 53 tokens

meeting-notes

Paste raw meeting notes and get a clean summary with key decisions and action items.

mergisi/awesome-openclaw-agents · 20 tokens