kendex: Skill for Claude Code

.agents/skills/commit-guards/SKILL.md

commit-guards is a skill for Claude Code from vanillagreencom/kendex. It costs 30 tokens per session (2,675 once invoked), scanned C, original, MIT.

Load to add, tune, or debug a commit guard lane, its git hooks, or COMMITGUARDS settings.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is vanillagreencom/kendex's own configuration. It tells Claude Code how to work on kendex itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kendex configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vanillagreencom/kendex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vanillagreencom/kendex/main/.agents/skills/commit-guards/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vanillagreencom/kendex

Made for: Claude Code.

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 commit-guards

README.md
[![agentmods](https://agentmods.dev/badge/skills/vanillagreencom/kendex/commit-guards.svg)](https://agentmods.dev/skills/vanillagreencom/kendex/commit-guards)
Your own site
<a href="https://agentmods.dev/skills/vanillagreencom/kendex/commit-guards"><img src="https://agentmods.dev/badge/skills/vanillagreencom/kendex/commit-guards.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,675 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00030 $0.02675
Opus 5 $0.00015 $0.01337
Sonnet 5 $0.00006 $0.00535
Haiku 4.5 $0.00003 $0.00267

Measured today against content hash b77a710937ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

commit-guards scanned grade C with 1 finding 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 today.

The scan reads SKILL.md. This mod also ships 38 executable files (scripts/lib/atomic-install.sh, scripts/lib/changelog-collate.sh, scripts/lib/changelog-grammar.sh, …), 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- kendex:project-instructions:start -->
.agents/skills/commit-guards/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project Instructions

Problems with a kendex-owned skill go through kendex report; check ownership in the file first.

Commit Guards

.agents/skills/commit-guards/scripts/commit-guards                   # batch: every enabled check over the whole tree
.agents/skills/commit-guards/scripts/commit-guards all --staged      # the same batch at commit scope
.agents/skills/commit-guards/scripts/commit-guards all --base origin/main # the same batch over a branch's changes (CI)
.agents/skills/commit-guards/scripts/commit-guards todo-ban     # one check by name, flags pass through
.agents/skills/commit-guards/scripts/md-reflow PATH...          # rewrite markdown to the format md-format judges
.agents/skills/commit-guards/scripts/install-git-hooks          # arm the git pre-commit/commit-msg shims
.agents/skills/commit-guards/scripts/install-git-hooks --check  # read-only: are the shims still armed?

The checks

Check Verdict
todo-ban Any work marker (TODO, FIXME, HACK, XXX in comment-marker shapes) in a tracked, non-excluded file fails. No baseline.
byte-ceiling A new tracked file over the configured ceiling fails; an existing oversized file may hold or shrink but may not grow; lockfiles are exempt.
suppression-ban Blanket lint suppressions fail; reasonless Rust dead or unused allows may only tighten against the baseline.
conflict-markers An unresolved merge-conflict marker in a tracked, non-excluded file fails.
changelog-entries Each COMMIT_GUARDS_CHANGELOG_PATHS fragment is one Markdown list item in a Keep a Changelog section and at most COMMIT_GUARDS_CHANGELOG_CAP characters.
prose A history reference in Markdown named by COMMIT_GUARDS_PROSE_PATHS fails; COMMIT_GUARDS_CHECKS controls whether the lane runs.
md-format A hard-wrapped paragraph or list item, a missing blank line around a heading, fence or list, or a trailing-double-space break in Markdown named by COMMIT_GUARDS_MD_PATHS fails; md-reflow is the remedy.
md-refs A relative link, a link followed by § and a heading prefix, a <path>.md § Heading or <path>.md#anchor code-span citation, or a decision ID in Markdown named by COMMIT_GUARDS_MD_REFS_PATHS that lands on no tracked file, heading or decision fails.
comments A history reference in the comment text of a source file named by COMMIT_GUARDS_COMMENT_PATHS fails: an issue id (GH_ISSUE_PATTERN), #NNN, or a date. Optional audit; see CHECKS.md § comments.
commit-msg The header must be type(scope)!: subject within COMMIT_GUARDS_SUBJECT_MAX; a commit touching COMMIT_GUARDS_CHANGELOG_REQUIRED_PATHS also owes a changelog entry or [no-changelog].

Read the full file on GitHub · 113 lines

Files

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.

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. today First seen · 113 lines · 30 tokens per session scan C b77a710937ca

Subscribe to this mod's changes

commit-guards is a skill published in the GitHub repository vanillagreencom/kendex (74 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 2,675 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

w-winter/dot314 · 60 tokens

release-notes

Generate and publish concise, evidence-based notes in the body of the latest existing GitHub Release. Use only when the user explicitly invokes $release-notes or explicitly asks to update the latest existing GitHub Release body. Do not invoke for general release planning, changelog, tag, or version tasks.

kenryu42/cc-safety-net · 65 tokens

debugging-executions

Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error.

n8n-io/n8n · 48 tokens

workflow

A workflow skill for embedded-device projects that plans and runs building, flashing, debugging, observing, and diagnosis tasks.

zhinkgit/embeddedskills · 88 tokens

fix-merge-conflicts

Resolve Git merge, rebase, or cherry-pick conflicts by preserving intent from both sides. Use when unmerged paths or conflict markers are present, especially when you must inspect the PR title and description tied to conflicting commits before choosing a resolution.

saffron-health/libretto · 55 tokens

prose-review

Review prose written for others (e.g., user-facing documentation, prompts for other LLMs, reports, plans, inline comments, docstrings) for local jargon leakage, orphaned references, missing grounding, and audience or genre mismatch. Always run on prose you produce or materially edit, except for routine conversational…

w-winter/dot314 · 84 tokens