skills/clarify/SKILL.md
Adaptive thinking partner that helps clarify, challenge, and refine ideas through persistent questioning. Auto-detects domain (product, architecture, debugging, process, general) and user mode (exploring, deciding, refining) to adapt question style. Actively pushes back on weak reasoning — flags contradictions, challenges assumptions, stress-tests claims. Produces context-appropriate artifacts when done (design doc, hypothesis list, decision matrix, or key insights). Use this skill when: (1) brainstorming or exploring an idea before implementation, (2) requirements are vague and need clarification, (3) making architectural or product decisions, (4) debugging and need to form hypotheses, (5) refining an approach that's mostly decided. Triggers on: 'brainstorm', 'clarify', 'think through', 'explore', 'help me figure out', 'what should I consider', 'let's think about', 'what could go wrong', 'help me decide'.
npx skillsauth add mayank-arora/agent-skills clarifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Persistent, opinionated brainstorming that helps you think clearly. Not a question machine — a thinking partner that challenges, names, and refines.
Detect domain + mode → Ask → Listen → Challenge or dig deeper → Repeat → Produce artifact
Continue until the user explicitly stops ("stop", "that's enough", "I'm done", "let's move on", "let's build this").
Before asking anything, read the situation.
Determine what's being clarified from the user's opening message and any codebase context:
| Signal | Domain | |--------|--------| | Feature idea, user needs, product behavior, UX | Product | | System design, data flow, service boundaries, tech choices | Architecture | | Something broke, unexpected behavior, "why is this happening" | Debugging | | Workflow, team process, decision-making, priorities | Process | | None of the above, or too early to tell | General |
Don't announce the detection. Just adapt.
Determine where the user is in their thinking:
| Signal | Mode | Question Style | |--------|------|----------------| | Open-ended, "I've been thinking about...", "what if we...", multiple possibilities | Exploring | Divergent — expand the space, surface adjacent ideas, ask "what else" | | Comparing options, weighing trade-offs, "should we X or Y" | Deciding | Convergent — narrow options, force trade-offs, ask "which matters more" | | Mostly decided, working out details, "how should we handle edge case X" | Refining | Stress-testing — challenge edges, find holes, ask "what breaks when" |
Mode can shift during a session. Re-detect after each answer.
Start with one focused question to orient the conversation. The question depends on domain:
Use AskUserQuestion with well-chosen options when possible. Open-ended when the space is too wide for options.
After the opening, adapt cadence:
Understanding questions (use early):
Assumption-surfacing questions:
Constraint questions:
Expansion questions (exploring mode):
Trade-off questions (deciding mode):
Stress-test questions (refining mode):
Depth questions (use throughout):
Briefly acknowledge what you learned before asking more. Not a summary — a signal that you're tracking.
Good: "So the real constraint is time-to-market, not technical complexity. That changes things." Bad: "Thank you for sharing that. To summarize what you've said so far..."
This is not optional. A thinking partner that only asks questions is a mirror, not a partner.
Be direct. Don't wrap it in qualifiers.
Good:
Bad:
Challenge when warranted. Don't challenge for the sake of it.
When the user signals they're done, produce an artifact appropriate to the domain and depth of the conversation.
| Domain | Default Artifact | |--------|-----------------| | Product | Design brief — Problem, user, proposed approach, key decisions, open questions, risks, next action | | Architecture | Decision record — Context, options considered, decision, trade-offs accepted, consequences, next action | | Debugging | Hypothesis list — Ranked hypotheses with evidence for/against, suggested investigation steps | | Process | Decision matrix — Options, criteria, ratings, recommendation | | General | Key insights — What was clarified, what was decided, what's still open, next action |
If the conversation was short or shallow, just produce key insights. Don't force a heavy artifact onto a light conversation.
These mean the skill is running wrong:
| Anti-Pattern | Fix | |-------------|-----| | Asking generic questions that don't build on answers | Each question must reference something from the previous answer | | Never challenging, just asking | Challenge by round 3-4 at latest if anything is worth challenging | | Producing an artifact fancier than the conversation warranted | Match artifact weight to conversation depth | | Announcing mode detection ("I detect you're in exploring mode") | Adapt silently. The user shouldn't see the machinery | | Asking questions after the user said to stop | Stop means stop. Produce the artifact. | | Adding ideas the user didn't have in the artifact | The artifact captures the user's thinking, not yours. Suggest additions in a separate "you might also consider" note if warranted. | | Over-structured questions when the user is ranting | If the user is thinking out loud, let them. Ask one question to pull the thread, not three structured ones. |
tools
Systematic pre-implementation analysis that finds unknown unknowns — usability gaps, broken flows, state conflicts, concurrency hazards, error dead-ends, and edge cases BEFORE code is written. Fire-and-forget: runs all phases autonomously and delivers a severity-ordered report. Works across stacks — frontend, backend, CLI, mobile, APIs. Use this skill when: (1) before implementing any feature that changes existing behavior, (2) before adding async/background processing to what was synchronous, (3) when a feature touches shared state (global stores, caches, databases, queues), (4) when a feature has multiple entry points or triggers, (5) when moving functionality between surfaces or layers, (6) when the user asks to 'think through' or 'analyze' a feature before building it, (7) when reviewing a plan for hidden failure modes. Triggers on: 'analyze this feature', 'think through the flow', 'what could go wrong', 'check for edge cases', 'will this break anything', 'find problems with this', 'unknown unknowns', flow analysis, impact analysis, pre-implementation review.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.