template-audit

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

A set of audit scripts for a research-template repository. It checks documentation, file paths, template consistency, mock usage, and whether private projects or data could be committed.

In plain words
What is it for?
Use it to lint documentation, detect template drift, check staged files, and verify that prohibited mock code is absent.
Why use it?
It catches repository-quality and confidentiality problems before they reach version control or continuous integration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to lint documentation, detect template drift, check staged files, and verify that prohibited mock code is absent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/docxology/template/audit
Install

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.

Any agent
npx skills add docxology/template --skill audit
Clone the repo
git clone --depth 1 https://github.com/docxology/template

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-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/docxology/template/audit"><img src="https://agentmods.dev/badge/skills/docxology/template/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 403 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.
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.00040 $0.00403
Opus 5.5 $0.00016 $0.00161
Sonnet 5.5 $0.00008 $0.00081
Haiku 4.5 $0.00004 $0.00040

Measured 1mo ago against content hash ae3b2a45e156, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

template-audit 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.

The scan reads SKILL.md. This mod also ships 22 executable files (__init__.py, audit_documentation.py, audit_filepaths.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

scripts/audit/SKILL.md · 51 lines

What it actually says

template-audit

Audit and quality-gate scripts in scripts/audit/.

When to use

Load this skill when you need to:

  • Run documentation or filepath audits
  • Check for template drift in exemplar projects
  • Enforce confidentiality (no private project commits)
  • Verify prohibited mock-framework syntax is absent and inventory semantic stand-ins

Key scripts

Script Exit 0 means
lint_docs.py All doc lints pass
check_tracked_projects.py No private projects staged/committed
check_template_drift.py Exemplars are up-to-date
verify_no_mocks.py No prohibited mock-framework imports/calls detected

Bootstrap note

All scripts use parents[2] from scripts/audit/ — three levels to repo root.

Pitfalls

  • check_tracked_all.py runs in pre-push and composes every resource-pool guard; keep each constituent check fast.
  • audit_documentation.py is advisory; non-zero exit is a warning, not a gate.
  • copy_exemplar.py modifies tracked files — review diff before committing.
  • verify_no_mocks.py --inventory --max-dependency-replacements 0 is blocking in CI. The default lexical pass and the semantic zero-debt gate are distinct contracts; environment isolation remains separately classified.
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. 1mo ago First seen · 51 lines · 40 tokens per session scan A ae3b2a45e156

Subscribe to this mod's changes

template-audit is a skill published in the GitHub repository docxology/template (20 stars, last pushed 2d ago), licensed Apache-2.0. It adds 40 tokens to every session and 403 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-03.

Related

Other skills, from other repositories

docs-audit

A scheduled review that looks for documentation that may no longer match recently changed source code. It examines Git history and searches documentation for references to changed files or names.

ChanningLua/prax-agent · 30 tokens

merge-check

Xcode-specific pre-merge gate — archive build (catches strict-concurrency/MainActor errors debug builds miss), app-extension Info.plist check, SwiftLint — spawned in parallel. Trigger on Apple/Xcode merge intent specifically ("merge this iOS branch", "archive check before merge", "is this ready for TestFlight"); a…

markdavidgan/apple-dev-skills · 96 tokens

trellis-sync

Check this project against the template it was made from, show what changed upstream, and apply only what the user picks. Use when asked to "check for template updates", "sync with trellis", "is my template copy out of date", "pull in upstream template changes", "what changed in the template".

craigcossairt/trellis · 67 tokens

worktree

Set up parallel agent sessions on independent tasks via git worktrees. Use when asked to '/worktree', 'git worktree', 'parallel branches', 'isolated branch workspace', 'work on two things at once'.

craigcossairt/trellis · 47 tokens

skill-scorer

A review tool for Agent Skills, which are instruction files that guide coding agents. It supports skills made for Cursor, Claude, and OpenClaw.

AndrewNgGirl/SkillLens · 95 tokens

publish-to-github

Publish a prepared AI skill or rule repository to GitHub, or repair an existing publication, using available CLI, API or browser tools. Use when the user asks to upload, push, create a GitHub repository or make it live. Covers repository metadata and verification of the published result. Use the authoring modules for…

haorantang97/LabKit · 79 tokens