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 coregit 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/core)<a href="https://agentmods.dev/skills/docxology/template/core"><img src="https://agentmods.dev/badge/skills/docxology/template/core/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/core"><img src="https://agentmods.dev/badge/skills/docxology/template/core.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.00062 | $0.01287 |
| Opus 5.5 | $0.00025 | $0.00515 |
| Sonnet 5.5 | $0.00012 | $0.00257 |
| Haiku 4.5 | $0.00006 | $0.00129 |
Grade A, and why
infrastructure-core 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 23d 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 — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Core Infrastructure Module
Foundation utilities used across the entire infrastructure layer and all project scripts.
Logging (logging/utils.py)
from infrastructure.core import get_logger, log_operation, log_stage, format_duration
from infrastructure.core.logging.setup import setup_logger
from infrastructure.core.logging.utils import log_timing, log_substep
logger = get_logger(__name__)
logger.info("Processing started")
# log_operation is a context manager (logs start, completion, failure)
with log_operation("Processing data"):
process()
# Decorator for automatic timing and logging
@log_timing
def expensive_operation():
pass
# Structured progress logging
log_stage(1, 10, "Running Tests")
log_substep("Unit tests passed")
# ETA calculation
from infrastructure.core.runtime import calculate_eta
Configuration (config/loader.py)
from infrastructure.core.config.loader import load_config, find_config_file, get_config_as_dict
# Load project config.yaml
config = load_config(project_path / "manuscript" / "config.yaml")
# Resolve a named project config; unqualified lookup is intentionally
# ambiguous when a repository contains multiple project manuscripts.
config_path = find_config_file(repo_root, project_name="templates/template_code_project")
Exception Hierarchy (exceptions.py)
All exceptions extend TemplateError. Use context-preserving helpers:
from infrastructure.core import TemplateError
from infrastructure.core.exceptions import (
ConfigurationError,
ValidationError,
BuildError,
RenderingError,
LLMError,
PublishingError,
raise_with_context,
chain_exceptions,
format_file_context,
)
# Raise with file context
raise_with_context(ValidationError("Invalid format"), file_path="doc.md", line=42)
# Chain exceptions
try:
render()
except RenderingError as e:
chain_exceptions(BuildError("Pipeline failed"), e)
Exception tree: TemplateError → ConfigurationError, ValidationError, BuildError, FileOperationError, DependencyError, TestError, IntegrationError, LLMError, RenderingError, PublishingError, LiteratureSearchError. Nested children: LLMError → LLMConnectionError, LLMTemplateError; RenderingError → FormatError; PublishingError → UploadError; LiteratureSearchError → APIRateLimitError.
What ships with it
60 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.3 KB runs code
- _bounded_kill.py 19 KB runs code
- _bounded_run_guardian.py 17 KB runs code
- _exceptions_core.py 7.7 KB runs code
- _exceptions_domains.py 2.2 KB runs code
- _optional_deps.py 1.1 KB runs code
- _rate_limiting.py 6.9 KB runs code
- _validation.py 4.8 KB runs code
- agent_memory.py 6.8 KB runs code
- AGENTS.md 34 KB
- analysis_data_custody.py 9.6 KB runs code
- analysis_evidence.py 12 KB runs code
- analysis_figure_custody.py 10 KB runs code
- analysis_launch.py 15 KB runs code
- analysis_pipeline.py 15 KB runs code
- analysis_read_custody.py 9.1 KB runs code
- analysis_timeout.py 1.8 KB runs code
- analysis_write_custody.py 7.5 KB runs code
- bytecode_audit.py 17 KB runs code
- cache_gate.py 5.6 KB runs code
- ci_policy.py 1.6 KB runs code
- cli_handlers.py 6.0 KB runs code
- cli_parser.py 2.7 KB runs code
- cli_scaffold.py 5.0 KB runs code
- cli.py 3.2 KB runs code
- config/__init__.py 929 B runs code
- config/__main__.py 333 B runs code
- config/AGENTS.md 2.3 KB
- config/cli.py 3.3 KB runs code
- config/formatting.py 1.4 KB runs code
- config/loader.py 14 KB runs code
- config/queries.py 7.7 KB runs code
- config/README.md 557 B
- config/schema.py 16 KB runs code
- credentials.py 8.9 KB runs code
- determinism.py 7.1 KB runs code
- errors.py 6.4 KB runs code
- exceptions.py 3.9 KB runs code
- execution_boundary.py 17 KB runs code
- execution_policy.py 3.5 KB runs code
- files/__init__.py 1.9 KB runs code
- files/AGENTS.md 2.6 KB
- files/archive_members.py 2.1 KB runs code
- files/cleanup_helpers.py 5.9 KB runs code
- files/cleanup_root.py 3.8 KB runs code
- files/cleanup.py 8.2 KB runs code
- files/coverage_cleanup.py 6.0 KB runs code
- files/git_tracked.py 3.7 KB runs code
- files/inventory_entry.py 1.1 KB runs code
- files/inventory_reports.py 5.1 KB runs code
- files/inventory.py 6.7 KB runs code
- files/operations.py 11 KB runs code
- files/pdf_locator.py 3.6 KB runs code
- files/portability.py 1.7 KB runs code
- files/project_lock.py 6.8 KB runs code
- files/README.md 853 B
- files/secure_write.py 20 KB runs code
- files/serialization.py 2.9 KB runs code
- health_benchmark.py 14 KB runs code
- health_gates.py 5.5 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.
- 23d ago Changed · +4 lines b14e6701a208
- 24d ago Changed · +19 lines 0bd554217ad4
- 1mo ago Changed · +3 lines 7585fb23557a
- 3mo ago First seen · 191 lines · 62 tokens per session scan A f0469a479598
infrastructure-core is a skill published in the GitHub repository docxology/template (25 stars, last pushed today), licensed Apache-2.0. It adds 62 tokens to every session and 1,287 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-30.
infrastructure-core compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| infrastructure-coredocxology/template | Skill | 25 | today | Apache-2.0 | A | 62 | 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 |