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/skills/synaptiai/synapti-marketplace/trigger-policy)<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/trigger-policy"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/trigger-policy/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/skills/synaptiai/synapti-marketplace/trigger-policy"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/trigger-policy.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.00152 | $0.01984 |
| Opus 5.5 | $0.00061 | $0.00794 |
| Sonnet 5.5 | $0.00030 | $0.00397 |
| Haiku 4.5 | $0.00015 | $0.00198 |
Grade A, and why
trigger-policy 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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Trigger Policy
Contract
Iron law: merge and release MUST appear in every trigger's policy.forbidden_actions unless the user's own settings allow otherwise, and the tier hook still asks before any merge or release. Invoked in validate mode (read-only) by /flow:trigger enable and by /flow:watch (every mode) before a trigger YAML is kept or enabled, and in enforce mode by /flow:run step 3 and /flow:trigger run before the target command is dispatched. Returns the JSON report below with exit 0 (pass or soft warning), 1 (policy violation), or 2 (schema invalid); the caller aborts on non-zero. Permitted skips: none — every step runs; the only non-blocking outcome is concurrency_warning.
Inputs
- Trigger YAML path — a plugin template (
triggers/templates/) or a project's<runtime dir>/triggers/<id>.trigger.yaml(<runtime dir>:bin/flow-runtime-dir.shoutput). - Mode —
validate | enforce.
Output
A JSON report: trigger_id, schema_valid, one list per violation kind (tier3_violations, recursion_violations, missing_required_forbidden, cross_reference_violations, concurrency_violations) and overall (step 8). Example: references/flow-triggers.md.
Steps
-
Schema validation: validate the YAML against
schemas/v1/trigger.schema.json(oneSCHEMA_ERROR=line per error). Exit 2 →overall: schema_invalid; exit 1 means the check could not run: stop."$(__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-trigger-schema-check.sh" "${TRIGGER_YAML}" -
Tier 3 deny:
policy.forbidden_actionsmust containmergeandrelease, unlessflow.triggers.allowAutonomousMergeistruein the user's settings, not a repository's; the tier hook still asks. Exit 2 → eachTIER3_VIOLATION=<action>goes intotier3_violations, a hard fail; exit 1: stop.
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.
- 1mo ago Changed · +6 lines · +7 tokens per session 2a8c59ed0036
- 1mo ago Changed · -40 lines b13c971b0833
- 2mo ago Changed · +26 lines bea83e36924a
- 2mo ago Changed 2dc0da48bf5d
- 2mo ago Changed · -49 lines 4a27a705fd19
- 3mo ago First seen · 111 lines · 145 tokens per session scan A 96e0ec2ed9d3
trigger-policy is a skill published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 152 tokens to every session and 1,984 once invoked, about $0.0006 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-policy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trigger-policysynaptiai/synapti-marketplace | Skill | 9 | today | Apache-2.0 | A | 152 | Claude Code |
| create-or-update-conceptsCaptainMe-AI/lead-dev-os | Skill | 2 | 24d ago | MIT | A | 46 | Claude Code |
| step2-scope-tasksCaptainMe-AI/lead-dev-os | Skill | 2 | 24d ago | MIT | A | 20 | Claude Code |
| step1-write-specCaptainMe-AI/lead-dev-os | Skill | 2 | 24d ago | MIT | A | 20 | Claude Code |
| plan-productCaptainMe-AI/lead-dev-os | Skill | 2 | 24d ago | MIT | A | 32 | Claude Code |
| plan-roadmapCaptainMe-AI/lead-dev-os | Skill | 2 | 24d ago | MIT | A | 25 | Claude Code |
| create-prCaptainMe-AI/lead-dev-os | Skill | 2 | 24d ago | MIT | A | 70 | Claude Code |