/loom:loom-mentorfrom ClickHouse Loom
Routes loom hints to the correct plane and operation — code index, tracker, documents, working memory, entity graph, runs, decisions, procedures, duplicates, conflicts, bisect. Use when a hint names an unfamiliar plane or op, or when asking about loom capabilities.
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 has a few hundred operations; your tool list shows the ones a coding
session uses most. The mentor reads what your agent called this week and
names the plane it is not using: a hint on a tool result, a Loom mentor
line in the session primer. Read a hint once, act on it once; the same code
is not shown again this session.
This skill routes. The destination skill owns the detail: the shape of a
write is loom-memory, code questions are loom-code, reworking stored
rows is loom-optimize.
A listed op is the tool loom_<op with dots as underscores>
(tracker.similar → loom_tracker_similar). An op that is not in your
tool list runs through loom_op {op: "tracker.similar", arguments: {…}};
loom_op {op: "help", query: "<words>"} lists matching ops and their
arguments. Your host can only call tools it was shown, so never call an
unlisted loom_* name directly. The tracker tools are listed when the MCP
entry mounts /mcp?toolset=coding+tracker (the plugin's toolset option),
or a second entry mounts /mcp?toolset=tracker.
| Situation | Op |
|---|---|
| "has this crash / test failure / report been seen before" | loom_tracker_duplicate_check (listed: draft title + body → duplicate_of / related / none); loom_tracker_similar, tracker.flaky, tracker.test_signal (listed on coding+tracker, else through loom_op) |
| which PR broke a behaviour between two versions | loom_code_bisect_candidates (symbols or paths, good_version, bad_version) |
| about to open a PR | loom_code_pr_check (title, body, paths, symbols, issues) |
| is it safe to change X | loom_code_impact |
| a document, runbook or report over ~2 KB | knowledge.upsert + one pointer row (loom-memory) |
| a table of facts with identity (PRs, alerts, services) | memory_schema.register once, then memory.record.write |
| your plan, a lease, "where was I" | loom_working_memory_set |
| a 3,000-line log or diff to park | context.offload, then context.fetch |
Tracker ops take the tracker namespace, or the repository's code namespace
when it is bound to one (tracker.binding says which).
| code | do |
|---|---|
tracker_unused | run the tracker check above before filing or grepping |
code_index_unused | loom_code_symbol / loom_code_search for identifier questions |
bisect_available | loom_code_bisect_candidates first, blame second |
get_miss | loom_search by meaning; memory.list prefix=; follow: true |
set_duplicate / duplicates_written | revise the named row, never a third copy |
documents_as_memories / set_large_value | a knowledge document plus a pointer row |
Every other code, the full situation table and mentor.brief (the counts
behind a hint) are in reference.md beside this file. A code that is in
neither table is newer than this skill: follow the hint's own sentence and
the ops it names, or ask mentor.brief for its evidence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub clickhouse/loom --plugin loom7 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-codeUse the moment you are about to grep, glob, or open files to answer a question about a loom-indexed codebase — "where is X", "how does X work", "who calls Y", "is it safe to change Z", "what does this stack trace touch". The tell is linguistic: if you just thought "let me search the codebase", "let me grep for that", or "let me read a few files", that sentence is the trigger — code.grep covers exact literals too. NOT for repos loom hasn't indexed (a code.search that abstains on everything is the tell), and NOT for your own uncommitted files (grep those; pass your diff to code.impact for blast radius).
/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).
/loom-optimizeUse when the user says "optimize my loom namespace", "audit memory", "my memory search is bad", "loom keeps abstaining", or asks why recall over a namespace their agent writes to does not work, or when the mentor's `documents_as_memories` / `checkpoints_as_memory` / `records_for_identities` hint names rows to rework. Runs `namespace.audit`, turns each finding into a plan the owner approves, and reworks the rows with `memory.move` so every old key stays readable through a redirect. Retires nothing. NOT for deciding what to write in the first place (loom-memory) and NOT for client-side failures (loom-status).
/loom-sessionUse ONLY when the user asks to restore or save session context: "resume", "restore the context of <branch/session>", "where was I on X", "load the last session", "restore full context", "save this session", "hand this off to a teammate". Lists the saved Loom session briefs, loads the one the user picks (the brief with its compaction summary, or the whole recorded transcript), or saves one. Never load a brief the user did not ask for. NOT for durable facts (loom-memory) and NOT for code questions (loom-code).
/loom-statusUse when Loom seems quiet or wrong: a loom tool answers "unauthenticated", "not available" or an empty result for something the user says was saved; the session-start primer did not appear; the user asks "is loom working", "why didn't it remember", "is my token ok", or a Loom hook says `node: not found` or prints a `loom:` line about Node.js 18+. Checks the Node hook runtime, then runs the plugin's client check and reads its lines, so the answer names the cause (missing runtime, unreachable server, rejected or expired token, no writer grant on the write namespace, plugin or MCP entry missing, stranded captures) and the one fix. NOT for server-side operations (that is `loom doctor` on the server) and NOT for deciding what to remember (loom-memory).