template

template is a command for Claude Code from voro6yov/spec-driven-development. It costs 0 tokens per session (921 once invoked), scanned A, original, Apache-2.0.

A reusable code template for defining a command and its success and failure replies in a specification-driven Python project. A command represents a requested action and its reply carries the result.

In plain words
What is it for?
Use it to define command names, routing channels, identifiers, input fields, result fields, and an error message in a consistent format.
Why use it?
It provides the expected structure and placeholder names when creating a new command file.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the domain-spec plugin — 2 skills, 1 command, 12 agents shipped together

Good fit Use it to define command names, routing channels, identifiers, input fields, result fields, and an error message in a consistent format.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/voro6yov/spec-driven-development/template
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.

Clone the repo
git clone --depth 1 https://github.com/voro6yov/spec-driven-development

Made for: Claude Code.

Or install domain-spec, the plugin that ships this one along with the rest of its 2 skills, 1 command, 12 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/voro6yov/spec-driven-development/template"><img src="https://agentmods.dev/badge/commands/voro6yov/spec-driven-development/template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 921 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.00000 $0.00921
Opus 5.5 $0.00000 $0.00368
Sonnet 5.5 $0.00000 $0.00184
Haiku 4.5 $0.00000 $0.00092

Measured 1mo ago against content hash 48a138e16703, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

template 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 1mo 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.

plugins/domain-spec/skills/patterns/commands/template.md · 115 lines

How it starts

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

Commands Template

from dataclasses import dataclass
from typing import ClassVar

from ..shared import Command, CommandReply

__all__ = ["{{ command_name }}", "{{ success_reply_name }}", "{{ failure_reply_name }}"]

@dataclass
class {{ command_name }}(Command):
    COMMAND_CHANNEL: ClassVar[str] = "{{ command_channel }}"
    REPLY_CHANNEL: ClassVar[str] = "{{ reply_channel }}"

    {{ correlation_field_1 }}: str
    {{ correlation_field_2 }}: str
    {{ aggregate_id }}: str
    {{ input_field_1 }}: {{ input_type_1 }}

@dataclass
class {{ success_reply_name }}(CommandReply):
    {{ correlation_field_1 }}: str
    {{ correlation_field_2 }}: str
    {{ aggregate_id }}: str
    {{ result_field_1 }}: {{ result_type_1 }}
    {{ result_field_2 }}: {{ result_type_2 }} | None

@dataclass
class {{ failure_reply_name }}(CommandReply):
    {{ correlation_field_1 }}: str
    {{ correlation_field_2 }}: str
    {{ aggregate_id }}: str
    error_message: str

Placeholders — Command

Placeholder Description Example
{{ command_name }} Imperative verb name StartLabelProcessing, ProcessSidewallImage
{{ command_channel }} Channel for command routing LabelProcessing, SidewallProcessing
{{ reply_channel }} Channel for reply routing TireIdentificationReplies, DocumentReplies
{{ correlation_field_1 }} First correlation identifier conveyor_id, session_id
{{ correlation_field_2 }} Second correlation identifier warehouse_id, tenant_id
{{ aggregate_id }} ID of target aggregate tire_id, document_id
{{ input_field_1 }} Input data for processing label_text, image_path
{{ input_type_1 }} Type of input data str, bytes, dict[str, str]

Placeholders — Success Reply

Placeholder Description Example
{{ success_reply_name }} Success reply class name LabelProcessingSuccess, SidewallProcessingSuccess
{{ result_field_1 }} Primary result field extracted_product_name, classification_result
{{ result_type_1 }} Type of primary result ExtractedProductName, ClassificationResult
{{ result_field_2 }} Secondary result field processing_time, confidence_score
{{ result_type_2 }} Type of secondary result float, dict[str, float]

Read the full file on GitHub · 115 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. 1mo ago First seen · 115 lines · 0 tokens per session scan A 48a138e16703

Subscribe to this mod's changes

template is a command published in the GitHub repository voro6yov/spec-driven-development (5 stars, last pushed 13d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 921 tokens. 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.