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 referencegit 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/reference)<a href="https://agentmods.dev/skills/docxology/template/reference"><img src="https://agentmods.dev/badge/skills/docxology/template/reference/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/docxology/template/reference"><img src="https://agentmods.dev/badge/skills/docxology/template/reference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00131 | $0.01367 |
| Opus 5.5 | $0.00052 | $0.00547 |
| Sonnet 5.5 | $0.00026 | $0.00273 |
| Haiku 4.5 | $0.00013 | $0.00137 |
Grade A, and why
infrastructure-reference 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 24d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reference Module
Bibliographic-reference workflows for the template's two-layer architecture.
Output is byte-compatible with the existing
projects/templates/template_code_project/manuscript/references.bib format and round-trips
through the parser without semantic loss.
citation — BibTeX read/write/convert
from infrastructure.reference.citation import (
BibEntry,
BibDatabase,
parse_bibfile,
parse_bibtex,
BibParseError,
render_entry,
render_database,
render_entries,
write_bibfile,
paper_to_bibentry,
generate_citation_key,
escape_latex,
unescape_latex,
)
Read & validate an existing .bib
db = parse_bibfile("projects/templates/template_code_project/manuscript/references.bib")
print(len(db), "entries")
boyd = db.find("boyd2004convex")
assert boyd.entry_type == "article"
assert boyd.get("author") == "Boyd, Stephen and Vandenberghe, Lieven"
Build entries programmatically
from collections import OrderedDict
entry = BibEntry(
entry_type="article",
citation_key="smith2024example",
fields=OrderedDict(
[
("title", "An Example Paper"),
("author", "Smith, Alice and Jones, Bob"),
("journal", "Cambridge UP"),
("year", "2024"),
("pages", "1-10"), # auto-normalised to "1--10"
("doi", "10.1234/example"),
]
),
)
print(render_entry(entry))
Output (matches the exemplar exactly):
@article{smith2024example,
title={An Example Paper},
author={Smith, Alice and Jones, Bob},
journal={Cambridge UP},
year={2024},
pages={1--10},
doi={10.1234/example}
}
Convert a literature search result to BibTeX
from infrastructure.search.literature import LiteratureClient, SearchQuery, ArxivBackend
from infrastructure.reference.citation import paper_to_bibentry, render_database
from infrastructure.reference.citation.models import BibDatabase
result = LiteratureClient([ArxivBackend()]).search(SearchQuery(text="adam optimizer"))
db = BibDatabase()
for paper in result.papers:
db.add(paper_to_bibentry(paper))
write_bibfile("output/references.bib", db)
What ships with it
24 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 1.2 KB runs code
- AGENTS.md 7.3 KB
- citation/__init__.py 1.7 KB runs code
- citation/__main__.py 180 B runs code
- citation/AGENTS.md 2.3 KB
- citation/bibtex_parser.py 8.7 KB runs code
- citation/bibtex_writer.py 5.7 KB runs code
- citation/cli.py 5.3 KB runs code
- citation/converter.py 5.6 KB runs code
- citation/escape.py 2.4 KB runs code
- citation/models.py 5.7 KB runs code
- citation/README.md 1.6 KB
- citation/SKILL.md 3.7 KB
- README.md 3.2 KB
- verification/__init__.py 1.8 KB runs code
- verification/__main__.py 183 B runs code
- verification/AGENTS.md 2.1 KB
- verification/cache.py 4.5 KB runs code
- verification/cli.py 5.2 KB runs code
- verification/models.py 5.4 KB runs code
- verification/README.md 1.5 KB
- verification/resolver.py 13 KB runs code
- verification/SKILL.md 3.0 KB
- verification/verifier.py 8.8 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.
- 24d ago Changed · +18 lines 917f0d64e87d
- 2mo ago First seen · 144 lines · 131 tokens per session scan A efdee73b72a7
infrastructure-reference is a skill published in the GitHub repository docxology/template (25 stars, last pushed today), licensed Apache-2.0. It adds 131 tokens to every session and 1,367 once invoked, about $0.0005 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-09-03.
infrastructure-reference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| infrastructure-referencedocxology/template | Skill | 25 | today | Apache-2.0 | A | 131 | Claude Code, Codex |
| talismanjeunecraack/talisman-skill | Skill | 7 | 3mo ago | MIT | A | 120 | Claude Code, Codex |
| Генерация PDF из Markdown с точным академическим форматированием через Pandoc и LaTeXECNU-ICALK/AutoSkill | Skill | 622 | 6mo ago | none | A | 87 | Claude Code, Codex |
| latex-docJansenAnalytics/claudex | Skill | 5 | 5mo ago | MIT | B | 25 | Claude Code, Codex |
| create-rulecoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| compute-methodsMuuuun/luxas | Skill | 1.2k | 22d ago | MIT | A | 35 | Claude Code, Codex |
| gsd-code-reviewcoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | A | 56 | Claude Code |