

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# Second Brain — Agent Instructions23Developer knowledge graph — shared engineering memory for teams ("git remembers the code; Second Brain remembers why"). pnpm monorepo, Turborepo, Node.js 24+, TypeScript 5.8+ strict, ESM only.45Each package/app has its own AGENTS.md with package-specific instructions.67## Monorepo Map89```10packages/types → Shared TS types11packages/core → Graph engine (SQLite + Drizzle + FTS5 + sqlite-vec)12packages/collectors → Data collectors + streaming providers13packages/ingestion → LLM extraction + embedding pipeline14packages/sync → Yjs CRDT sync bridge15packages/mcp-server → MCP tools (32 tools, stdio + HTTP)16apps/server → Express 5 REST + WebSocket (:7430)17apps/ui → React 19 + Cytoscape.js + Zustand (:5173)18apps/relay → Hocuspocus CRDT relay (:7421)19tools/cli → brain CLI (Commander.js)20```2122## Commands2324```bash25pnpm install / build / test / check-types / lint / dev / clean26```2728Per-package: `cd <pkg> && pnpm test|build|dev`2930## Conventions3132- ESM only (`"type": "module"`), `.mjs`/`.d.mts` output, `tsdown` for builds33- ULIDs via `ulidx` for IDs — never UUID34- ISO 8601 strings for timestamps — never unix/Date35- SQLite (better-sqlite3) + Drizzle ORM, WAL mode36- Zod v4 for external input validation37- Namespace on all entities/relations: `'personal'` = local, project ID = synced38- Vitest + in-memory SQLite (`:memory:`) for tests39- Named exports, re-export from package `index.ts`40- Workspace imports (`@second-brain/core`, `@second-brain/types`)41- Strict mode, no `any`, no path aliases4243## Data Model4445- **15 entity types**: concept, decision, pattern, person, file, symbol, event, tool, fact, conversation, reference, pull_request, merge_request, branch, review46- **20 relation types**: relates_to, depends_on, implements, supersedes, contradicts, derived_from, authored_by, decided_in, uses, tests, contains, co_changes_with, preceded_by, blocks, reviewed_by, merged_in_mr, merged_in_pr, touches_file, owns, parallel_with4748Defined in `packages/types/src/entity.ts` and `packages/types/src/relation.ts`.4950## Docs5152- [docs/architecture.md](./docs/architecture.md) — Full technical architecture53- [docs/getting-started.md](./docs/getting-started.md) — Usage guide54- [docs/api-reference.md](./docs/api-reference.md) — REST API + MCP + CLI reference55
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| thangaram611/second-brain.clinerules/01-project.md · 0 | Cline rules | setuptestmonorepodo-not | 65/100 | 14 days ago | |
| thangaram611/second-brain.clinerules/02-conventions.md · 0 | Cline rules | teststyledo-not | 40/100 | 14 days ago | |
| thangaram611/second-brain.clinerules/03-backend.md · 0 | Cline rules | styledatabase | 37/100 | 14 days ago | |
| thangaram611/second-brain.clinerules/04-frontend.md · 0 | Cline rules | style | 28/100 | 14 days ago | |
| thangaram611/second-brain.clinerules/05-testing.md · 0 | Cline rules | testdo-not | 35/100 | 14 days ago | |
| thangaram611/second-brain.clinerules/06-data-model.md · 0 | Cline rules | types | 25/100 | 14 days ago | |
| thangaram611/second-brain.github/copilot-instructions.md · 0 | Copilot instructions | setupteststylearch+4 | 96/100 | 14 days ago | |
| thangaram611/second-brainpackages/ingestion/AGENTS.md · 0 | AGENTS.md | styleagent-behaviour | 48/100 | 14 days ago | |
| thangaram611/second-brain.cursor/rules/data-model.mdc · 0 | Cursor rules | types | 30/100 | 14 days ago | |
| thangaram611/second-brain.cursor/rules/frontend.mdc · 0 | Cursor rules | do-not | 31/100 | 14 days ago | |
| thangaram611/second-brain.cursor/rules/project.mdc · 0 | Cursor rules | testdo-notagent-behaviour | 50/100 | 14 days ago | |
| thangaram611/second-brain.cursor/rules/testing.mdc · 0 | Cursor rules | testdo-not | 27/100 | 14 days ago | |
| thangaram611/second-brain.windsurfrules · 0 | Windsurf rules | setupteststylearch+4 | 75/100 | 14 days ago | |
| thangaram611/second-brainCLAUDE.md · 0 | CLAUDE.md | agent-behaviour | 16/100 | 14 days ago | |
| thangaram611/second-brainapps/relay/AGENTS.md · 0 | AGENTS.md | monorepoagent-behaviour | 33/100 | 14 days ago | |
| thangaram611/second-brainapps/server/AGENTS.md · 0 | AGENTS.md | styleapimonorepoagent-behaviour | 56/100 | 14 days ago | |
| thangaram611/second-brainapps/ui/AGENTS.md · 0 | AGENTS.md | styleuimonorepoagent-behaviour | 56/100 | 14 days ago | |
| thangaram611/second-brainpackages/collectors/AGENTS.md · 0 | AGENTS.md | agent-behaviour | 52/100 | 14 days ago | |
| thangaram611/second-brainpackages/core/AGENTS.md · 0 | AGENTS.md | testtypesdatabaseagent-behaviour | 62/100 | 14 days ago | |
| thangaram611/second-brainpackages/mcp-server/AGENTS.md · 0 | AGENTS.md | agent-behaviour | 44/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 68k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 13 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 14 days ago | |
| aaif-goose/gooseAGENTS.md · 53k | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 8 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| deepseek-ai/deepseek-harnessnative/landlock-run/AGENTS.md · 104k | AGENTS.md | setupteststylearch+3 | 100/100 | today | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | today | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 201k | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78k | AGENTS.md | buildtestlint-formatstyle+2 | 100/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/thangaram611-second-brain-agents)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.