Night Market Skill — ported from claude-night-market/tome. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
Run a full multi-source research session: classify the domain, dispatch parallel agents, synthesize findings, and output a formatted report.
Run the domain classifier on the topic:
python
from tome.scripts.domain_classifier import classify
result = classify(topic)
# result.domain, result.triz_depth, result.channel_weights
If confidence < 0.6, ask the user to confirm or override the domain classification before proceeding.
python
from tome.scripts.research_planner import plan
research_plan = plan(result)
# research_plan.channels, research_plan.weights, research_plan.triz_depth
python
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:
ChannelAgent TypePrompt Includescodetome:code-searchertopicdiscoursetome:discourse-scannertopic, domain, subredditsacademictome:literature-reviewertopic, domaintriztome:triz-analysttopic, domain, triz_depth
Rules:
Each agent prompt must include:
After all agents return:
tome.synthesis.merger.merge_findings()tome.synthesis.ranker.rank_findings()python
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:
python
mgr.save(session)
Display a brief summary to the user:
Then offer interactive refinement:
"Use /tome:dig \"subtopic\" to explore specific areas."
FlagFormatFunction(default)reportformat_report()``--format briefbriefformat_brief()``--format transcripttranscriptformat_transcript()