brain
БесплатноБез исполняемых скриптовНе проверенConsult, capture, and acquire knowledge in koan's OKF-conformant docs/ and specs/ bundles. Use for /brain ask <question> (alias: /brain search <question>…
от Anantys-oss★ 51 звезда на GitHubОб этом скилле
User Input
$ARGUMENTS
brain is self-sufficient: it owns both acquisition (raw/ → docs/reference/*.md)
and index-first navigation for docs/ and specs/ directly — it does not depend on or
escalate to the llm-wiki plugin's /wiki:* commands. That plugin's differentiating
capabilities beyond plain index-first reading (BM25 fallback search, graph-assisted
lookup, wikilink backlink search, synthesis-page file-back) are either blind here
(the plugin's bundled scripts don't follow the wiki/ symlinks) or architecturally
inapplicable (koan has no graph layer, uses plain markdown links not wikilinks, and has
no synthesis page type) — see wiki/SCHEMA.md for the full rationale.
Before any subcommand except help, read wiki/SCHEMA.md (wiki-directory-level
conventions), then whichever of docs/SCHEMA.md / specs/SCHEMA.md is relevant to the
bundle in question. Those files are the binding conventions — docs/SPEC.md is the
normative, bundle-agnostic OKF v0.1 spec they build on.
Parse $ARGUMENTS for the subcommand (first word) and its remaining argument. If
$ARGUMENTS is empty, go to "Bare invocation" below.
help
Print this cheat sheet verbatim, no tool calls:
**🧠 `/brain` — koan's docs/ and specs/ knowledge bundles.** Both are OKF v0.1
bundles that compound across sessions: consult them before planning, extend them
after implementing.
| You want to… | Do this |
| ------------------------------------------------------ | --------------------------------- |
| Consult before planning/implementing/refactoring | `/brain ask <question>` (alias: `/brain search <question>`) |
| Close the loop after implementing a feature | `/brain sync` |
| Save an article, file, or idea as a durable reference | `/brain ingest <path|url|"idea">` |
| Health-check OKF conformance | `/brain lint [--strict]` |
| Repair the folder scaffold | `/brain init` |
| Show this help | `/brain help` |
Notes: `/brain sync` is a soft pre-PR reminder, not a hard gate. `/brain ingest` always
needs an explicit argument (no bulk backlog). `/brain search` is a plain alias of
`/brain ask`. See `docs/SCHEMA.md` / `specs/SCHEMA.md` for the frontmatter/tagging
conventions, `docs/SPEC.md` for the underlying format spec.
Bare invocation (no arguments)
Print the same cheat sheet as help, then you MUST call AskUserQuestion —
"Which /brain action do you want?", header Action, one option per subcommand:
ask, sync, ingest, lint, init. Never guess the intended action from
surrounding conversation context.
ask <question> / search <question>
search is a plain alias — identical behavior.
- Read
wiki/index.mdfirst, always — it's the flattest, fastest, already-summarized catalog spanning both bundles. Never grepdocs//specs/blindly before reading it. - From the one-line summaries there, pick the candidate page(s) that look relevant.
- Open only those pages, plus their backlinks if useful context (
grep -rl "(path/to/page.md)" docs/ specs/— plain relative/root-absolute markdown links, perdocs/SPEC.md§4, neverwikilinks). - Synthesize an answer, citing pages by path.
- If coverage is missing: say so plainly — never confabulate an answer. Suggest
/brain ingest(if it's external material worth capturing) or just flag the gap. Don't fall back to a plugin search command for this — there isn't one that works here (see the note above); a genuinely open-ended question that the index can't resolve is itself the signal that coverage is missing. - Descend into
docs/index.md/specs/index.md→ per-folderindex.mdinstead ofwiki/index.mdonly for an OKF-conformance/browsing task (e.g. "what topics exist under specs/components?") or ifwiki/index.mdis visibly missing an entry for a page that clearly exists (a stale-index signal — rare, since/brain syncand the CI backstop keep it current). - In Plan Mode, state in the plan's Context section what
docs//specs/said (or that nothing relevant was found) before the recommended approach — this formalizes the existing CLAUDE.md requirement.
sync
The interactive equivalent of the CI auto-fix pass (wiki_sync_ci.py) — run this after
implementing a feature, before finishing the change:
- Identify the page(s) under
docs/orspecs/touched or created by the current change. - Ensure frontmatter is complete per
docs/SCHEMA.md/specs/SCHEMA.md:type,title,tags,created(unchanged),updated(bump to today from real git-log dates, don't guess), and adddescriptionif missing (one sentence — organic backfill only, never touch other untouched pages). - Run `python3 s
Установить brain в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл brain?
Consult, capture, and acquire knowledge in koan's OKF-conformant docs/ and specs/ bundles. Use for /brain ask <question> (alias: /brain search <question> — consult docs/ and specs/ before planning/research/refactor, index-first, with page citations), /brain sync (close the loop after implementing a feature — refresh frontmatter/description and regenerate indexes), /brain ingest <path|url|"idea sentence"> (capture external material as a durable, cited reference page), /brain lint (OKF conformance health check), /brain init (verify or repair the scaffold), /brain help (print the cheat sheet), and bare /brain with no arguments (prints the cheat sheet, then asks which action to take). Trigger on "what does the wiki say about X", "check the docs before we plan this", "update the wiki", "sync the docs", "ingest this article/file/idea", "save this as a reference doc", "lint the wiki", "check OKF conformance", or when finishing a feature and CLAUDE.md's documentation step is due.
Как установить скилл brain?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл brain запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic