speckit.tinyspec.classify

speckit.tinyspec.classify is a command for Claude Code from opsmill/infrahub-mcp. It costs 14 tokens per session (916 once invoked), scanned A, original, Apache-2.0.

A command that judges how large or complex a coding task is and recommends either a lightweight TinySpec or a full specification-driven workflow. TinySpec is a short planning document for small changes.

In plain words
What is it for?
Use it before starting a task such as a bug fix, UI change, configuration update, or multi-part feature to choose an appropriate planning process.
Why use it?
It helps avoid spending too much planning effort on a simple fix while still directing larger work through detailed planning.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: installed under .agents/ (shared by several agents).

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/opsmill/infrahub-mcp/speckit.tinyspec.classify
Clone the repo
git clone --depth 1 https://github.com/opsmill/infrahub-mcp

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.tinyspec.classify

README.md
[![agentmods](https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/speckit.tinyspec.classify.svg)](https://agentmods.dev/commands/opsmill/infrahub-mcp/speckit.tinyspec.classify)
Your own site
<a href="https://agentmods.dev/commands/opsmill/infrahub-mcp/speckit.tinyspec.classify"><img src="https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/speckit.tinyspec.classify.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 916 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.00014 $0.00916
Opus 5 $0.00007 $0.00458
Sonnet 5 $0.00003 $0.00183
Haiku 4.5 $0.00001 $0.00092

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

Security

Grade A, and why

speckit.tinyspec.classify 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 6d 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.

.agents/commands/speckit.tinyspec.classify.agent.md · 93 lines

How it starts

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

Classify Task Complexity

Analyze a task description to determine whether it should use the lightweight tinyspec workflow or the full SDD workflow (specify → plan → tasks → implement). Acts as an intelligent router that saves time on small tasks and ensures proper process for complex ones.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty). The user describes what they want to build or fix.

Prerequisites

  1. Verify a spec-kit project exists by checking for .specify/ directory
  2. Verify the user has described the task (if not, ask what they want to build)

Outline

  1. Analyze the task: Evaluate the task description against complexity signals:

    Small task signals (→ tinyspec):

    Signal Example
    Single UI component change "Add a logout button"
    Bug fix with known location "Fix date format in invoices"
    Config or environment change "Add new env variable for API key"
    Simple validation addition "Add email validation to signup"
    Copy/text update "Update error messages"
    Single endpoint addition "Add GET /health endpoint"
    Styling change "Make the sidebar responsive"

    Large task signals (→ full SDD):

    Signal Example
    Multiple modules affected "Add user authentication system"
    New database tables/schema "Add a comments feature with threading"
    Architectural change "Migrate from REST to GraphQL"
    New service or integration "Add Stripe payment processing"
    Cross-cutting concern "Add audit logging to all endpoints"
    Multiple user stories "Build the admin dashboard"
    Unknown scope "Improve performance" (needs investigation first)
  2. Estimate scope: Quick estimation based on available information:

    • Files affected: How many files will likely change
    • Task count: How many distinct implementation steps
    • Risk level: How likely is this to break existing functionality
    • Dependencies: Does this require coordination across modules

Read the full file on GitHub · 93 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. 6d ago First seen · 93 lines · 14 tokens per session scan A 7bbc1accecaf

Subscribe to this mod's changes

speckit.tinyspec.classify is a command published in the GitHub repository opsmill/infrahub-mcp (10 stars, last pushed yesterday), licensed Apache-2.0. It adds 14 tokens to every session and 916 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.