Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add i1ight/ragPaper --skill rag-paper-querygit clone --depth 1 https://github.com/i1ight/ragPaperWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/i1ight/ragpaper/rag-paper-query)<a href="https://agentmods.dev/skills/i1ight/ragpaper/rag-paper-query"><img src="https://agentmods.dev/badge/skills/i1ight/ragpaper/rag-paper-query.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00741 |
| Opus 5 | $0.00022 | $0.00370 |
| Sonnet 5 | $0.00009 | $0.00148 |
| Haiku 4.5 | $0.00004 | $0.00074 |
Grade A, and why
rag-paper-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rag-paper-query
Use this skill whenever the user asks about papers that may exist in the local rag-paper knowledge base.
Priority
Prefer MCP tools when available. Use direct local commands or Python access only when MCP is unavailable, incomplete, or the user explicitly asks for direct Chroma/local access.
MCP Workflow
If MCP server rag-paper is available, use these tools:
-
list_indexed_papers- Use first when the user asks what papers are indexed.
- Use to confirm whether a paper exists before detailed lookup.
-
show_indexed_paper- Use for metadata, DOI, authors, source path, chunk IDs, or indexed-paper details.
- Use fuzzy selectors: title fragment, filename fragment, source path fragment, or DOI fragment.
-
search_papers- Use for semantic or keyword-like questions over paper content.
- Prefer concise, content-rich search queries.
- Use filters when the user mentions author, year, tag, or file name.
-
search_by_metadata- Use when the user asks for papers by author, year, tag, or filename.
-
get_chunk- Use when exact chunk text is needed.
-
export_context- Use when synthesizing an answer from multiple chunks.
- Export only relevant chunks.
Direct Local Workflow
If MCP is unavailable, use local rag-paper commands from the project environment:
rag-paper list-indexed-papers
rag-paper show-indexed-paper "selector"
rag-paper search "query" --top-k 8
rag-paper search "query" --author "name"
rag-paper search "query" --year 2024
rag-paper search "query" --tag transformer
If commands are unavailable but Python package access works, use:
from rag_paper.config import load_config
from rag_paper.retrieval import HybridRetriever, result_to_dict
config = load_config("./config.json")
retriever = HybridRetriever(config)
results = retriever.search("your query", top_k=8)
items = [result_to_dict(result) for result in results]
For direct Chroma inspection without semantic search:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 90 lines · 43 tokens per session scan A 059f58d7a2c0
rag-paper-query is a skill published in the GitHub repository i1ight/ragPaper (1 stars, last pushed 29d ago), licensed MIT. It adds 43 tokens to every session and 741 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
academic-research
Nested swiss-knife reference for academic literature work — find papers, fetch full-text PDFs, trace citations, write LaTeX manuscripts. First action for any "get me this paper" request: python3 /scripts/fetchpaper.py — walks arXiv → Unpaywall → Europe PMC → CORE → in-house publisher-page extraction…
fin-submit-check
A pre-submission checklist for an academic paper and its LaTeX files. It checks journal requirements such as anonymous authorship, length, spacing, margins, citations, figures, data availability, and other submission details.
paper2poster-poster
Use when the user wants to turn an academic paper into a conference poster, poster outline, poster copy deck, poster layout brief, poster.yaml style draft, or Paper2Poster-ready generation package. Trigger for paper-to-poster requests involving PDF papers, arXiv links, manuscripts, PPTX posters, conference…
nature-citation
Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science family, and Cell Press, filtering by publication time range, and exporting one reference-manager-ready output by default.…
nature-academic-search
Multi-source literature search, citation verification, MeSH search strategy, citation file management (.nbib/.ris/.bib conversion), and reference management (BibTeX, related articles, ID conversion) via MCP tools (PubMed, CrossRef, arXiv). Use when the user needs coordinated multi-step literature workflows beyond a…
paper-workbench
Researcher-profile-driven paper intake and literature workbench for academic workflows. Use whenever the user wants to skim, deep-read, card, compare, synthesize, map research gaps, or build a literature review from papers, arXiv/AlphaXiv links, DOIs, PDFs, or existing workbench artifacts. Trigger even when the user…