Clarify

From fritzprix/libr-agent · View interactive version

Clarify is an AI agent skill from the GitHub repository fritzprix/libr-agent. Refine a vague request into a complete requirements document before work starts, for any kind of task: event, report, process, purchase, or software. Ask a few questions per turn, keep one living Markdown document up to date at each decision, then run one peer review (completeness + feasibility) bef

How to use this skill

Skill file

Clarify

Turn a vague request into a complete requirements document through conversation. One living Markdown document is the single source of truth.

Core Loop

  1. Capture: write what the user said into the requirements doc (create it if missing).
  2. Question: ask the next 2–4 most important questions in one ui__askUser call. Never more than 4 per turn.
  3. Record: write confirmed decisions into the doc immediately and bump the version.
  4. Repeat steps 2–3 until the user says it is enough or the completion checklist is green.
  5. Review: run the peer review exactly once (see below), apply valid findings, confirm with the user.
  6. Close: set status: final and deliver with ui__reportResult, with the doc path in export_paths.

Document Rules

Questioning Discipline

Techniques and example sequences for software, events, reports, and work processes: references/questioning-techniques.md.

Completion Checklist (each item answerable from the doc)

Peer Review (run once, at completion)

  1. Make sure the doc exists in this workspace and is the latest version.
  2. Pick a reviewer config with agent__listAgents(type="configs") that matches the topic (for example a planning or writing config for an event or report, a coding config for software).
  3. Spawn the reviewer with the shared workspace so it can read the doc, or reuse an idle reviewer with agent__messageToSession:

```

agent__spawnSession(configId=<reviewer config id>,

complexity="normal",

workspaceOverride="current",

waitForResult=true,

task=<review brief from references/peer-review-protocol.md,

with <doc-path> and <project-summary> filled in>)

```

  1. Evaluate each finding: accept, adapt, or reject (with a reason).
  2. Apply accepted findings as a new doc version with the Change Log entry peer review feedback applied.
  3. If a finding needs a new user decision, go back to the Question step for one more round, then finish.

Review brief and exit rules: references/peer-review-protocol.md.

Interaction Constraints

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.