Skip to content

feat(skills): add ruflo-init β€” project setup skill for new Claude Code projects#1472

Open
divixgame-ui wants to merge 1 commit intoruvnet:mainfrom
divixgame-ui:feat/ruflo-init-skill
Open

feat(skills): add ruflo-init β€” project setup skill for new Claude Code projects#1472
divixgame-ui wants to merge 1 commit intoruvnet:mainfrom
divixgame-ui:feat/ruflo-init-skill

Conversation

@divixgame-ui
Copy link
Copy Markdown

What this adds

A new skill .claude/skills/ruflo-init/skill.md that guides Claude through the complete, correct ruflo initialization flow for any new Claude Code project.

Why it's needed

Current docs describe individual commands, but there's no single source of truth for the full setup sequence that actually works. After debugging a fresh setup, I found several non-obvious gotchas that aren't documented together.

What the skill covers

  1. DETECT β€” idempotent check (skip if already initialized)
  2. INIT β€” ruflo init --minimal
  3. API KEY β€” ~/.zshenv vs ~/.zshrc gotcha (ruflo runs as non-interactive subprocess β€” .zshrc is never sourced)
  4. MCP β€” correct .mcp.json block with RUFLO_MODE: v3, RUFLO_TOPOLOGY: hierarchical-mesh
  5. PERMS β€” mcp__ruflo__* wildcard in settings.local.json
  6. MEMORY β€” hybrid backend + correct config.yaml topology/maxAgents
  7. DAEMON β€” start + known v3.5.48 bug note (see ruflo v3.5.48 β€” daemon crashes: agentdb/dist/controllers/index.js not foundΒ #1471)
  8. VERIFY β€” ruflo doctor with pass/warn/fail guidance
  9. HANDOFF β€” documents state in session-handoff.md

Related

Daemon bug reported in: #1471

Testing

Validated against two fresh project setups on macOS 25.4.0, ruflo v3.5.42 and v3.5.48.

Adds a project initialization skill that documents the proper
ruflo setup flow for new Claude Code projects.

Covers:
- Idempotent init (safe to run multiple times)
- ANTHROPIC_API_KEY in ~/.zshenv vs ~/.zshrc (subprocess gotcha)
- .mcp.json + settings.local.json permissions setup
- memory backend: hybrid + topology: hierarchical-mesh config
- Known daemon bug in v3.5.48 (agentdb/dist/controllers)
- Final ruflo doctor verification with pass/fail guidance

Based on real setup debugging β€” fills a gap in current docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant