papi-ask
RAG answers over papers (PaperQA2 or LEANN): "what does paper X say about Y", synthesized or cited responses.
от hummat★ 39 звёзд на GitHub
Установить papi-ask в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Query Papers via RAG
Use papi ask for questions requiring synthesis across papers or cited answers.
Cost-Aware Retrieval
Before using RAG, consider cheaper alternatives:
- Literal match:
papi search --rg "query"(fast, no LLM) - Regex or OR match:
papi search --rg --regex "term one|term two"(--regexis required) - Ranked search:
papi search "query"(BM25) - Direct read:
papi show <paper> -l eq|tex|summary(when you know the paper)
Use papi ask only when:
- User explicitly requests RAG/synthesis
- Question spans multiple papers
- Search/show cannot answer
Commands
# PaperQA2 (default) — full RAG with citations
papi ask "question"
# LEANN — faster semantic search + LLM
papi ask "question" --backend leann
# Structured output for programmatic use
papi ask "question" --format evidence-blocks
MCP Tools (if available)
For quick retrieval without full RAG:
leann_search(index_name, query, top_k)— fast semantic searchretrieve_chunks(query, index_name, k)— PaperQA2 chunks with citations
Check available indexes: leann_list() or list_pqa_indexes()
Output
RAG answers include:
- Synthesized response
- Citations with page/section references
- Confidence indicators
For general CLI commands, see /papi.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл papi-ask?
RAG answers over papers (PaperQA2 or LEANN): "what does paper X say about Y", synthesized or cited responses.
Как установить скилл papi-ask?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл papi-ask запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
GitHubFind, 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…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…