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.
npx skills add Goldziher/basemind --skill basemind-code-searchgit clone --depth 1 https://github.com/Goldziher/basemindWrote 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/skills/goldziher/basemind/basemind-code-search)<a href="https://agentmods.dev/skills/goldziher/basemind/basemind-code-search"><img src="https://agentmods.dev/badge/skills/goldziher/basemind/basemind-code-search/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/skills/goldziher/basemind/basemind-code-search"><img src="https://agentmods.dev/badge/skills/goldziher/basemind/basemind-code-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00083 | $0.04967 |
| Opus 5.5 | $0.00033 | $0.01987 |
| Sonnet 5.5 | $0.00017 | $0.00993 |
| Haiku 4.5 | $0.00008 | $0.00497 |
Grade A, and why
basemind-code-search 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 4d 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 — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
basemind-code-search — navigate code without reading it
basemind pre-indexes the repo into a tree-sitter code map across 300+ languages. The code map
(outline, symbols, refs) covers code only. code_grep also finds exact text in markdown,
config and data files (Markdown, JSON, YAML, TOML, XML, CSV, INI). docs_search is for searching
by meaning, and for PDFs, Office files, HTML and email (see basemind-documents). find_files
lists the indexed files and the other files git tracks, not an untracked file the index leaves out.
Structural questions (where a symbol lives, what calls it, what shape a file has) resolve from the index in milliseconds and return paths, 1-based line numbers, and signatures, not file bodies.
The tools are always loaded: call them directly. Drop to raw shell only when no tool covers the question.
The discipline
code_outlinebefore you open a file. A 1000-line file becomes a 30-line outline. Thencode_readthe one symbol or line span you need, not the file.code_symbolsinstead ofgrepfor a definition. It matches indexed symbol names and skips the comment, string and test-name noise.code_refsinstead of grepping call sites. Indexed call edges, not text matches.code_grepinstead of shelling out to ripgrep. It sweeps every indexed code, markdown, config and data file (a trigram filter skips code files that cannot match) and returns each hit's line and enclosing symbol. A file created since the last scan is not in it until the watcher or anindex_rescan {"paths":[…]}indexes it, so a miss there is not proof of absence.- Do not re-read a mapped file once the outline answered the question.
- The index follows your edits while a server, daemon or
basemind watchruns: no rescan and no server reconnect after each one. If a result saysstaleor a new file is missing, runindex_rescan {"paths":["src/store.rs"]}for that file; runindex_rescan {}only whenindex_statusreports an empty index,degradedorrescan_needed. Files underscan.extra_rootsare not watched andpathsskips them: refresh a changed one with a full pass (index_rescan {}, orbasemind scanwith no server). With only a standalonebasemind watchthere is noindex_rescanandbasemind rescanexits 3 on its lock: stop the watcher, rescan, restart it. - CLI only, with nothing watching: the index does not follow edits and shows no
staleflag. Runbasemind rescan <path>…for the files you edited before querying them.
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.
- 4d ago Changed · +3 lines 422c2f7ff934
- 6d ago Changed · -1 lines e5736ad94c6a
- 11d ago Changed 0d96389594ee
- 12d ago Changed · +18 lines 904536bda146
- 14d ago Changed · +75 lines b2d86cc9c1da
- 15d ago Changed bfd64612c4f4
- 16d ago Changed · +4 lines aaef11c76132
- 17d ago Changed · +12 lines cd6aa1ea0050
- 18d ago Changed · +29 lines 813ea8b5069f
- 19d ago First seen · 103 lines · 83 tokens per session scan A 26ad999147bc
basemind-code-search is a skill published in the GitHub repository Goldziher/basemind (126 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 4,967 once invoked, about $0.0003 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.
basemind-code-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| basemind-code-searchGoldziher/basemind | Skill | 126 | today | MIT | A | 83 | Claude Code |
| haiku-ragggozad/haiku.rag | Skill | 674 | today | MIT | A | 76 | Claude Code |
| lessonCortexReach/memory-lancedb-pro | Skill | 4.4k | 2d ago | none | A | 45 | Claude Code, Codex |
| veladbhq-uk/vela-skill | Skill | 6 | 3d ago | MIT | A | 213 | Claude Code |
| granite-pay-per-callnirholas/ibm-x402-mcp | Skill | 9 | 23d ago | Apache-2.0 | A | 49 | Claude Code |
| plex-mcpsandraschi/plexmcp | Skill | 2 | 3d ago | MIT | A | 64 | Claude Code |
| coff0xc-blockchain-securityCoff0xc/coffee-skill | Skill | 18 | 17d ago | none | A | 88 | Claude Code, Codex |