spec-execute

spec-execute is a command for coding agents from stanleykao72/claude-code-spec-workflow-odoo. It costs 0 tokens per session (963 once invoked), scanned A, original, MIT.

A command for implementing one task from an approved feature task list, after loading the project's guidance, requirements, and design.

In plain words
What is it for?
Use it to execute a numbered task for a feature, with validation and the relevant project context.
Why use it?
It keeps implementation focused on the selected task and preserves the link between the code change and the approved specification.

Command

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/stanleykao72/claude-code-spec-workflow-odoo/spec-execute
Clone the repo
git clone --depth 1 https://github.com/stanleykao72/claude-code-spec-workflow-odoo

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 spec-execute

README.md
[![agentmods](https://agentmods.dev/badge/commands/stanleykao72/claude-code-spec-workflow-odoo/spec-execute.svg)](https://agentmods.dev/commands/stanleykao72/claude-code-spec-workflow-odoo/spec-execute)
Your own site
<a href="https://agentmods.dev/commands/stanleykao72/claude-code-spec-workflow-odoo/spec-execute"><img src="https://agentmods.dev/badge/commands/stanleykao72/claude-code-spec-workflow-odoo/spec-execute.svg" alt="Measured on agentmods" 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 963 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 $0.00000 $0.00963
Opus 5 $0.00000 $0.00481
Sonnet 5 $0.00000 $0.00193
Haiku 4.5 $0.00000 $0.00096

Measured 4d ago against content hash 9ae65cc521fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spec-execute 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 4d 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.

src/markdown/commands/spec-execute.md · 134 lines

How it starts

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

Spec Execute Command

Execute specific tasks from the approved task list.

Usage

/spec-execute [task-id] [feature-name]

Phase Overview

Your Role: Execute tasks systematically with validation

This is Phase 4 of the spec workflow. Your goal is to implement individual tasks from the approved task list, one at a time.

Instructions

Execution Steps:

Step 1: Load Context

# Load steering documents (if available)
claude-code-spec-workflow get-steering-context

# Load specification context
claude-code-spec-workflow get-spec-context {feature-name}

# Load specific task details
claude-code-spec-workflow get-tasks {feature-name} {task-id} --mode single

Step 2: Execute with Agent Use the spec-task-executor agent:

Use the spec-task-executor agent to implement task {task-id} for the {feature-name} specification.

## Steering Context
[PASTE THE COMPLETE OUTPUT FROM get-steering-context COMMAND HERE]

## Specification Context
[PASTE THE REQUIREMENTS AND DESIGN SECTIONS FROM get-spec-context COMMAND HERE]

## Task Details
[PASTE THE OUTPUT FROM get-tasks SINGLE COMMAND HERE]

## Instructions
- Implement ONLY the specified task: {task-id}
- Follow all project conventions and leverage existing code
- Mark the task as complete using: claude-code-spec-workflow get-tasks {feature-name} {task-id} --mode complete
- Provide a completion summary
  1. Task Execution

    • Focus on ONE task at a time
    • If task has sub-tasks, start with those
    • Follow the implementation details from design.md
    • Verify against requirements specified in the task
  2. Implementation Guidelines

    • Write clean, maintainable code
    • Follow steering documents: Adhere to patterns in tech.md and conventions in structure.md
    • Follow existing code patterns and conventions
    • Include appropriate error handling
    • Add unit tests where specified
    • Document complex logic
  3. Validation

    • Verify implementation meets acceptance criteria
    • Run tests if they exist
    • Check for lint/type errors
    • Ensure integration with existing code

Read the full file on GitHub · 134 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. 4d ago First seen · 134 lines · 0 tokens per session scan A 9ae65cc521fe

Subscribe to this mod's changes

spec-execute is a command published in the GitHub repository stanleykao72/claude-code-spec-workflow-odoo (44 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 963 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-30.