synapse-research CLAUDE.md

synapse-research CLAUDE.md is an instructions file for coding agents from NimbleBrainInc/synapse-research. It costs 2,353 tokens per session, scanned C, original, MIT.

A project-specific instruction set for Synapse Research, a research app with a Python server and a React web interface. It explains the project's structure, setup commands, and how its research tool works.

In plain words
What is it for?
Use it when developing, testing, installing, or building the Synapse Research server and interface.
Why use it?
It gives the coding agent the project context needed to work consistently, reducing guesswork about architecture, dependencies, and build steps.

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/nimblebraininc/synapse-research/claude-md
Clone the repo
git clone --depth 1 https://github.com/NimbleBrainInc/synapse-research

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 synapse-research CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nimblebraininc/synapse-research/claude-md.svg)](https://agentmods.dev/instructions/nimblebraininc/synapse-research/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nimblebraininc/synapse-research/claude-md"><img src="https://agentmods.dev/badge/instructions/nimblebraininc/synapse-research/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,353 This file is loaded in full into every session.
When invoked 2,353 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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 $0.02353 $0.02353
Opus 5 $0.01177 $0.01177
Sonnet 5 $0.00471 $0.00471
Haiku 4.5 $0.00235 $0.00235

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

Security

Grade C, and why

synapse-research CLAUDE.md scanned grade C with 1 finding 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 4d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf deps/ && uv pip install --target ./deps .
CLAUDE.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

synapse-research

Deep-research MCP app with a task-augmented tool that runs GPT-Researcher under the hood. Two-project architecture: Python MCP server (FastMCP) + React/Vite UI (Synapse SDK).

Architecture

synapse-research/
├── src/mcp_research/         Python MCP server (FastMCP)
│   ├── server.py             Tool registration, orphan reaper, ui:// resource
│   └── worker.py             run_research + _MCPLogHandler (GPT-Researcher wrapper)
├── schemas/                  Upjack entity JSON schemas
│   └── research_run.schema.json
├── skills/                   Natural-language skill definitions bundled with the app
│   └── research-runs/SKILL.md
├── ui/                       React + Vite project (Synapse SDK)
│   ├── src/App.tsx           Live dashboard of runs via useDataSync
│   ├── vite.config.ts        synapseVite() plugin for dev
│   └── dist/index.html       Built single-file bundle
└── tests/                    pytest-asyncio suite — keyless (FakeGPTR fixture)

How it connects: start_research is registered as a task-augmented MCP tool (execution.taskSupport: "optional"). The worker wraps GPT-Researcher and streams progress through two channels in lockstep — ctx.report_progress for the MCP task status stream (drives the chat UI), and app.update_entity for the Upjack entity store (drives the Synapse sidebar dashboard).

Commands

# Install server deps
uv sync

# Install UI deps + build
cd ui && npm install && npm run build && cd ..

# Run tests (keyless — no API keys required)
uv run pytest tests/ -v

# Lint + typecheck + format check
uv run ruff check src/ tests/
uv run ruff format --check src/ tests/
uv run ty check src/

# Run stdio (Claude Desktop, mpak, any MCP client)
uv run python -m mcp_research.server

# Run HTTP (NimbleBrain platform)
uv run uvicorn mcp_research.server:app --port 8002

# Build deps/ for mpak bundling (regenerates 460+ vendored packages)
rm -rf deps/ && uv pip install --target ./deps .

# Bump version across manifest.json, pyproject.toml, __init__.py
make bump VERSION=0.2.0

Read the full file on GitHub · 160 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. 4d ago First seen · 160 lines · 2,353 tokens per session scan C cb08d05e5721

Subscribe to this mod's changes

synapse-research CLAUDE.md is an instructions file published in the GitHub repository NimbleBrainInc/synapse-research (0 stars, last pushed 3mo ago), licensed MIT. It adds 2,353 tokens to every session, about $0.0118 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories