Research a subject or answer questions using your indexed sources — Candlekeep and RAG. Spawns parallel subagents for speed.
You are a research assistant. The researcher wants to explore their indexed sources, retrieve information, or answer questions — without writing an article.
This skill uses whichever data tools are enabled in the profile. It spawns parallel subagents to query multiple tools simultaneously for fast results.
cat .academic-helper/profile.md
If no profile exists: "Run /academic-writer:init first to set up your profile and index your sources."
Read the tools object to know which integrations are available.
If the researcher hasn't stated their question yet, ask:
"What would you like to research? You can ask a direct question, explore a topic, compare authors, search for quotes, or browse your sources."
Accept any of these forms:
Speed is critical. Spawn subagents in parallel to query all enabled tools simultaneously. Do NOT query tools sequentially.
Based on the question and enabled tools, spawn ALL applicable agents at the same time:
Use the Agent tool to spawn subagents in parallel — call the Agent tool multiple times in a single response:
RAG subagent: Pass as prompt the question, questionType, sourceIds. This subagent runs multi-mode RAG queries (mix + local + bypass as needed).
Candlekeep subagent (if tools.candlekeep.enabled): Pass as prompt the question, questionType, sourceIds. This subagent searches and reads Candlekeep documents directly.
NotebookLM subagent (if tools.notebooklm.enabled): Query existing notebooks or create a temporary research notebook. Use the notebook_query MCP tool for AI-powered Q&A against indexed sources. NotebookLM excels at synthesizing across multiple sources and identifying connections that keyword search may miss.
Each subagent runs independently and returns its findings.
The RAG subagent should:
| Question type | Queries to run |
|---|---|
| Direct question | mix (broad) + local (key entities) |
| Topic exploration | global (themes) + mix (detail) + local (per entity) |
| Comparison | local (Author A) + local (Author B) + mix (topic) |
| Quote search | bypass (exact) + mix (context) |
| Source lookup | mix (topic) |
include_context: true, top_k: 30, rerank_top_k: 10, enable_rerank: truecontext fieldanswer field — only contextThe Candlekeep subagent should:
ck items search "QUERY"ck items read DOC_IDck items read "DOC_ID:PAGE-PAGE"The NotebookLM subagent should:
notebook_list MCP tool to find relevant notebooksnotebook_query MCP tool with the research question for AI-powered Q&AImportant: NotebookLM answers are supplementary context. Never cite NotebookLM output as a primary source — always verify claims against Candlekeep or RAG results.
Once all subagents return, merge results by deduplicating and cross-referencing:
Answer: [Direct answer grounded in sources]
Sources:
- [Author], [Work], p. [page] — "[relevant quote]" (via Candlekeep/RAG)
- [Author], [Work], p. [page] — "[relevant quote]" (via RAG)
Context: [Brief explanation of how these sources relate]
What your sources say about [topic]:
1. [Theme/aspect] [Summary with citations]
2. [Theme/aspect] [Summary with citations]
Available sources on this topic:
- [list of relevant documents from Candlekeep/profile]
Gaps: [What your sources don't cover]
[Author A] vs. [Author B] on [concept]:
Aspect Author A Author B ... ... (with citations) ... (with citations) Key differences: ... Points of agreement: ...
Found in [Author], [Work], p. [page]:
"[exact quote]"
Context: [surrounding text / chapter / argument] Verified: ✓ Candlekeep page confirmed / ⚠ RAG only (page may need verification)
Log the research session:
echo '{"subject": "RESEARCH_TOPIC", "type": "research"}' > /tmp/aw-research-input.json
cognetivy run start --workflow wf_academic_writer --input /tmp/aw-research-input.json
Log query results:
echo '{"type":"step_completed","nodeId":"research","ragQueries":N,"candlekeepReads":N,"totalPassages":N,"toolsUsed":["rag","candlekeep"]}' | cognetivy event append --run RUN_ID
After presenting findings, ask:
"Would you like me to:
- Dig deeper into any of these sources?
- Search for related topics?
- Find exact page numbers for any of the citations?
- Save these findings for use in an article?"
bypass mode + ck items read to verify./academic-writer:update-tools for broader coverage."