speckit.coding-standards-drift-control.report

speckit.coding-standards-drift-control.report is a command for Claude Code from benizzio/spec-kit-coding-standards-drift-control. It costs 17 tokens per session (2,172 once invoked), scanned A, original, MIT.

A command that creates or updates a report about differences between an active feature's code and the repository's coding-standards baseline.

In plain words
What is it for?
It helps review selected files or a whole feature, merge new findings into coding-standards-drift-report.md, and track pending or reopened issues.
Why use it?
It makes coding-style and engineering-practice drift visible across repeated reviews while preserving earlier findings and their identifiers.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

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 commands/benizzio/spec-kit-coding-standards-drift-control/speckit.coding-standards-drift-control.report
Clone the repo
git clone --depth 1 https://github.com/benizzio/spec-kit-coding-standards-drift-control

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 speckit.coding-standards-drift-control.report

README.md
[![agentmods](https://agentmods.dev/badge/commands/benizzio/spec-kit-coding-standards-drift-control/speckit.coding-standards-drift-control.report.svg)](https://agentmods.dev/commands/benizzio/spec-kit-coding-standards-drift-control/speckit.coding-standards-drift-control.report)
Your own site
<a href="https://agentmods.dev/commands/benizzio/spec-kit-coding-standards-drift-control/speckit.coding-standards-drift-control.report"><img src="https://agentmods.dev/badge/commands/benizzio/spec-kit-coding-standards-drift-control/speckit.coding-standards-drift-control.report.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,172 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.00017 $0.02172
Opus 5 $0.00009 $0.01086
Sonnet 5 $0.00003 $0.00434
Haiku 4.5 $0.00002 $0.00217

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

Security

Grade A, and why

speckit.coding-standards-drift-control.report 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.

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.

commands/speckit.coding-standards-drift-control.report.md · 156 lines

How it starts

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

Generate Coding Standards Drift Report

Review the active feature implementation for divergences from the repository coding-standards baseline and write a structured drift report.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty). The user may narrow the review scope, request a full rerun, or ask to focus on specific files or existing drift IDs.

Purpose

  • Focus on coding standards and software engineering practices only.
  • Do not review domain correctness, product behavior, contract compliance, or feature completeness unless that context is required to explain a coding-standards drift.
  • This command is rerunnable and incremental. Merge each new review into the existing report instead of replacing it: keep every prior finding section, preserve stable CODE-STAND-DRIFT-### identifiers, append newly discovered findings as Pending, and preserve existing finding statuses unless a resolved finding reappears and must be reopened to Pending. If an existing report still uses legacy DRIFT-### identifiers, rewrite equivalent findings to CODE-STAND-DRIFT-### while preserving the numeric suffix.
  • Do not set any finding to Resolved. Only the final status-update task generated by /speckit.coding-standards-drift-control.remediation-plan may change remediated findings to Resolved.
  • Run only after the active feature's normal Spec Kit implementation tasks are complete.

Prerequisites

  1. Verify a Spec Kit project exists by checking for .specify/.
  2. Run .specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks from repo root and parse the absolute FEATURE_DIR.
  3. Verify spec.md, plan.md, and tasks.md exist in FEATURE_DIR.
  4. Load the current Spec Kit task format references before interpreting task state:
    • .specify/templates/tasks-template.md when present
    • the existing FEATURE_DIR/tasks.md
  5. Using the task state syntax from the current local Spec Kit installation and the existing task file, verify there are no open, unchecked, pending, or reopened tasks in FEATURE_DIR/tasks.md. If any are present, stop without writing the report and instruct the user to finish implementation with /speckit.implement before running drift control.
  6. Discover and load AGENTS.md plus any other known proprietary agent-instruction files present in repository or feature scope, such as CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, .cursorrules, .cursor/rules/**, .windsurfrules, or .clinerules.
  7. Load .specify/memory/constitution.md if it exists.
  8. If the loaded instructions and constitution do not enforce concrete coding standards or software engineering practices, derive the best-guess baseline conservatively from the existing code style, structure, documentation patterns, and architectural boundaries in the active feature scope and directly related code.

Read the full file on GitHub · 156 lines

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 · 156 lines · 17 tokens per session scan A 31e067aa2efa

Subscribe to this mod's changes

speckit.coding-standards-drift-control.report is a command published in the GitHub repository benizzio/spec-kit-coding-standards-drift-control (2 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 2,172 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-31.