一键导入
wiki-research
Spawn parallel academic subagents to perform multi-perspective research on a given query and compile a detailed synthesis report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Spawn parallel academic subagents to perform multi-perspective research on a given query and compile a detailed synthesis report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compile raw sources into detailed, Obsidian-compatible, interlinked Markdown pages under wiki/ references/ and concepts/.
Deduplicates concepts, splits overly broad concepts, and synthesizes multi-source concept definitions by dynamically searching and analyzing all papers that reference them.
Ingest new academic papers or PDFs into the raw/ folder of your active topic wiki using the local OCR model configured in config.yaml.
Ingest new academic papers, notes, or web articles into the raw/ folder of your active topic wiki.
Initialize a new topic workspace folder with standard raw/, wiki/, inbox/, and output/ directories.
Statically check and repair double-bracket linkages and frontmatter within your compiled wiki directory.
| name | wiki_research |
| description | Spawn parallel academic subagents to perform multi-perspective research on a given query and compile a detailed synthesis report. |
| commands | {"research":"Perform deep, multi-perspective academic research on a topic by gathering evidence and synthesizing results."} |
Resolving script paths (read first): Commands below invoke scripts as
<BIN>/X.py(and a few as<SKILLS>/...). Resolve these to absolute paths once before running anything:
<SKILL_DIR>= the directory thisSKILL.mdlives in.<SKILLS>= theskills/folder containing this skill =<SKILL_DIR>/..<BIN>= thebin/folder beside it =<SKILL_DIR>/../../binDo not hardcode a fixed prefix like
.agents/binor../bin: shell relative paths resolve against the current working directory (usually the topic root), not this skill's location. Once resolved,<BIN>is typically.agents/binwhen invoked from the hub root, or.claude/binfrom inside a topic directory.
This skill handles deep, parallel academic research, spinning up multi-perspective subagents to drill into complex topics and compile unified verdicts.
Tooling (framework-agnostic): This skill is written tool-agnostic. Map each capability to your own agent's tool — read-file (
Readin Claude Code,view_filein Antigravity), sub-agent / parallel task (Task/Agentin Claude Code,invoke_subagentin Antigravity), web-search (WebSearchin Claude Code,search_web), shell (Bash/PowerShell). Use the closest equivalent your framework provides; if a parallel sub-agent tool is unavailable, investigate each research dimension sequentially yourself.
When the user asks to research a topic:
Draft a Dynamic Research Plan: Analyze the user's research query and determine the domain (e.g., Mathematics, Theoretical Physics, Computer Science). Subdivide the query into 3 or more distinct, domain-specific investigative dimensions.
output/graph.db) to identify existing nodes related to the query. Ensure the index is up to date by running python <BIN>/llm-wiki.py graph first. Use python <BIN>/query-graph.py "<SQL>" to query the knowledge graph. Do not use direct sqlite3 command line execution.
Graph DB Schema:
nodes(id TEXT PRIMARY KEY, path TEXT, title TEXT, type TEXT, category TEXT, summary TEXT, created TEXT, updated TEXT)edges(source_id TEXT, target_id TEXT, type TEXT)tags(node_id TEXT, tag TEXT)aliases(node_id TEXT, alias TEXT)
Example Queries:SELECT path FROM nodes WHERE category='reference' AND id IN (SELECT node_id FROM tags WHERE tag='quantum-mechanics')SELECT n.path, e.type FROM nodes n JOIN edges e ON n.id = e.target_id WHERE e.source_id = 'some-concept-id'
This helps contextualize your research plan within the existing knowledge graph.Orchestrate Background Subagents: Spawn the parallel sub-agents using your agent's sub-agent / parallel-task tool according to your dynamic research plan. (If no sub-agent tool exists, investigate each dimension sequentially yourself.)
Role and Prompt tailored to their specific investigative dimension."You MUST use your web-search tool or file-read tool to gather evidence. Do NOT make factual claims from parametric memory alone. Every claim must cite either a specific URL from web search or a specific local file path that you read. If you cannot find a source for a claim, mark it explicitly as
[UNVERIFIED]."
FINDING: <summary of finding>
EVIDENCE: "<quote or data point>"
SOURCE_TYPE: web|local_wiki
SOURCE: <URL or file path>
Findings without a valid SOURCE must be marked [UNVERIFIED].Verify and Filter Subagent Results:
scratch/temp_claims.txt.python <BIN>/verify_claims.py scratch/temp_claims.txt --topic-dir "<TOPIC_DIR>"[VERIFIED] claims in your final synthesis. Collect [UNVERIFIED] findings separately.Synthesize Findings:
wiki/topics/YYYY-MM-DD-<slug>.mdwiki/references/YYYY-MM-DD-<slug>.md---
title: "<descriptive title>"
type: topic|reference
category: topic|reference
created: YYYY-MM-DD
compiled-from: mixed
sources:
- <list of all cited URLs and file paths>
tags: [research, <domain-specific tags>]
confidence: <high|medium|low>
summary: "<1-2 sentence summary>"
---
[UNVERIFIED] findings exist, include them under a clearly marked ## Unverified Claims section at the end. Do NOT mix unverified claims into the main body.Post-Write Validation (MANDATORY):
python <BIN>/validate-output.py "<output_file>" --schema research --wiki-root "<TOPIC_DIR>"
If validation reports issues, fix them before proceeding.python <BIN>/llm-wiki.py lint --fix <TOPIC_DIR>Log: Append a log entry in log.md with: research query, subagent count, verified findings count, unverified findings count, output file path.