Agent skill

Clarify

by ZaxbyHub in ZaxbyHub/opencode-swarm

Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions.

MITAuto-check passed

Install Clarify

skills CLI
$ npx skills add ZaxbyHub/opencode-swarm --skill clarify -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZaxbyHub/opencode-swarm clarify --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/clarify .claude/skills/clarify && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clarify
GitHub stars
494
Token cost
~1.8k tokens
SKILL.md length
949 words
Files
1
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions.

  • Works in 4 steps: Inventory All Material Uncertainties → Classify Each Uncertainty → Consult Critic Sounding Board → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Clarify is an agent skill from ZaxbyHub/opencode-swarm. Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review. The licence is MIT.

Example prompts

  • “/clarify”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Inventory All Material Uncertainties
  2. Classify Each Uncertainty
  3. Consult Critic Sounding Board
  4. Surface User Decision Packet

What it can do on your machine

Read from SKILL.md and the folder at commit b63a4bd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Clarify loads about 1.8k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 949 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZaxbyHub/opencode-swarm at commit b63a4bd, republished under its MIT licence (© ZaxbyHub). 949 words, ~1,847 tokens.

Download SKILL.mdSave it as .claude/skills/clarify/SKILL.md (or your agent's skills folder).
name
clarify
description
Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions.
audience
swarm-plugin

Clarify Protocol

This protocol is loaded on demand by the architect runtime. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.

MODE: CLARIFY

Ambiguous request → Run the clarification funnel Clear request → MODE: DISCOVER

Clarification Funnel

Before surfacing any clarification question to the user, the architect MUST run this four-stage funnel. The goal is to limit unnecessary user interruption, not planning completeness.

Stage 1: Inventory All Material Uncertainties

Identify ALL uncertainties that could affect:

  • Scope boundaries
  • User-visible behavior
  • Destructive behavior or data loss
  • Security/privacy posture
  • Backward compatibility
  • Migrations or rollout strategy
  • Cost/performance tradeoffs
  • Operational complexity
  • QA gate selection or enforcement strictness
  • Architecture choice among materially different paths
  • Dependency or platform assumptions

There is NO hard cap on the internal inventory. Record every material uncertainty found.

Stage 2: Classify Each Uncertainty

Classify each item as exactly one of:

  • self_resolved: answered from the user request, spec, plan, codebase reality check, .swarm/context.md, repo conventions, or an informed default. If the default is not directly supported by user request, spec, or recorded context, classify as user_decision rather than self_resolved.
  • critic_resolved: sent to Critic Sounding Board and resolved by the critic.
  • research_needed: needs SME/explorer/domain lookup before user escalation. Important: If research is ongoing, apply a fixed 5-minute protocol budget to research_needed. If research does not complete before the budget expires, automatically reclassify the item to user_decision with a note that research was incomplete, then surface it to the user. This prevents the clarification funnel from stalling while waiting for external research.
  • user_decision: only the user can decide because it affects product scope, risk tolerance, policy, budget, UX, rollout, or destructive behavior.
  • deferred_nonblocking: useful follow-up detail that does not block a correct initial plan and can be explicitly recorded as an assumption or follow-up.
Stage 3: Consult Critic Sounding Board

Before asking the user any clarification question, the architect MUST consult critic_sounding_board with the candidate question set and context.

For each item classified as research_needed or user_decision in Stage 2, send it to the critic. The critic responds with a verdict from the SoundingBoardVerdict enum (UNNECESSARY | RESOLVE | REPHRASE | APPROVED). The mapping between critic verdicts and funnel actions is:

Critic Verdict (SoundingBoardVerdict)Funnel ActionMeaning
UNNECESSARYDROPItem is unnecessary or answerable from existing context
RESOLVERESOLVECritic supplies the answer or recommended default
REPHRASEREPHRASEQuestion is valid but should be clearer, narrower, or grouped
APPROVEDASK_USERUser decision is genuinely required

Hard constraint: Items in the Always-Surface Categories list (below) MUST NOT receive UNNECESSARY/DROP from the critic — only REPHRASE or APPROVED/ASK_USER are allowed. If the critic attempts to UNNECESSARY/DROP an always-surface item, override to APPROVED/ASK_USER.

Overconfidence guard: If the critic attempts to self-resolve an item by supplying an answer (verdict RESOLVE) but the underlying default is not directly supported by user request, spec, or recorded context, the architect MUST classify the item as user_decision rather than self_resolved. Unsupported defaults must not be silently accepted.

Update classifications based on critic response:

  • UNNECESSARY/DROP → reclassify as self_resolved and record the reason.
  • RESOLVE → reclassify as critic_resolved and record the answer as an assumption.
  • REPHRASE → update the question wording and keep as candidate.
  • APPROVED/ASK_USER → confirm as user_decision.

Record all resolved items as explicit assumptions before proceeding.

Show full SKILL.md (416 more words)Show less
Stage 4: Surface User Decision Packet

If any items remain classified as user_decision after Stage 3, present them as a structured decision packet — NOT as an arbitrary subset.

The packet MUST include for each decision:

  • Category grouping (scope, security, compatibility, performance, UX, rollout, QA policy)
  • Why the decision matters
  • Recommended default when safe
  • Options being weighed
  • Impact of accepting the default
  • Blocking vs optional marker

The architect MAY ask questions one at a time in interactive mode, but MUST preserve and report the full unresolved list. The architect MUST NOT drop unresolved decisions because of a session question cap.

Always-Surface Categories

The critic may improve wording or confirm prior context, but these categories MUST be surfaced to the user unless already explicitly answered by the user or by recorded context:

  • Scope boundaries: what is in or out
  • Data loss or destructive behavior
  • Security/privacy risk tolerance
  • Backward compatibility or migration policy
  • Breaking changes to existing APIs, contracts, or interfaces
  • New dependency additions or version changes
  • Deprecation decisions for existing features or APIs
  • Cross-platform impact (Windows/macOS/Linux differences)
  • Cost/performance tradeoffs
  • User-visible behavior and UX choices
  • Release/rollout strategy
  • Optional QA gates or stricter enforcement modes
  • Any choice that changes whether the work is advisory vs hard-blocking
Assumptions Recording

All items resolved in Stages 2-3 (self_resolved, critic_resolved, deferred_nonblocking) MUST be recorded as explicit assumptions in the spec, plan, or .swarm/context.md. Silently dropping resolved uncertainties is a protocol violation — every uncertainty that entered the funnel must have a recorded outcome.

Mechanical Enforcement of DROP Protection

Implementation Note: The hard constraint against DROP on always-surface items (defined in Stage 3 of the clarification funnel) is currently enforced via skill instructions to the architect. A lightweight runtime enforcement mechanism is recommended: when the critic sounding board verdict response is parsed, validate that any items tagged as "always-surface" do not receive UNNECESSARY/DROP verdicts. If a DROP verdict is encountered on an always-surface item, override it to APPROVED/ASK_USER at the code level rather than relying solely on prompt-based enforcement.

This mechanical enforcement prevents the following failure mode: the architect prompt instructs the override, but due to parsing errors, context limits, or model behavior variance, the DROP verdict is mistakenly applied to an always-surface item and silently accepted. The validation should occur in the decision-packet assembly code (when building the final clarification packet to surface to the user) and should emit a warning log when an override is applied. This is tracked as future work in a follow-up issue; until then, enforcement relies on the skill instructions.

© ZaxbyHub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/clarify of ZaxbyHub/opencode-swarm.

Open the folder on GitHubat commit b63a4bd

Compare with similar skills

Clarify next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clarify compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clarify this skillZaxbyHub/opencode-swarm494—~1.8kAutomated safety check: PassMIT
Requirements Clarificationasgeirtj/system_prompts_leaks69k—~687Automated safety check: PassCC0-1.0
Deadline Funnel AutomationComposioHQ/awesome-claude-skills77k3 repos~760Automated safety check: PassNone
Speckit Clarifyforyourhealth111-pixel/Vibe-Skills3.6k—~2.9kAutomated safety check: PassApache-2.0
Clarification BrokerSeemSeam/claude_codex_bridge3.6k—~193Automated safety check: PassCustom licence
Lumen Funneljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: NotesMIT

Similar skills

  • Requirements Clarification

    asgeirtj/system_prompts_leaks

    Clarify a material user-owned product decision before substantive implementation commitments.

    69k GitHub stars~687 tokensUpdated today
    Backend & APIsAuto-check passed
  • Deadline Funnel Automation

    ComposioHQ/awesome-claude-skills

    Automate Deadline Funnel tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~760 tokens
    Productivity & AutomationAuto-check passed
  • Speckit Clarify

    foryourhealth111-pixel/Vibe-Skills

    Structured clarification workflow for underspecified requirements.

    3.6k GitHub stars~2.9k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Clarification Broker

    SeemSeam/claude_codex_bridge

    Compress planner candidate questions into a compact frontdesk-facing clarification batch and normalize answers back to planner.

    3.6k GitHub stars~193 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Lumen Funnel

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses when asked to analyze a funnel, find where users drop off, diagnose low conversion or activation rates, design a metrics framework, set up OKRs, or measure whether a feature…

    2.8k GitHub stars~1.1k tokensUpdated today
    Business, Finance & HRAuto-check: notes
  • Comment Funnel

    LeoYeAI/openclaw-master-skills

    Automate Instagram comment-to-DM funnels using the Upload-Post API.

    2.2k GitHub stars~4.1k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed

More from ZaxbyHub/opencode-swarm

All 91 skills in this repo
  • Codebase Review Swarm

    ZaxbyHub/opencode-swarm

    Runs an evidence-gated, quote-grounded audit of a codebase for security, QA, accessibility, performance and more, and writes a verified report without changing source files.

    494 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    494 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Commit and PR Publishing for Codex

    ZaxbyHub/opencode-swarm

    Codex adapter for opencode-swarm that governs commits, pushes, draft PRs, PR body updates and CI closeout, deferring to the repo's canonical commit-pr protocol.

    494 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    494 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    494 GitHub stars~14k tokensUpdated today
    Auto-check passed
  • Swarm PR Subscribe

    ZaxbyHub/opencode-swarm

    Monitor a pull request after creation and act autonomously on pushed PR activity.

    494 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Questions about Clarify

What does Clarify do?

Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions. Clarify is an agent skill from ZaxbyHub/opencode-swarm. Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions.

How do I install Clarify in Claude Code?

Run `npx skills add ZaxbyHub/opencode-swarm --skill clarify -a claude-code`. Or copy the skill folder (.claude/skills/clarify in ZaxbyHub/opencode-swarm) into .claude/skills/clarify in your project. Claude Code loads it when a task matches its description.

How do I install Clarify in Codex?

Run `npx skills add ZaxbyHub/opencode-swarm --skill clarify -a codex`. Or copy the skill folder (.claude/skills/clarify in ZaxbyHub/opencode-swarm) into .agents/skills/clarify in your project. Codex loads it when a task matches its description.

Can I use Clarify in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZaxbyHub/opencode-swarm --skill clarify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clarify, .gemini/skills/clarify, .github/skills/clarify and .opencode/skills/clarify in your project.

What does Clarify need to run?

SKILL.md names no scripts, command-line tools or credentials: Clarify is instructions for the agent only.

Does Clarify access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Clarify safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Clarify use?

Clarify is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clarify use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Clarify?

Skills that share tags, products or a category with Clarify: Requirements Clarification (asgeirtj/system_prompts_leaks, 69k stars), Deadline Funnel Automation (ComposioHQ/awesome-claude-skills, 77k stars), Speckit Clarify (foryourhealth111-pixel/Vibe-Skills, 3.6k stars) and Clarification Broker (SeemSeam/claude_codex_bridge, 3.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clarify?

ZaxbyHub (a GitHub organization) maintains it in ZaxbyHub/opencode-swarm, which has 494 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 10, 2026.

Source: ZaxbyHub/opencode-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.