Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall.

Apache-2.0Auto-check passedDevOps & Cloud

Install Brain

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill brain -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace brain --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/mcp/governed-second-brain/skills/brain .claude/skills/brain && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
brain
GitHub stars
2.8k
Token cost
~1.9k tokens
SKILL.md length
741 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
Apache-2.0

At a glance

Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall.

  • Works in 3 steps: Search the governed corpus → Answer ONLY from the cited results → Handle an empty result honestly
  • You want to know what your brain has captured about your own architecture
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 4 more sections
  • Calls pnpm

What it does

Brain is an agent skill from jeremylongshore/tons-of-skills-marketplace. Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall. Use when you want to know what your brain has captured about your own architecture, infrastructure, decisions, or conventions (e.g. "what does my system map say about the proxy", "why did I pick Apache-2.0", "what's my deploy runbook"). Trigger with "/brain", "ask the brain", "what do I know about", or "check my knowledge base".

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code; ships with the bobs-big-brain (governed-brain) plugin, which auto-wires the governed-brain MCP server. Works in both modes: local…

It sits in DevOps & Cloud, covering Runbooks and postmortems, Citation management and Knowledge bases. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is Apache-2.0.

When your agent uses it

  • You want to know what your brain has captured about your own architecture
  • Conventions (e.g
  • What do I know about
  • Check my knowledge base

Example prompts

  • “what does my system map say about the proxy”
  • “why did I pick Apache-2.0”
  • “s my deploy runbook”
  • “/brain”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code; ships with the bobs-big-brain (governed-brain) plugin, which auto-wires the governed-brain MCP server. Works in both modes: local (in-process, needs qmd on PATH) and team (proxies to your team brain when TEAMKB_API_URL is set). Same brain_search either way.
  • Pre-approved tools (allowed-tools): mcp__governed-brain__brain_search

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Search the governed corpus
  2. Answer ONLY from the cited results
  3. Handle an empty result honestly

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • mcp__governed-brain__brain_search

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code; ships with the bobs-big-brain (governed-brain) plugin, which auto-wires the governed-brain MCP server. Works in both modes: local (in-process, needs qmd on PATH) and team (proxies to your team brain when TEAMKB_API_URL is set). Same brain_search either way.

    From compatibility in the SKILL.md frontmatter.

Context cost

Brain loads about 1.9k tokens when it runs. Until then it costs about 132 tokens; SKILL.md has 741 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~132
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its Apache-2.0 licence (© jeremylongshore). 741 words, ~1,948 tokens.

Download SKILL.mdSave it as .claude/skills/brain/SKILL.md (or your agent's skills folder).
name
brain
description
Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall. Use when you want to know what your brain has captured about your own architecture, infrastructure, decisions, or conventions (e.g. "what does my system map say about the proxy", "why did I pick Apache-2.0", "what's my deploy runbook"). Trigger with "/brain", "ask the brain", "what do I know about", or "check my knowledge base".
allowed-tools
mcp__governed-brain__brain_search
compatibility
Designed for Claude Code; ships with the bobs-big-brain (governed-brain) plugin, which auto-wires the governed-brain MCP server. Works in both modes: local (in-process, needs qmd on PATH) and team (proxies to your team brain when TEAMKB_API_URL is set). Same brain_search either way.
version
1.2.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
Apache-2.0
tags
brain, knowledge, search, citations, governance, local-first, team
argument-hint
[question]

Brain — cited answers from your governed knowledge base

Ask your knowledge brain a question and get an answer grounded in your governed corpus, where every claim carries a qmd:// citation. The brain does not paraphrase from memory — it retrieves governed memories and cites them, so any answer is verifiable after the fact.

Overview

This is the read surface of Bob's Big Brain: your files are compiled into governed memories, governed by deterministic code, and retrieved with citations by Tobi's qmd (OSS). The brain_search MCP tool fronts that retrieval. Your product surround is INTKB govern + ICO compile + this plugin — not a fork of qmd.

The job here is to turn a natural-language question into a cited answer — and to refuse to answer beyond what the citations support.

Prerequisites

  • The bobs-big-brain / governed-brain plugin is installed (MCP governed-brain).
  • Mode is automatic. In local mode (default) search runs in-process against your local ~/.teamkb index — no network, no API key; a compatible qmd binary must be available (prefer monorepo pin @tobilu/qmd via the Registrar / installer). Operators can use scripts/bbb-qmd from bobs-big-brain-registrar so XDG points at the team index, not personal ~/.cache/qmd. In team mode (TEAMKB_API_URL set) search proxies to the team brain. Every hit is a qmd:// citation.

Instructions

Step 1: Search the governed corpus

Retrieval is Tobi's qmd (BM25 keyword via the MCP). Prefer short keyword queries over full sentences.

  1. Derive 1–4 distinctive nouns/verbs from the user question (drop what/why/how, articles, auxiliaries, prepositions).
  2. Call brain_search with those keywords and scope: "curated" (default promoted knowledge).
brain_search({ query: "SOPS age secrets", scope: "curated" })

The tool returns { source, results: [{ citation, snippet, score, collection }] }. Each citation is a qmd://COLLECTION/FILENAME URI — the receipt for that hit.

Empty-result ladder (do not stop after one miss):

  1. Keyword retry (curated): only if the first call was still a long natural-language sentence (you skipped deriving 1–4 keywords). Re-run with 1–4 keywords only. Skip this step when the first query was already keyword-style — do not re-call with the same tokens.
  2. Scope retry (all): if curated is still empty, re-run the same keywords with scope: "all". Do not use inbox/archived unless the user asks.
  3. Only after curated+keywords and all+keywords are empty → Step 3 (honest refuse).
brain_search({ query: "shipped week", scope: "curated" })
// if empty (keywords already used):
brain_search({ query: "shipped week", scope: "all" })
Step 2: Answer ONLY from the cited results
  • Synthesize a direct answer from the returned snippets.
  • Attach the qmd:// citation to every claim, inline — for example: The proxy reverse-proxies the API (qmd://kb-curated/system-map.md).
  • If two hits conflict, surface both with their citations rather than silently picking one — the governance layer tracks contradictions; do not paper over them.
  • Do not add knowledge the citations do not support. Any reasoning beyond the corpus must be labeled clearly as inference, not the brain's answer.
Show full SKILL.md (303 more words)Show less
Step 3: Handle an empty result honestly

If results is still empty after the empty-result ladder in Step 1, say so plainly: the brain has nothing governed on that topic. Do not fall back to general knowledge and present it as the brain's answer. Optionally note that the topic may need to be captured (run /brain-save).

Output

  1. A short, direct answer.
  2. Each load-bearing claim followed by its qmd:// citation.
  3. A closing Sources list of the distinct qmd:// URIs used.

Examples

Cited answer:

/brain what does my system map say about the proxy?

→ The proxy is the single ingress; it reverse-proxies each domain to its service
  and must be reloaded, not restarted, after edits (qmd://kb-curated/system-map.md).

Sources:
- qmd://kb-curated/system-map.md

Empty result (honest refusal):

/brain what is my refund policy?

→ The brain has nothing governed on a refund policy. I won't guess from general
  knowledge. If this should be in your brain, capture it with /brain-save.

Error Handling

SituationResponse
brain_search returns empty resultsRun the empty-result ladder (keywords → scope all); only then refuse. Do not fabricate.
qmd missing / index emptyRetrieval degrades to empty. Tell operator: install @tobilu/qmd, run INTKB pnpm search-canary -- --heal or bbb-qmd status.
MCP tool unavailablePlugin not enabled; install/enable bobs-big-brain / governed-brain.
User asks to write/captureOut of scope here — direct them to /brain-save.

Guardrails

  • Read-only. This skill never writes to the corpus — capture and governance live in /brain-save.
  • Never invent a qmd:// URI. Cite only URIs returned by brain_search.
  • Prefer fewer, well-cited claims over a broad answer that cannot be anchored.
  • Do not conflate this product with IRSB / Moat / Scout (separate stack).
  • Provenance ≠ truth. Promotion receipts record each memory's capture channel (or unattested) and an origin-token hash — that proves WHERE a capture came from, not that its content is true. An authenticated insider can still have saved poisoned content with a valid origin; weigh cited answers accordingly and rely on govern policy, human review, and supersession as the content-quality gates.

Resources

© jeremylongshore, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/mcp/governed-second-brain/skills/brain of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

Brain next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Brain compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Brain this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.9kAutomated safety check: PassApache-2.0
Obsidian WriterAtmosphere/atmosphere3.8k—~2.6kAutomated safety check: PassApache-2.0
Pi Runbook WriterPr1p/pi-runbook143—~796Automated safety check: PassNone
Om QA Buddyopen-mercato/skills231—~1.9kAutomated safety check: NotesMIT
NotionOpenHands/extensions163—~945Automated safety check: PassMIT
Documentation Standardssoftspark/ai-toolkit179—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Obsidian Writer

    Atmosphere/atmosphere

    Write well-formatted notes to the atmosphere-vault Obsidian knowledge base.

    3.8k GitHub stars~2.6k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Pi Runbook Writer

    Pr1p/pi-runbook

    A skill your agent uses when creating, editing, or polishing pi-runbook content: README/index pages, docs, journal notes, experiments, bilingual documentation, source-reading summaries…

    143 GitHub stars~796 tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Om QA Buddy

    open-mercato/skills

    Runs a manual QA session for a PR, issue, or branch — publishes an interactive runbook the tester works through in parallel from the moment a plan exists, updated with AI verdicts and bugs at the end.

    231 GitHub stars~1.9k tokensUpdated 5 days ago
    DevOps & CloudAuto-check: notes
  • Notion

    OpenHands/extensions

    Create, search, and update Notion pages/databases using the Notion API.

    163 GitHub stars~945 tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Documentation Standards

    softspark/ai-toolkit

    KB conventions: YAML frontmatter, 10-category taxonomy (reference/howto/procedures/troubleshooting/best-practices/decisions/runbooks/planning/business/templates).

    179 GitHub stars~1.8k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Migrate

    guhcostan/claude-mega-brain

    Scan the project and migrate existing documentation into OKF format.

    126 GitHub stars~975 tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Brain

What does Brain do?

Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall. Brain is an agent skill from jeremylongshore/tons-of-skills-marketplace. Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall.

When should I use Brain?

Brain fits situations like: you want to know what your brain has captured about your own architecture; conventions (e.g; what do I know about; check my knowledge base.

How do I install Brain in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill brain -a claude-code`. Or copy the skill folder (plugins/mcp/governed-second-brain/skills/brain in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/brain in your project. Claude Code loads it when a task matches its description.

How do I install Brain in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill brain -a codex`. Or copy the skill folder (plugins/mcp/governed-second-brain/skills/brain in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/brain in your project. Codex loads it when a task matches its description.

Can I use Brain in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill brain -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/brain, .gemini/skills/brain, .github/skills/brain and .opencode/skills/brain in your project.

What does Brain need to run?

Going by SKILL.md and its folder, Brain needs the command-line tools its instructions call (pnpm). Its frontmatter pre-approves these tools: mcp__governed-brain__brain_search. Compatibility (from SKILL.md): Designed for Claude Code; ships with the bobs-big-brain (governed-brain) plugin, which auto-wires the governed-brain MCP server. Works in both modes: local (in-process, needs qmd on PATH) and team (proxies to your team brain when TEAMKB_API_URL is set). Same brain_search either way..

Does Brain access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Brain safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Brain use?

Brain is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Brain use?

About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Brain?

Skills that share tags, products or a category with Brain: Obsidian Writer (Atmosphere/atmosphere, 3.8k stars), Pi Runbook Writer (Pr1p/pi-runbook, 143 stars), Om QA Buddy (open-mercato/skills, 231 stars) and Notion (OpenHands/extensions, 163 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Brain?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.