synapse-research: Instructions file for Claude Code

CLAUDE.md

synapse-research CLAUDE.md is an instructions file for Claude Code 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is NimbleBrainInc/synapse-research's own configuration. It tells Claude Code how to work on synapse-research 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-research configures →

Reuse

Borrowing it

Nothing to install: this file belongs to NimbleBrainInc/synapse-research. 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/NimbleBrainInc/synapse-research/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/NimbleBrainInc/synapse-research

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nimblebraininc/synapse-research/claude-md/github.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/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 synapse-research CLAUDE.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.02353 $0.02353
Opus 5.5 $0.00941 $0.00941
Sonnet 5.5 $0.00471 $0.00471
Haiku 4.5 $0.00235 $0.00235

Measured 2mo ago against content hash cb08d05e5721, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 2mo 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 5mo ago), licensed MIT. It adds 2,353 tokens to every session, about $0.0094 per session on Opus 5.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

synapse-research CLAUDE.md compared with instructions from other repositories

synapse-research CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
synapse-research CLAUDE.mdNimbleBrainInc/synapse-researchInstructions file05mo agoMITC2,353Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode