server: Skill for Claude Code

.claude/skills/brain/SKILL.md

brain is a skill for Claude Code from aidemd-mcp/server. It costs 165 tokens per session (745 once invoked), scanned A, original, MIT.

A signpost to an external shared knowledge store for durable information across projects and teams.

In plain words
What is it for?
Use it when a task needs shared context that is not available in the current codebase.
Why use it?
It keeps research, coding guidance, project history, and environment details from being trapped in one repository or conversation.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is aidemd-mcp/server's own configuration. It tells Claude Code how to work on server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aidemd-mcp/server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aidemd-mcp/server/main/.claude/skills/brain/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/aidemd-mcp/server

Made for: Claude Code.

Wrote 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.

agentmods badge for brain

README.md
[![agentmods](https://agentmods.dev/badge/skills/aidemd-mcp/server/brain/github.svg)](https://agentmods.dev/skills/aidemd-mcp/server/brain)
Your own site
<a href="https://agentmods.dev/skills/aidemd-mcp/server/brain"><img src="https://agentmods.dev/badge/skills/aidemd-mcp/server/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.

agentmods 80×15 button for brain

Your own site · 80×15
<a href="https://agentmods.dev/skills/aidemd-mcp/server/brain"><img src="https://agentmods.dev/badge/skills/aidemd-mcp/server/brain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 745 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00165 $0.00745
Opus 5.5 $0.00066 $0.00298
Sonnet 5.5 $0.00033 $0.00149
Haiku 4.5 $0.00016 $0.00075

Measured 19d ago against content hash 5d5d05d6bf0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 19d 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.

.claude/skills/brain/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

brain — Signpost to the Brain

Pointer skill. The brain interface lives in the /aide:brain slash command — this skill exists so any agent that needs brain access discovers it.


What the brain is

The brain is a knowledge store that lives external to the project and outside any single codebase. It can be a personal store for one developer or a shared store an entire team points at — when teammates wire their agents to the same brain, every member's agent reads and writes against the same playbook, research, project context, and conventions. That makes it the authoritative source for anything the team has agreed on or learned, and the place where new findings become reusable across projects and across people.

Typical contents: domain research, the coding playbook, project history and context, journal logs, environment config, identity, references. AIDE's research phase writes to it; the strategist and architect phases read from it; explorer agents draw on it for context the code doesn't carry. The brain is a logical surface — the underlying backend is an implementation detail the /aide:brain command abstracts.

When to invoke /aide:brain

Trigger when the current task needs knowledge that isn't in the working directory:

  • Unfamiliar domain. You're about to make a decision in a domain you have no loaded context for (e.g. cold email tactics, local SEO scoring, a vendor API quirk).
  • Shared context referenced. The user says "check the brain," "what does the team do for X," "we already researched this," or names a project / research area / convention without giving you the file.
  • Saving findings. You produced research, a decision, or a pattern the team will need again — synthesis the brain should own, not the repo.

What /aide:brain does

It discovers the brain's root navigation surface first — the brain owns its own structure and navigation rules — then follows those rules to find and return content (or write what it's been asked to save).

Read the full file on GitHub · 70 lines

Changes

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.

  1. 19d ago Changed · +1 lines · +20 tokens per session 5d5d05d6bf0b
  2. 2mo ago First seen · 69 lines · 145 tokens per session scan A f972646bc478

Subscribe to this mod's changes

brain is a skill published in the GitHub repository aidemd-mcp/server (4 stars, last pushed 2d ago), licensed MIT. It adds 165 tokens to every session and 745 once invoked, about $0.0007 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-31.