Borrowing it
Nothing to install: this file belongs to 2ndbrainlabs-ai/synapse-cli-ts. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/2ndbrainlabs-ai/synapse-cli-ts/main/AGENTS.mdgit clone --depth 1 https://github.com/2ndbrainlabs-ai/synapse-cli-tsWrote 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.
[](https://agentmods.dev/instructions/2ndbrainlabs-ai/synapse-cli-ts/agents-md)<a href="https://agentmods.dev/instructions/2ndbrainlabs-ai/synapse-cli-ts/agents-md"><img src="https://agentmods.dev/badge/instructions/2ndbrainlabs-ai/synapse-cli-ts/agents-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.
<a href="https://agentmods.dev/instructions/2ndbrainlabs-ai/synapse-cli-ts/agents-md"><img src="https://agentmods.dev/badge/instructions/2ndbrainlabs-ai/synapse-cli-ts/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02053 | $0.02053 |
| Opus 5.5 | $0.00821 | $0.00821 |
| Sonnet 5.5 | $0.00411 | $0.00411 |
| Haiku 4.5 | $0.00205 | $0.00205 |
Grade A, and why
synapse-cli-ts AGENTS.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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Instructions for every coding agent (Claude Code, Cursor, Codex, Copilot, Gemini) and for humans. This file is the single source of truth. Agent-specific files (CLAUDE.md, .claude/) only point here.
This is a public repository. Everything you write here (code, docs, tests, commit messages, PR descriptions) is visible to anyone.
What this repo is
@2ndbrainlabs-ai/synapse-cli, the synapse binary: a Node ESM TypeScript CLI that reads a codebase and generates a runnable MCP server (Python / FastMCP today).
- Code exploration always runs on the user's machine (tree-sitter surface extraction).
- Code generation runs either on the hosted Synapse backend over gRPC (the default) or in-process on the user's own model with
--local. - Stack: TypeScript (strict), commander,
@grpc/grpc-js, tree-sitter, zod, vitest, tsup, ESLint. - Distribution: npm, published by release-please from GitHub Actions. See docs/RELEASING.md.
Read docs/architecture.md for how the pieces fit together.
Commands
| Command | What it does |
|---|---|
npm ci --legacy-peer-deps |
Install exactly what CI installs |
npm run dev -- <command> [flags] |
Run the CLI from source with tsx (e.g. npm run dev -- build --local) |
npm run build |
tsup bundle into dist/ |
npm run lint |
ESLint over src/ and tests/ |
npm run typecheck |
tsc --noEmit on src/ only |
npm run typecheck:tests |
Typecheck src/ and tests/ (tsconfig.test.json) |
npm test |
vitest run, the whole suite |
npx vitest run <file> / npx vitest run -t "<name>" |
One test file / tests matching a name |
npm run ci |
lint + typecheck + typecheck:tests + test + build. Run this before you say a task is done. |
npm audit --audit-level=high |
The dependency audit CI runs |
npm pack --dry-run |
List exactly what would be published to npm |
More detail, including the local-backend --dev flag: docs/development.md.
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.
- yesterday First seen · 104 lines · 2,053 tokens per session scan A 4b4b751af19c
synapse-cli-ts AGENTS.md is an instructions file published in the GitHub repository 2ndbrainlabs-ai/synapse-cli-ts (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,053 tokens to every session, about $0.0082 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-11-09.
synapse-cli-ts AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| synapse-cli-ts AGENTS.md2ndbrainlabs-ai/synapse-cli-ts | Instructions file | 6 | yesterday | Apache-2.0 | A | 2,053 | Codex, OpenCode |
| create-trimble-app typescript.instructions.mdjulianoczkowski/create-trimble-app | Instructions file | 3 | 4mo ago | MIT | A | 583 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |