1. Back Up Your Data (The Non-Negotiable)
Your.context/ folder is your brain. Losing it means losing every session, every protocol, every insight you’ve ever extracted.
Treat it like source code — because it is.
The 3-2-1 Rule
Local
Your machine (primary copy)Why: Speed — instant reads, no latency
Git
GitHub / GitLab (full repo push)Why: Portability — clone anywhere, restore in seconds
Cloud DB
Supabase / ChromaDB (vector embeddings)Why: Search — hybrid RAG across your entire history
Backup Checklist
Enable auto-commit on /end
The shutdown orchestrator commits and pushes automatically when you run
/end.2. Session Discipline
Always /start and /end
The most common mistake is working without bookends.
- Without
/start: No session log, no context loading, no semantic priming - Without
/end: Nothing gets committed, no insights filed, no memory updates
| ✅ Do | ❌ Don’t |
|---|---|
/start → Work → /end | Jump straight into questions without booting |
/save mid-session for long threads | Rely on the AI to “remember” across sessions |
| One focused topic per session | Cram five unrelated tasks into one thread |
The One-Feature Rule
Each session should target one deliverable. This isn’t about being rigid — it’s about context coherence. Example good sessions:- “Implement JWT authentication”
- “Research vector database options”
- “Refactor user profile component”
- “Implement auth, redesign UI, fix database schema, and research deployment options”
3. Memory Hygiene
Prune activeContext.md Regularly
activeContext.md is your working memory — not your archive. If it grows beyond ~100 lines, it’s carrying stale context that wastes tokens on every boot.
| Signal | Action |
|---|---|
| Completed tasks still listed | Move to session log, mark [x], or delete |
| ”Recent Context” older than 1 week | Archive to session logs or compact |
| Duplicate entries | Merge or remove |
Keep userContext.md Lean
Your user profile should contain stable truths, not session-specific details.
| ✅ Belongs in userContext | ❌ Belongs in activeContext |
|---|---|
| Programming languages you know | Current project you’re working on |
| Work hours and timezone | Today’s tasks |
| Core values and constraints | Recent decisions |
| Tools and environment setup | Temporary reminders |
4. Git Workflow
Commit Often, Push Always
| Practice | Rationale |
|---|---|
Commit after every /end | Atomic, searchable history |
| Use semantic commit messages | feat:, fix:, docs: prefixes make git log useful |
| Push to remote same day | Local commits aren’t backups — they’re drafts |
| Tag major milestones | git tag v9.2.5 lets you rollback cleanly |
Example Commit Messages
Branch Strategy (Advanced)
For users maintaining both private (full context) and public (sanitized) repos:5. Token Budget Awareness
Athena boots at ~10K tokens, leaving ~190K for your session. But token waste adds up:| Waste Source | Fix |
|---|---|
Oversized activeContext.md | Prune weekly |
| Loading files you don’t need | Trust JIT routing — don’t /fullload unless needed |
| Repeating context the AI already has | Reference session logs instead of re-explaining |
| Pasting entire files into chat | Point to the file path — let the agent read it |
6. Multi-Account / Multi-Model Strategy
If you use multiple AI accounts or models:| Practice | Why |
|---|---|
| Designate a “primary” for Athena sessions | Consistency in session logs and memory |
| Use secondary accounts for research | Keeps your primary context clean |
| Run Trilateral Feedback for big decisions | Cross-validate across Claude, Gemini, GPT |
Always return to primary for /end | Ensures the canonical session log is written |
The Memory Bank means your context is decoupled from the provider. Switch models freely — the state lives in your filesystem, not their servers.
7. Security Basics
| Practice | Details |
|---|---|
Never commit .env files | Use .env.example as a template, .gitignore the real one |
| Rotate API keys periodically | Especially after sharing screens or running demos |
| Use Secret Mode for demos | set_secret_mode(True) redacts sensitive data |
| Review agent permissions | Don’t grant filesystem access to ~/.ssh or credential stores |
8. When Things Go Wrong
Lost local data
Lost local data
Recovery:
Corrupted session log
Corrupted session log
Recovery:
Boot fails
Boot fails
Diagnosis:Common causes:
- Missing dependencies
- Corrupt
activeContext.md - Invalid YAML frontmatter in workflows
Context feels 'off'
Context feels 'off'
Review:
Model quality drops mid-session
Model quality drops mid-session
Cause: You’ve likely hit ~150K tokens.Fix:
Quick Reference Checklist
Weekly Maintenance Routine
Friday: Run /refactor
Deep system optimization:This runs audits, scans, and integrity checks that are too heavy for
/end.Next Steps
Creating Workflows
Learn how to build custom slash-command workflows
Writing Protocols
Create reusable decision-making protocols