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 docxology/template --skill literaturegit clone --depth 1 https://github.com/docxology/templateWrote 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/docxology/template/literature)<a href="https://agentmods.dev/skills/docxology/template/literature"><img src="https://agentmods.dev/badge/skills/docxology/template/literature.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.00123 | $0.01008 |
| Opus 5 | $0.00062 | $0.00504 |
| Sonnet 5 | $0.00025 | $0.00202 |
| Haiku 4.5 | $0.00012 | $0.00101 |
Grade A, and why
infrastructure-search-literature 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 3d 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 — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Literature Search Submodule
Multi-source literature search modelled after Paperclip's agent-native abstractions.
Quick Search
from infrastructure.search.literature import (
LiteratureClient, SearchQuery, ArxivBackend, CrossrefBackend
)
client = LiteratureClient([ArxivBackend(), CrossrefBackend(mailto="[email protected]")])
result = client.search(SearchQuery(text="protein language model fitness", max_results=20))
print(f"{len(result)} unique papers from {len(result.per_source_counts)} sources")
print(f"Errors: {result.errors}") # {} when all backends succeeded
for paper in result.papers[:5]:
print(f" [{paper.score:.2f}] {paper.title} ({paper.year}) — {paper.doi or paper.url}")
Backends
from infrastructure.search.literature import (
LocalBackend, ArxivBackend, CrossrefBackend, PaperclipBackend
)
# Offline / reproducible — searches a JSON corpus on disk.
local = LocalBackend("data/curated_corpus.json")
# Public APIs, no auth.
arxiv = ArxivBackend()
crossref = CrossrefBackend(mailto="[email protected]")
# Paperclip — requires API key.
import os
paperclip = PaperclipBackend(api_key=os.environ["PAPERCLIP_API_KEY"])
Filters
SearchQuery(
text="adam optimizer",
max_results=50,
year_min=2014, year_max=2025,
sources=["arxiv"], # subset of configured backends
)
Caching
from infrastructure.search.literature import SearchCache
cache = SearchCache("output/search_cache", ttl_seconds=86400)
client = LiteratureClient([ArxivBackend()], cache=cache)
# First call hits arXiv; second is a deterministic file read.
client.search(SearchQuery(text="x"))
client.search(SearchQuery(text="x"))
# Force refresh:
client.search(SearchQuery(text="x"), use_cache=False)
Deduplication
from infrastructure.search.literature import merge_papers
unique = merge_papers([*result_a.papers, *result_b.papers])
Priority: DOI → arXiv id → normalised (title, year). Higher-scored copy wins; missing fields on the winner are filled from the loser ("union of evidence").
What ships with it
19 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.
- __init__.py 2.0 KB runs code
- __main__.py 178 B runs code
- AGENTS.md 3.9 KB
- arxiv_backend.py 6.3 KB runs code
- backends/__init__.py 742 B runs code
- backends/AGENTS.md 665 B
- backends/README.md 683 B
- base.py 847 B runs code
- cache.py 6.5 KB runs code
- cli.py 6.9 KB runs code
- client.py 3.4 KB runs code
- crossref_backend.py 4.7 KB runs code
- fulltext.py 11 KB runs code
- http_client.py 6.2 KB runs code
- local_backend.py 2.4 KB runs code
- models.py 9.3 KB runs code
- paperclip_backend.py 4.9 KB runs code
- paperclip_text_parser.py 4.3 KB runs code
- README.md 2.4 KB
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.
- 3d ago First seen · 136 lines · 123 tokens per session scan A 03be6dc38c11
infrastructure-search-literature is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 123 tokens to every session and 1,008 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-09-03.
Other skills, from other repositories
aerospace-engineering-technician
Use when a task needs the judgment of an Aerospace Engineering and Operations Technologist/Technician — verifying an installed fastener's preload against a drawing's torque callout via the T=K·D·F relationship, reducing strain-gauge data from a structural proof-load test into stress and checking it against an…
automotive-engineering-technician
Use when a task needs the judgment of an Automotive Engineering Technician — setting up and instrumenting test equipment (strain-gauge bridges, thermocouples, load/torque sensors) to an engineer's written test plan, selecting DAQ sample rate and an SAE J211 CFC filter class for a vehicle test channel, verifying…
calibration-technician
Use when a task needs the judgment of a Calibration Technologist/Technician — computing a Test Uncertainty Ratio (TUR) and deciding whether it meets the 4:1 target, building a measurement uncertainty budget (Type A/Type B, GUM-style) for a calibration, tracing a reference standard's chain of custody to NIST/SI…
agricultural-engineer
Use when a task needs the judgment of an agricultural engineer — sizing a center-pivot or drip irrigation system's peak capacity against crop water demand, computing lateral grain-bin wall pressure with Janssen's equation, sizing a waterway or tile-drainage system with Manning's equation and an NRCS design-storm…
agricultural-sciences-professor
Use when a task needs the judgment of a tenure-track or tenured Agricultural Sciences faculty member at a land-grant university — deciding whether to submit a grant this cycle versus wait, allocating time across the teaching/research/extension appointment split, diagnosing a stalled graduate student or field trial, or…
animal-breeder
Use when a task needs the judgment of a livestock geneticist/animal breeder — selecting a sire against EPDs or genomic data, screening a proposed mating for inbreeding risk, deciding AI versus natural service, timing an estrus-synchronization protocol, or defending a breeding-goal tradeoff to a herd owner.