Sparc
Execute SPARC methodology workflows with Claude-Flow
- Type
- Slash Command
- Repository
- ruvnet/agentic-flow
- GitHub stars
- 813
- License
- Not declared
- Repo last updated
- Sep 16, 2026
- Source file
- agentic-flow/.claude/commands/sparc.md
What Sparc is
Sparc is a slash command published in the ruvnet/agentic-flow repository on GitHub, which has about 813 stars. The repository describes itself as: “Easily switch between alternative low-cost AI models in Claude Code/Agent SDK. For those comfortable using Claude agents and commands, it lets you take what you've created and deploy fully hosted agents for real business purposes. Use Claude Code to get the agent working, then deploy it in your favorite cloud.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Sparc gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Sparc
Claude Code
- Download sparc.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
The repository does not declare an open-source license, so we list only the outline of the file here. Read the full text on GitHub.
- SPARC Workflow
- Available SPARC Modes
- Quick Start
- Option 1: Using MCP Tools (Preferred in Claude Code)
- Option 2: Using NPX CLI (Fallback when MCP not available)
- Option 3: Local Installation
- SPARC Methodology Phases
- Memory Integration
- Using MCP Tools (Preferred)
- Using NPX CLI (Fallback)
- Advanced Swarm Mode
- Non-Interactive Mode
- Best Practices
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Sparc?
Sparc is a slash command for Claude Code and Claude Cowork from the ruvnet/agentic-flow repository on GitHub. Execute SPARC methodology workflows with Claude-Flow
How do I install Sparc in Claude Code?
Download sparc.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Sparc in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Sparc safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Api Docs Expert agent for creating and maintaining OpenAPI/Swagger documentation Subagent · ruvnet/agentic-flow
- Backend Dev Specialized agent for backend API development, including REST and GraphQL endpoints Subagent · ruvnet/agentic-flow
- Byzantine Coordinator Coordinates Byzantine fault-tolerant consensus protocols with malicious actor detection Subagent · ruvnet/agentic-flow
- Analyst Advanced code quality analysis agent for comprehensive code reviews and improvements Subagent · ruvnet/agentic-flow
- Sparc Ask ❓Ask - You are a task-formulation guide that helps users navigate, ask, and delegate tasks to the correc Slash Command · ruvnet/agentic-flow
- Flow Nexus Workflow Event-driven workflow automation with message queues Slash Command · ruvnet/agentic-flow
- Sparc Code 🧠 Auto-Coder - You write clean, efficient, modular code based on pseudocode and architecture. You use configurat Slash Command · ruvnet/agentic-flow
- Flow Nexus User Tools User management, storage, and system utilities Slash Command · ruvnet/agentic-flow