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.

agentmods
npx agentmods add skills/docxology/template/audit
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00020 $0.00201
Sonnet 5 $0.00008 $0.00081
Haiku 4.5 $0.00004 $0.00040

Measured 3d ago against content hash ae3b2a45e156, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 3d ago.

The scan reads SKILL.md. This mod also ships 21 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. 3d 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 (19 stars, last pushed today), licensed Apache-2.0. It adds 40 tokens to every session and 403 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

docs-audit

痛点:代码改了 40 天了,文档还停在 3 个月前。没人专门盯,自然就 drift。这个 skill 每周扫一次、给出有证据的清单,让技术写作不用手动翻 git blame。.

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

skill-scorer

Evaluates Agent Skills (Cursor / Claude / OpenClaw compatible) and produces a quantitative, rubric-based score with actionable improvement suggestions. Use when the user asks to review, rate, audit, grade, lint, or improve a SKILL.md file, a skill folder, or a skill archive, or says things like "给这个 skill 打分", "评估一下…

AndrewNgGirl/SkillLens · 95 tokens

release

Execute the weekly release checklist for any uFawkes repo. Use when an increment is ready to ship. Implements the write-once-ship-four-times pattern: README → CHANGELOG → GitHub Release → dev.to → LinkedIn → ufawkes.dev.

paruff/uFawkesAI · 56 tokens

gitops-overlay

Validate GitOps overlays for correctness and compliance. Use when reviewing kustomize builds, environment overlays, image tags, and secrets.

paruff/uFawkesAI · 30 tokens

gitops-sim

Simulate GitOps updates locally without pushing to remote repos. Use when cloning GitOps repo locally, applying OBS updates, or validating manifest correctness.

paruff/uFawkesAI · 34 tokens