/fh-meta:deep-clarifyfrom fh-meta
Clarifies vague or open-ended build requests through Socratic questioning, then produces an actionable spec document. Use when a request describes only a problem or hope, not a concrete plan.
Ships in fh-meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A skill that clarifies vague or open-ended requests through conversation to produce actionable spec documents. An independent extension of the "direction confirmation" protocol from agent-composer Step 0-a.
/deep-clarifyCriteria for asking vs inferring:
(inferred: X)Quickly identify the following from the user's request.
Clarity check:
□ Upper goal — Why (why this is wanted, what is better once it is done) — ask if unclear
□ Final state (what will be different when done?) — ask if unclear
□ Completion criteria (how will it be verified?) — ask if unclear
□ Constraints (what must not be done, what must not be touched) — ask if unclear
□ Priority (fast vs thorough, now vs later) — ask if unclear
□ Textbook phrases in the request (see below)
The Why is asked on its own, not folded into the Goal: when it is missing, the gaps get filled with the AI's own defaults, and every later choice inherits them.
A phrase that sounds like a requirement but does not say what to do — "make it scalable", "standard
architecture", "clean code", "best practice", "production-ready", "user-friendly" (examples, not a closed
list) — is not recorded as a requirement. Ask once what is actually needed behind it, with a concrete
guess: "'Scalable' — for how many users or how much data, and what must not get slower? (inferred: one team,
a few hundred records)". This question uses one of the round's two slots. If the answer is the phrase again,
record your guess as (inferred: …) in the spec and list it under Open questions — do not ask a second time.
Direct entry conditions (skip Rounds 1–2 and go straight to Round 3):
Clarification needed.
1. Why: What is this for — what will be better once it is done?
(inferred: [inferred upper goal] — confirm if correct)
2. Completion criteria: What does a completed [task name] look like?
(inferred: [inferred completion criteria] — confirm if correct)
Skip a question the request already answers. A textbook phrase (Step 1) takes the free slot here or in Round 2.
Skip if Round 1 resolves everything — unless the money · personal-data question below applies. Ask at most
two of the items still open — scope, what must not be done, priority, a textbook phrase — and infer the rest
as (inferred: X).
1. Scope: Which of [A / B / C] takes priority?
(inferred: [inferred choice] — reason: [rationale])
2. Is there anything this task must absolutely not do?
(or, if that is already clear: Which takes priority — fast completion vs solid design?)
Money · personal data — what is it bound to? When the request touches payments or billing, accounts
(sign-up, login) or personal data (name, email, phone, address) — a borderline case included — Round 2 asks
this once, in one of its two slots, ahead of the other open items:
"Which unique key are money and personal data bound to — and is anything matched on a value that can change,
such as an email address? (inferred: [an internal ID that never changes; email used only for contact])"
A wrong binding is costly to undo once data exists (a balance or record attached to the wrong person,
accounts merged or split when an email changes), so it is asked, not inferred. If Round 1 settled everything,
or the request went straight to the spec, this is Round 2's only question; the round and question caps do not
change. "Don't know" does not hold up the spec: record the guess as (inferred: …) and list it under Open
questions. A request that touches none of these never gets this question, and it does not grow into a
security review.
Draft the spec first and show its summary, Excluded scope included. Then test understanding instead of asking "is this right?" — agreement proves little, a choice proves more. Pick one design option the user has not mentioned, one whose answer follows from the Why (for example: save to a local file vs a server database; one shared page vs a page per user).
1. One choice we have not discussed: for [decision], [option A] or [option B]?
(I expect [A], because your Why is "[Why in their words]")
2. (only if the pick contradicts the Why) You picked [B], but [B] means [consequence], and your Why was
"[Why]". Which matters more here?
## Understanding check.Structure and save the results of the conversation. This step writes a file — outputting the path is not saving it.
slug = kebab-case(spec title) + "-" + YYYYMMDD
(lowercase, non-alphanumerics → -, collapse repeats, strip leading/trailing -).
Example: "Rewrite the login flow" on 2026-08-11 → rewrite-the-login-flow-20260811.specs/{slug}.md already exists → ABORT and report the existing path.
Never overwrite and never silently suffix — an existing spec is a prior decision to extend or
supersede, and that is the user's call.mkdir -p specs
Then Write → specs/{slug}.md with the format below, and verify:
test -f specs/{slug}.md && echo "SPEC SAVED: specs/{slug}.md"
Where: specs/ in the work folder, not under .claude/ — Claude Code asks before writing there, so a
headless run is refused and an interactive user gets a «modify sensitive file» prompt. A spec an earlier
version saved under .claude/specs/ stays where it is.
Residency: the spec records the user's goals, constraints, and "must not touch" list.
specs/ is gitignored in this repo; in a company project, confirm the path is gitignored
there too before writing — if it is not, write to a gitignored location instead.
# Spec: {task title}
Created: {date} | Status: draft
## Goal
{One sentence — what is being built}
## Why
{The upper goal in the user's words — why it is wanted, what is better once it is done}
## Completion Criteria
- [ ] {verifiable condition 1}
- [ ] {verifiable condition 2}
## Scope
Included: {what is explicitly included}
Excluded: {what is explicitly excluded}
## Constraints
- {technical constraint}
- {what must not be done}
## Priority
{Fast completion / Solid design / Balanced} — {reason}
## Understanding check
Option offered: {the choice not discussed before} · Picked: {answer} · Fits the Why: {yes / re-asked → yes / no — see Open questions}
## Open questions
{conflicts left after Round 3, textbook phrases the user did not unpack — or "none"}
## References
{related files / existing skills / prerequisite work}
After generating the spec document, suggest the appropriate next path. The first row is the default:
| Situation | Connected skill |
|---|---|
| Default — implementation | Open a new session that reads only the saved spec (specs/{slug}.md) and implement there. The guesses this interview corrected stay in this window and would otherwise pull the implementation back toward them |
| Agent orchestration needed for implementation | agent-composer — pass spec document path (it, too, should read the spec, not this conversation) |
| Plan / design review needed | built-in Plan agent — build plan based on spec |
| Single task is now clear and the user wants to stay here | Start implementation directly (not the default — offer it when the user asks) |
| Audit needed before external sharing | hub-persona-auditor |
| Condition | Completion verdict | Check class |
|---|---|---|
| Socratic dialogue complete (≤3 rounds, ≤2 questions/round) | ✅ Clarification complete | mandatory-pass |
test -f specs/{slug}.md exits 0 — the file exists on disk | ✅ Save complete | mandatory-pass (a printed path is not a saved file) |
The spec's ## Why and ## Understanding check are filled — the option offered, the pick, and whether it fits the Why (a contradiction left open is listed under Open questions) | ✅ Understanding tested | mandatory-pass (an empty or "n/a" Understanding check fails) |
| The spec's Completion Criteria are independently verifiable — someone other than the author could tell whether each is met | ✅ Spec actionable | judged — adversarial pairing: fh-meta:beginner cold-reads the spec and attempts to state, per criterion, how they would check it; a criterion they cannot operationalize fails |
| Follow-up skill connection suggestion output | ✅ Handoff complete | mandatory-pass |
This skill's Done When = "actionable spec document saved". Implementation itself is the domain of follow-up agents/skills.
What SKILL.md sets; muted values are Claude Code's defaults
sonnetnpx claudepluginhub chrono-meta/forge-harness --plugin fh-meta36 skills in this plugin
/agent-composerReads the current work context and plans the optimal agent dispatch. Clarifies direction with 1-2 questions when unclear; infers and proceeds immediately when execution path is unclear. Runs an automatic recording gate after each Wave completes. Triggered by "compose agents", "which agent should I use?", "run in parallel", or "agent-composer"./apex-reviewReviews a technical proposal from the perspective of organizational decision-makers (CTO, technical lead, QA lead, conference reviewers, etc.) and generates an HTML presentation deck. Outputs approval gate results per persona and connects to sim-conductor for improvement suggestions./asset-placement-gateRoutes a proposed skill, plugin, or agent to its correct home — forge-harness (FH) meta-skill, project-local agent, or drop — by applying a 4-criteria meta-skill bar followed by a project-local value test./auto-decorrelationRecruits cross-family verifier sidecars (codex, agy, local 4090 over Tailscale) for adversarial verification of load-bearing changes, maximizing model-family diversity against the orchestrator. Mechanically discovers the available sidecar panel, recruits at least one cross-family verifier when present, and degrades gracefully when none are. The governor (Claude) keeps the terminal verdict; sidecar findings must be source-grounded before acceptance. Opt-in via one-time consent, stored in the UAP; fires only on load-bearing changes. Triggered by "recruit a cross-family check", "decorrelate this verification", "use the idle sidecars to verify", "auto-decorrelation"./contention-layerWhen two skills, agents, or independent research tracks produce conflicting verdicts on the same output, reads the conflict as a signal rather than an error and harvests new skill candidates or insight deltas — including a Dual-Track Grounding conflict (open-frontier track vs internally-grounded recall track disagreeing). Routes skills born from contention to fh-meta (meta-layer), the commons plugin (project-agnostic), or field harvest (domain-specific). Triggered by "two skills conflict", "they produce different conclusions", "contention-layer", "contention harvest", "open vs grounded contradiction", "research tracks disagree"./context-doctorReduces token waste in Claude Code sessions (run the built-in `/context` first; this skill covers what it does not) across two axes — context footprint (auto-generates .claudeignore, guides over-read files and /clear timing) and command output (routes to a command-output proxy/hook such as rtk to trim verbose CLI stdout). In hub environments, regularly audits bloated CLAUDE.md/MEMORY.md/memory/*.md files and proposes compression. Usable standalone without a hub clone.Other plugins' skills for the same job