Best Practices
Tips and workflows for getting the most out of HelixMind's spiral memory and AI agent.
Best Practices
Getting Started Right
- Initialize every project:
helixmind initfor project-local memory - Write good context:
.helixmind/context.mdwith tech stack, architecture, conventions - Feed key files early:
helixmind feed README.md --deep src/core/
Daily Workflow
| When | What |
|---|---|
| Start of day | hx: the AI knows your project from yesterday |
| During development | Let AI explain code, write tests first, check /spiral |
| End of day | Run /security in the background |
Spiral Memory Tips
- Let it learn naturally: Don't front-load everything at once
- Use semantic search:
helixmind spiral search "how we handle auth" - Check periodically:
/spiralshows what the AI knows
Agent Interaction
- Be specific: Instead of "Fix the bug" say "Fix the auth middleware. JWT tokens expire too early"
- Let it explore first: "Read the auth module and explain the token refresh"
- Skip-permissions for flow:
/skip-permissionswhen actively watching - Review before committing:
/diff, Validation Matrix, run tests
Choosing the Right Model
| Task | Recommended |
|---|---|
| Quick fixes | Haiku / GPT-4o-mini |
| General coding | Sonnet / GPT-4o |
| Complex architecture | Opus |
| Offline / privacy | Ollama (qwen2.5-coder:32b) |
Switch models with /model.
Team Workflows
- Shared context: Commit
.helixmind/context.mdfor same project instructions - Knowledge transfer: Senior exports, new member imports
- Code review with AI:
hx -m "Review the changes in the last 3 commits"
Security
- Run
/securityregularly (at least weekly) - Never commit API keys. use environment variables
- Start with safe permissions, only escalate when needed
- Review YOLO mode output carefully
- Use checkpoint system. revert unwanted changes immediately