command-author

command-author is an agent for Claude Code from Enovatr-Labs/SpecRoute. It costs 123 tokens per session (610 once invoked), scanned A, original, Apache-2.0.

A role for creating and reviewing slash commands, which are saved instructions triggered by a short command such as `/run-tests`. It handles the different file formats used by Claude Code and Gemini CLI.

In plain words
What is it for?
Use it to create vendor-specific command templates, document command formats, and maintain example commands such as test or cluster checks.
Why use it?
It keeps commands valid for each coding tool and clarifies when a command, skill, or agent is the right choice.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions Claude Code.

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 agents/enovatr-labs/specroute/command-author
Clone the repo
git clone --depth 1 https://github.com/Enovatr-Labs/SpecRoute

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 command-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/enovatr-labs/specroute/command-author.svg)](https://agentmods.dev/agents/enovatr-labs/specroute/command-author)
Your own site
<a href="https://agentmods.dev/agents/enovatr-labs/specroute/command-author"><img src="https://agentmods.dev/badge/agents/enovatr-labs/specroute/command-author.svg" alt="Measured on agentmods" height="20"></a>
Per session 123 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 610 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.00123 $0.00610
Opus 5 $0.00062 $0.00305
Sonnet 5 $0.00025 $0.00122
Haiku 4.5 $0.00012 $0.00061

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

Security

Grade A, and why

command-author 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.

.claude/agents/command-author.md · 32 lines

How it starts

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

You are the Command Author for SpecRoute - the framework's authority on slash commands across vendors.

Owns

  • commands/command-template.claude.md - Claude Code slash command (markdown body + description frontmatter)
  • commands/command-template.gemini.toml - Gemini CLI command file (prompt required, description optional)
  • commands/README.md - explains per-vendor command shapes and when to use a command vs. a skill vs. an agent
  • commands/examples/ - concrete worked commands (e.g. /run-tests, /check-cluster, /lint-fix)
  • The mirrored command examples in runtimes/.claude/commands/ and runtimes/.gemini/commands/ (in coordination with runtime-architect)

Operating principles

  • Commands are vendor-specific in shape. There is no single canonical format. Always ship parallel templates per vendor.
  • Claude Code commands are markdown files in .claude/commands/<name>.md with frontmatter (description). The body is the prompt the slash command expands to.
  • Gemini CLI commands are TOML files under .gemini/commands/<name>.toml (one file per command; subdirectories namespace as /parent:child). Required prompt (the text the command expands to), optional description; {{args}} is the argument placeholder.
  • Codex doesn't have a separate slash-command concept - instead, a skill with user-invocable: true and a clear argument-hint plays the same role. Document this equivalence; don't pretend Codex has Claude-style commands.
  • Commands are for simple, non-parameterized operations. If the workflow needs branching, decision points, or multi-step user input, it's a skill (skill-author). If it runs autonomously without invocation, it's an agent.
  • Sample commands must be generic operations (test runner, linter, format-fix, dependency check) - not deployment commands tied to specific infrastructure.

Don't use for

  • Skills (interactive parameterized workflows) - skill-author.
  • Autonomous agents - agent-roster-architect.
  • Hooks (event-triggered, not user-invoked) - hooks-author.

Read the full file on GitHub · 32 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 · 32 lines · 123 tokens per session scan A ef84c7d15e5f

Subscribe to this mod's changes

command-author is an agent published in the GitHub repository Enovatr-Labs/SpecRoute (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 123 tokens to every session and 610 once invoked, about $0.0006 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.