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 kochetkov-ma/claude-brewcode --skill semble-setupgit clone --depth 1 https://github.com/kochetkov-ma/claude-brewcodeWrote 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/kochetkov-ma/claude-brewcode/semble-setup)<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.
<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>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.00058 | $0.10078 |
| Opus 5.5 | $0.00023 | $0.04031 |
| Sonnet 5.5 | $0.00012 | $0.02016 |
| Haiku 4.5 | $0.00006 | $0.01008 |
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.
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. 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 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 |
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.
- assets/INSTALL.md 51 KB
- assets/semble-first.md.template 1.9 KB
- assets/semble-session.mjs 9.0 KB runs code
- assets/semble-stats.mjs 8.4 KB runs code
- assets/semble-subagent.mjs 12 KB runs code
- assets/sembleignore.template 6.5 KB
- LICENSE 1.1 KB
- README.md 3.7 KB
- references/engine-landscape.md 37 KB
- references/install-chain.md 6.8 KB
- references/intent-routing.md 10 KB
- references/language-coverage.md 11 KB
- references/mcp-and-cache.md 12 KB
- references/output-contract.md 14 KB
- references/project-agent-migration.md 9.4 KB
- references/removal.md 1.3 KB
- scripts/lib/semble-common.sh 30 KB runs code
- scripts/semble-agents.sh 25 KB runs code
- scripts/semble-cache.sh 12 KB runs code
- scripts/semble-guidance.sh 71 KB runs code
- scripts/semble-install.sh 14 KB runs code
- scripts/semble-mcp.sh 20 KB runs code
- scripts/semble-project.sh 46 KB runs code
- scripts/semble-remove.sh 24 KB runs code
- scripts/semble-state.sh 11 KB runs code
- scripts/semble-status.sh 47 KB runs code
- tests/fixtures/claude-json/absent.json 99 B
- tests/fixtures/claude-json/correct.json 363 B
- tests/fixtures/claude-json/duplicate.json 659 B
- tests/fixtures/claude-json/malformed.json 77 B
- tests/fixtures/claude-json/stale.json 326 B
- tests/fixtures/claude-json/upstream.json 238 B
- tests/fixtures/claude-json/wrongscope.json 395 B
- tests/fixtures/prior/semble-first.v6.4.0.md 1.8 KB
- tests/fixtures/prior/sembleignore.v6.4.0 6.5 KB
- tests/fixtures/README.md 3.1 KB
- tests/fixtures/repo-a/build.gradle.kts 242 B
- tests/fixtures/repo-a/build.sh 333 B runs code
- tests/fixtures/repo-a/conf/application.properties 216 B
- tests/fixtures/repo-a/conf/deploy.groovy 305 B
- tests/fixtures/repo-a/conf/service.yaml 157 B
- tests/fixtures/repo-a/package.json 277 B
- tests/fixtures/repo-a/pyproject.toml 294 B
- tests/fixtures/repo-a/settings.gradle 173 B
- tests/fixtures/repo-a/src/auth_service.py 618 B runs code
- tests/fixtures/repo-a/src/Router.kt 363 B
- tests/fixtures/repo-a/src/session.ts 388 B runs code
- tests/fixtures/repo-a/src/TokenStore.java 469 B
- tests/fixtures/repo-a/web/index.html 340 B
- tests/fixtures/repo-a/web/LoginPanel.tsx 569 B
- tests/fixtures/repo-a/web/theme.css 301 B
- tests/fixtures/repo-b/config.yml 125 B
- tests/fixtures/repo-b/lib/metrics.ts 478 B runs code
- tests/fixtures/repo-b/lib/queue.py 497 B runs code
- tests/fixtures/repo-b/notes.md 290 B
- tests/fixtures/repo-b/run.sh 258 B runs code
- tests/fixtures/settings/empty.json 3 B
- tests/fixtures/settings/foreign.json 565 B
- tests/fixtures/settings/malformed.json 74 B
- tests/fixtures/settings/stale-path.json 882 B
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.
- 1mo ago Changed · -119 lines 7a3e279b25cd
- 1mo ago Changed · -6 lines e43003ccb91a
- 1mo ago Changed · -53 lines 864ef7e406dc
- 2mo ago Changed · +39 lines c0e73eb96400
- 3mo ago First seen · 634 lines · 58 tokens per session scan F 10ba0e1b8899
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.
semble-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| semble-setupkochetkov-ma/claude-brewcode | Skill | 41 | yesterday | MIT | F | 58 | Claude Code |
| doc-digestegorfedorov/claude-context-optimizer | Skill | 137 | 7d ago | MIT | A | 75 | Claude Code |
| token-checkegorfedorov/claude-context-optimizer | Skill | 137 | 7d ago | MIT | A | 66 | Claude Code |
| sharpen-promptegorfedorov/claude-context-optimizer | Skill | 137 | 7d ago | MIT | A | 47 | Claude Code |
| skill-creator-plusyaniv-golan/skill-creator-plus | Skill | 8 | 19d ago | MIT | A | 147 | Claude Code |
| cpp-reinforcement-learningAznatkoiny/zAI-Skills | Skill | 10 | 23d ago | MIT | A | 131 | Claude Code |
| deep-researchyachi/claude-skills | Skill | 3 | 1mo ago | MIT | A | 164 | Claude Code |