sparc

sparc is a command for Claude Code from frankxai/agentic-creator-os. It costs 12 tokens per session (1,280 once invoked), scanned A, original, Apache-2.0.

A command that organizes software work into five stages: specification, pseudocode, architecture, refinement, and completion. TDD means writing tests to guide development.

In plain words
What is it for?
Use it to plan architecture, write code, create tests, debug problems, review security, document systems, integrate services, and handle DevOps work.
Why use it?
It gives large projects a structured path from unclear requirements to tested, documented, and monitored software.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Part of the agentic-creator-os plugin — 133 commands, 68 agents shipped together

Good fit Use it to plan architecture, write code, create tests, debug problems, review security, document systems, integrate services, and handle DevOps work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/frankxai/agentic-creator-os/claude-flow-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/frankxai/agentic-creator-os

Made for: Claude Code.

Or install agentic-creator-os, the plugin that ships this one along with the rest of its 133 commands, 68 agents.

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/frankxai/agentic-creator-os/claude-flow-sparc/github.svg)](https://agentmods.dev/commands/frankxai/agentic-creator-os/claude-flow-sparc)
Your own site
<a href="https://agentmods.dev/commands/frankxai/agentic-creator-os/claude-flow-sparc"><img src="https://agentmods.dev/badge/commands/frankxai/agentic-creator-os/claude-flow-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/frankxai/agentic-creator-os/claude-flow-sparc"><img src="https://agentmods.dev/badge/commands/frankxai/agentic-creator-os/claude-flow-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 1,280 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.01280
Opus 5 $0.00006 $0.00640
Sonnet 5 $0.00002 $0.00256
Haiku 4.5 $0.00001 $0.00128

Measured 7d ago against content hash 841cd98e789e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 7d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • sparc — 100% identical, 340 lines differ
  • sparc — 100% identical, 0 lines differ
.claude/commands/claude-flow-sparc.md · 175 lines

How it starts

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

⚡️ SPARC Development Methodology

You are SPARC, the orchestrator of complex workflows. You break down large objectives into delegated subtasks aligned to the SPARC methodology. You ensure secure, modular, testable, and maintainable delivery using the appropriate specialist modes.

SPARC Workflow

Follow SPARC:

  1. Specification: Clarify objectives and scope. Never allow hard-coded env vars.
  2. Pseudocode: Request high-level logic with TDD anchors.
  3. Architecture: Ensure extensible system diagrams and service boundaries.
  4. Refinement: Use TDD, debugging, security, and optimization flows.
  5. Completion: Integrate, document, and monitor for continuous improvement.

Use new_task to assign:

  • spec-pseudocode

Available SPARC Modes

  • /sparc-architect - 🏗️ Architect
  • /sparc-code - 🧠 Auto-Coder
  • /sparc-tdd - 🧪 Tester (TDD)
  • /sparc-debug - 🪲 Debugger
  • /sparc-security-review - 🛡️ Security Reviewer
  • /sparc-docs-writer - 📚 Documentation Writer
  • /sparc-integration - 🔗 System Integrator
  • /sparc-post-deployment-monitoring-mode - 📈 Deployment Monitor
  • /sparc-refinement-optimization-mode - 🧹 Optimizer
  • /sparc-ask - ❓Ask
  • /sparc-devops - 🚀 DevOps
  • /sparc-tutorial - 📘 SPARC Tutorial
  • /sparc-supabase-admin - 🔐 Supabase Admin
  • /sparc-spec-pseudocode - 📋 Specification Writer
  • /sparc-mcp - ♾️ MCP Integration
  • /sparc-sparc - ⚡️ SPARC Orchestrator

Quick Start

Option 1: Using MCP Tools (Preferred in Claude Code)

// Run SPARC orchestrator (default)
mcp__claude-flow__sparc_mode {
  mode: "sparc",
  task_description: "build complete authentication system"
}

// Run a specific mode
mcp__claude-flow__sparc_mode {
  mode: "architect",
  task_description: "design API structure"
}

// TDD workflow
mcp__claude-flow__sparc_mode {
  mode: "tdd",
  task_description: "implement user authentication",
  options: {workflow: "full"}
}

Option 2: Using NPX CLI (Fallback when MCP not available)

# Run SPARC orchestrator (default)
npx claude-flow sparc "build complete authentication system"

# Run a specific mode
npx claude-flow sparc run architect "design API structure"
npx claude-flow sparc run tdd "implement user service"

# Execute full TDD workflow
npx claude-flow sparc tdd "implement user authentication"

# List all modes with details
npx claude-flow sparc modes --verbose

# For alpha features
npx claude-flow@alpha sparc run <mode> "your task"

Read the full file on GitHub · 175 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. 7d ago First seen · 175 lines · 12 tokens per session scan A 841cd98e789e

Subscribe to this mod's changes

sparc is a command published in the GitHub repository frankxai/agentic-creator-os (10 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 1,280 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-09-03.