Node Run Clarify
Agent Buildingnode-run-clarifyNode Run Clarify is an Agent Skill for agent building published in the CurryTang/Amadeus repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Interactive Q&A to gather run context before executing a ResearchOps tree node step. Use when a node is about to be run to collect key context the agent will need (e.g. dataset path, design doc, hyperparameters).
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CurryTang/Amadeus/blob/HEAD/skills/node-run-clarify/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/node-run-clarify, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Node Run Clarification
Gather context from the user through targeted one-at-a-time questions before launching a tree node's run step. The LLM decides what to ask based on the node kind and existing plan details.
Workflow
- Trigger: User clicks "Run Step" on a PLANNED or BLOCKED node in VibeNodeWorkbench.
- Q&A Loop: Call
POST /api/researchops/projects/:projectId/tree/nodes/:nodeId/run-clarifywith:messages: conversation so far (starts empty[])- Response:
{ done: bool, question: string, options?: string[] } - Present
questionto user (withoptionsas quick-reply buttons if provided) - Append user answer as
{ role: "user", content: "<answer>" }to messages - Repeat until
done: true
- Skip: User can skip the Q&A entirely. In that case,
clarifyMessagesis[]. - Run: Call
POST /api/researchops/projects/:projectId/tree/nodes/:nodeId/run-stepwith:clarifyMessages: the full Q&A exchange (or[]if skipped)- Other options:
force,preflightOnly,searchTrialCount
Node Kind Guidance
The clarify endpoint adapts questions by node kind:
| Kind | Typical questions |
|---|---|
experiment | Dataset path? Baseline to compare against? Key hyperparameters? |
implementation | Which design doc to follow? Which KB files are relevant? Branch to work on? |
analysis | Which run outputs to analyze? Expected metrics? Comparison baseline? |
knowledge | Which papers/assets to pull in? Specific sections needed? |
search | Search budget? Metric to optimize? Constraint ranges? |
Context Storage
Clarification messages are stored in the run metadata (clarifyContext) so the agent can reference them during execution. They supplement — not replace — the node's existing plan fields.
UI Integration
The ClarificationChat component lives inside VibeNodeWorkbench (always visible for runnable nodes). It resets when the selected node changes. Users can toggle Skip Q&A / Enable Q&A at any time before launching the run.