semble-setup
БесплатноЗапускает вложенные скриптыНе проверенInstalls, audits, repairs, updates, enables, reindexes or removes the semble_code semantic code-search MCP for a project. Triggers: semble, semantic code…
от kochetkov-ma★ 41 звезда на GitHubОб этом скилле
Semble
Lifecycle router for
semble_code, a semantic repository-search MCP server (pin, scope, corpus, cache: Constants). It resolves the mode, prints state before touching anything, and delegates every mutation toscripts/.
Two tools, once wired (exact names, never a wildcard):
| Tool | Purpose |
|---|---|
mcp__semble_code__search |
find code by intent / behavior / name |
mcp__semble_code__find_related |
neighbors of a KNOWN location, after a useful seed |
Both require repo (absolute project root or explicit https:///http:// git URL, never inferred) and accept optional content=code|docs|config|all (default: the registered code docs config corpus). Results carry file_path, start_line, end_line, score, optional content; no line field. Defaults top_k=5, max_snippet_lines=10.
Routing, wherever this skill or its report states it: intent/behaviour -> semble; symbol definitions, references, call graphs -> LSP; literals, regexes, paths, exhaustive counts -> rg.
Honest limits (state these to the user, never oversell): references/output-contract.md.
Constants
| Const | Value |
|---|---|
| MCP server name | semble_code |
| Pin | semble[mcp]==0.6.2 — always single-quoted (zsh globs [ ]); single source scripts/lib/semble-common.sh |
| Scope | MCP registration: per Claude Code profile, user scope in that profile's config file (CLI default is local; -s user is mandatory). Hooks, rule and state: per project. The default profile's file is ~/.claude.json, addressed only with CLAUDE_CONFIG_DIR unset: set to ~/.claude, Claude Code reads ~/.claude/.claude.json instead |
| Corpus | SEMBLE_CONTENT_ARGS in scripts/lib/semble-common.sh: the server/CLI --content argv, passed verbatim so both select index-code-config-docs. Never copy the token list into a new invocation |
alwaysLoad |
true, written by add-json only (claude mcp add has no flag); without it the tools stay deferred behind ToolSearch |
| Shared cache root | macOS $HOME/Library/Caches/semble-code · Linux ${XDG_CACHE_HOME:-$HOME/.cache}/semble-code — one root for every project and profile |
| State file | <projectRoot>/.claude/semble/state.json |
References — read only the one you need:
| File | When |
|---|---|
references/intent-routing.md |
always — normative routing table + 5-step resolution algorithm + mode -> script routing |
references/output-contract.md |
always — report template, verbatim; honest limits; reading the Step 1 status JSON |
references/mcp-and-cache.md |
MCP detection states, exact registration commands, cache layout |
references/language-coverage.md |
suffix -> bucket, and what is uncovered |
references/project-agent-migration.md |
how project agent frontmatter is patched |
references/install-chain.md |
install, upgrade, resume — before Step 3 / Step 4: probe keys, script behaviour, guidance parts |
references/removal.md |
uninstall, purge — before the flavour question: what each flavour deletes and keeps |
Prompt contract
$ARGUMENTS is one free-form RU/EN prompt; mode tokens may sit anywhere in it. The routing table, keyword scoring and resolution algorithm are not duplicated here: read references/intent-routing.md (already listed always above) and apply it literally in Step 2. status asks nothing.
Before Step 0 executes, resolve the prompt against known context and print one PLAN. If checkpoint state is unknown, label the mode provisional and include the Step 1 status probe in DO. Step 2 refines from that probe with one short update, never a second PLAN.
PLAN — brewcode:semble-setup
INPUT: <arguments verbatim, or "(empty)">
MODE: <resolved mode> — <matched keyword: X | default | checkpoint resume | no keyword matched>
SCOPE: <project root, cache dir, MCP scope, pinned semble version>
DO: <2-5 imperative bullets — the steps this mode actually runs>
RESULT: <what the user ends up holding: MCP registration, rule + hooks, warm index, report>
Step 0 — Resolve the skill directory
Line 1 is the CLAUDE_SKILL_DIR token in its exact dollar-brace spelling, substituted into the skill text at load (not an environment variable); any other spelling, such as a :-<fallback> modifier, is never substituted. Line 2 falls back to the newest plugin-cache copy (leaf semble-setup or pre-rename semble). Line 3 is substituted the same way, to the session's start dir that hooks also get (unset in the Bash tool); without it the scripts fall back to the git toplevel, whose settings.json a session started in a subdirectory never loads. Copy all three lines unchanged to the top of every later block: a new Bash call inherits nothing.
EXECUTE using Bash tool:
SD="${CLAUDE_SKILL_DIR}"
[ -n "$SD" ] || SD="$(find "$HOME/.claude/plugins/cache/claude-brewcode/brewcode" -maxdepth 3 -type d -path '*/skills/*' \( -name semble-setu
Установить semble-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashAskUserQuestionВложенные файлы
FAQ
Что делает скилл semble-setup?
Installs, audits, repairs, updates, enables, reindexes or removes the semble_code semantic code-search MCP for a project. Triggers: semble, semantic code search, semble status, настрой semble, статус semble, переиндексируй, удали semble.
Как установить скилл semble-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл semble-setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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