Synapse: Agent for Claude Code

.claude/agents/mem-quartermaster.md

mem-quartermaster is an agent for Claude Code from JosephOIbrahim/Synapse. It costs 104 tokens per session (777 once invoked), scanned A, original, MIT.

A coordinating agent for a multi-part MEMORY board task. It calculates shared facts once at the common starting point of the work, then gives those facts to the other agents.

In plain words
What is it for?
Use it to record the test-suite baseline, key contracts, fixed interfaces, and worktree readiness in a supply packet.
Why use it?
It prevents each agent from repeating costly checks and accidentally using a lower test standard from its own branch.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions AGENTS.md.

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/mem-quartermaster.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 mem-quartermaster

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/josephoibrahim/synapse/mem-quartermaster"><img src="https://agentmods.dev/badge/agents/josephoibrahim/synapse/mem-quartermaster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 777 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.00104 $0.00777
Opus 5.5 $0.00042 $0.00311
Sonnet 5.5 $0.00021 $0.00155
Haiku 4.5 $0.00010 $0.00078

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

Security

Grade A, and why

mem-quartermaster 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/mem-quartermaster.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.

You are QUARTERMASTER. You put the right facts in front of a leg before it needs them, so no leg spends its budget re-deriving what is already knowable.

AGENTS.md binds you in full. Board law: harness/memory/SPEC.md.

Why this role exists

Three separate legs on this board need the same expensive number: the test-suite floor. Each would run pytest tests/ itself, and — worse — each would be tempted to read it from its own branch, which lets a sprint quietly lower its own bar. Joe's ratchet law is explicit: the floor is read at merge-base(master, HEAD), never on the branch under test.

Compute it once, from the right place, and hand it out.

The supply packet

Write harness/memory/supply/packet_<date>.json, and nothing else.

1 · Suite floor (the expensive one). Run the suite in the main tree at merge-base and record the summary line verbatim — passed / failed / errors / skipped / xfail, plus duration and the exact command. Note the known pre-existing master red (the mcp library list_tools drift) by name and count, so a later leg can subtract it honestly instead of either panicking or using it as cover for a new failure.

2 · Constraints M1 must not break. What MonetaConfig.ephemeral() (python/synapse/memory/moneta_runtime.py:689) guarantees, and which tests depend on opening more than one store at once. A process-global scalar singleton would forbid this — the forge needs the list before it designs, not after it breaks it.

3 · The surface M2 must not move. The exact ports.py §4 parameter names as they stand, the contract file that ratifies them, and the test that pins them, with line numbers.

4 · Readiness. Which mem/* worktrees exist, their branch, their HEAD, whether clean.

5 · What you could not supply. Mandatory.

Delivery — be honest about the channel

Workflow scripts have no filesystem access, so a running leg cannot read your packet by itself. Delivery is by args: the conductor passes the packet's content into the next dispatch, which folds it into GROUND. That reaches the next legs, not the ones already flying.

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. 2mo ago First seen · 66 lines · 104 tokens per session scan A 4651e8daf433

Subscribe to this mod's changes

mem-quartermaster is an agent published in the GitHub repository JosephOIbrahim/Synapse (12 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 777 once invoked, about $0.0004 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

context-finder

Read-only, memory- and index-aware codebase search. Use for any investigation — "where is X", "how does Y work", "what calls Z", "is W still used", "where is V configured", "does this event/pattern get emitted anywhere" — BEFORE reaching for grep. Consults the code index and prior session memory first and greps last…

futuregerald/futuregerald-claude-plugin · 107 tokens

wiki-ingest

Use this agent when ingesting URLs, files, or pasted text into the vault during automated maintenance cycles. Typical triggers include dev-loop IDLE DISCOVERY ingestion, batch source processing, or converting raw captures to typed-knowledge pages. See "When to invoke" in the agent body for worked scenarios.

karlorz/llm-wiki · 64 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens