semble-setup

semble-setup is a skill for Claude Code from kochetkov-ma/claude-brewcode. It costs 58 tokens per session (10,078 once invoked), scanned F, original, MIT.

Project setup tools for semblecode semantic code search. Semantic search finds code by meaning or concept, rather than only matching exact words.

In plain words
What is it for?
Use them to install, audit, repair, update, enable, reindex or remove semblecode for a project.
Why use it?
They help determine whether the search service is correctly installed and indexed, and fix it when its project data is out of date or broken.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the brewcode plugin — 4 skills, 7 agents shipped together

Good fit Use them to install, audit, repair, update, enable, reindex or remove semblecode for a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kochetkov-ma/claude-brewcode/semble-setup
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 kochetkov-ma/claude-brewcode --skill semble-setup
Clone the repo
git clone --depth 1 https://github.com/kochetkov-ma/claude-brewcode

Made for: Claude Code.

Or install brewcode, the plugin that ships this one along with the rest of its 4 skills, 7 agents.

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 semble-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/semble-setup/github.svg)](https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/semble-setup)
Your own site
<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/semble-setup"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/semble-setup/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 semble-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/semble-setup"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/semble-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan F 4 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.00058 $0.10078
Opus 5.5 $0.00023 $0.04031
Sonnet 5.5 $0.00012 $0.02016
Haiku 4.5 $0.00006 $0.01008

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

Security

Grade F, and why

semble-setup scanned grade F with 4 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 1mo ago.

The scan reads SKILL.md. This mod also ships 19 executable files (assets/semble-session.mjs, assets/semble-stats.mjs, assets/semble-subagent.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

> `RC=3` (no `brew`): print the manual fallback `curl -LsSf https://astral.sh/uv/install.sh | sh` without running it, and stop.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

[ -n "$SD" ] || SD="$(find "$HOME/.claude/plugins/cache/claude-brewcode/brewcode" -maxdepth 3 -type d -path '*/skills/*' \( -name semble-setup -o -name semble \) 2>/dev/null | sort -V | tail -1)"

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

> `skipped: rule: user_modified` leaves the stamp stale by design: report it, never fix it (Step 3.2b policy, `--force` included). Stray cache root: pre-5.0.1 prefetch hooks built a second index copy under `~/Library/Cac

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> `RC=3` (no `brew`): print the manual fallback `curl -LsSf https://astral.sh/uv/install.sh | sh` without running it, and stop.
brewcode/skills/semble-setup/SKILL.md · 495 lines

How it starts

The opening of the file, as written. The whole thing — 495 lines — stays where its author put it; the contents beside it link to each section on 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 to scripts/.

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

Read the full file on GitHub · 495 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -119 lines 7a3e279b25cd
  2. 1mo ago Changed · -6 lines e43003ccb91a
  3. 1mo ago Changed · -53 lines 864ef7e406dc
  4. 2mo ago Changed · +39 lines c0e73eb96400
  5. 3mo ago First seen · 634 lines · 58 tokens per session scan F 10ba0e1b8899

Subscribe to this mod's changes

semble-setup is a skill published in the GitHub repository kochetkov-ma/claude-brewcode (41 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 10,078 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it F with 4 findings (downloads and executes remote code, reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

semble-setup compared with skills from other repositories

semble-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
semble-setupkochetkov-ma/claude-brewcodeSkill41yesterdayMITF58Claude Code
doc-digestegorfedorov/claude-context-optimizerSkill1377d agoMITA75Claude Code
token-checkegorfedorov/claude-context-optimizerSkill1377d agoMITA66Claude Code
sharpen-promptegorfedorov/claude-context-optimizerSkill1377d agoMITA47Claude Code
skill-creator-plusyaniv-golan/skill-creator-plusSkill819d agoMITA147Claude Code
cpp-reinforcement-learningAznatkoiny/zAI-SkillsSkill1023d agoMITA131Claude Code
deep-researchyachi/claude-skillsSkill31mo agoMITA164Claude Code