Documentation Index
Fetch the complete documentation index at: https://mintlify.com/thiagofinch/mega-brain/llms.txt
Use this file to discover all available pages before exploring further.
Common Issues
Environment Setup
'.env not found' error
'.env not found' error
- Create a
.envfile in your project root - Prompt for required API keys
- Configure optional integrations
- Validate your environment
.env is missing, so you may not need to run this manually.API key not working
API key not working
- Verify your
.envfile exists in the project root - Ensure
OPENAI_API_KEYis set (required for transcription) - Check for extra spaces or quotes around keys
- Restart Claude Code after changing
.env
Python & Hooks
'Hook failed' errors
'Hook failed' errors
-
Check Python version:
-
Verify Python is in PATH:
-
Install PyYAML (only external dependency for hooks):
-
Check hook permissions (Unix/Mac):
Hook runs but doesn't work as expected
Hook runs but doesn't work as expected
-
Check hook configuration in
settings.json: -
Add debug output to your hook:
-
Check hook event timing:
SessionStart- Runs once when Claude startsUserPromptSubmit- Runs before each user messagePreToolUse- Runs before tool executionPostToolUse- Runs after tool executionStop- Runs when session ends
Skills & Auto-Routing
Skills not auto-activating
Skills not auto-activating
-
Verify SKILL-INDEX.json exists:
If missing, it should be generated on SessionStart by
skill_indexer.pyhook. -
Verify skill description is specific:
-
Check skill file structure:
-
Validate YAML frontmatter:
Skill not found error
Skill not found error
-
File location:
-
Filename is exact (case-sensitive):
- ✅ Correct:
SKILL.md - ❌ Wrong:
skill.md,Skill.md,SKILL.MD
- ✅ Correct:
-
Directory name matches frontmatter:
- Restart Claude Code to reload skills
YAML parsing errors in skills
YAML parsing errors in skills
-
Tabs in YAML (use spaces only):
-
Missing frontmatter delimiters:
-
Validate your YAML:
Git & Version Control
'Permission denied on git push'
'Permission denied on git push'
git pushis blocked bysettings.jsondeny rules- Direct pushes to
mainare prohibited - Use the branch + PR workflow instead
Pipeline Processing
Pipeline fails at Phase 1 (Chunking)
Pipeline fails at Phase 1 (Chunking)
/process-jarvis fails during chunking phase.Common causes:-
File not in inbox:
Make sure your file was ingested with
/ingestfirst. -
File format not supported:
- ✅ Supported:
.md,.txt,.pdf,.mp4,.mp3 - ❌ Not supported: Binary formats without extractors
- ✅ Supported:
-
OpenAI API key missing (for transcription):
-
File too large:
- Check if file exceeded API limits
- Consider splitting large files
Pipeline completes but no output
Pipeline completes but no output
-
Artifacts directory:
-
Knowledge directory:
-
Session logs:
- Check /jarvis-briefing for health score and errors
Agent & Conclave
Agent commands not working
Agent commands not working
-
Agent exists in AGENT-INDEX.yaml:
-
Agent files present:
-
Memory directory exists:
-
Command syntax:
Conclave returns low confidence
Conclave returns low confidence
- Limited knowledge base (process more materials)
- Few relevant experts (add more diverse sources)
- Complex question with limited context
- Processing more expert materials
- Creating DNA extractions from specialists
- Providing more context in your question
- Building up relevant playbooks
Installation Issues
npm install fails
npm install fails
-
Check Node version:
-
Clear cache and reinstall:
-
Check for permission issues:
Python dependencies missing
Python dependencies missing
Performance Issues
Slow processing times
Slow processing times
-
Check file sizes:
- Large videos take longer to transcribe
- Consider processing audio separately
-
Review API rate limits:
- OpenAI Whisper has rate limits
- Space out large batch processing
-
Monitor resource usage:
-
Process in batches:
- Don’t ingest 50 files at once
- Process 3-5 files, then review
Session Management
Session won't save
Session won't save
/save command fails.Check:-
Logs directory exists:
-
Permissions:
-
Disk space:
Can't resume previous session
Can't resume previous session
/resume doesn’t work.Check:-
Session files exist:
-
Session format is valid:
- Sessions are stored as JSON
- Check for corruption
-
Try listing sessions:
Getting Help
Still Having Issues?
- Check system status: Run
/jarvis-briefingfor health score - Review logs: Check
logs/sessions/for detailed error messages - Search existing issues: Check GitHub issues for similar problems
- Open an issue: Provide:
- Error message (full text)
- Command you ran
- System info (OS, Node version, Python version)
- Relevant log files
- Contact maintainer: Reach out to @thiagofinch
