<< All versions
Skill v1.0.0
currentLLM-judged scan90/100benord-labs/frink/frink-flows
──Details
PublishedOctober 22, 2026 at 04:30 PM
Content Hashsha256:862a86c23fd6e128...
Git SHAd2edd3d8321e
──Files
Files (1 file, 4.8 KB)
SKILL.md4.8 KBactive
SKILL.md · 53 lines · 4.8 KB
version: "1.0.0" name: frink-flows description: Design, edit, validate, and inspect Frink Flows and batch stages. Read before frink_flows_patch, frink_flows_define_stages, or frink_register_node.
Frink Flows
A Flow is a graph: one trigger starts action/logic nodes connected by edges. Use MCP tools for live state and changes; this skill explains the contracts. Do not edit flow YAML on disk.
Authoring workflow
- For an existing flow, read it with
frink_flows_get(discover withfrink_flows_list). Discover projects, integrations, commands and installed nodes withfrink_flows_list_catalog; use returned ids/names. - Choose the trigger and required blocks. Every Agent needs an upstream Start Task (a session; see Sessions); Chat Reply needs upstream Start Task or Post-Task trigger chat context.
- Wire data deliberately:
trigger.*lasts the run,previous.*is one hop,loop.*lasts the fan-out body. Only Condition passes predecessor data through; Start Task and Agent replace it. - Save via
frink_flows_patch. Create withnameand no flowId; modify withflowId. Read returned errors/warnings and correct the cause. Save checks topology; run/define_stages also check execution config. If a patch result is missing, cut short, or replaced by a note such as "saved to <path>", the call may have finished: check withfrink_flows_get(orfrink_flows_listafter a create) before retrying, and never resend a create. - Run only within the user's requested scope; inspect the returned run id with
frink_flows_get_run. Batch work follows plan → user confirmation → define → start.
Graph and patch essentials
- Exactly one trigger, ≤50 nodes, unique node/edge ids; edges reference existing ids. Prefer lowercase-hyphen ids. End has no outgoing edges.
- Edge:
{ "id":"e1", "source":"a", "target":"b" }. Condition requires true/false sourceHandle branches. Fan-out uses contained linear branches and a shared continuation; read its contract before wiring. - Nodes may omit
positionfor auto-layout. Before placing nodes yourself, read Canvas layout in Graph and logic: nodes are 320px wide, so columns closer than 368px overlap. - Patch operations: add/remove/update node or edge,
update_settings, andauto_layout(resets the canvas layout).update_node.configmerges recursively (JSON Merge Patch); null removes a key. - Create
projectIdseedssettings.defaultProjectId(otherwise current session project when resolvable). Nodes inherit it; Start Task may set config.projectId explicitly. - Fan-out continuation receives
previous.results[itemIndex][branchRootNodeId]plus totalCount. Generic convergence outside it is OR, not an all-predecessors barrier.
Sessions (Start Task)
Each Start Task that runs opens a sidebar chat (plus a worktree when startInWorktree) — on every run, so a schedule multiplies it. Every later Agent and Chat Reply continues that chat.
- Default to ONE Start Task per flow. Place it before the first node whose output a later block needs (Start Task replaces predecessor data); if most runs exit at a gate, place it after the gate and have agents read
trigger.*or re-read data. - Fan-out body agents with no Start Task of their own continue the session opened before the fan-out.
- Add another Start Task only for a different project, a separate branch that becomes its own PR, per-item isolated context or clean tree (a shared session is one conversation and one tree), or when the user asked for separate chats.
- A Start Task inside a fan-out opens one chat (and worktree) per item, every run.
- Never add a Start Task just to hold a report; reply in the session that did the work.
Read only what the task needs
All paths are bundled relative to this file; no source checkout is needed. Config and generated output fields are colocated in the block guides.
| Task | Reference | |
|---|---|---|
| Choose/configure trigger and its data | Trigger contracts | |
| Bind friendly webhook fields | Provider aliases | |
| Create tasks/agents, run commands, call HTTP/integrations, reply in text/HTML | Action contracts | |
| Wire condition, fan-out, approval or end; position nodes on the canvas | Graph and logic | |
| Carry data between blocks; templates and shared briefing | Templates and context | |
| Start from a complete validated patch or common pattern | Examples | |
| Plan many tickets, stages, dependencies, branches and concurrency | Batch orchestration | |
| Run, inspect, diagnose pauses/failures | Run inspection | |
| Register/test a custom block, including multi-file packages | Custom nodes |