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.
npx agentmods add commands/voro6yov/spec-driven-development/indexgit clone --depth 1 https://github.com/voro6yov/spec-driven-developmentWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00036 | $0.01771 |
| Opus 5 | $0.00018 | $0.00886 |
| Sonnet 5 | $0.00007 | $0.00354 |
| Haiku 4.5 | $0.00004 | $0.00177 |
Grade A, and why
commands 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commands
Purpose: Handle write operations (create, update, delete) for domain aggregates with transaction management and event publishing
Purpose
- Handle write operations (create, update, delete) for domain aggregates.
- Coordinate transactions, domain event publishing, and command dispatching.
- Encapsulate business workflows that span multiple aggregates or external systems.
Structure
- Accept
AbstractUnitOfWork,DomainEventPublisher,CommandProduceras core dependencies. - Accept Protocol-based interfaces (e.g.,
ICanUpdateLineItems) for external system interactions. - Use
@retry_on_transaction_error()decorator on all methods that modify state. - Maintain a logger instance for operation tracking.
Note on External Dependencies: The template includes imports for pubsub infrastructure (CommandProducer, DomainEventPublisher). You can customize the module path via the pubsub_module template variable, or it defaults to deps_pubsub. If your project uses different event/command infrastructure, provide the appropriate module path.
Behavior checklist
- Wrap aggregate operations in
with self._uow:context manager. - Load aggregates from repository or create new instances using domain factories.
- Invoke domain methods on aggregates to perform state changes.
- Save aggregates via
self._uow.{aggregate_plural}.save(aggregate). - Commit transaction with
self._uow.commit(). - Publish domain events via
_publish_events()helper after commit. - Send commands via
_send_commands()helper if aggregate emits commands. - Log successful operations with appropriate detail level.
- Raise domain exceptions (e.g.,
AggregateNotFound) when aggregates are missing.
Testing guidance
- Write integration tests that verify transaction boundaries, event publishing, and command dispatching.
- Use fakes for Protocol interfaces to isolate external system interactions.
- Verify aggregate state changes and emitted events match expected outcomes.
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.
- 2d ago First seen · 171 lines · 36 tokens per session scan A d58a5a02d58a
commands is a command published in the GitHub repository voro6yov/spec-driven-development (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 1,771 once invoked, about $0.0002 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.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.