run

run is a command for Claude Code from synaptiai/synapti-marketplace. It costs 21 tokens per session (1,042 once invoked), scanned A, original, Apache-2.0.

A command for running a configured FlowTrigger once. A FlowTrigger describes when work should resume and which command should run, but does not create a recurring schedule.

In plain words
What is it for?
Use it for a manual trigger, a loop iteration, or a hook-driven execution that must happen now.
Why use it?
It provides a controlled way to start an approved automation while checking whether it is enabled, safe, and not already running.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 31 skills, 21 commands, 9 agents shipped together

Good fit Use it for a manual trigger, a loop iteration, or a hook-driven execution that must happen now.

Compare 6 commands from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 31 skills, 21 commands, 9 agents.

Wrote 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.

agentmods badge for run

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/run.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/run)
Your own site
<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>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 49bcfc0d4efb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

plugins/flow/commands/run.md · 66 lines

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>

  1. Read .flow/triggers/<id>.trigger.yaml. Error if not found.
  2. Check metadata.enabled: true. Error if disabled.
  3. Invoke Skill(trigger-policy) in enforce mode. Abort on violation (Tier 3 deny, recursion deny, etc.).
  4. 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 to cancelled before starting.
  5. Set env var FLOW_TRIGGERED_RUN=true (target commands consult this for recursion policy enforcement).
  6. Invoke target.command from the trigger YAML.
  7. After target completes, append a trigger-fired artifact 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 merge and release hard-overridden to confirm regardless of trigger settings.

Read the full file on GitHub · 66 lines

Changes

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.

  1. 4d ago First seen · 66 lines · 21 tokens per session scan A 49bcfc0d4efb

Subscribe to this mod's changes

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.

Related

Other commands, from other repositories