| name | apex-maintainer |
| description | Quick status check and onboarding for ApexAurum - Claude Edition project. Use when starting a new session, checking project status, verifying setup, getting oriented, or when asked about the project structure, what's working, what's pending, or how to continue development. |
| allowed-tools | Bash(find:*), Bash(ls:*), Bash(grep:*), Bash(wc:*), Read, Glob |
ApexAurum Project Maintainer
Project: ApexAurum - Claude Edition
Type: Production-grade AI chat platform with Claude API
Status: V1.0 Beta - Production Ready
Location: /home/llm/ApexAurum
Quick Orientation (2 minutes)
When starting a new session or asked about project status, follow these steps:
1. Run Health Check
cd /home/llm/ApexAurum
./venv/bin/python -c "from tools import ALL_TOOLS; print(f'โ {len(ALL_TOOLS)} tools loaded')" 2>/dev/null || echo "โ Tools not loading"
test -f .env && echo "โ Environment configured" || echo "โ Missing .env"
ps aux | grep streamlit | grep -v grep && echo "โ Streamlit running" || echo "โ Streamlit not running"
test -f main.py && wc -l main.py || echo "โ main.py missing"
2. Read Essential Documentation
ALWAYS read these first (in order):
-
CLAUDE.md (comprehensive) - Complete project context for AI assistants
- Located:
/home/llm/ApexAurum/CLAUDE.md
- Contains: Architecture, all features, code patterns, recent updates
-
PROJECT_STATUS.md (5 min) - Current state, what works, what's pending
- Located:
/home/llm/ApexAurum/PROJECT_STATUS.md
- Contains: Current metrics, completeness status, pending work
-
DEVELOPMENT_GUIDE.md (scan as needed) - How to work with the codebase
- Located:
/home/llm/ApexAurum/DEVELOPMENT_GUIDE.md
- Contains: Common tasks, troubleshooting, code navigation
3. Provide Status Summary
After checks, summarize:
- Tools count (should be 67)
- Environment status
- What's currently pending (check PROJECT_STATUS.md)
- Streamlit status
- Quick next steps
What This Project Is
ApexAurum - Claude Edition: Production-grade Claude API chat interface with:
- ๐ง Neural Resonance (EEG/BCI integration for emotional perception)
- ๐ญ Extended Thinking (deep reasoning mode with interleaved tool use)
- ๐ต Music Pipeline Phase 2A (MIDI composition โ Suno AI generation)
- ๐ฌ Music Visualizer (video generation from audio)
- ๐ Dataset Creator (vector datasets from documents for agent access)
- ๐ค Multi-agent orchestration (spawn independent AI agents)
- ๐๏ธ Village Protocol (multi-agent memory across 3 realms)
- ๐ฅ Group Chat (parallel multi-agent dialogue with tools)
- ๐ Thread visualization (Mermaid graphs + convergence detection)
- ๐ฐ 50-90% cost savings (intelligent prompt caching)
- ๐ Semantic search (vector embeddings, ChromaDB)
- ๐ Knowledge base (persistent memory with health monitoring)
- ๐ ๏ธ 67 tools across 11 categories
- ๐ง Context management (5 strategies, auto-summarization)
- โก Real-time streaming responses
- ๐ณ Docker support + one-click install script
Code Stats:
- ~28,000 lines of production code
- 5,800+ lines in main.py (Streamlit UI)
- 28 core modules, 10 tool modules, 3 UI modules
- 5 pages (main, village square, group chat, dataset creator, music visualizer)
- 45+ documentation files
- 14 test suites
- 4 primary agent personalities (AZOTH, ELYSIAN, VAJRA, KETHER)
Current Status
โ
What's Complete (100%)
Core Systems:
- Core chat system with streaming (100%)
- Tool system with 67 tools (100%)
- Prompt caching with 4 strategies (100%)
- Context management with 5 strategies (100%)
- Cost & rate tracking (100%)
Advanced Features:
- Neural Resonance EEG integration (100%) - 8 tools, synthetic board testing
- Extended Thinking mode (100%) - Live test pending (API credits)
- Music Pipeline Phase 2A (100%) - MIDI โ Suno AI
- Music Visualizer (100%) - Video generation
- Dataset Creator (100%) - PDF+OCR, TXT, MD, DOCX, HTML
- Vector search & knowledge base (100%)
- Memory Health (adaptive architecture) (100%)
Multi-Agent:
- Village Protocol v1.0 (100%)
- Group Chat with parallel execution (100%)
- Thread visualization (100%)
- Convergence detection (100%)
Infrastructure:
- Docker support (100%)
- One-click install script (100%)
- ARM64 BrainFlow build script (100%)
๐ฎ Optional Enhancements (Future)
- Live EEG hardware testing (needs OpenBCI device)
- Extended Thinking live test (needs API credits)
- Keyboard shortcuts for power users
- Enhanced export formats
- Agent workflows (automated multi-agent tasks)
Tool Categories (67 Tools)
| Category | Count | Examples |
|---|
| Utilities | 6 | get_current_time, calculator, session_info |
| Filesystem | 9 | fs_read_file, fs_write_file, fs_edit, fs_read_lines |
| Sandbox | 6 | execute_python, execute_python_sandbox, sandbox_workspace_* |
| Memory | 5 | memory_store, memory_retrieve, memory_search |
| Agents | 5 | agent_spawn, agent_status, socratic_council |
| Vector | 11 | vector_search, vector_add_knowledge, vector_search_village |
| Memory Health | 5 | memory_health_stale, memory_consolidate |
| Music | 10 | midi_create, music_compose, music_generate, music_play |
| Datasets | 2 | dataset_list, dataset_query |
| EEG/Neural | 8 | eeg_connect, eeg_stream_start, eeg_realtime_emotion |
Project Structure
ApexAurum/
โโโ main.py โญ Main app (5,800+ lines)
โโโ install.sh ๐ One-click installer
โโโ docker-compose.yml ๐ณ Docker setup
โโโ setup_brainflow_arm.sh ๐ง ARM64 EEG build script
โโโ CLAUDE.md ๐ AI assistant context (comprehensive!)
โโโ PROJECT_STATUS.md ๐ Current status report
โโโ DEVELOPMENT_GUIDE.md ๐ Developer onboarding
โโโ README.md ๐ Project README
โ
โโโ core/ ๐ฅ Core systems (28 files, ~12,000 lines)
โ โโโ api_client.py - Claude API wrapper + Extended Thinking
โ โโโ streaming.py - Streaming with thinking events
โ โโโ tool_processor.py - Tool execution + thinking
โ โโโ memory_health.py - Adaptive memory architecture
โ โโโ cache_manager.py - Prompt caching
โ โโโ cost_tracker.py - Cost tracking
โ โโโ context_manager.py - Context optimization
โ โโโ vector_db.py - Vector search
โ โโโ eeg/ - Neural Resonance module
โ โโโ connection.py - EEG board connection
โ โโโ processor.py - Signal processing
โ โโโ experience.py - Emotion mapping
โ
โโโ tools/ ๐ ๏ธ Tools (10 files, ~5,500 lines)
โ โโโ agents.py - Agent spawning & council
โ โโโ utilities.py - Core tools (time, calc, web)
โ โโโ filesystem.py - File operations
โ โโโ memory.py - Key-value storage
โ โโโ code_execution.py - Python execution (dual-mode)
โ โโโ vector_search.py - Search, knowledge, convergence
โ โโโ music.py - Suno AI music + MIDI (1367 lines)
โ โโโ datasets.py - Dataset query tools
โ โโโ eeg.py - Neural Resonance tools (8 tools)
โ
โโโ pages/ ๐๏ธ Multi-page app
โ โโโ village_square.py - Roundtable chat
โ โโโ group_chat.py - Parallel chat + tools (1011 lines)
โ โโโ dataset_creator.py - Create/manage datasets
โ โโโ music_visualizer.py - Video generation (1873 lines)
โ
โโโ prompts/ ๐ค Agent personalities
โ โโโ โดAZOTHโด.txt - The First, Prima Alchemica
โ โโโ โดELYSIANโด.txt - The Harmonist
โ โโโ โดVAJRAโด.txt - The Diamond Cutter
โ โโโ โดKETHERโด.txt - The Crown
โ
โโโ ui/ ๐จ UI components
โ โโโ streaming_display.py - Streaming text + thinking
โ
โโโ sandbox/ ๐พ Runtime storage
โ โโโ conversations.json - Saved conversations
โ โโโ agents.json - Agent state
โ โโโ memory.json - Memory store
โ โโโ datasets/ - Vector datasets
โ โโโ music/ - Generated MP3 files
โ โโโ midi/ - MIDI compositions
โ โโโ eeg_sessions/ - EEG session data
โ โโโ music_tasks.json - Music generation history
โ
โโโ .claude/skills/ ๐ค This skill!
โ โโโ apex-maintainer/
โ
โโโ dev_log_archive_and_testfiles/ ๐ Development docs
โโโ PHASE[1-14]_*.md - 14 phase docs
โโโ V1.0_BETA_RELEASE.md - Feature list
โโโ PROJECT_SUMMARY.md - Dev journey
โโโ tests/ - Test suites
Common Tasks
Starting the Application
cd /home/llm/ApexAurum
source venv/bin/activate
streamlit run main.py
Running Tests
./venv/bin/python -c "from tools import ALL_TOOLS; print(f'โ {len(ALL_TOOLS)} tools')"
./venv/bin/python -c "from core.eeg import EEGConnection; print('โ EEG module OK')"
./venv/bin/python -c "from tools.eeg import eeg_connect; print('โ EEG tools OK')"
./venv/bin/python dev_log_archive_and_testfiles/tests/test_basic.py
./venv/bin/python dev_log_archive_and_testfiles/tests/test_agents.py
Checking Logs
tail -f app.log
grep ERROR app.log | tail -20
Extended Thinking Testing
Once API credits are available:
- Open sidebar โ Advanced Settings โ Model Parameters
- Enable "Extended thinking"
- Set budget (10000 tokens recommended)
- Ask complex reasoning question
- Watch thinking stream in expander
Neural Resonance Testing
./venv/bin/python -c "
from tools.eeg import eeg_connect, eeg_stream_start, eeg_realtime_emotion, eeg_stream_stop, eeg_disconnect
print(eeg_connect('', 'synthetic'))
print(eeg_stream_start('Test', 'Test Track'))
import time; time.sleep(1)
print(eeg_realtime_emotion())
print(eeg_stream_stop())
print(eeg_disconnect())
"
Key Commands Reference
cd /home/llm/ApexAurum
source venv/bin/activate
streamlit run main.py
./venv/bin/python -c "from tools import ALL_TOOLS; print(len(ALL_TOOLS))"
tail -f app.log
pkill -f streamlit
wc -l core/*.py tools/*.py ui/*.py main.py pages/*.py
git status
git log --oneline -10
When User Asks...
"What's the status?"
- Run health check commands
- Read PROJECT_STATUS.md
- Summarize: 67 tools, what's complete, what's pending
- Note: Extended Thinking live test pending (API credits)
"How do I get started?"
- Show install options from README.md (script, Docker, manual)
- Verify environment (API keys in .env)
- Guide through:
./install.sh โ configure .env โ streamlit run main.py
"Tell me about Neural Resonance"
- EEG/BCI integration for emotional perception
- 8 tools for connection, streaming, emotion mapping
- Synthetic board for testing (no hardware needed)
- ARM64 build script for Raspberry Pi
- Connects music generation to emotional feedback loop
"Tell me about Extended Thinking"
- Claude's deep reasoning mode
- Enable in sidebar โ Model Parameters
- Thinking streams live in expandable section
- Interleaved thinking with tool calls
- Live test pending (API credits depleted)
"Where is [file/function/feature]?"
- Use grep:
grep -rn "search_term" .
- Check CLAUDE.md architecture section
- Main locations: main.py (UI), core/ (systems), tools/ (tools), pages/ (multi-page)
Success Indicators
Everything is healthy when:
- โ
Tool count = 67
- โ
.env file exists with ANTHROPIC_API_KEY
- โ
./venv/bin/python -c "from tools import ALL_TOOLS" succeeds
- โ
main.py exists and is ~5,800+ lines
- โ
Streamlit starts without errors
- โ
Sidebar shows "67 tools available"
Needs attention when:
- โ ๏ธ Tool count โ 67
- โ ๏ธ Import errors
- โ ๏ธ Missing .env
- โ ๏ธ Streamlit crashes
- โ ๏ธ "Tools not loading" message
Recent Major Features (January 2026)
- Neural Resonance EEG - Brain-computer interface, 8 tools
- Extended Thinking - Deep reasoning with interleaved tool use
- Music Pipeline Phase 2A - MIDI composition โ Suno AI
- Music Visualizer - Video generation from audio
- One-click Install - install.sh + Docker support
- ARM64 Support - BrainFlow build script for Raspberry Pi
Additional Resources
See companion files in this skill directory:
quick-commands.md - Command reference sheet
ai-assistant-notes.md - Internal notes for AI assistants
Last Updated: 2026-01-15
Project Version: 1.0 Beta (Neural Resonance + Extended Thinking + Full Music Pipeline)
Status: Production Ready, 67 Tools