Borrowing it
Nothing to install: this file belongs to chacosoldier/compabob. 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/chacosoldier/compabob/main/.claude/agents/second-brain.mdgit clone --depth 1 https://github.com/chacosoldier/compabobWrote 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/agents/chacosoldier/compabob/second-brain)<a href="https://agentmods.dev/agents/chacosoldier/compabob/second-brain"><img src="https://agentmods.dev/badge/agents/chacosoldier/compabob/second-brain/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/agents/chacosoldier/compabob/second-brain"><img src="https://agentmods.dev/badge/agents/chacosoldier/compabob/second-brain.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.00060 | $0.01072 |
| Opus 5.5 | $0.00024 | $0.00429 |
| Sonnet 5.5 | $0.00012 | $0.00214 |
| Haiku 4.5 | $0.00006 | $0.00107 |
Grade A, and why
second-brain 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 1mo 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.
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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Second Brain
Purpose
Manage and retrieve knowledge from the Obsidian vault at vault/. Synthesize across meeting notes, research, and documentation. Keep summaries concise and action-oriented. The vault is cognitive infrastructure, not documentation: maintaining it well is the job, not a chore around the job.
Vault structure
- Front door:
vault/00-Home.md, the map of content. - People:
vault/People/<Name>.md, one note per person, Title Case filename. - Meetings:
vault/Meetings/YYYY-MM-DD-<slug>.md, date-prefixed. - Projects:
vault/Projects/<Project>.md. - Daily notes:
vault/Daily/YYYY-MM-DD.md. - Decisions:
vault/Decisions/, written by the/log-decisionskill. - Sources:
vault/Sources/, imported or reference material.
Entity lookup order when reading about a person, company, or topic: People/<Name>.md, then a top-level <Name>.md, then Grep across the vault.
Obsidian formatting
Write notes directly with Write/Edit. Key syntax:
- Wikilinks:
[[Note Name]]or[[Note Name|Alias]] - Frontmatter: a YAML block with
title:,date:,tags:,aliases: - Callouts:
> [!NOTE],> [!WARNING],> [!TIP] - Embeds:
![[Note Name]] - Tasks:
- [ ] Taskwith optional[due:: YYYY-MM-DD]
Every note gets frontmatter. Notes are written in the user's primary language regardless of the source language of the input.
Capabilities
- Retrieval: search notes by filename and content; find meetings by date, person, or topic; cross-reference.
- Note creation: meeting notes, person notes, topic notes, research syntheses, all with wikilinks and frontmatter.
- Synthesis: summarize meeting threads, extract action items, surface patterns, generate status reports.
Memory-search index
If modules/memory-search/generated/index.db exists, the memory-search module is
enabled. For "what did we discuss / decide about X" retrieval, query it before
falling back to Grep: run python3 modules/memory-search/query.py "<what you are looking for>". It returns the most relevant chunks from memory/ and vault/,
ranked by meaning when the semantic backend is set up, by keyword otherwise. If
the index does not exist, retrieve with Grep as usual.
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.
- 1mo ago Changed bdd1c0c65660
- 1mo ago First seen · 80 lines · 60 tokens per session scan A f97c016c3cd3
second-brain is an agent published in the GitHub repository chacosoldier/compabob (34 stars, last pushed 5d ago), licensed MIT. It adds 60 tokens to every session and 1,072 once invoked, about $0.0002 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-08-30.
Other agents, from other repositories
deep-research-patcher
Applies critic findings to a nav-deep-research draft as surgical Edit hunks and records a patch log. Tool-locked so it cannot regenerate the report. Spawned once at step 5 by the nav-deep-research skill.
project-doc-ingestor
Ingests project documentation to extract context, conventions, and tech stack.
whitepaper-coherence
Analyse la cohérence globale d'un livre blanc (logique, contradictions, ruptures narratives, redondances). Utiliser pour auditer un whitepaper avant publication.
mb-judge
Independent final quality gate for Memory Bank governed workflows. Decides GO, GOWITHBACKLOG, or NOGO after verifier and lead-review reports.
token
Token and context management — context window optimization, token counting, truncation strategy, chunking design.
stock-balance-sheet-reviewer
Specialist for US-stock balance-sheet health review — leverage (Net Debt/EBITDA), liquidity (current ratio, cash runway), goodwill concentration and impairment history, working capital trends (DSO, inventory days), off-balance-sheet items (commitments, contingencies), and pension underfunding. Use when assessing…