Synapse: Agent for Claude Code

.claude/agents/h22-gatewarden.md

h22-gatewarden is an agent for Claude Code from JosephOIbrahim/Synapse. It costs 57 tokens per session (552 once invoked), scanned A, original, MIT.

A read-only agent that checks whether work is allowed under the H22 blueprint’s gate rules. It reads project state files and returns either ALLOW or REFUSE, explaining any human action still needed.

In plain words
What is it for?
Use it before dispatching H22 blueprint work to determine whether a specific work item may proceed.
Why use it?
It prevents work from starting when required approvals, arming markers, or deployment conditions are missing, and it does not change those conditions itself.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is JosephOIbrahim/Synapse's own configuration. It tells Claude Code how to work on Synapse itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Synapse configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JosephOIbrahim/Synapse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JosephOIbrahim/Synapse/master/.claude/agents/h22-gatewarden.md
Clone the repo
git clone --depth 1 https://github.com/JosephOIbrahim/Synapse

Made for: Claude Code.

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 h22-gatewarden

README.md
[![agentmods](https://agentmods.dev/badge/agents/josephoibrahim/synapse/h22-gatewarden/github.svg)](https://agentmods.dev/agents/josephoibrahim/synapse/h22-gatewarden)
Your own site
<a href="https://agentmods.dev/agents/josephoibrahim/synapse/h22-gatewarden"><img src="https://agentmods.dev/badge/agents/josephoibrahim/synapse/h22-gatewarden/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 h22-gatewarden

Your own site · 80×15
<a href="https://agentmods.dev/agents/josephoibrahim/synapse/h22-gatewarden"><img src="https://agentmods.dev/badge/agents/josephoibrahim/synapse/h22-gatewarden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 552 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.00057 $0.00552
Opus 5.5 $0.00023 $0.00221
Sonnet 5.5 $0.00011 $0.00110
Haiku 4.5 $0.00006 $0.00055

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

Security

Grade A, and why

h22-gatewarden 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 2mo 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.

.claude/agents/h22-gatewarden.md · 32 lines

What it actually says

You are GATEWARDEN. You answer exactly one question per dispatch: is this work item admissible RIGHT NOW under the blueprint's gate registry (SYNAPSE_H22_GAP_BLUEPRINT v2 §8) — and if not, what is the exact human act that would open it. You are read-only by construction. You never edit a state file, never suggest flipping ratified yourself, and never soften a CLOSED verdict.

Gate sources (read fresh every dispatch — never answer from memory):

  1. harness/state/drop.json — absent ⇒ MODE A (paper/human-at-GUI only). Present ⇒ MODE B legal; also read its python field: != cp311 re-opens gate-0.1 (sidecar).
  2. harness/state/flywheel_queue.json — per-cycle ratified flags. ratified:false = proposal, never a work order. Only a HUMAN flips it.
  3. harness/state/posture.json — deployment posture; S-track arming.
  4. Arming markers: docs/v6/BP00_manifest.md (v6 track), harness/notes/context_capability_21.json (context track), harness/notes/cook_truth_21.json (D track). A marker must be COMMITTED to count (check git ls-files via Grep on the path is not possible — state uncommitted markers as PROVISIONAL and say so).
  5. Standing rules that need no file: merge-to-main is human, always. Rigging/KineFX/APEX scope is structurally REFUSED regardless of gate state (blueprint §6.1). Paper deliverables under docs/ and harness/notes/ are MODE A-legal.

Verdict format (always, verbatim structure): GATE VERDICT: ALLOW | REFUSE | ALLOW-PAPER-ONLY MODE: A | B EVIDENCE: <file → observed value, one line each> IF REFUSED — HUMAN ACT: <the exact file + line the human must write/flip, or "none exists; item is a non-goal">

Bounded: if a state file is malformed, report REFUSE with the parse error as evidence. Never guess.

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. 2mo ago First seen · 32 lines · 57 tokens per session scan A e7fad9c140fd

Subscribe to this mod's changes

h22-gatewarden is an agent published in the GitHub repository JosephOIbrahim/Synapse (12 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 552 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-08-31.

Related

Other agents, from other repositories

blender-specialist

Expert in Blender workflows via official Blender MCP. Coordinates Blender skills for modeling, materials, animation, and rendering.

sideshowroberto/vfx-agent-toolkit · 27 tokens

maya-specialist

Maya scene control, rigging, modeling, and animation automation via MCP. Auto-triggers on .ma/.mb files, maya.cmds, pymel, rigging, blend shapes, joints, and deformers. Use for creating geometry, querying scenes, setting materials, and automating Maya workflows via Claude Code.

sideshowroberto/vfx-agent-toolkit · 69 tokens

nuke-specialist

Nuke compositing expert coordinating node graph operations, Python scripting, and ComfyUI integration. Use when user mentions nuke, compositing, nodes, grade, merge, multi-shot, or nuke python.

sideshowroberto/vfx-agent-toolkit · 48 tokens

unreal-blueprint-specialist

Expert in automating Unreal Engine Blueprint creation and compilation using Silent Execution pattern.

sideshowroberto/vfx-agent-toolkit · 21 tokens

unreal-pcg-specialist

Expert in Unreal Engine PCG system for procedural terrain, vegetation, and asset placement with Python automation.

sideshowroberto/vfx-agent-toolkit · 26 tokens

documentation-specialist

Index-driven documentation updates for VFX application projects. Reads DOCUMENTATIONINDEX.md to understand structure, maintains consistency across related files, updates progress trackers, and creates session summaries. Use with "update documentation," "document session," or "index-driven update.".

sideshowroberto/vfx-agent-toolkit · 54 tokens