AGENTS.md
tools/cli/AGENTS.mdAGENTS.md
Quality
44/100
Scores the file, not the repository.Length
272 words
5 headings · 0 code blocksRepository
0
— · pushed 32 days agoLast changed
3 days ago
First indexed 3 days ago.1# tools/cli — Agent Instructions23`brain` CLI tool built with Commander.js for interacting with the knowledge graph.45## Entry Point67`src/index.ts` → Commander program. Commands in `src/commands/`.89## Commands1011| File | Command(s) | Purpose |12|------|-----------|---------|13| `init-reset.ts` | `init`, `init server`, `init client`, `reset`, `admin`, `doctor`, `auth rotate` | Solo/team initialization, admin, diagnostics, auth |14| `add.ts` | `add` | Add entities manually |15| `decide.ts` | `decide` | Record decisions |16| `recall.ts` | `recall` | Build assistant context blocks |17| `search.ts` | `search` | Full-text search |18| `query.ts` | `query` | Natural-language graph query |19| `index-cmd.ts` | `index` | Run collector pipelines |20| `embed.ts` | `embed` | Generate embeddings |21| `export-import.ts` | `export`, `import` | JSON export/import |22| `status.ts` | `status` | Show brain status/stats |23| `sync.ts` | `sync` | Manage sync state |24| `wire-unwire.ts` | `wire`, `unwire` | Connect/disconnect repositories |25| `wire-assistant.ts` | `wire-assistant`, `unwire-assistant` | Install/remove assistant hooks |26| `watch.ts` | `watch` | File system watcher |27| `tail.ts` | `tail` | Stream recent changes |28| `flip-branch.ts` | `flip-branch` | Switch branch context |29| `ownership-cmd.ts` | `ownership` | Entity ownership management |30| `personal-cmd.ts` | `personal` | Personal namespace operations |3132## Adding a New CLI Command33341. Create command file in `src/commands/`352. Export a function that takes the Commander `program` object363. Register in `src/index.ts`3738## Other Key Files3940- `src/keychain.ts` — Credential storage41- `src/personal-crypto.ts` — Encryption for personal namespace42- `src/git-context-daemon.ts` — Background git context tracking43- `src/sse-relay.ts` — SSE relay for real-time events44- `src/lib/` — Shared CLI utilities45
Also in thangaram611/second-brain
Diff this repo’s formatsOne 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 | 3 days ago | |
| thangaram611/second-brain.clinerules/02-conventions.md · 0 | Cline rules | teststyledo-not | 40/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/03-backend.md · 0 | Cline rules | styledatabase | 37/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/04-frontend.md · 0 | Cline rules | style | 28/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/05-testing.md · 0 | Cline rules | testdo-not | 35/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/06-data-model.md · 0 | Cline rules | types | 25/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/backend.mdc · 0 | Cursor rules | do-not | 31/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/data-model.mdc · 0 | Cursor rules | types | 30/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/frontend.mdc · 0 | Cursor rules | do-not | 31/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/project.mdc · 0 | Cursor rules | testdo-notagent-behaviour | 50/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/testing.mdc · 0 | Cursor rules | testdo-not | 27/100 | 3 days ago | |
| thangaram611/second-brain.github/copilot-instructions.md · 0 | Copilot instructions | setupteststylearch+4 | 96/100 | 3 days ago | |
| thangaram611/second-brain.windsurfrules · 0 | Windsurf rules | setupteststylearch+4 | 75/100 | 3 days ago | |
| thangaram611/second-brainAGENTS.md · 0 | AGENTS.md | setupteststyletypes+3 | 74/100 | 3 days ago | |
| thangaram611/second-brainCLAUDE.md · 0 | CLAUDE.md | agent-behaviour | 16/100 | 3 days ago | |
| thangaram611/second-brainapps/relay/AGENTS.md · 0 | AGENTS.md | monorepoagent-behaviour | 33/100 | 3 days ago | |
| thangaram611/second-brainapps/server/AGENTS.md · 0 | AGENTS.md | styleapimonorepoagent-behaviour | 56/100 | 3 days ago | |
| thangaram611/second-brainapps/ui/AGENTS.md · 0 | AGENTS.md | styleuimonorepoagent-behaviour | 56/100 | 3 days ago | |
| thangaram611/second-brainpackages/collectors/AGENTS.md · 0 | AGENTS.md | agent-behaviour | 52/100 | 3 days ago | |
| thangaram611/second-brainpackages/core/AGENTS.md · 0 | AGENTS.md | testtypesdatabaseagent-behaviour | 62/100 | 3 days ago |
Diff against .clinerules/01-project.md Diff against .clinerules/02-conventions.md Diff against .clinerules/03-backend.md Diff against .clinerules/04-frontend.md Diff against .clinerules/05-testing.md Diff against .clinerules/06-data-model.md Diff against .cursor/rules/backend.mdc Diff against .cursor/rules/data-model.mdc Diff against .cursor/rules/frontend.mdc Diff against .cursor/rules/project.mdc Diff against .cursor/rules/testing.mdc Diff against .github/copilot-instructions.md Diff against .windsurfrules Diff against AGENTS.md Diff against CLAUDE.md Diff against apps/relay/AGENTS.md Diff against apps/server/AGENTS.md Diff against apps/ui/AGENTS.md Diff against packages/collectors/AGENTS.md Diff against packages/core/AGENTS.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
