claude-code-workflow
π‘ Summary
Claude Code Workflow is a multi-agent AI development framework that orchestrates various CLI tools for efficient coding workflows.
π― Target Audience
π€ AI Roast: βIt's like a Swiss Army knife, but for codingβjust don't expect it to fix your coffee machine.β
The README suggests potential risks such as network access for CLI tools and dependency supply chain vulnerabilities. To mitigate, ensure all dependencies are from trusted sources and regularly update them.
β¨ Key Features
π― 4-Level Workflows
From lite-lite-lite (instant) to brainstorm (multi-role analysis)
π Multi-CLI Orchestration
Gemini, Qwen, Codex, Claude - auto-select or manual
β‘ Dependency-Aware Parallelism
Agent parallel execution without worktree complexity
π§ Issue Workflow
Post-development maintenance with optional worktree isolation
π¦ JSON-First State
.task/IMPL-*.json as single source of truth
π₯οΈ Dashboard
Visual session management, CodexLens search, graph explorer
π New? See Workflow Guide for the complete 4-level workflow system.
π Quick Start
Install CCW
npm install -g claude-code-workflow ccw install -m Global
Choose Your Workflow Level
Workflow Examples
# Level 1: Instant execution /workflow:lite-lite-lite "Fix typo in README" # Level 2: Lightweight planning /workflow:lite-plan "Add JWT authentication" /workflow:lite-fix "User upload fails with 413 error" # Level 3: Standard planning with session /workflow:plan "Implement payment gateway integration" /workflow:execute # Level 4: Multi-role brainstorming /workflow:brainstorm:auto-parallel "Design real-time collaboration system" --count 5 /workflow:plan --session WFS-xxx /workflow:execute
π οΈ CLI Tool Installation
π Semantic CLI Invocation
Users can semantically specify CLI tools in prompts - the system automatically invokes the corresponding CLI.
Basic Invocation
| User Prompt | System Action |
|-------------|---------------|
| "Use Gemini to analyze the auth module" | Auto-invoke gemini CLI for analysis |
| "Let Codex review this code" | Auto-invoke codex CLI for review |
| "Ask Qwen about performance optimization" | Auto-invoke qwen CLI for consultation |
Multi-CLI Orchestration
| Pattern | User Prompt Example | |---------|---------------------| | Collaborative | "Use Gemini and Codex to collaboratively analyze security vulnerabilities" | | Parallel | "Have Gemini, Codex, and Qwen analyze the architecture in parallel" | | Iterative | "Use Gemini to diagnose, then Codex to fix, iterate until resolved" | | Pipeline | "Gemini designs the solution, Codex implements, Claude reviews" |
# Single CLI invocation User: "Use Gemini to analyze the database query performance" β System auto-calls: gemini CLI with analysis task # Collaborative analysis User: "Use Gemini and Codex to collaboratively review the authentication flow" β System auto-calls: gemini + codex CLIs, synthesizes results # Parallel multi-perspective User: "Have all available CLIs analyze this architecture design in parallel" β System auto-calls: gemini, codex, qwen in parallel β merged report # Sequential pipeline User: "Use Gemini to plan the refactoring, then Codex to implement it" β System auto-calls: gemini (plan) β codex (implement) sequentially
Custom CLI Registration
Register any API as a custom CLI via Dashboard interface:
ccw view # Open Dashboard β Status β API Settings β Add Custom CLI
| Field | Example |
|-------|---------|
| Name | deepseek |
| Endpoint | https://api.deepseek.com/v1/chat |
| API Key | your-api-key |
βοΈ Register once, invoke semantically forever - no code changes needed.
π ACE Tool Configuration
ACE (Augment Context Engine) provides powerful semantic code search.
| Method | Link | |--------|------| | Official | Augment MCP Documentation | | Proxy | ace-tool (GitHub) |
π CodexLens Local Search
β οΈ In Development: CodexLens is under iterative optimization. Some features may be unstable.
# Enter codex-lens directory cd codex-lens # Install dependencies pip install -e . # Initialize index codexlens index /path/to/project
Open Dashboard via ccw view, manage indexes and execute searches in CodexLens Manager.
π» CCW CLI Commands
π Recommended Commands (Main Features)
Quick Examples:
# /ccw - Auto workflow selection (Main Process) /ccw "Add user authentication" # Auto-selects workflow based on intent /ccw "Fix memory leak in WebSocket" # Detects bugfix workflow /ccw "Implement with TDD" # Routes to TDD workflow # /ccw-coordinator - Manual chain orchestration (External CLI) /ccw-coordinator "Implement OAuth2 system" # Analyzes β Recommends chain β User confirms β Executes
Key Differences:
| Aspect | /ccw | /ccw-coordinator | |--------|------|------------------| | Execution | Main proc
Pros
- Supports multiple CLI tools for diverse tasks
- Facilitates complex workflows with ease
- JSON-driven state management enhances clarity
Cons
- Steep learning curve for new users
- Dependency on external CLI tools may complicate setup
- Some features are still in development
Related Skills
pytorch
SβIt's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.β
agno
SβIt promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.β
nuxt-skills
SβIt's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.β
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author catlog22.
