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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00017 | $0.00296 |
| Sonnet 5.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 1mo 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.
- 1mo 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 (2 stars, last pushed 2mo ago), licensed MIT. It adds 43 tokens to every session and 741 once invoked, about $0.0002 per session on Opus 5.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
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…
scientific-writing
Use when writing or revising scientific manuscripts, abstracts, figures, or references for journal submission and you need full-paragraph prose, scientific structure, citation-style guidance, or reporting-guideline support.
manuscript-optimizer
Use when auditing, restructuring, or revising a research manuscript whose scientific question, claim hierarchy, evidence chain, section logic, figures, terminology, or prose may be unclear or out of sync. Apply before sentence-level polishing, especially for whole drafts, major revisions, resubmissions, overclaiming…
review-article-architecture
Use when writing, restructuring, or auditing a Review, survey, or Perspective rather than a research article, especially a commissioned one written across many sessions. Covers the governing plan document, drift detection, single-definition thesis and field judgements, section-owns-figure allocation, display-item…
write-scientific-manuscript
Diagnose and repair the clarity and logic of manuscript prose, journal-agnostic. Use when a passage is technically correct but hard to follow: buried topic sentences, missing logical bridges, ambiguous referents, abstract noun chains, overloaded sentences, incomplete comparisons with no stated dataset or metric or…
paper-reviewer
Referee-side skill for Nature Portfolio manuscripts: write a referee report, inventory every ask and sub-ask in received comments, grade drafted replies, and test reply readability. Check methodology, statistics, reporting, reproducibility and data/code availability. Preserve referee wording, numbering and order…