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 llmgit 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/llm)<a href="https://agentmods.dev/skills/docxology/template/llm"><img src="https://agentmods.dev/badge/skills/docxology/template/llm/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/llm"><img src="https://agentmods.dev/badge/skills/docxology/template/llm.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.00066 | $0.01195 |
| Opus 5.5 | $0.00026 | $0.00478 |
| Sonnet 5.5 | $0.00013 | $0.00239 |
| Haiku 4.5 | $0.00007 | $0.00120 |
Grade A, and why
infrastructure-llm 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 — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LLM Module
Local Large Language Model integration for research assistance via Ollama.
Module Structure
flowchart LR
LLM[llm/]
LLM --> CORE[core<br/>client · config · context]
LLM --> TPL[templates<br/>prompt templates for research]
LLM --> VAL[validation<br/>output quality validation]
LLM --> RV[review<br/>manuscript review generation]
LLM --> PR[prompts<br/>fragment composition system]
LLM --> UT[utils<br/>Ollama server management]
LLM --> CLI[cli<br/>command-line interface]
classDef d fill:#0f172a,stroke:#0f172a,color:#fff
classDef pkg fill:#1e3a8a,stroke:#0f172a,color:#fff
class LLM d
class CORE,TPL,VAL,RV,PR,UT,CLI pkg
LLM Client (core/client.py)
from infrastructure.llm import LLMClient, OllamaClientConfig, GenerationOptions
# Initialize with defaults
client = LLMClient()
# Custom configuration
config = OllamaClientConfig(default_model="gemma3:4b", temperature=0.7)
client = LLMClient(config)
# Generate a response
response = client.query(
"Summarize this paper...",
options=GenerationOptions(
max_tokens=2000,
temperature=0.3,
),
)
Conversation Context (core/context.py)
from infrastructure.llm.core import ConversationContext, Message
context = ConversationContext()
context.add_message(role="user", content="What is active inference?")
context.add_message(role="assistant", content="Active inference is...")
Prompt Templates (templates/)
Pre-built research task templates:
from infrastructure.llm import get_template
from infrastructure.llm.templates import (
ResearchTemplate,
PaperSummarization,
ManuscriptExecutiveSummary,
ManuscriptQualityReview,
ManuscriptMethodologyReview,
ManuscriptImprovementSuggestions,
ManuscriptTranslationAbstract,
)
# Get a template by name
template = get_template("paper_summarization")
# Use specific template classes
summary_template = ManuscriptExecutiveSummary()
prompt = summary_template.render(text=text)
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 1.3 KB runs code
- AGENTS.md 3.8 KB
- cli/__init__.py 151 B runs code
- cli/__main__.py 141 B runs code
- cli/AGENTS.md 2.1 KB
- cli/main.py 8.7 KB runs code
- cli/README.md 2.5 KB
- core/__init__.py 700 B runs code
- core/_connection.py 12 KB runs code
- core/_prompt_availability.py 895 B runs code
- core/_stream_helpers.py 1.6 KB runs code
- core/_stream_impl.py 12 KB runs code
- core/_structured_queries.py 12 KB runs code
- core/_text_utils.py 1.0 KB runs code
- core/AGENTS.md 16 KB
- core/bypass.py 1.7 KB runs code
- core/client.py 15 KB runs code
- core/config.py 10 KB runs code
- core/context.py 9.8 KB runs code
- core/local_ollama.py 6.9 KB runs code
- core/local_review_operation.py 14 KB runs code
- core/log_preview.py 398 B runs code
- core/README.md 5.0 KB
- core/response_saver.py 4.7 KB runs code
- core/sanitization.py 6.3 KB runs code
- prompts/__init__.py 411 B runs code
- prompts/_fragment_builders.py 8.5 KB runs code
- prompts/AGENTS.md 21 KB
- prompts/composer.py 5.2 KB runs code
- prompts/compositions/AGENTS.md 5.3 KB
- prompts/compositions/README.md 4.2 KB
- prompts/compositions/retry_prompts.json 1.1 KB
- prompts/fragments/AGENTS.md 17 KB
- prompts/fragments/content_requirements.json 1.1 KB
- prompts/fragments/format_requirements.json 292 B
- prompts/fragments/README.md 6.5 KB
- prompts/fragments/section_structures.json 4.8 KB
- prompts/fragments/system_prompts.json 1.3 KB
- prompts/fragments/token_budget_awareness.json 441 B
- prompts/fragments/validation_hints.json 387 B
- prompts/loader.py 7.4 KB runs code
- prompts/README.md 5.9 KB
- prompts/templates/AGENTS.md 19 KB
- prompts/templates/manuscript_reviews.json 5.7 KB
- prompts/templates/paper_summarization.json 2.9 KB
- prompts/templates/README.md 5.4 KB
- README.md 6.5 KB
- review/__init__.py 1.4 KB runs code
- review/AGENTS.md 12 KB
- review/formatting.py 8.0 KB runs code
- review/generation.py 14 KB runs code
- review/generator.py 5.4 KB runs code
- review/io.py 1.0 KB runs code
- review/metrics.py 2.0 KB runs code
- review/ollama_setup.py 8.8 KB runs code
- review/pipeline_runner.py 7.9 KB runs code
- review/quality.py 8.8 KB runs code
- review/README.md 6.1 KB
- review/review_analysis.py 4.1 KB runs code
- review/saving.py 10 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 4f425197a96b
- 3mo ago First seen · 179 lines · 66 tokens per session scan A 7ca5006b6be4
infrastructure-llm is a skill published in the GitHub repository docxology/template (25 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 1,195 once invoked, about $0.0003 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-llm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| infrastructure-llmdocxology/template | Skill | 25 | today | Apache-2.0 | A | 66 | Claude Code, Codex |
| academic-plottingOrchestra-Research/AI-Research-SKILLs | Skill | 15k | 1mo ago | MIT | A | 68 | Claude Code |
| local-llmcoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | A | 58 | Claude Code, Codex |
| ai-productcoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| media-memorycoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| pageindexmarcusquinn/aidevops | Skill | 476 | today | MIT | A | 15 | Claude Code |
| openai-apicoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | B | 51 | Claude Code |