Synapse CLAUDE.md

A navigation and working guide for the Synapse project, covering its codebase, commands, testing, architecture, and design rules.

In plain words
What is it for?
Starting work in Synapse, choosing commands, maintaining Python and TypeScript code, running tests, and understanding its layout.
Why use it?
It helps an AI coding assistant find the right documentation and follow the project’s established practices.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/droxer/synapse/claude-md
Clone the repo
git clone --depth 1 https://github.com/droxer/Synapse
Per session 707 This file is loaded in full into every session.
When invoked 707 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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 $0.00707 $0.00707
Opus 5 $0.00353 $0.00353
Sonnet 5 $0.00141 $0.00141
Haiku 4.5 $0.00071 $0.00071

Measured 2d ago against content hash 30a04e0b2167, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Synapse CLAUDE.md 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 2d 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.

Origin

This is a copy

88% identical to Synapse AGENTS.md — 81 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.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.

CLAUDE.md

Navigation map for Claude Code (claude.ai/code) in this repository. Detailed content lives under **docs/reference/; the full doc tree is **[docs/README.md](docs/README.md).

Commands and quality

Topic Doc
Makefile (make dev, install, lint, desktop) [docs/reference/commands.md](docs/reference/commands.md)
pytest, ruff [docs/reference/backend-testing.md](docs/reference/backend-testing.md)
Agent evals (make evals, JSON report) [docs/reference/agent-evals.md](docs/reference/agent-evals.md)
Alembic migrations [docs/reference/database-migrations.md](docs/reference/database-migrations.md)

Code style

Topic Doc
Python / FastAPI [docs/reference/style-python.md](docs/reference/style-python.md)
TypeScript / Next.js [docs/reference/style-typescript.md](docs/reference/style-typescript.md)
Design system (tokens, radii, colors, typography) [docs/reference/design-system.md](docs/reference/design-system.md)

Architecture and layout

Topic Doc
Stack overview (FastAPI, Next.js, SSE) [docs/reference/architecture-overview.md](docs/reference/architecture-overview.md)
backend/ map [docs/reference/backend-layout.md](docs/reference/backend-layout.md)
web/ map [docs/reference/frontend-layout.md](docs/reference/frontend-layout.md)
Tauri desktop shell [docs/reference/desktop-shell.md](docs/reference/desktop-shell.md)

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. 2d ago First seen · 66 lines · 707 tokens per session scan A 30a04e0b2167

Subscribe to this mod's changes

Synapse CLAUDE.md is an instructions file published in the GitHub repository droxer/Synapse (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 707 tokens to every session, about $0.0035 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to Synapse AGENTS.md, differing in 81 lines, and is treated as a copy.