Purpose: Comprehensive inventory of Athena's automation layer
Note: This catalog describes capabilities. Implementation code is private.
| Metric | Count |
|---|---|
| Automation Scripts | 102 |
| Decision Protocols | 269 |
| Orchestration Workflows | 31 |
| Case Studies | 204+ |
| Total Sessions | 540+ |
| Script | Description |
|---|---|
boot.py |
Session orchestrator — integrity checks, context loading, protocol injection |
shutdown.py |
Session close — harvest check, git commit, compliance report |
quicksave.py |
Automatic session logging with hot-sync to vector DB |
resume_session.py |
Context recovery for interrupted sessions |
| Script | Description |
|---|---|
supabase_sync.py |
Full memory sync to pgvector with chunking and deduplication |
supabase_search.py |
Hybrid RAG search (semantic + keyword + reranking) |
smart_search.py |
Weighted RRF orchestration with cross-encoder rerank |
upload_to_supabase.py |
Bulk embedding upload with rate limiting |
| Script | Description |
|---|---|
build_graph.py |
Entity-relationship extraction and graph construction |
query_graphrag.py |
Community-aware graph search (Microsoft GraphRAG pattern) |
index_graphrag.py |
Graph indexing for retrieval |
generate_graph_vis.py |
Interactive HTML graph visualization |
| Script | Description |
|---|---|
batch_audit.py |
Multi-file validation and consistency checks |
orphan_detector.py |
Find unlinked protocols and dead references |
protocol_compliance.py |
Track protocol violations per session |
harvest_check.py |
Ensure insights are captured before session close |
pre_commit_check.py |
Pre-commit gate for quality enforcement |
| Script | Description |
|---|---|
compress_context.py |
Token optimization for long contexts |
compress_memory.py |
Archive old sessions with semantic summaries |
compress_sessions.py |
Batch session archival with 80/20 retention |
token_budget.py |
Token allocation optimization |
| Script | Description |
|---|---|
generate_case_study.py |
Template-based case study scaffolding |
generate_protocol.py |
Protocol creation with ID assignment |
generate_tag_index.py |
Auto-tag extraction and indexing |
generate_skill_index.py |
Protocol registry generation |
| Script | Description |
|---|---|
telegram_bot.py |
Telegram interface for Athena queries |
browser_agent.py |
Headless browser automation |
calendar_agent.py |
Google Calendar integration |
gemini_client.py |
Gemini API client with retry logic |
research_agent.py |
Multi-source research orchestration |
| Script | Description |
|---|---|
diagnose.py |
System health diagnostics |
refactor.py |
Master orchestrator for deep maintenance |
sync_to_public.py |
Sanitized export to public repo |
git_commit.py |
Automated commit with semantic messages |
- Protocol 133: Query Archetype Routing — JIT knowledge loading based on query type
- Protocol 168: Context-Driven Development — Living spec pattern
- Protocol 200: Feature Context Persistence — Multi-session tracking
- Protocol 215: Canonical Memory — Materialized view for truth lookup
- Protocol 242: Latent Cluster Activation — Compressed context injection
- Protocol 330: Scale-Adaptive Intelligence — 5-level project scaling
- Protocol 38: Synthetic Deep Think — Pseudo-depth via structured prompting
- Protocol 49: Efficiency-Robustness Tradeoff — When to optimize vs. fortify
- Protocol 75: Synthetic Parallel Reasoning — 3-track analysis (Domain/Adversarial/Cross-Domain)
- Protocol 135: Information Asymmetry Immunity — Meta-knowledge exploitation
- Protocol 144: Trilateral Validation — User + AI + Red Team feedback loop
- Protocol 261: Skeptic Gate — Antecedents-first reasoning
- Protocol 107: Integrated Therapeutic Mode — Safe processing vs. analysis
- Protocol 158: Relationship Tier Audit — Investment vs. return calibration
- Protocol 159: Augmentation Circuit Breaker — Schema interception
- Protocol 262: Mismatch Radar — Reciprocity gap detection
- Strategic Analysis Framework: Four Fits Diagnostic — Market/Product/Channel/Model fit
- Protocol 160: Certainty Offer — Risk reversal for high-ticket sales
- Protocol 230: Unit Economics Physics — Breakeven-first pricing
- Protocol 306: Outcome Economy — Value-based AI pricing
- Strategic Analysis Framework: Income Hierarchy — Labour → Freelance → Agency → Product ladder
- Agentic Engineering Strategy: Wizard of Oz Architecture — Manual backend, automated frontend
- Agentic Engineering Strategy: Vibe Engineering — Ship at 70%, iterate fast
- Agentic Engineering Strategy: Intent Drift Detector — Scope creep prevention
- Development Execution Standard: TDD Workflow — Test-driven development gates
- Protocol 50: Interpretation Header — Explicit assumption declaration
- Protocol 116: Multi-Layer Communication — Public/private channel optimization
- Protocol 252: Constructive Feedback Stack — Criticism without damage
- Protocol 48: Circuit Breaker (Systemic) — Automatic ruin prevention
- Protocol 68: Anti-Karason Protocol — Identity drift detection
- Protocol 104: Seymour Skeptic Layer — Adversarial self-audit
- LAW1_RUIN.md: Irreversible ruin calculator
- Content Publication Standard: Blog Post Gold Standard — 3-sentence rule, hidden gems
- Protocol 221: High-Performance UX Design — Breathability physics
- Protocol 260: Content Resonance Spec — "That's Me" reaction targeting
- Protocol 121: Amoral Realism — IS vs SHOULD analysis
- Protocol 162: PMOD Framework — Problem > Market > Operations > Distribution
- Protocol 172: Barnacle SEO — Attach to high-authority domains
| Workflow | Description |
|---|---|
/start |
Boot sequence — load identity, create session, prime memory |
/end |
Session close — finalize log, commit, compliance check |
/refactor |
Deep maintenance — audit, sync, compress, rebuild indexes |
/think |
Elevated reasoning — force L4 depth + structured output |
/ultrathink |
Maximum depth — full stack load + extended reasoning |
/vibe |
Fast shipping mode — 70% rule, iterate quickly |
/research |
Deep rabbit hole — multi-source exhaustive search |
/brief |
Pre-prompt clarification — scope before execution |
/audit |
Cross-model validation — Claude vs Gemini comparison |
/deploy |
Public repo sync — sanitize and push |
/semantic |
Semantic search — query vector DB before answering |
/brand-generator |
Agency Killer — $10K branding package in 20 mins |
/333-diagnostic |
Lead generation diagnostic — structured problem discovery |
/ugc-factory |
AI UGC volume strategy — batch content generation |
/voice-agent-deploy |
ElevenLabs + Twilio voice agent setup |
athena/
├── core/
│ ├── config.py # Centralized paths, marker-based root discovery
│ ├── models.py # Data models for sessions, protocols, entities
│ └── __init__.py
├── memory/
│ ├── cache.py # TTL-based LRU cache for search
│ ├── vectors.py # Embedding generation and retrieval
│ └── __init__.py
├── tools/
│ ├── latency.py # Λ complexity indicator
│ ├── search.py # Hybrid RAG orchestrator
│ ├── reranker.py # Cross-encoder reranking
│ └── __init__.py
└── __init__.py
| Category | Examples |
|---|---|
| Business Models | Content Agency Arbitrage, Four Fits Diagnostics, Productized Services |
| Psychology | Attachment Patterns, Schema Installation, Relationship Dynamics |
| Singapore Context | Healthcare Cartel, Education Arbitrage, Social Contract |
| AI/Automation | Agentic Coding, Claude Workflows, GraphRAG Implementation |
| Marketing | SEO Distribution, Content Resonance, Influencer Economics |
| Layer | Technology |
|---|---|
| Language | Python 3.x |
| Vector DB | Supabase (pgvector) |
| Embeddings | Google text-embedding-004 |
| LLM | Gemini 3 Pro / Claude Opus 4 |
| Hosting | GitHub Pages / Cloudflare |
Note: This catalog demonstrates the scope and sophistication of Athena's capabilities. Implementation details are proprietary.