Skip to content

SPARC with Claude Code

Purpose

Automate code development using agents.

Note: use @alpha to get alpha version of claude-flow

Steps

Connect to github codespace

Install Claude Code:

npm install -g @anthropic-ai/claude-code

Initialize settings

npx -y claude-flow@alpha init --force

List command options

npx claude-flow@alpha --help

Workaround for Issue

claude --dangerously-skip-permissions
# accept the ui warning message
# exit claude
# this command bypasses all permission checks and lets Claude work uninterrupted until completion.

Test it with a sample task

npx claude-flow@alpha hive-mind spawn  "Create a comprehensive 3-year target price analysis starting from June 2025 for Union Pacific (UNP) using DCF, PE ratio, and ROIC valuation methods. Include current financial data (2024/2025 results), peer comparisons with other railroads (CSX, NSC, CNI, CP), growth projections, and calculate total return including dividends. Provide a specific target price with percentage upside and annualized return expectations." --claude

References

Claude-Flow: Agent Orchestration Platform for Claude-Code Article

Claude Flow Github repository

Demo Github repository created from a meetup