Run this prompt in a Claude Code session to have Claude guide you through the full installation and configuration process interactively.
cd /path/to/hivedriver
claude -p < INSTALL-WITH-CLAUDE.mdOr paste the prompt below into an interactive Claude Code session.
You are helping the user install and configure the DCS Hive-Mind system for Claude Code. This is an interactive setup — ask questions, make suggestions, and populate configuration files based on the user's answers. Be conversational and helpful.
- Read the README.md in this directory to understand what is being installed.
- Run
./install.shand guide the user through the prompts:- If multiple Claude Code installations are found, explain the difference and recommend the global one.
- Explain the two install modes:
- Replace is best for fresh setups or if they want DCS as their primary workflow.
- Additive is best if they already have custom agents they want to keep.
- If conflicts are detected in additive mode, reassure the user that their existing agents are preserved and explain the
hive-prefix.
- Confirm the installer completed successfully by checking that
~/.claude/skills/hive-mind/SKILL.mdexists.
Read the installed ~/.claude/hive-mind.env file. For each variable, ask the user and update the file:
-
USER_NAME: "What name should I use when addressing you in design documents?"
- This appears in agent prompts like "Return results to {USER_NAME}".
-
NOTIFY_EMAIL: "Would you like to receive an email when a hive-mind design completes? If so, what email address?"
- If yes, also ask about their notification method:
- Do they have a mail script/CLI tool? (e.g.,
msmtp,sendmail, a custom script) - A webhook? (Slack, Discord, etc.)
- Set
HIVE_MIND_NOTIFY_CMDaccordingly.
- Do they have a mail script/CLI tool? (e.g.,
- If no, leave both blank and explain the design will just be available in OUTPUT_DIR.
- If yes, also ask about their notification method:
-
Deployment targets: "Do you have dev/staging/prod environments where you deploy applications?"
- For each environment they have, ask for
user@host:portformat. - Explain this is used by the test-lead agent for deployment verification health checks.
- It's fine to leave these blank — they can add them later.
- For each environment they have, ask for
-
Project classification: "Do you have any high-security projects that should always get a deep security review?"
- Explain: HIGH_SECURITY projects get mandatory security-analyst review with Gemini cross-validation.
- Ask for comma-separated project names.
- Also ask about compliance frameworks if they handle PII, health data, financial data, etc.
- Suggest appropriate frameworks:
privacy-act-au,gdpr,hipaa,pci-dss,sox.
-
Model preferences:
- "Are you using Claude Max subscription or API billing?"
- If subscription: leave budgets as-is (they're caps, not costs).
- If API: ask if they want to adjust
ARCHITECT_BUDGETandCHALLENGER_BUDGET.
- "Do you have Gemini CLI installed and authenticated?"
- Test with:
gemini -p "Say OK" -o text 2>/dev/null - If it works: leave
GEMINI_ENABLED=true. - If not: set
GEMINI_ENABLED=falseand explain they can enable it later.
- Test with:
- "Are you using Claude Max subscription or API billing?"
After each answer, update the ~/.claude/hive-mind.env file using the Edit tool.
Read ~/.claude/skills/hive-mind/user-config.md. Explain what it's for, then ask the user about their standing preferences:
-
Technology constraints: "Are there any technologies or frameworks you want to avoid or prefer for new projects?"
- Example: "I'm evaluating Svelte over React for the next 3 months"
- Example: "Always use Python 3.12+ for new backend services"
-
Design philosophy: "Any strong opinions on design patterns or architecture?"
- Example: "Prefer composition over inheritance"
- Example: "Microservices for new projects, but no Kubernetes"
-
Code quality standards: "Any specific testing or quality bars?"
- Example: "Minimum 80% test coverage"
- Example: "All public APIs must have OpenAPI specs"
-
Deployment rules: "Any restrictions on when or how things get deployed?"
- Example: "No production deploys on Fridays"
- Example: "All deploys need a rollback plan documented"
-
Other constraints: "Anything else the design and implementation agents should know about?"
- Accessibility requirements, performance budgets, licensing restrictions, etc.
For each policy the user provides, write it to ~/.claude/skills/hive-mind/user-config.md in the structured format:
## [Policy Name]
**Effective:** [date range or "permanent"]
**Rule:** [the constraint]
**Rationale:** [why this matters]
**Escape hatch:** [when it's OK to deviate, if ever]If the user doesn't have policies for a category, skip it — an empty config is fine.
-
Confirm all files are in place:
ls -la ~/.claude/hive-mind.env ls -la ~/.claude/skills/hive-mind/SKILL.md ls -la ~/.claude/skills/hive-mind/pipeline.md ls -la ~/.claude/skills/hive-mind/user-config.md ls -la ~/.claude/agents/architect.md # or hive-architect.md in additive mode
-
Verify settings.json has the agent teams env var:
python3 -c "import json; d=json.load(open('$HOME/.claude/settings.json')); print(d.get('env',{}).get('CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS','NOT SET'))" -
Show the user a summary of what was configured:
- Their name and notification setup
- Number of agents installed (and whether any were namespaced)
- Deployment targets configured
- Security classifications
- User policies defined
-
Explain how to use the system:
/hive-mind [n] [prompt]for multi-perspective design- After design: reference
~/.claude/skills/hive-mind/pipeline.mdfor implementation - Edit configs anytime — they're re-read on each run
-
Suggest a test run: "Want to try a quick test? Run:
/hive-mind Design a simple health check endpoint"
Be conversational and explain things clearly. Don't overwhelm with options — if the user seems unsure, suggest sensible defaults. It's always fine to skip optional configuration and come back later. The goal is a working setup, not a perfect one.