Skip to content
Agentmart
Submit a tool

papi-ask

Skill by hummat

IndexedMIT★ 39
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hummat-papi-ask

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
papi-ask
Description
None
License
MIT
Instructions
49 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • invalid YAML frontmatter: Nested mappings are not allowed in compact mappings at line 2, column 14:
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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:

1. **Literal match**: `papi search --rg "query"` (fast, no LLM)
2. **Regex or OR match**: `papi search --rg --regex "term one|term two"` (`--regex` is required)
3. **Ranked search**: `papi search "query"` (BM25)
4. **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

```bash
# 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 search
- `retrieve_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`.

From hummat/paperpipe, MIT.

Signals

Stars
39
Forks
1
Open issues
5
Last commit (this folder)
Oct 6, 2026 (24 days ago)
Last release
Oct 6, 2026 (24 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hummat

Cite this page

papi-ask skill. Agent Mart. https://agentmart.dev/skills/hummat-papi-ask (last updated 2026-10-24)