/loom:loom-codefrom ClickHouse Loom
Replaces grep, glob, and file reads in loom-indexed codebases with compiler-grade queries: symbol definitions, callers, blast radius, tests, and stack trace analysis via MCP tools.
Ships in ClickHouse Loom. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Loom holds a compiler-grade index of this codebase (symbols, call graph,
tests, PR history), served as MCP tools. One call replaces a grep plus
several whole-file reads and returns what grep cannot see: resolved callers,
blast radius, the tests that reach a function. The loom-code-shunt hook
enforces the substitutions mechanically (a symbol grep or a bulk read in an
indexed repo is denied with the answer or the tool to call).
| Question | Call |
|---|---|
| where is X defined / its signature and doc | loom_code_symbol (name) |
| who calls X | loom_code_callers, or loom_code_symbol with uses_brief: true |
| a concept with no greppable keyword ("where do we retry s3 uploads") | loom_code_search |
| an exact literal or error string | loom_code_grep (each hit with its enclosing symbol) |
| what is in a file | loom_code_outline (path) — then read one span |
the function around a path:line | loom_code_symbol with name="src/F.cpp:123", or loom_code_enclosing |
| how does X work, in prose, with citations | loom_code_ask |
| a bundle for a task (symbols, callers, tests, history) | loom_code_context_pack |
Pass namespace when the session primer names it. The MCP code tools infer
org from the token. For your own UNCOMMITTED files, grep. In a repository
the index does not cover, grep —
the abstentions will tell you.
abstain: true is an answer ("nothing relevant"); do not retry with
synonyms more than once — grep instead.as_of names the indexed commit. Line numbers are that commit's; when the
session primer says your checkout is behind, report them as the index's.loom_code_callers
evidence, not a hunch.The full substitution table (impact, test_gate, pr_check, trace, verify,
outline, grep neighbours) and the verification gate are in reference.md
beside this file; open it only when one of those rows is what you need.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-search, symbol-lookup, call-graph, blast-radius, static-analysis
Other plugins' skills for the same job
7 skills in this plugin
/improve-loom-for-my-repoUse at the END of a session in which loom's code tools were used, when the user asks to improve loom, report what it got wrong, or asks "why did loom miss that". Harvests THIS session's own transcript — where loom answered, where you fell back to grep or whole-file reads, what you couldn't trust — and turns each gap into a reproducible finding the loom maintainers can act on. First sessions count most. NOT for filing bugs about repos loom doesn't index, and NOT for gaps this session did not actually hit.
/loom-memoryUse when you are about to write something to Loom, when the user states, decides or corrects a fact, and at the END of any substantial task before you report done. Decides what is durable memory versus scratchpad, how to write a fact so a future session can trust it, how to read what Loom hands back (persisted or not, conflict, abstain, verified or stale), and how to run the end-of-task memory review. NOT for code questions (loom-code), NOT for "is this already reported?" / duplicate or bisect checks (call loom_search or loom_tracker_duplicate_check directly — nothing to read first) and NOT for filing loom defects (improve-loom-for-my-repo).
npx claudepluginhub clickhouse/loom --plugin loom