MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Diagnose and recover basemind when it isn't working — MCP tools missing or erroring, "no index" / "no indexed files", empty results that shouldn't be empty, or the MCP server seems dead.
$ npx skills add Goldziher/basemind --skill basemind-doctor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Goldziher/basemind basemind-doctor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Goldziher/basemind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/basemind-doctor .claude/skills/basemind-doctor && rm -rf skills-srcUse ~/.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/
Install the "basemind-doctor" agent skill from https://github.com/Goldziher/basemind/tree/main/skills/basemind-doctor into .claude/skills/basemind-doctor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "basemind-doctor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Goldziher/basemind/tree/main/skills/basemind-doctorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Goldziher/basemind --skill basemind-doctor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Goldziher/basemind basemind-doctor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/basemind.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/basemind-doctor .agents/skills/basemind-doctor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "basemind-doctor" agent skill from https://github.com/Goldziher/basemind/tree/main/skills/basemind-doctor into .agents/skills/basemind-doctor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "basemind-doctor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Goldziher/basemind --skill basemind-doctor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Goldziher/basemind basemind-doctor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/basemind.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/basemind-doctor .cursor/skills/basemind-doctor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "basemind-doctor" agent skill from https://github.com/Goldziher/basemind/tree/main/skills/basemind-doctor into .cursor/skills/basemind-doctor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "basemind-doctor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Goldziher/basemind.git --path skills/basemind-doctor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Goldziher/basemind --skill basemind-doctor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Goldziher/basemind basemind-doctor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/basemind.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/basemind-doctor .gemini/skills/basemind-doctor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "basemind-doctor" agent skill from https://github.com/Goldziher/basemind/tree/main/skills/basemind-doctor into .gemini/skills/basemind-doctor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "basemind-doctor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Goldziher/basemind basemind-doctorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Goldziher/basemind --skill basemind-doctor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Goldziher/basemind.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/basemind-doctor .github/skills/basemind-doctor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "basemind-doctor" agent skill from https://github.com/Goldziher/basemind/tree/main/skills/basemind-doctor into .github/skills/basemind-doctor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "basemind-doctor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Goldziher/basemind --skill basemind-doctor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Goldziher/basemind basemind-doctor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/basemind.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/basemind-doctor .opencode/skills/basemind-doctor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "basemind-doctor" agent skill from https://github.com/Goldziher/basemind/tree/main/skills/basemind-doctor into .opencode/skills/basemind-doctor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "basemind-doctor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
basemind-doctorDiagnose and recover basemind when it isn't working — MCP tools missing or erroring, "no index" / "no indexed files", empty results that shouldn't be empty, or the MCP server seems dead.
Basemind Doctor is an agent skill from Goldziher/basemind. Diagnose and recover basemind when it isn't working — MCP tools missing or erroring, "no index" / "no indexed files", empty results that shouldn't be empty, or the MCP server seems dead. Runs CLI checks (no MCP server required) and gives the client-specific way to reconnect the server.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: Full AI context and content layer for coding agents over one MCP server — tree-sitter code-map, document RAG, shared memory, multi-agent comms, web crawl, git history + blame… The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b1ac766. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Basemind Doctor loads about 1.3k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 686 words of instructions outside code blocks.
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.
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.
The full file from Goldziher/basemind at commit b1ac766, republished under its MIT licence (© Goldziher). 686 words, ~1,262 tokens.
.claude/skills/basemind-doctor/SKILL.md (or your agent's skills folder).Use this when basemind isn't behaving: MCP tools aren't available or return errors, the
statusline says no index, queries come back empty when they shouldn't, or the basemind serve
MCP server appears dead. Every step here uses the CLI, so it works even when the MCP server is
down.
Important: a stdio MCP server (what basemind serve is) cannot be restarted by an agent or by
basemind itself — a fresh process can't resume the client's MCP initialize handshake.
Reconnecting the server is the MCP client's job (see step 4). What you can do from here is
make sure the index is healthy and clear anything blocking a restart.
basemind doctor # root, config, index, grammars, hook, daemon; exits 1 when a check fails
basemind statusfile_count: 0 with blobs present → the index is missing or lost. Build
it: basemind scan (see the basemind-scan skill / /bm-scan).file_count → the index is fine; the problem is the server connection (step 4).outline says "file not indexed" for a README, JSON, YAML or TOML file → expected, not a fault:
those are documents, not code. Use memory { mode: "documents", query } (or Read the file).notice of warming_up / building_index means the index is still loading: wait and retry
(admin { mode: "status" } shows indexing / warming).If basemind scan fails with a lock error, a basemind serve (or watch) already owns the index
for this repo. The lock-contention error itself names the live holder (command + pid) — it reads
that from the .lock.meta sidecar next to the workspace .lock. Both live in this workspace's
directory under the machine-global cache (Linux ~/.local/share/basemind/, macOS
~/Library/Application Support/basemind/; override BASEMIND_DATA_HOME), keyed by workspace — not
in the repo.
pid is alive (ps -p <pid>), the server is up — use the MCP tools, or the
admin { mode: "rescan" } or basemind rescan to refresh. Don't run a CLI scan (it will contend on the lock and exit 3).pid is dead, the lock is stale. The OS releases the advisory lock when a process
dies, so a fresh basemind scan / basemind serve should just work — retry it. (You may delete
the stale .lock.meta sidecar in that workspace cache dir to clear the advisory holder record.)basemind scanNon-extractable files are skipped, not failed. After this, both the CLI and (once reconnected) the MCP tools have a fresh index.
basemind can't relaunch its own stdio server; trigger a reconnect in your client:
While disconnected, you are not blocked: use the basemind-cli skill (basemind code …,
basemind git …) — it reads the same machine-global cache directly, no server required.
Only when the server was built with --features shells. Spawned shell sessions run under an
embedded rmux daemon — basemind re-execs itself (--__internal-daemon) rather than shelling
out to any external rmux binary, so there is nothing extra to install. The daemon binds a private
per-user socket under the data dir (<data_dir>/basemind/shells/rmux.sock, 0o700), overridable
with BASEMIND_SHELLS_SOCKET. It is separate from the comms broker daemon.
shell { mode: "list" } enumerates sessions with liveness; a dead-but-listed session was killed
or exited — re-run after shell { mode: "kill", session_id: "…" } to confirm it's gone.shell mode spawn starts a fresh one.serve: they outlive a single MCP call but are torn down by
shell mode kill (which also drops the comms lineage row) or when the daemon exits.basemind serve logs its lifecycle to stderr (captured in your client's MCP server logs):
a MCP server starting line with pid/version/view at startup, and an explicit
client disconnected, exiting (clean) or exiting on error (with the cause) at shutdown. If serve
keeps dying, that log line names the reason.
© Goldziher, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/basemind-doctor of Goldziher/basemind.
Open the folder on GitHubat commit b1ac766
Basemind Doctor 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Basemind Doctor this skillGoldziher/basemind | 108 | — | ~1.3k | Automated safety check: Pass | MIT | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 4 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
warpdotdev/warp
Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.
Goldziher/basemind
Shows a markdown dashboard of basemind activity in the session: tool call counts, top operations and estimated tokens saved against a grep and Read baseline.
Goldziher/basemind
Answers structural questions about a repository, such as where a symbol is defined, what calls it and what changed recently, through the basemind MCP server.
Goldziher/basemind
Builds or refreshes the basemind code index from the command line, for when basemind reports no index or its MCP server is not running.
Goldziher/basemind
Drives the basemind code-intelligence tool from the command line for symbol search, callers, git history and blame, document search and web crawling, sharing its cache with the MCP server.
Goldziher/basemind
Answers where code is defined, who calls it and what shape a file has from a pre-built index, returning paths and line numbers instead of file contents.
Goldziher/basemind
Semantic + full-text search over documents and the web via basemind's RAG store — PDFs, Office, HTML, email, images (OCR), plus scraped/crawled web pages, with cross-encoder reranking, keyword and…
Works with
Categories
Diagnose and recover basemind when it isn't working — MCP tools missing or erroring, "no index" / "no indexed files", empty results that shouldn't be empty, or the MCP server seems dead. Basemind Doctor is an agent skill from Goldziher/basemind. Diagnose and recover basemind when it isn't working — MCP tools missing or erroring, "no index" / "no indexed files", empty results that shouldn't be empty, or the MCP server seems dead.
Basemind Doctor fits situations like: tasks that involve MCP servers.
Run `npx skills add Goldziher/basemind --skill basemind-doctor -a claude-code`. Or copy the skill folder (skills/basemind-doctor in Goldziher/basemind) into .claude/skills/basemind-doctor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Goldziher/basemind --skill basemind-doctor -a codex`. Or copy the skill folder (skills/basemind-doctor in Goldziher/basemind) into .agents/skills/basemind-doctor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Goldziher/basemind --skill basemind-doctor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/basemind-doctor, .gemini/skills/basemind-doctor, .github/skills/basemind-doctor and .opencode/skills/basemind-doctor in your project.
SKILL.md names no scripts, command-line tools or credentials: Basemind Doctor is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Basemind Doctor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Basemind Doctor: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Goldziher (a GitHub user) maintains it in Goldziher/basemind, which has 108 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 11, 2026.
Source: Goldziher/basemind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.