Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add serac-labs/serac --skill flow-designergit clone --depth 1 https://github.com/serac-labs/seracWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/serac-labs/serac/flow-designer)<a href="https://agentmods.dev/skills/serac-labs/serac/flow-designer"><img src="https://agentmods.dev/badge/skills/serac-labs/serac/flow-designer.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.02400 |
| Opus 5 | $0.00027 | $0.01200 |
| Sonnet 5 | $0.00011 | $0.00480 |
| Haiku 4.5 | $0.00005 | $0.00240 |
Grade A, and why
flow-designer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 368 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flow Designer Patterns for ServiceNow
Flow Designer is the modern automation engine in ServiceNow, replacing legacy Workflows for new development.
Using the Flow Designer Tool
To create and manage flows programmatically, first discover the Flow Designer tool via tool_search({query: "flow designer"}). The discovered tool handles all GraphQL mutations for the full flow lifecycle.
CRITICAL — IF/ELSE/ELSEIF placement rules:
- Actions inside an IF branch:
parent_ui_id= IF'suiUniqueIdentifier - ELSE/ELSEIF blocks: must be at the same level as IF, NOT nested inside it
parent_ui_id= the same parent you used for the IF blockconnected_to= IF'slogicId(the sysId returned when creating the IF)
- Getting this wrong causes "Unsupported flowLogic type" errors when saving the flow
CRITICAL — TRY/CATCH placement rules:
When you add a TRY block, the CATCH companion is auto-created by the tool. TRY and CATCH are containers — actions go INSIDE them, not next to them.
- Actions inside TRY (steps that may fail):
parent_ui_id= TRY'suiUniqueIdentifierorder: 1, 2, 3, ... within the TRY
- Actions inside CATCH (error handling):
parent_ui_id= CATCH'suiUniqueIdentifier(returned ascatch_ui_idfrom the TRY creation response)order: 1, 2, 3, ... within the CATCH
- The
next_orderreturned from creating the TRY/CATCH pair is for the next sibling after the pair, NOT for children inside them. Use it for the action after the try/catch, not for actions inside them.
Do NOT create flows via background scripts, GlideRecord, or REST calls to sys_hub_* tables. Always discover and use the Flow Designer tool via tool_search({query: "flow designer"}) — it handles the GraphQL mutations correctly. Background-script approaches will silently produce broken flows.
Flow Designer Components
| Component | Purpose | Reusable |
|---|---|---|
| Flow | Main automation process | No |
| Subflow | Reusable flow logic | Yes |
| Action | Single operation (Script, REST, etc.) | Yes |
| Spoke | Collection of related actions | Yes |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 368 lines · 54 tokens per session scan A b9922b2052e2
flow-designer is a skill published in the GitHub repository serac-labs/serac (78 stars, last pushed 12d ago), licensed Apache-2.0. It adds 54 tokens to every session and 2,400 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
mcp-tool-developer
Build Model Context Protocol (MCP) servers and tools from scratch. Full-stack MCP development with TypeScript/Python, testing, deployment, and registry publishing.
agent-carnet
Use this skill when the user asks to save, recall, find, or organize notes. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check the notebook', 'find in carnet'. Also use proactively when discovering findings worth preserving across sessions.
security-audit
Audit a codebase or directory for security issues (hardcoded secrets, injection, unsafe deserialization, weak crypto, authz gaps) and produce a structured findings report. Use when the user asks for a security review, an audit, or to check code for vulnerabilities. Report only — never fix.
taiyi-evolve
A workflow skill that compares the implemented code with the frozen design after development and testing. It records architecture changes and proposes updates to DESIGN.md, the document describing the intended system structure.
taiyi-diagram-c4
A code-scanning tool that builds C4 architecture documents from a repository. It separates facts observed in the code from conclusions inferred about the design and uses Mermaid diagrams as the source format.
tmux-lane-orchestrator
Manage one tmux agent lane from its matching ops pane, inspect live pane state and Codex logs on cold start, and produce concise manager summaries for OpenClaw and adjacent project work.