Clarify logo

Clarify

Community
liqiongyu
clarify

Hybrid workflow for turning ambiguous implementation requests into actionable scope before execution. Use explicitly when the user asks to clarify requirements, disambiguate a request, or spec a change before building it. Activate automatically only when an implementation-oriented request contains direct contradictions, missing acceptance criteria that would materially change the build, or an explicit request to proceed with documented assumptions. Do not activate for open-ended direction-finding, brainstorming, or already-specific actionable tasks.

Overview

Publisherliqiongyu
Repositorymy-agents
Skill nameclarify
Stars
29
Forks
3
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by liqiongyu on GitHub. Read the source before you install it.

Installation

Install the Clarify AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/liqiongyu/my-agents/tree/main/skills/clarify
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/liqiongyu/my-agents.git /tmp/my-agents
mkdir -p .claude/skills
cp -r /tmp/my-agents/skills/clarify .claude/skills/clarify
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Clarify in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Clarify on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Clarify is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Clarify

Resolve ambiguity before action. This skill turns vague, incomplete, or contradictory implementation requests into precise, actionable scope through structured clarification or documented assumptions.

Invocation posture: hybrid. Prefer explicit invocation. Automatic activation should stay limited to high-confidence implementation ambiguity, not general idea exploration.

When To Activate

  • The user explicitly asks to clarify requirements, disambiguate a request, or spec a change before implementation
  • An implementation request contains direct contradictions or mutually exclusive constraints
  • Acceptance criteria or scope boundaries are missing in a way that would materially change what gets built
  • The user asks you to proceed with assumptions and those assumptions need to be made explicit
  • Multiple plausible implementations exist and choosing among them would change files, APIs, or user-visible behavior

When Not To Use

  • Open-ended option exploration, strategy work, or direction-finding; use brainstorming
  • Requests that mainly ask "what should we do?" rather than "what exactly should we build?"
  • Specific actionable tasks with clear files, error messages, or expected outcomes
  • Read-only explanation, code reading, or search tasks where no implementation decision is blocked
  • Cases where the user explicitly says to proceed without questions and there is no contradiction or material ambiguity to surface

Outcome

Produce the smallest clarification artifact that unblocks execution:

  • A concise clarification summary with clarified scope, key decisions, and out-of-scope items
  • A short set of hypothesis-driven user questions when genuine T3 judgments remain
  • An assumptions log when running non-interactively or when the user wants you to proceed without waiting

Core Principles

  1. Contradictions first, details second. Resolve conflicting goals before discussing implementation detail.
  2. Research before asking. Mine the codebase, docs, tests, history, and current conversation first.
  3. Hypotheses, not open questions. Offer plausible options with a recommendation instead of asking the user to design the answer from scratch.
  4. Minimum viable clarification. Ask only what would materially change the implementation.
  5. Document decisions. Every resolved ambiguity should be traceable to evidence, best practice, user choice, or explicit assumption.
  6. Stay out of brainstorming territory. If the real issue is choosing a direction rather than clarifying requirements, hand off to brainstorming.
  7. Match the user's tempo. If they say "proceed" or "don't ask," switch to autonomous clarification and record assumptions instead of interrogating them.
  8. Follow the user's language. User-facing questions, summaries, and assumptions logs should use the user's language.

Workflow

Phase 0 — Detect and Assess

Capture the request and classify the ambiguity:

  • Stated goals: What they explicitly asked for
  • Implicit goals: What they probably want but didn't say
  • Constraints mentioned: Any boundaries, deadlines, or requirements stated
  • Gaps: What's missing that you'd need to know to implement confidently
  • Ambiguity types: contradiction, vagueness, incompleteness, scope ambiguity, behavioral ambiguity, terminology, priority ambiguity
  • Risk level:
    • LOW: single obvious interpretation; proceed
    • MEDIUM: some ambiguity; ask 1-3 targeted questions if needed
    • HIGH: destructive or high-impact ambiguity; clarify before action
  • Confidence check:
    • 90-100%: proceed and note assumptions inline
    • 70-89%: quick clarification
    • below 70%: full clarification flow

Phase 1 — Research Before Asking

Gather evidence before asking the user anything:

  • Read related files, tests, docs, and instruction files
  • Check recent history or existing conventions when they can answer scope questions
  • Reuse conversation context, mentioned files, and surrounding patterns

Classify each ambiguity into decision tiers:

TierDefinitionAction
T1 — Evidence existsCodebase, docs, or conventions answer the questionResolve autonomously, cite evidence
T2 — Best practice consensusClear industry standard or framework convention appliesResolve autonomously, note the standard
T3 — Judgment callConflicting evidence, subjective preference, or novel decisionMust ask the user

Only T3 items should generate questions for the user. T1 and T2 items are resolved autonomously with documented reasoning.


Phase 2 — Clarify Interactively Or Autonomously

If T3 decisions remain, choose the lightest mode that will safely unblock the task.

Interactive clarification

  • Present 2-4 concrete options, not open-ended prompts
  • Include a recommendation and short rationale
  • Batch only related questions
  • Default limits:
    • MEDIUM risk: 1-3 questions
    • HIGH risk: 3-7 questions
  • Stop early if the user says to proceed or defer to your judgment

Autonomous clarification

  • Resolve T1 with evidence
  • Resolve T2 with best-practice defaults
  • Resolve T3 with the least surprising, most reversible choice
  • Mark human-review assumptions clearly so they can be overridden later

See templates.md for question patterns, example wording, and an assumptions-log template.


Phase 3 — Deliver And Hand Off

Summarize only what execution needs next:

  • Original request
  • Clarified scope
  • Key decisions with source labels (T1, T2, T3)
  • Out of scope
  • Remaining uncertainties or assumptions that still need review

Then hand off appropriately:

  • proceed to implementation when scope is now clear
  • hand off to implementation-planning if the clarified task still needs a deep technical plan
  • hand off to brainstorming if the unresolved issue is choosing a direction
  • hand off to deep-research if clarification reveals a research-first problem
  • hand off to review if the user wants existing work evaluated against clarified criteria

For reusable output patterns, context-specific prompts, and cross-skill boundaries, see:


Validation

Validate the canonical package and its durable fixtures before shipping changes:

  • uv run python skills/skill-lifecycle-manager/scripts/quick_validate.py skills/clarify
  • uv run python skills/skill-lifecycle-manager/scripts/validate_eval_suite.py skills/clarify/eval/eval-cases.json
  • uv run python skills/skill-lifecycle-manager/scripts/validate_projection.py skills/clarify --platform all

If you changed the runtime projections, regenerate them from the canonical package instead of hand-editing the projected copies:

  • uv run python skills/skill-lifecycle-manager/scripts/project_skill.py skills/clarify --platform all

Anti-Patterns to Avoid

  • Over-asking: Do not create a questionnaire when one decision is the only real blocker.
  • Open-ended fumbling: Avoid "what do you want?" when you could offer concrete hypotheses.
  • Premature implementation: Do not code through unresolved HIGH-risk contradictions.
  • Ignoring evidence: Do not ask about things the repository, docs, or tests already answer.
  • Analysis paralysis: LOW-risk ambiguity is often best handled with a stated assumption and forward motion.
  • Brainstorming drift: Do not use clarification as a substitute for genuine option exploration or strategy work.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Clarify AI skill do?

Hybrid workflow for turning ambiguous implementation requests into actionable scope before execution. Use explicitly when the user asks to clarify requirements, disambiguate a request, or spec a change before building it. Activate automatically only when an implementation-oriented request contains direct contradictions, missing acceptance criteria that would materially change the build, or an explicit request to proceed with documented assumptions. Do not activate for open-ended direction-finding, brainstorming, or already-specific actionable tasks.

Why use Clarify on TypingMind?

Because you install it once and use it with any model. Clarify is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Clarify in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/liqiongyu/my-agents/tree/main/skills/clarify. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Clarify?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Clarify?

As many as you like. As long as a model supports skills, you can use Clarify with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Clarify AI skill free?

Yes. It is published on GitHub by liqiongyu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇