template-gates

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

A collection of optional checks for project files, plugins, skills, methods plans, security, and generated exports.

In plain words
What is it for?
Use it to run security scans, check cache and plugin exports, validate methods plans, enforce line limits, and test skill reachability.
Why use it?
It catches missing files, unsafe content, invalid project structure, and unreachable agent skills before you rely on them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to run security scans, check cache and plugin exports, validate methods plans, enforce line limits, and test skill reachability.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/docxology/template/gates
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 gates
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-gates

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/docxology/template/gates"><img src="https://agentmods.dev/badge/skills/docxology/template/gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 190 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.00051 $0.00190
Opus 5 $0.00026 $0.00095
Sonnet 5 $0.00010 $0.00038
Haiku 4.5 $0.00005 $0.00019

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 14 executable files (__init__.py, check_private_project_promotion.py, exemplar_export_smoke.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/gates/SKILL.md · 28 lines

What it actually says

SKILL: template-gates

Optional validation gate scripts.

Invocation

uv run python scripts/gates/security_scan.py
uv run python scripts/gates/module_line_count_check.py
uv run python scripts/gates/methods_plan_check.py [--project <name>]
uv run python scripts/gates/gate_cache.py
uv run python scripts/gates/plugin_export_check.py
uv run python scripts/gates/skill_reachability_check.py
  • scripts/gates/AGENTS.md — detailed gate documentation
  • infrastructure/validation/ — validation infrastructure
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 · 28 lines · 51 tokens per session scan A 01b393de114a

Subscribe to this mod's changes

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

planning-with-files

Persistent file-based planning for multi-step AI-agent work. Keeps taskplan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent session records and…

mxyhi/ok-skills · 117 tokens

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

aviation-inspector

Use when a task needs the judgment of an Aviation Inspector — determining whether an air carrier's fleet is in compliance with an Airworthiness Directive across a maintenance-records sample, deciding where the FAA's compliance-and-enforcement ladder places a finding (compliance action vs. Letter of Correction vs.…

wonsukchoi/domain-experts · 113 tokens

actor

Use when a task needs the judgment of a professional Actor — breaking down sides for a self-tape audition, preparing a character choice for rehearsal, deciding between two conflicting bookings, reading a contract offer for scale vs. scale-plus terms, or diagnosing why callbacks aren't converting to bookings.

wonsukchoi/domain-experts · 58 tokens

advertising-promotions-manager

Use when a task needs the judgment of an Advertising and Promotions Manager — building a media plan backward from an objective and budget, briefing or evaluating creative against a brief, negotiating with agencies/media vendors, sanity-checking vendor-reported attribution, or reading a post-campaign debrief to…

wonsukchoi/domain-experts · 69 tokens

agricultural-equipment-operator

Use when a task needs the judgment of an Agricultural Equipment Operator — calibrating planter seed population and singulation, diagnosing combine header or separator loss, sequencing planting or harvest across fields under a weather-constrained window, sizing machinery capacity in acres/hour against a season's…

wonsukchoi/domain-experts · 77 tokens