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 gaasher/Agent-Loop-Skills --skill literature-searchgit clone --depth 1 https://github.com/gaasher/Agent-Loop-SkillsWrote 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/gaasher/agent-loop-skills/literature-search)<a href="https://agentmods.dev/skills/gaasher/agent-loop-skills/literature-search"><img src="https://agentmods.dev/badge/skills/gaasher/agent-loop-skills/literature-search/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/gaasher/agent-loop-skills/literature-search"><img src="https://agentmods.dev/badge/skills/gaasher/agent-loop-skills/literature-search.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.00113 | $0.01607 |
| Opus 5 | $0.00056 | $0.00804 |
| Sonnet 5 | $0.00023 | $0.00321 |
| Haiku 4.5 | $0.00011 | $0.00161 |
Grade A, and why
literature-search 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 10d 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Literature Search (shared toolchain)
This skill is not a loop — it is the literature-retrieval dependency several loops use for paper
discovery and novelty checks. It bundles tools/lit_search.py (a stdlib-only entrypoint) and the
tools/lit/ package: Semantic Scholar (S2) for semantic search + snippets + the citation graph and
arXiv for full-text reads (the keyless core), plus optional OpenAlex, Perplexity Sonar (ask), and
bgpt.pro (bgpt) when their keys are set. Every subcommand prints JSON; on a terminal failure it
prints {"error","fallback"} and exits non-zero so the caller degrades to its built-in
WebSearch/WebFetch. No installs, Python ≥3.9.
How a loop uses it
A consuming loop resolves these once at setup and reuses them:
<lit_skill_dir>— where this skill is installed. Aftercp -r loops/* ~/.claude/skills/it sits as a sibling of the calling loop, e.g.~/.claude/skills/literature-search/(adjust per host). If it cannot be resolved, the caller falls back to WebSearch/WebFetch — depending on it never hard-breaks a loop, it only enriches it.<lit>— the literature CLI as a single command token:<lit_skill_dir>/tools/lit_search.py. The entrypoint is executable and carries a#!/usr/bin/env python3shebang, so it runs directly with nopython3prefix. To reuse a cache across calls, append--cache-dir <sandbox_root>/literature/.cacheafter the subcommand (a per-subcommand flag, not global).<lit_py>— only needed for the fallback form on a host that doesn't honour the execute bit:<lit_py> <lit_skill_dir>/tools/lit_search.py, with<lit_py> = python3(any ≥3.9 interpreter).
Invoke
<lit>as one command — keep it a single shell token. In particular zsh does not word-split unquoted variables, so storing the two-wordpython3 .../lit_search.pyin a variable and calling$VARtries to exec one long (nonexistent) filename. Use the executable single-token form above, call the script path directly, or split explicitly (${=VAR}in zsh).
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- tools/lit_search.py 495 B runs code
- tools/lit/__init__.py 135 B runs code
- tools/lit/cli.py 5.9 KB runs code
- tools/lit/http.py 6.9 KB runs code
- tools/lit/keys.py 5.5 KB runs code
- tools/lit/normalize.py 3.4 KB runs code
- tools/lit/sources/__init__.py 144 B runs code
- tools/lit/sources/arxiv.py 8.0 KB runs code
- tools/lit/sources/bgpt.py 715 B runs code
- tools/lit/sources/openalex.py 1.4 KB runs code
- tools/lit/sources/semantic_scholar.py 4.7 KB runs code
- tools/lit/sources/sonar.py 1.4 KB runs code
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.
- 10d ago First seen · 84 lines · 113 tokens per session scan A 818ce5fc487b
literature-search is a skill published in the GitHub repository gaasher/Agent-Loop-Skills (169 stars, last pushed 2mo ago), licensed MIT. It adds 113 tokens to every session and 1,607 once invoked, about $0.0006 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-30.
Other skills, from other repositories
sn-search-academic
An academic research tool for finding papers and encyclopedia entries, reading papers in full or by section, and tracing references and citations. It supports structured literature research.
arbor-agent-orchestrator
Top-level controller for recreating the open-source AutoResearch workflow as a suite of skills. Use when the user asks to run, emulate, extract, validate, or refine Arbor/AutoResearch behavior, especially when a coordinator must load phase skills for setup, ideation, executors, merge evaluation, novelty search…
automated-soap-note-generator
Generate structured SOAP notes from clinical narratives, transcripts, or existing notes; use when the user needs de-identified clinical documentation organized into Subjective, Objective, Assessment, and Plan sections, with clear assumptions and review points.
external-model-validation
Use when validating an existing prognostic risk signature on an external bulk expression cohort with survival outcomes, producing risk scores, Kaplan-Meier curves, risk distribution plots, heatmap, and time-dependent ROC curves. NOT for: model training, feature selection, nomogram construction, calibration analysis…
gsva-analysis-and-visualization
Use this skill to run GSVA or ssGSEA pathway-level differential analysis from a bulk expression matrix and a sample group file, then generate a heatmap from the saved GSVA result object. Trigger keywords: GSVA, ssGSEA, pathway enrichment, KEGG pathway analysis, MSigDB. NOT for: gene-level differential expression…
medical-research-literature-reader-pro
A medical-research-native literature reading skill for users with clinical, bioinformatics, translational, and basic experimental backgrounds. Use this skill whenever a user wants to read, analyze, critique, or interpret a medical or scientific paper — whether they provide a PDF, abstract, DOI, PMID, or just a title.…