/tome:research runs instead · from tome
Runs multi-source research across GitHub, HN, Reddit, arXiv, and Semantic Scholar. Use when surveying a technical topic across multiple channels.
This skill never runs in Claude Code
It ships in tome at skills/, but /tome:research (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Run a full multi-source research session: classify the domain, dispatch parallel agents, synthesize findings, and output a formatted report.
tome:dig)tome:synthesize)Run the domain classifier on the topic:
from tome.scripts.domain_classifier import classify
result = classify(topic)
# result.domain, result.triz_depth, result.channel_weights
If confidence < 0.6 the classifier abstains and refines
rather than rejecting: result.candidates lists the domains
that had keyword support, triz_depth becomes the deepest
of those candidates, and channel_weights is a
support-weighted blend. Coverage widens on ambiguity instead
of narrowing, because a topic spanning several vocabularies
is exactly what the cross-domain channel is for.
Report the abstention to the user with the candidate list and let them override the domain. Do not treat a refined plan as a failure. It is the classifier declining to guess.
When candidates is empty the topic produced no keyword hits
at all. That stays on the cheap two-channel plan, since there
is nothing to refine toward and escalating noise wastes
budget. If the topic is genuinely researchable, the
vocabulary in _DOMAIN_KEYWORDS is missing it: say so rather
than forcing a domain.
from tome.scripts.research_planner import plan
research_plan = plan(result)
# research_plan.channels, research_plan.weights, research_plan.triz_depth
from tome.session import SessionManager
mgr = SessionManager(Path.cwd())
session = mgr.create(topic, result.domain, result.triz_depth, research_plan.channels)
Launch research agents in parallel using the Agent tool. Use this mapping:
| Channel | Agent Type | Prompt Includes |
|---|---|---|
| code | tome:code-searcher | topic |
| discourse | tome:discourse-scanner | topic, domain, subreddits |
| academic | tome:literature-reviewer | topic, domain |
| web | tome:web-searcher | topic, domain |
| triz | tome:triz-analyst | topic, domain, triz_depth |
Rules:
research_plan.channels, which the
planner derives from each card's min_depth: code and discourse
at every depth, academic and web from medium, triz from deepEach agent prompt must include:
PYTHONPATH="${CLAUDE_PLUGIN_ROOT}/src" python3 -m tome.channels.triz analyze --topic "<topic>" --domain <domain>
and include its JSON: the agent has no shell. When the
workflow runs the channels, pass that JSON as the
trizAnalysis argrender_card(get_card(channel)) in tome.channels.cards.
It carries the channel's limitations and points the agent at
the envelope its own file documents. Do not dictate a return
shape in the prompt: an agent obeys the prompt over its file,
and a prompt-invented shape once cost a session its canary
record.The rows above restate the cards. The cards are what the planner gates on, and a drift test holds the two together.
Named entities. List every product, project, standard or
method the question names or that a comparison will rank, and
pass the list as the workflow's entities arg. Store it on the
session too (session.entities = entities, then mgr.save(session))
so the report lists the ones no finding mentions. The workflow
searches each one no channel covered, and returns the rest as
coverage.unsearched. When dispatching agents directly instead,
run the same check yourself before synthesis: call
identify_gaps(findings, channels, entities=entities) from
tome.synthesis.quality and dispatch tome:web-searcher for each
name in its uncovered_entities. Never
rule an option in or out without a search behind it. A
2026-10-05 report ruled Beartooth out on a description alone,
because no channel happened to cover it. An entity still
unsearched goes under the report's coverage gaps by name.
After all agents return:
Parse each agent's findings into Finding objects
Record what each agent actually searched, before merging anything:
from tome.synthesis.quality import parse_envelope
for envelope in agent_envelopes: # one per dispatched agent
session.query_log.extend(parse_envelope(envelope))
This is the step that makes an empty channel readable.
Findings record what was found; the query log records
what was looked for, and without it a channel that
errored and a channel that searched a thin topic are
the same thing: no findings. Skip this and every
channel in the report reads unknown.
Merge using tome.synthesis.merger.merge_findings()
Rank using tome.synthesis.ranker.rank_findings()
from tome.synthesis.verifier import verify_context
check = verify_context(session, passes_run=n) # max_passes default 2
CONTINUE names the work and why:
rerun: the channel failed, degraded, left no record, or
cannot show it was able to search. Dispatch it again as is.reformulate: a venue mismatch. Dispatch it again with the
vocabulary the productive channel's findings use.add: a thin-field candidate that a retrieval channel never
looked at. Dispatch that channel.Dispatch only those agents, append their envelopes to the same
session, merge and rank again, then verify with passes_run
raised by one. STOP goes to Step 6. A STOP on the pass
budget (max_passes, default 2) still lists the undone work:
report it as a gap, never as a finished search. Each check's
detail says what it read. See modules/stop-verifier.md for
why the decision comes from records and not from a judgment.
from tome.output.report import format_report, format_brief, format_transcript
# Default to report format
output = format_report(session)
# Save to docs/research/
output_path = f"docs/research/{session.id}-{slug}.md"
Save the session state:
mgr.save(session)
Before showing the summary, run
tome.output.citations.find_ungrounded_urls(summary, session.findings)
on its text. Drop or source each URL it returns: no channel retrieved
it.
Display a brief summary to the user:
tome.synthesis.frontier.frontier_verdict(session). It is
the report's own answer to "did we find little because
there is little, or because the search went badly"tome.synthesis.quality.channel_outcomes(session):
ok, empty, error, rate_limited, degraded, or
unknowntome.synthesis.frontier.frontier_stories(session). Each
is a gap with its evidence, and each arrives undecided.
Ask the user to mark it act, defer, or decline.
Do not decide for them, and do not file an issue for a
story they have not marked: nothing in a search record
says what is worth this project's time. On defer, file
it with minister:create-issue so it survives the
session. On act the work starts now and needs no issue.
On decline record nothing.The three retrieval channels run a positive control before
their topic queries, so INCONCLUSIVE now means something
specific rather than "controls do not exist yet". Read it as
one of two things: a channel failed its canary and is blind,
or a channel searched without running one. Both are named in
the verdict's evidence, and both produce a story under
Research Stories.
triz runs no control and is excluded from the verdict. It
generates analogies rather than retrieving prior work, so
its output is not evidence about what has been published and
its findings are not counted toward coverage.
State plainly which channels did not return cleanly. A summary that reports "3 findings" without saying two channels were rate-limited invites the reader to treat a half-run search as a finding about the topic.
Then offer interactive refinement:
"Use /tome:dig \"subtopic\" to explore specific areas."
| Flag | Format | Function |
|---|---|---|
| (default) | report | format_report() |
--format brief | brief | format_brief() |
--format transcript | transcript | format_transcript() |
research_plan.channels was dispatched, none
outside it, all in a single parallel messagerender_card output for its
channel and dictates no return shape of its ownverify_context ran after every pass; the report was written
only after it returned STOP, and no more than max_passes
passes ranSTOP with rerun, reformulate, or add left
non-empty names those channels as gaps in the summarydocs/research/{session.id}-{slug}.md after
synthesis regardless of whether all agents succeededfind_ungrounded_urls returned an empty list for the summary
shown, or each URL it returned was dropped or sourcedWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
research, multi-source, synthesis, literature-review, code-search
10 skills in this plugin
/code-searchSearches GitHub for existing implementations, libraries, or patterns. Use when finding code examples or prior art on a topic during a research session./digRefines an active research session by drilling deeper into a subtopic. Use after tome:research to narrow results to a specific channel or angle./discourseScans HN, Lobsters, Reddit, and tech blogs for community experience reports. Use when gathering practitioner opinions on a technology or approach./exportExport a research session into knowledge-intake compatible markdown. Use after a research session to hand findings to memory-palace./ideateGenerate diverse solution candidates with category-spanning ideation methods and rotation. Use when stuck on a design or fighting repetitive LLM output./papersSearches academic literature via arXiv, Semantic Scholar, and open-access PDFs. Use when building literature reviews or finding formal research on a topic.npx claudepluginhub athola/claude-night-market --plugin tomeOther plugins' skills for the same job