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/trigger)<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/trigger"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/trigger/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/trigger"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/trigger.svg" alt="Reviewed on agentmods" width="80" 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.00058 | $0.02557 |
| Opus 5.5 | $0.00023 | $0.01023 |
| Sonnet 5.5 | $0.00012 | $0.00511 |
| Haiku 4.5 | $0.00006 | $0.00256 |
Grade A, and why
trigger 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 25d 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 — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/flow:trigger — FlowTrigger management
Flow cannot invoke native /loop, scheduled tasks, or any external runner from plugin code. FlowTrigger artifacts at <runtime dir>/triggers/<id>.trigger.yaml (<runtime dir> is the runtime directory the pre-flight block prints as RUNTIME_DIR=: flow.runtime.stateDir, default .flow) describe wake-up intent — they declare when flow SHOULD resume work and what command to invoke, but actual execution requires manual user invocation (trigger types manual, hook, loop_prompt). The schema also defines github_actions and local_cron, but no runner for them ships and flow.triggers.allowedTypes excludes them by default.
Required Skills
trigger-policy— every subcommand that creates / enables / runs a trigger.
# Inline the Required Skills above so their rules are in context before the
# first phase runs (commands cannot preload skills from frontmatter). Ambient
# skills load whole; dispatched skills (context: fork / agent:) load their
# `## Contract` section and run in full when this command invokes
# Skill(<name>). Output per `references/command-output-format.md`.
"$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/bin/flow-load-skills.sh" trigger-policy
true
Pre-flight
# A non-zero exit means the setting could not be read (cascade-resolve.sh
# says why on stderr): that is not the same as false, so say so and stop.
__cr_rc=0
ENABLED=$("$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/bin/cascade-resolve.sh" \
--default "true" '.flow.triggers.enabled') || __cr_rc=$?
if [ "$__cr_rc" -ne 0 ]; then
printf '%s\n' "flow.triggers.enabled could not be read (cascade-resolve.sh exited $__cr_rc; its message is above), so /flow:trigger stops here." >&2
exit 1
fi
if [ "$ENABLED" != "true" ]; then
printf '%s\n' "flow.triggers.enabled is false — /flow:trigger is turned off in your settings." >&2
printf '%s\n' "Turn it back on in .claude/settings.flow.local.json: { \"flow\": { \"triggers\": { \"enabled\": true } } }"
exit 0
fi
# Triggers are under the runtime directory, flow.runtime.stateDir (default
# .flow), printed as RUNTIME_DIR. Never through a symlink: a repository can
# commit that directory as a link to a directory outside the checkout, where
# the trigger would then be written.
# Exit 1 is that refusal; exit 3 is a check that could not run (python3
# missing), which is not a symlink: say which, and create nothing.
RT=$("$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/bin/flow-runtime-dir.sh") || RT=""
[ -n "$RT" ] || RT=".flow"
printf '%s\n' "RUNTIME_DIR=$RT"
"$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/bin/flow-mkdir.sh" -- "$RT/triggers" || { [ $? -eq 3 ] && exit 3; exit 1; }
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.
- 25d ago Changed 5404a9ae275c
- 1mo ago Changed · +9 lines · +9 tokens per session 247246d7cdc9
- 1mo ago Changed · +7 lines ac09fab63e76
- 2mo ago Changed · +4 lines 207fede3f0a6
- 2mo ago Changed 9602c0f47c96
- 2mo ago Changed 33338417ad5e
- 2mo ago Changed · +11 lines 0c2ade632deb
- 3mo ago First seen · 82 lines · 49 tokens per session scan A 6f12602360a7
trigger is a command published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 2,557 once invoked, about $0.0002 per session on Opus 5.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.
trigger compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| triggersynaptiai/synapti-marketplace | Command | 9 | today | Apache-2.0 | A | 58 | Claude Code |
| create-worktreeCaptainMe-AI/lead-dev-os | Command | 2 | 24d ago | MIT | A | 0 | Claude Code |
| paper-trail-reviewroomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 39 | Claude Code |
| paper-trail-new-paperroomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 35 | Claude Code |
| paper-trail-registry-cleanuproomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 109 | Claude Code |
| paper-trail-cascaderoomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 44 | Claude Code |
| paper-trail-linkifyroomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 70 | Claude Code |