watch

watch is a command for Claude Code from synaptiai/synapti-marketplace. It costs 60 tokens per session (1,561 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 — 31 skills, 21 commands, 9 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 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 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 60 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,561 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.00060 $0.01561
Opus 5 $0.00030 $0.00781
Sonnet 5 $0.00012 $0.00312
Haiku 4.5 $0.00006 $0.00156

Measured 5d ago against content hash 3f30f986e5d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 5d 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 · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 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:

  1. Creates a FlowTrigger YAML at .flow/triggers/<id>.trigger.yaml from a plugin-shipped template
  2. Generates a loop-prompt file at .claude/flow-loop-<id>.md that the user invokes with /loop @.claude/flow-loop-<id>.md

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.

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')
if [ "$ENABLED" != "true" ]; then
  echo "flow.triggers.enabled is false — /flow:watch is opt-in."
  exit 0
fi

mkdir -p .flow/triggers .claude

Subcommands

/flow:watch pr <N>

Create a PR-watch trigger that monitors PR #N's CI + review state.

  1. Read template plugins/flow/triggers/templates/pr-watch.trigger.yaml.
  2. Substitute ${PR} → N, ${REPO} → from gh repo view, ${BRANCH} → from PR metadata, ${NOW} → current ISO timestamp.
  3. Write to .flow/triggers/pr-<N>-watch.trigger.yaml.
  4. Invoke Skill(trigger-policy) in validate mode. Abort on violation.
  5. Generate .claude/flow-loop-pr-<N>.md with the watch-mode prompt.
  6. Print the manual invocation instructions.

/flow:watch ci

Create a CI-failure trigger that fires on CI status changes for the current branch.

/flow:watch issue <N>

Create an issue-watch trigger that monitors issue #N for status changes.

Read the full file on GitHub · 133 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. 5d 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 (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,561 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-09-03.