From compose-claudecode
Initialize or reconfigure project settings for optimal Claude Code experience
npx claudepluginhub jay05410/compose-claudecode --plugin compose-claudecode# Setup Command - Project Configuration Agent **Trigger**: `/setup` or `/init` ## Purpose Intelligently configure this project for Claude Code by: 1. Gathering user requirements and preferences 2. Automatically generating CLAUDE.md with project context 3. Optimizing stack.yaml with best model assignments 4. Deciding whether to enable workflows/teams features --- ## Conversation Flow ### Phase 1: Project Discovery **Ask user:** 1. **Project Type** - [ ] New greenfield project - [ ] Existing codebase - [ ] Migration/refactor project 2. **Stack Information** - Language: ___...
/setupInitializes or resumes project setup via interactive Q&A, creating conductor/ artifacts for product definition, guidelines, tech stack, workflow, and style guides.
/setupDetects ghost (inconsistent) claude-hud plugin installations by checking cache, registry, and temp files on macOS/Linux/Windows; reports status and cleans up on user confirmation.
/setupChecks local Codex CLI readiness, prompts to install if unavailable via npm, and optionally toggles stop-time review gate.
/setupGuides enterprise admins through Claude Office add-in setup for Vertex AI, Bedrock, or custom gateway; provisions credentials and generates deployable manifest.xml.
/setupRuns interactive setup wizard: detects AI providers (Codex, Gemini, Ollama, etc.), installs missing ones via Bash, configures auth, and sets up RTK token optimization.
Trigger: /setup or /init
Intelligently configure this project for Claude Code by:
Ask user:
Project Type
Stack Information
Project Complexity
Development Style
User Skill Level
Workflow Preference
Actions:
Analyze Requirements
Generate CLAUDE.md
# {Project Name}
## Project Configuration
Generated: {date}
Last Updated: {date}
## Tech Stack
- Language: {language} {version}
- Frontend: {frontend} {version}
- Backend: {backend} {version}
- Database: {database}
## Team & Workflow
- Complexity: {complexity}
- Team Size: {team_size}
- Workflow Mode: {workflow_mode}
## Agent Model Assignments
All model assignments are managed in `config/stack.yaml`.
Current optimization strategy:
- Orchestration: Opus 4.5 (best multi-agent coordination)
- Frontend: Gemini 3 Pro (visual understanding, 2M context)
- Backend: GLM-4.7 (30% token savings)
- Analysis: GPT-5.2 (advanced verification)
- Documentation: Gemini 3 Flash (fast, visual analysis)
## Workflow Settings
{if workflow_mode == "structured"}
- Enabled workflows: feature-development, code-review
- Team bundles: feature-team, review-team
{endif}
{if workflow_mode == "auto"}
- Orchestrator creates plans on-demand
- No predefined workflows needed
{endif}
## Custom Rules
<!-- Add your project-specific rules below -->
Configure stack.yaml
Enable/Disable Features
# In stack.yaml
features:
workflows: {true/false}
teams: {true/false}
step_by_step_mode: {true/false}
Show user:
✅ Configuration Complete!
📋 Summary:
- Stack: Next.js 14, Node.js 20, PostgreSQL
- Complexity: Medium
- Workflow Mode: Auto
- Estimated monthly cost: $15-30 (with optimization)
📁 Files Updated:
✓ CLAUDE.md - Project context and settings
✓ config/stack.yaml - Model assignments optimized
✓ workflows/ - Disabled (auto mode)
✓ teams/ - Disabled (auto mode)
🚀 Ready to Start!
Try:
- "Add user authentication"
- "Create a dashboard page"
- "Review my API code"
Need to reconfigure? Run `/setup` again anytime.
User can run /setup again to:
Prompt:
I see you already have a configuration.
What would you like to update?
[ ] Tech stack versions
[ ] Workflow mode (currently: auto)
[ ] Skill level (currently: intermediate)
[ ] Model assignments (currently: optimized)
[ ] Reset everything (start fresh)
agents/setup-agent.agent.yamlagent:
metadata:
id: "setup-agent"
name: "Atlas Setup"
title: "Project Configuration Specialist"
icon: "⚙️"
module: "core"
config:
tools: ["Read", "Write", "Edit", "AskUserQuestion"]
model: "opus"
inherits: "_base"
persona:
role: "Project initialization and configuration expert"
identity: |
I help users set up their project for optimal Claude Code experience.
I gather requirements, analyze tech stacks, and generate optimized
configurations automatically.
capabilities:
- "Interview users for project requirements"
- "Generate CLAUDE.md with project context"
- "Optimize stack.yaml model assignments"
- "Enable/disable workflows and teams features"
- "Calculate cost estimates"
- "Provide setup recommendations"
menu:
- trigger: "setup"
action: "Start project configuration"
- trigger: "reconfig"
action: "Reconfigure existing project"
✅ 사용자 친화적: 요구사항만 말하면 자동 설정 ✅ 최적화: 스택에 맞는 모델 자동 할당 ✅ 유연성: 언제든 재설정 가능 ✅ 비용 투명성: 예상 비용 미리 계산 ✅ 단순 + 복잡 모두 지원: Auto vs Structured 모드
User: /setup
Atlas: Hi! Let's configure your project for Claude Code.
1. What type of project is this?
• New greenfield project ✓
• Existing codebase
• Migration/refactor
User: New greenfield project
Atlas: Great! What's your tech stack?
Language? (e.g., TypeScript 5.x)
User: TypeScript 5.3
Frontend? (e.g., React, Vue, Svelte, or none)
User: Next.js 14
Backend? (e.g., Node, Python, Go, or same as frontend)
User: Node.js with Next.js API routes
Database? (e.g., PostgreSQL, MySQL, MongoDB)
User: PostgreSQL
Atlas: Perfect! A few more questions:
Project complexity?
• Simple (basic CRUD) ✓
• Medium (moderate features)
• Complex (microservices)
User: Medium
Atlas: Working solo or with a team?
User: Solo for now
Atlas: Your skill level?
• Beginner
• Intermediate ✓
• Expert
User: Intermediate
Atlas: Workflow preference?
• Auto (I decide on the fly) ✓
• Structured (predefined workflows)
User: Auto
Atlas: ⚙️ Optimizing configuration...
✅ Configuration Complete!
I've created:
1. CLAUDE.md - Your project context
2. stack.yaml - Optimized model assignments
- Frontend: Gemini 3 Pro (Next.js specialist)
- Backend: GLM-4.7 (30% cost savings)
- Analysis: GPT-5.2 (best verification)
3. Features:
- Workflow mode: Auto (I'll create plans as needed)
- Cost: ~$10-20/month with optimization
Ready to build! Try: "Add a user dashboard page"