gates-csk

gates-csk is a command for Claude Code from byerlikaya/claude-starter-kit. It costs 24 tokens per session (253 once invoked), scanned A, original, MIT.

A command that reports which project rules, called gates, were triggered or blocked during work. It distinguishes missing measurements from rules that did not trigger.

In plain words
What is it for?
Use it to review gate activity, identify rules that repeatedly intervene, and decide which unobserved rules need smoke tests.
Why use it?
It prevents misleading conclusions about whether the gates work based only on their presence or absence in a report.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .claude/eval/gate-report.sh $ARGUMENTS.

Good fit Use it to review gate activity, identify rules that repeatedly intervene, and decide which unobserved rules need smoke tests.

Compare 6 commands 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/byerlikaya/claude-starter-kit
agentmods
npx agentmods add commands/byerlikaya/claude-starter-kit/gates-csk

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 gates-csk

README.md
[![agentmods](https://agentmods.dev/badge/commands/byerlikaya/claude-starter-kit/gates-csk/github.svg)](https://agentmods.dev/commands/byerlikaya/claude-starter-kit/gates-csk)
Your own site
<a href="https://agentmods.dev/commands/byerlikaya/claude-starter-kit/gates-csk"><img src="https://agentmods.dev/badge/commands/byerlikaya/claude-starter-kit/gates-csk/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 gates-csk

Your own site · 80×15
<a href="https://agentmods.dev/commands/byerlikaya/claude-starter-kit/gates-csk"><img src="https://agentmods.dev/badge/commands/byerlikaya/claude-starter-kit/gates-csk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 253 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.00024 $0.00253
Opus 5 $0.00012 $0.00127
Sonnet 5 $0.00005 $0.00051
Haiku 4.5 $0.00002 $0.00025

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

Security

Grade A, and why

gates-csk 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 10d 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.

claude-starter/commands/gates-csk.md · 23 lines

What it actually says

Run the report and read it back to the user:

bash .claude/eval/gate-report.sh $ARGUMENTS

Then interpret it in two sentences, in the user's language:

  • Exit 3 (no log). Say plainly that gate activity is not measured — not that the gates never fired. Offer the one-line opt-in the report prints. Do not present the rule count as if it were evidence of anything.
  • Exit 0. Lead with the verdict split (how often the gates asked vs blocked). Then the notable rules: a rule firing repeatedly is worth a conversation ("something keeps reaching for this"), and the not-observed list is a prompt to check whether a rule can still match, not a delete list. smoke-test is what proves a rule can fire; this only shows what tripped it.

Never infer that a gate works because it appears in the report, or that it is broken because it does not.

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. 10d ago First seen · 23 lines · 24 tokens per session scan A eceab620eb4b

Subscribe to this mod's changes

gates-csk is a command published in the GitHub repository byerlikaya/claude-starter-kit (22 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 253 once invoked, about $0.0001 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-08-30.