Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add synaptiai/synapti-marketplace/plugin install flowWrote 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/commands/synaptiai/synapti-marketplace/run)<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/run"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/run.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.00021 | $0.01042 |
| Opus 5 | $0.00010 | $0.00521 |
| Sonnet 5 | $0.00004 | $0.00208 |
| Haiku 4.5 | $0.00002 | $0.00104 |
Grade A, and why
run 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 4d 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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/flow:run — single-shot trigger executor
When a FlowTrigger's target needs to run NOW (manual invocation, loop iteration, hook fire), /flow:run trigger <id> is the entry point. It validates the trigger against safety policy, checks concurrency, and dispatches the target command exactly once.
Required Skills
trigger-policy— enforce mode (every invocation).
Pre-flight
ENABLED=$("$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ echo plugins/flow;ls -d "$HOME"/.claude/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;echo "$HOME/.claude/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ echo "${__p%/}";break;};done);echo "$__fr")/bin/cascade-resolve.sh" \
--default "false" '.flow.triggers.enabled')
[ "$ENABLED" != "true" ] && { echo "flow.triggers.enabled is false"; exit 0; }
Subcommand: /flow:run trigger <id>
- Read
.flow/triggers/<id>.trigger.yaml. Error if not found. - Check
metadata.enabled: true. Error if disabled. - Invoke
Skill(trigger-policy)inenforcemode. Abort on violation (Tier 3 deny, recursion deny, etc.). - Check
concurrency.policy:skip_if_running(default) — if a previous run for this trigger is in flight (check.flow/runs/for runs with metadata.trigger= and state.status=active), exit 0 with a notice.queue— queue the run (currently logs a journal artifact; full queue semantics not implemented).cancel_previous— find any in-flight runs and transition them tocancelledbefore starting.
- Set env var
FLOW_TRIGGERED_RUN=true(target commands consult this for recursion policy enforcement). - Invoke
target.commandfrom the trigger YAML. - After target completes, append a
trigger-firedartifact to the linked decision journal.
Recursion enforcement
When FLOW_TRIGGERED_RUN=true:
- The target command's pre-flight check refuses to create / enable / modify triggers (unless
recursion_policy.triggered_runs_may_*is true, which requires explicit AskUserQuestion at trigger-creation time). - The target command's tier classification has
mergeandreleasehard-overridden toconfirmregardless of trigger settings.
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.
- 4d ago First seen · 66 lines · 21 tokens per session scan A 49bcfc0d4efb
run is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,042 once invoked, about $0.0001 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-09-03.
Other commands, from other repositories
create-worktree
Follow these steps to create a git worktree.
paper-trail-review
Review and arbitrate problematic references (cascade-exhausted, unresolved UID, awaiting OCR). Generates an up-to-date report, walks through cases by category, and applies arbitration decisions to the registry.
paper-trail-decide
Inspect a single reference in detail (identity, PDF status, acquisition history with verdicts, citation context in vault, state transitions) and decide its fate. Offers actionable decisions based on the ref's current state.
paper-trail-new-paper
Start writing an academic paper (IMRaD structure) on a topic, with anti-hallucination citation verification at every step. Builds on existing audited SOTAs.
paper-trail-registry-cleanup
Nettoyage historique du registre des fiches bibliographiques (les 900 fiches existantes). Cible les vieilles fiches mal nommées (0000, untitled) ET les duplicates avec suffixes numériques (foo2020bar2, 234) qui sont des artefacts de runs INGEST passés. Délègue les décisions au sub-agent textbook-resolver. Les merge…
paper-trail-cascade
Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy on each download.