research
БесплатноБез исполняемых скриптовНе проверенDeep web research with relevance scoring and knowledge graph storage. Use when researching topics, companies, people, or concepts. Performs Graph-of-Thoughts…
от ratacat★ 60 звёзд на GitHubОб этом скилле
Deep Research Skill
A Graph-of-Thoughts research system that builds a knowledge graph through structured exploration, stores all findings in SQLite, and uses graph operations (merging, traversal, contradiction detection, relationship inference) to synthesize insights.
CRITICAL REQUIREMENTS
You MUST use the database for all operations. Every finding, every URL, every search query, every relationship MUST be recorded. The database is not optional—it is the core of this methodology. If you skip database operations, the research is invalid.
You MUST perform graph operations. After each exploration phase, you MUST run merging, relationship inference, and contradiction detection. These are not suggestions—they are required steps.
You MUST work iteratively. Do not try to gather all information then synthesize. Work in cycles: explore → store → analyze graph → identify gaps → explore gaps → repeat.
Arguments
Parse the user's input to extract:
topic: The research subject (required unless --list or --continue)--depth N: How many levels deep to explore (default: 2)--branches N: How many aspects to explore in parallel (default: 5)--continue "topic": Resume a previous research session--list: Show all saved research sessions
Database Setup
Before ANY research, initialize the database. This is mandatory:
sqlite3 research.db < ~/.claude/skills/research/schema.sql 2>/dev/null || true
Verify the database exists and has tables:
sqlite3 research.db "SELECT name FROM sqlite_master WHERE type='table';"
If tables are missing, the research CANNOT proceed.
PHASE 1: SESSION INITIALIZATION
1.1 Create Session
INSERT INTO sessions (topic, depth_remaining, branches)
VALUES ('{topic}', {depth}, {branches});
Immediately retrieve and store the session ID:
SELECT last_insert_rowid();
Store this session_id. You will use it in EVERY subsequent database operation.
1.2 Decompose Topic into Branches
Break the topic into {branches} distinct aspects. For each aspect, create an initial "lead" finding:
INSERT INTO findings (session_id, content, relevance_score, finding_type, branch_name, depth_level)
VALUES
({session_id}, 'BRANCH: {aspect_1_description}', 8, 'lead', '{aspect_1_name}', 0),
({session_id}, 'BRANCH: {aspect_2_description}', 8, 'lead', '{aspect_2_name}', 0),
-- ... for all branches
;
This seeds the graph with initial nodes to explore.
PHASE 2: EXPLORATION
For each unexplored lead (finding_type='lead' that hasn't been explored):
2.1 Generate Search Query
Create a focused search query for the lead. Record it BEFORE executing:
INSERT INTO search_queries (session_id, query, branch_name, depth_level)
VALUES ({session_id}, '{query}', '{branch}', {current_depth});
2.2 Execute Search
python3 ~/.claude/skills/brave-search/brave.py web "{query}" --count 10 --extra-snippets
2.3 Record URLs
For EVERY URL in results, record it BEFORE fetching:
INSERT OR IGNORE INTO explored_urls (session_id, url, status)
VALUES ({session_id}, '{url}', 'pending');
2.4 Fetch and Extract
For promising URLs (top 3-5), fetch content with WebFetch. After fetching, update status:
UPDATE explored_urls SET status = 'fetched' WHERE session_id = {session_id} AND url = '{url}';
If fetch fails:
UPDATE explored_urls SET status = 'failed' WHERE session_id = {session_id} AND url = '{url}';
2.5 Create Findings
For EACH discrete piece of information extracted, create a finding:
INSERT INTO findings (session_id, content, source_url, relevance_score, finding_type, branch_name, depth_level)
VALUES ({session_id}, '{content}', '{url}', {score}, '{type}', '{branch}', {depth});
Scoring Criteria (APPLY STRICTLY):
- 9-10: Directly answers a key question; novel insight; actionable
- 7-8: Useful context; supports or challenges other findings
- 4-6: Tangentially related; may be useful for completeness
- 1-3: Barely relevant; keep only if nothing better exists
- 0: Off-topic; do not insert
Finding Types:
fact: Verifiable piece of information with sourcelead: Promising direction requiring further explorationquestion: Unresolved question raised by the researchtheme: Recurring pattern observed across multiple sourcescontradiction: Conflicting information (see Phase 3.3)
2.6 Update Search Query Result Count
UPDATE search_queries SET result_count = {count}
WHERE session_id = {session_id} AND query = '{query}';
PHASE 3: GRAPH OPERATIONS
These operations are MANDATORY after each exploration cycle. Do not skip them.
3.1 MERGING: Detect and Combine Similar Findings
Similar findings fragment the graph and reduce insight quality. You MUST merge them.
Step 1: Identify Candidates
Query findings in the same branch that may be duplicates:
SELECT f1.id as id1, f2.
Установить research в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл research?
Deep web research with relevance scoring and knowledge graph storage. Use when researching topics, companies, people, or concepts. Performs Graph-of-Thoughts style exploration with parallel branching, relevance scoring, and synthesis into themed reports.
Как установить скилл research?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл research запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub