template-gold-refinement

template-gold-refinement is a skill for Claude Code, Codex from docxology/template. It costs 38 tokens per session (476 once invoked), scanned A, original, Apache-2.0.

A project template that uses gold refining as an analogy for composing scientific manuscripts. It organizes stages such as preparing, checking, refining, and certifying content, with token-based text insertion.

In plain words
What is it for?
Use it to build or validate a manuscript pipeline, insert prepared values into templates, and produce formatted scientific deliverables.
Why use it?
It gives a repeatable structure for assembling complex manuscript content from prepared pieces.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_gold_refinement.

Good fit Use it to build or validate a manuscript pipeline, insert prepared values into templates, and produce formatted scientific deliverables.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/docxology/template
agentmods
npx agentmods add skills/docxology/template/template-gold-refinement

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for template-gold-refinement

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/template-gold-refinement/github.svg)](https://agentmods.dev/skills/docxology/template/template-gold-refinement)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/template-gold-refinement"><img src="https://agentmods.dev/badge/skills/docxology/template/template-gold-refinement/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.

agentmods 80×15 button for template-gold-refinement

Your own site · 80×15
<a href="https://agentmods.dev/skills/docxology/template/template-gold-refinement"><img src="https://agentmods.dev/badge/skills/docxology/template/template-gold-refinement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00476
Opus 5 $0.00019 $0.00238
Sonnet 5 $0.00008 $0.00095
Haiku 4.5 $0.00004 $0.00048

Measured 5d ago against content hash f7e8689307f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

template-gold-refinement 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 5d 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.

projects/templates/template_gold_refinement/.agents/skills/template-gold-refinement/SKILL.md · 51 lines

What it actually says

template-gold-refinement

Project-scoped skill for the in-repo exemplar at projects/templates/template_gold_refinement/. Load this when working inside the project.

When to Use

  • Working inside the template_gold_refinement exemplar — running scripts, editing source, or regenerating outputs.
  • Forking this exemplar as the starting scaffold for a new research project.
  • Validating that the exemplar's contracts (thin-orchestrator, layer boundaries, no-mocks testing) still hold after changes.

Quick Reference

# From the repository root
uv run pytest projects/templates/template_gold_refinement/tests --cov=projects/templates/template_gold_refinement/src --cov-fail-under=90
uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_gold_refinement
uv run python scripts/pipeline/stage_03_render.py --project templates/template_gold_refinement
uv run python scripts/pipeline/stage_04_validate.py --project templates/template_gold_refinement
uv run python scripts/pipeline/stage_05_copy.py --project templates/template_gold_refinement

Pitfalls

  • Keep scripts thin. Business logic belongs in src/ or shared infrastructure/, not in scripts/.
  • No mocks. All tests must use real data, real files, and real computation.
  • Outputs are disposable. Never hand-edit output/ — regenerate from source and config.
  • Run from the repo root. Commands assume the template monorepo root as working directory unless the child AGENTS.md states otherwise.

Cross-refs

Files

What ships with it

2 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.

Changes

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.

  1. 5d ago First seen · 51 lines · 38 tokens per session scan A f7e8689307f5

Subscribe to this mod's changes

template-gold-refinement is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 476 once invoked, about $0.0002 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.

Related

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…

wonsukchoi/domain-experts · 169 tokens

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…

wonsukchoi/domain-experts · 90 tokens

anthropologist-archeologist

Use when a task needs the judgment of an Anthropologist/Archeologist working in cultural resource management (CRM) — scoping a Section 106 Phase I identification survey, designing a shovel-test-pit sampling strategy, evaluating National Register of Historic Places eligibility under Criteria A-D, interpreting…

wonsukchoi/domain-experts · 106 tokens

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…

wonsukchoi/domain-experts · 207 tokens

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…

wonsukchoi/domain-experts · 112 tokens

acoustical-engineer

Use when a task needs the judgment of an Acoustical Engineer — calculating room reverberation time (RT60) and specifying absorption/reflection treatment for a space, evaluating a wall or floor assembly's STC/IIC rating against a code or design target, diagnosing why a completed space fails its acoustic design intent…

wonsukchoi/domain-experts · 102 tokens