watch

watch is a command for Claude Code from synaptiai/synapti-marketplace. It costs 85 tokens per session (5,118 once invoked), scanned A, original, Apache-2.0.

A command that creates a FlowTrigger and a prompt file for manually starting a monitoring loop. It supports watching pull requests, continuous-integration checks, issues, or branches.

In plain words
What is it for?
Use it to prepare monitoring for CI, pull-request, issue, or branch changes, then start the generated loop yourself.
Why use it?
It turns a monitoring request into project files without pretending that the add-on can run background loops by itself.

Command for Claude Code

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

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 — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it to prepare monitoring for CI, pull-request, issue, or branch changes, then start the generated loop yourself.

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 33 skills, 20 commands, 11 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 watch

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/watch/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/watch)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/watch"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/watch/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.

agentmods 80×15 button for watch

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/watch"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,118 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.00085 $0.05118
Opus 5.5 $0.00034 $0.02047
Sonnet 5.5 $0.00017 $0.01024
Haiku 4.5 $0.00009 $0.00512

Measured 1mo ago against content hash 408b078b6cea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

watch 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 1mo 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/watch.md · 253 lines

How it starts

The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/flow:watch — generate watch-mode trigger + loop prompt

Watch mode is flow's project-local replacement for "long-running monitoring of CI / PR / issue state." Plugins cannot invoke /loop directly, so this command does two things:

<runtime dir> below is the runtime directory the pre-flight block prints as RUNTIME_DIR= (flow.runtime.stateDir, default .flow).

  1. Creates a FlowTrigger YAML at <runtime dir>/triggers/<id>.trigger.yaml from a plugin-shipped template
  2. For pr, issue and branch, generates a loop-prompt file the user invokes with /loop @<file>: .claude/flow-loop-<id>.md for issue and branch, and .claude/flow-loop-pr-<N>.md for pr (its trigger id is pr-<N>-watch). ci writes no loop prompt (see its section).

The user manually starts the loop. Flow does NOT invoke /loop from plugin code.

Required Skills

  • trigger-policy — validates the generated trigger conforms to safety policy.
# 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:watch stops here." >&2
  exit 1
fi
if [ "$ENABLED" != "true" ]; then
  printf '%s\n' "flow.triggers.enabled is false in your flow settings, so /flow:watch is turned off. Set it to true to use watch mode."
  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; }
mkdir -p .claude
# The templates of the plugin, wherever flow is installed (never plugins/flow under
# the working directory, which only the flow repository itself has).
TEMPLATE_DIR="$(__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")/triggers/templates"
printf '%s\n' "TEMPLATE_DIR=$TEMPLATE_DIR"

Read the full file on GitHub · 253 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. 1mo ago Changed · +13 lines · +25 tokens per session 408b078b6cea
  2. 1mo ago Changed · +89 lines b4419aa5f2f6
  3. 2mo ago Changed · +7 lines 0932264032e7
  4. 2mo ago Changed 8bf1df9e7aae
  5. 2mo ago Changed cac424cc5b03
  6. 2mo ago Changed · +11 lines 7fbe781e911e
  7. 3mo ago First seen · 133 lines · 60 tokens per session scan A 3f30f986e5d2

Subscribe to this mod's changes

watch is a command published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 85 tokens to every session and 5,118 once invoked, about $0.0003 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.

Related

watch compared with commands from other repositories

watch next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
watchsynaptiai/synapti-marketplaceCommand9todayApache-2.0A85Claude Code
create-worktreeCaptainMe-AI/lead-dev-osCommand224d agoMITA0Claude Code
release-managerruvnet/rufloCommand83ktodayMITA0Claude Code
release-swarmruvnet/rufloCommand83ktodayMITA0Claude Code
sm-sailScienceIsNeato/slop-mopCommand167d agoApache-2.0A0Claude Code
releasejoaquimscosta/arkhe-claude-pluginsCommand241mo agoMITA10Claude Code
release-please-setupjoaquimscosta/arkhe-claude-pluginsCommand241mo agoMITA27Claude Code