Agent task recipes
Reusable requests and acceptance checks for building, reviewing, diagnosing and documenting ONF workflows.
These recipes give an agent a bounded objective and a concrete completion check. Replace bracketed descriptions with your actual goal. Names are discovery hints; the agent must retrieve real workspace, definition, node and socket IDs before using them.
Explain a saved workflow#
Find [workspace/workflow]. Read its relevant notes and exact pinned definitions. Explain entry conditions, data/control routes, durable state and external effects. Inspect only; do not run or change it.
A useful answer cites discovered object IDs and pins, distinguishes enabled automation from manual capability, and identifies any missing context. It should not infer runtime success from a valid graph.
Build a synthetic first workflow#
Build a disabled manual workflow in [workspace] that validates a synthetic order and produces a formatted summary. Reuse existing typed assets where suitable. Save, arrange and validate it. Leave provider actions and automation disabled.
Completion means a saved ID/revision, readable layout, exact definition/type pins, validation result and documented synthetic input. A missing reusable asset should be explained rather than silently replaced with a materially different behavior.
Repair a validation failure#
Inspect [workflow] and its validation issues. Propose the smallest graph correction, preserving current code versions and unrelated settings. Preview the patch and report the expected change before saving.
Check that the proposal names actual sockets and explains compatibility. If an immutable definition needs a new version, that is a separate publication and deliberate graph upgrade, not an invisible fix.
Diagnose a failed run#
Diagnose [run]. Read the captured workflow and dependency snapshot, actual node inputs/outputs, attempts and logs. Explain the earliest supported cause and which storage or external effects may already have committed. Do not rerun it.
A strong report distinguishes failed nodes from skipped dependents and unavailable historical evidence. Cancellation, timeout and an explicit handled error route have different meanings. Recommend recovery only after reconciling uncertain effects.
Add durable coordination#
Design a workflow-local conversation queue for [synthetic task]. Use exact business correlation and stable deduplication keys. Explain claim/start/ack, conflicts and uncertain outcomes before introducing external actions.
The design should use a stable namespace, current versions and lease ownership. It must not treat arbitrary comments as option choices or automatically skip an uncertain queue head.
Keep context useful#
Read the current workflow/frame notes. Update concise purpose, important wiring, constraints and next steps to match the saved graph. Preserve independently edited notes and omit credentials and transient logs.
The agent should use the notes revision independently of the graph revision. A useful handoff is short, factual and linked to existing objects, not a transcript of its work.
For all recipes, use agent safety, discovery and guarded graph authoring. These requests are examples, not automatic approvals for unrelated publication, provider access or deployment changes.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
docs/MCP.mdserver/mcp-resources.tsdocs/CONTEXT-DOCUMENTATION.mddocs/DEBUGGING-AND-WAITS.md