/loom:improve-loom-for-my-repofrom ClickHouse Loom
Harvests a Claude Code session transcript where loom code tools were used, identifies gaps (fallbacks, unusable output, first-run friction), and classifies each as a defect in loom's ingest, scip, rank, serve, or docs/skill pipeline for maintainers to fix.
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.
None: SKILL.md is the whole skill.
Evidence rule: if this session's transcript does not support a claim, drop the claim. No remembered grievances from other sessions, no speculative "loom could also…" ideas. Every finding must cite the moment it came from: what was asked, which loom call ran (or should have), what came back.
Stop before Step 1 when either precondition fails, and say which:
code.repos lists it, or a loom_code_* call
this session answered with an as_of for it. Misses in an unindexed repo
are not loom defects.as_of.Classify against loom's pipeline so the fix lands in the right subsystem:
ingest (file/symbol never indexed — prove with a grep hit that has no
code.symbol result), scip (callers wrong/missing while the fast tier
has the symbol — check the row's tier), rank (right unit exists but
lost — only real if you can write the labeled triple: the exact query,
the unit that should have led, and what led instead; that triple is the
fix's test, without it the finding is an opinion), serve (budget cut
the answer, annotation wrong, disclosure missing), or docs/skill
(discoverability).
Header: loom server version (/v1/health), namespace, as_of commit,
corpus size (code.index_status). Per finding: severity (HIGH = wrong
output a user would act on; MEDIUM = missing capability; LOW = polish),
class, and a minimal reproduction runnable without this repo's private
context — for rank findings, the labeled triple verbatim. Order by
evidence strength × impact.
Every rank triple should be offered as a candidate fixture row for
bench/fixtures/code_intel_qa.jsonl — user feedback arriving pre-shaped
as a red test is the whole point of this skill.
Before filing, search for each finding among existing issues
(gh issue list --repo ClickHouse/loom --state all --search "<symbol or query>"). A finding that is already reported becomes a comment on that
issue with this session's reproduction, not a new issue. Drop a finding
this session repeated itself; one report per session.
Destination: paste the report verbatim (do not summarize it into an
impression) into a GitHub issue on ClickHouse/loom titled
<namespace>: <top finding>, or hand it to the user to file. Filing or
commenting is the user's call: show the report first.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
loom, code-tools, session-analysis, bug-reporting, code-indexing
Other plugins' skills for the same job
npx claudepluginhub clickhouse/loom --plugin loom7 skills in this plugin
/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).