research-query
БесплатноБез исполняемых скриптовНе проверенSearch the local research corpus, read matching findings, and synthesize an answer with inline citations to REF-XXX sources. The "query" operation for the…
от jmagly★ 233 звезды на GitHubОб этом скилле
Research Query
Ask a question against the local research corpus and get a synthesized answer with inline citations.
Triggers
- "what does the research say about X?"
- "query the corpus for X"
- "search research for X"
- "what evidence do we have for X?"
- "research query X"
/research-query "question"
Parameters
<question> (required)
A natural language question to answer from the corpus.
--depth (optional)
Search depth: quick (tag + title matching only) or thorough (full-text content search). Default: thorough.
--backend (optional)
Retrieval backend for the executable source-selection wrapper: fortemi-core or local. Default: fortemi-core.
By default, research-query uses the Fortemi static cache after it is synced
with aiwg index sync; missing, stale, or malformed caches fail with recovery guidance
instead of falling back silently. Use --backend local only for the legacy
local corpus fallback.
--save (optional)
Save the synthesized answer as a new artifact in .aiwg/research/synthesis/.
--sources-only (optional)
List matching sources without synthesizing an answer.
--include-diagnostics (optional)
Include quarantine and generated integrity/artifact scan records in source selection. They are excluded by default because diagnostics are not research evidence. Scan severity or confidence labels never become GRADE evidence quality; only an explicit GRADE declaration or grade tag is accepted.
--max-sources (optional)
Maximum number of sources to read and synthesize from. Default: 10.
Execution Flow
The executable CLI wrapper aiwg research-query performs deterministic source
selection from synced Fortemi record text/chunks without rereading source files
and can emit JSON for tests and automation. It does not replace the
skill's synthesis responsibilities; agents still write the final answer with
GRADE-aware hedging, contradictions, gaps, and inline REF citations.
Phase 1: Corpus Search
Search the local research corpus for relevant sources:
- Tag-based search: Grep frontmatter
tags:fields in.aiwg/research/findings/REF-*.mdfor topic matches - Title search: Match question keywords against
title:frontmatter fields - Full-text search (if
--depth thorough): Search body content of all REF-XXX notes for question terms - Synthesis search: Also check
.aiwg/research/synthesis/for existing synthesis on the topic - Knowledge search: Check
.aiwg/research/knowledge/for related concept notes
Search locations (priority order):
.aiwg/research/findings/REF-*.md # Primary: literature notes
.aiwg/research/synthesis/*.md # Secondary: existing synthesis
.aiwg/research/knowledge/*.md # Tertiary: knowledge base entries
Phase 2: Source Reading
For each matching source (up to --max-sources):
- Read the full content of the REF-XXX note
- Extract:
- Key claims and findings
- GRADE quality assessment
- Methodology and evidence type
- Related source references
- Rank by relevance to the question
Phase 3: Answer Synthesis
Synthesize a comprehensive answer from the matched sources:
- Lead with the answer — state the synthesized finding clearly
- Cite inline — reference specific REF-XXX identifiers with the finding they support
- Note evidence quality — use GRADE-appropriate hedging:
- HIGH: "Evidence strongly supports..."
- MODERATE: "Evidence suggests..."
- LOW: "Limited evidence indicates..."
- VERY LOW: "Preliminary findings hint at..."
- Flag contradictions — if sources disagree, state both positions with citations
- Identify gaps — if the question touches areas with sparse coverage, note what's missing
Answer format:
## Answer
[Synthesized answer with inline citations]
Evidence strongly supports that agent orchestration patterns improve
task completion rates by 30-45% compared to single-agent approaches
(REF-012, REF-034). However, this comes with increased latency —
REF-067 measured a 2-3x slowdown for multi-agent coordination on
tasks under 5 minutes. Limited evidence indicates that the breakeven
point is approximately 15 minutes of task complexity (REF-042, GRADE: Low).
### Sources Consulted
| REF | Title | GRADE | Relevance |
|-----|-------|-------|-----------|
| REF-012 | Multi-Agent Orchestration Patterns | High | Direct |
| REF-034 | Agent Coordination Benchmarks | Moderate | Direct |
| REF-067 | Latency Analysis of LLM Pipelines | Moderate | Supporting |
| REF-042 | Cost-Benefit of Agent Architectures | Low | Tangential |
### Evidence Quality
- 1 HIGH, 2 MODERATE, 1 LOW sources
- Overall confidence: MODERATE
### Gaps
- No sources address orchestration in resource-constrained environments
- Missing: longitudinal studies on orchestration pattern stability
### Related Queries
- "What are the latency costs of multi-agent systems?"
- "How does orchestration affect token consumption
Установить research-query в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл research-query?
Search the local research corpus, read matching findings, and synthesize an answer with inline citations to REF-XXX sources. The "query" operation for the research pipeline.
Как установить скилл research-query?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл research-query запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic