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 metadatagit 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/metadata)<a href="https://agentmods.dev/skills/docxology/template/metadata"><img src="https://agentmods.dev/badge/skills/docxology/template/metadata/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/metadata"><img src="https://agentmods.dev/badge/skills/docxology/template/metadata.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.00055 | $0.00371 |
| Opus 5.5 | $0.00022 | $0.00148 |
| Sonnet 5.5 | $0.00011 | $0.00074 |
| Haiku 4.5 | $0.00006 | $0.00037 |
Grade A, and why
infrastructure-metadata 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.
What it actually says
Metadata Module
Shared publication-metadata leaves consumed by the publishing, rendering,
documentation, and project layers. Extracted from infrastructure/publishing
so the rendering layer can import these surfaces without an inverted
dependency on the publishing package (RENDERING-LAYERING-1).
Repository URL normalization (repository_metadata.py)
from infrastructure.metadata.repository_metadata import normalized_repository_url
url = normalized_repository_url(publication) # explicit URL or owner/repo slug
Ebook metadata package (metadata_package.py)
from infrastructure.metadata.metadata_package import (
EbookPublicationMetadata,
ebook_metadata_from_config,
generate_epub_opf,
generate_metadata_json,
generate_metadata_package,
generate_onix_xml,
)
meta = ebook_metadata_from_config(config, project_slug)
paths = generate_metadata_package(meta, output_dir=Path("output/metadata"))
# paths == {"onix_xml": ..., "metadata_json": ..., "opf": ...} — the writer
# emits onix.xml, metadata.json, and package.opf itself; no manual write_text.
Invariants
- Leaf package: imports only stdlib plus
infrastructure.core; never imports publishing, rendering, or reporting. - Rendering may import this package directly; the layering guard
(
tests/infra_tests/rendering/test_layering.py) enforces zero rendering->publishing edges with an empty allowlist. - Consumers import repository and ebook metadata from
infrastructure.metadata.
What ships with it
5 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.
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 Changed · -1 lines 60a356be9b65
- 2mo ago First seen · 48 lines · 55 tokens per session scan A 74afe2614059
infrastructure-metadata is a skill published in the GitHub repository docxology/template (25 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 371 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-09-09.
infrastructure-metadata compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| infrastructure-metadatadocxology/template | Skill | 25 | today | Apache-2.0 | A | 55 | 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 |
| paper-figuresMuuuun/luxas | Skill | 1.2k | 22d ago | MIT | A | 79 | Claude Code, Codex |
| overleafaloth/olcli | Skill | 283 | 4d ago | MIT | A | 62 | Claude Code, Codex |
| fin-paper-convertcsmar432/finai-research | Skill | 112 | 7d ago | MIT | A | 12 | Claude Code, Codex |