sparc

sparc is a command for Claude Code from sethdford/flowx. It costs 12 tokens per session (2,274 once invoked), scanned A, original, MIT.

A command set for running SPARC development workflows, including architecture, coding, test-driven development, debugging, security review, documentation, and integration.

In plain words
What is it for?
Use it to design systems, implement modules, write tests first, investigate issues, review security, generate documentation, or coordinate several SPARC modes.
Why use it?
It organizes development phases and supports running related work concurrently or in a pipeline.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to design systems, implement modules, write tests first, investigate issues, review security, generate documentation, or coordinate several SPARC modes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sethdford/flowx/sparc
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/sethdford/flowx

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 sparc

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/sethdford/flowx/sparc"><img src="https://agentmods.dev/badge/commands/sethdford/flowx/sparc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,274 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.00012 $0.02274
Opus 5.5 $0.00005 $0.00910
Sonnet 5.5 $0.00002 $0.00455
Haiku 4.5 $0.00001 $0.00227

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

Security

Grade A, and why

sparc 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 2mo 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/templates/claude-optimized/.claude/commands/sparc.md · 274 lines

How it starts

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

SPARC Development Methodology (Batchtools Optimized)

SPARC with batchtools enables parallel execution of development phases, concurrent multi-mode operations, and efficient batch processing across the entire development lifecycle.

Enhanced SPARC Modes with Batch Capabilities

Core Development Modes (Parallelized)

  • /sparc-architect - 🏗️ Parallel architecture design across components
  • /sparc-code - 🧠 Concurrent auto-coding for multiple modules
  • /sparc-tdd - 🧪 Parallel test suite development
  • /sparc-debug - 🪲 Concurrent debugging across systems
  • /sparc-security-review - 🛡️ Parallel security analysis
  • /sparc-docs-writer - 📚 Batch documentation generation
  • /sparc-integration - 🔗 Parallel system integration
  • /sparc-refinement-optimization-mode - 🧹 Concurrent optimization

Batch Mode Operations

  • /sparc-batch - 🚀 Execute multiple modes in parallel
  • /sparc-pipeline - 📊 Pipeline mode execution
  • /sparc-distributed - 🌐 Distributed SPARC processing
  • /sparc-concurrent - ⚡ Concurrent phase execution

Batch Quick Start

Parallel Mode Execution:

# Execute multiple modes concurrently
npx flowx sparc batch-run --modes '{
  "architect": "Design user service",
  "code": "Implement auth module",
  "tdd": "Create test suite",
  "docs": "Generate API documentation"
}' --parallel

# Pipeline execution with dependencies
npx flowx sparc pipeline --stages '[
  { "mode": "spec-pseudocode", "tasks": ["auth", "user", "api"] },
  { "mode": "architect", "depends": ["spec-pseudocode"] },
  { "mode": "tdd", "parallel": true },
  { "mode": "code", "depends": ["tdd"] }
]'

Batch TDD Workflow:

# Parallel TDD for multiple features
npx flowx sparc batch-tdd --features '{
  "authentication": { "priority": "high", "coverage": "95%" },
  "user-management": { "priority": "medium", "coverage": "90%" },
  "api-gateway": { "priority": "high", "coverage": "95%" }
}' --parallel --monitor

Concurrent Analysis:

# Analyze multiple components in parallel
npx flowx sparc batch-analyze --components '{
  "frontend": ["architecture", "performance", "security"],
  "backend": ["architecture", "performance", "security", "scalability"],
  "database": ["schema", "performance", "security"]
}' --concurrent --report

Read the full file on GitHub · 274 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. 2mo ago First seen · 274 lines · 12 tokens per session scan A 7ba2db9eb8e5

Subscribe to this mod's changes

sparc is a command published in the GitHub repository sethdford/flowx (2 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 2,274 once invoked, about $0.0000 per session on Opus 5.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.

Related

sparc compared with commands from other repositories

sparc next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sparcsethdford/flowxCommand23mo agoMITA12Claude Code
bugfixnWave-ai/nWaveCommand6322d agoMITA18Claude Code
task-verifythixpin/pitwayCommand2017d agoMITA0Claude Code
usage-addthixpin/pitwayCommand2017d agoMITA0Claude Code
milestone-listthixpin/pitwayCommand2017d agoMITA0Claude Code
speckit.tdd.planarrrrny/zuraffaCommand5yesterdayMITA37Claude Code
tddcfrs2005/claude-initCommand1.4k8mo agoMITA37Claude Code