search-brain

search-brain is a skill for Claude Code from Abilityai/abilities. It costs 13 tokens per session (379 once invoked), scanned A, original, MIT.

A note-search helper for a Brain vault, a folder of organized Markdown notes. It searches note text, titles, filenames, or tags and orders the matches by relevance.

In plain words
What is it for?
Use it to search for words, phrases, note titles, or tags, then review matching file paths and text previews.
Why use it?
It avoids manually opening notes and makes it easier to find related information in a large collection.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agent-dev plugin — 48 skills shipped together

Good fit Use it to search for words, phrases, note titles, or tags, then review matching file paths and text previews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abilityai/abilities/search-brain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Abilityai/abilities --skill search-brain
Clone the repo
git clone --depth 1 https://github.com/Abilityai/abilities

Made for: Claude Code.

Or install agent-dev, the plugin that ships this one along with the rest of its 48 skills.

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 search-brain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abilityai/abilities/search-brain"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/search-brain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 379 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.00013 $0.00379
Opus 5.5 $0.00005 $0.00152
Sonnet 5.5 $0.00003 $0.00076
Haiku 4.5 $0.00001 $0.00038

Measured 3mo ago against content hash d1d3d3616cdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

search-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 3mo 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.

plugins/agent-dev/memory-templates/brain/search-brain/SKILL.md · 73 lines

What it actually says

Search Brain

Search the Brain vault for notes matching a query.

Arguments

$ARGUMENTS - The search query (keywords, tags, or phrases)

Step 1: Determine Search Type

Analyze the query:

  • Tag search (starts with #): Search frontmatter tags
  • Title search (quoted): Search note titles/filenames
  • Content search (default): Full-text search

For content search:

Grep pattern="$ARGUMENTS" path="Brain/"

For tag search:

Grep pattern="tags:.*$ARGUMENTS" path="Brain/"

For title/filename:

Glob pattern="Brain/**/*$ARGUMENTS*.md"

Step 3: Rank Results

Order results by relevance:

  1. Exact title matches
  2. Title contains query
  3. Content matches with context
  4. Tag matches

Step 4: Present Results

Format output:

## Search Results for "$ARGUMENTS"

Found X notes:

### 1. Note Title
**Path**: Brain/02-Permanent/note-title.md
**Created**: 2025-01-15
**Preview**: ...matching context with **highlighted** terms...

### 2. Another Note
...

Step 5: Suggest Actions

Based on results:

  • "No results? Try /create-note $ARGUMENTS"
  • "Want to see connections? Run /find-connections <note-name>"
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. 3mo ago First seen · 73 lines · 13 tokens per session scan A d1d3d3616cdb

Subscribe to this mod's changes

search-brain is a skill published in the GitHub repository Abilityai/abilities (13 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 379 once invoked, about $0.0001 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.

Related

search-brain compared with skills from other repositories

search-brain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
search-brainAbilityai/abilitiesSkill13yesterdayMITA13Claude Code
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k14d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex