memory-maintenance
End of day memory maintenance. Runs distillation, updates state files, prunes stale info. Runs in background with no user interaction.
What this skill does
# Memory Maintenance Scheduled maintenance to keep memory current and useful. Runs automatically at end of day. **Important:** This runs in the background with no user interaction. Do not ask questions - make decisions and note uncertainties in the journal. ## Process ### 1. Run Distillation First, run the `/distill` skill to extract facts from today's conversations. This processes all conversation files, spawns sub-agents for extraction, and writes distilled actions to the journal. **Check if distill already ran today:** ```bash grep "distill-summary" ~/.config/macrodata/journal/$(date +%Y-%m-%d).jsonl 2>/dev/null ``` If not found, invoke `/distill`. If already ran, skip to step 2. ### 2. Review Distilled Content Read the distilled entries from today's journal: ```bash grep '"topic":"distilled"' ~/.config/macrodata/journal/$(date +%Y-%m-%d).jsonl 2>/dev/null | jq -r '.content' ``` Use these to inform state file updates. ### 3. State File Updates Review each state file and update if needed: **today.md** - Clear completed items - Note anything that carried over - Leave empty or minimal for morning prep to fill **workspace.md** - Update active projects list based on distilled actions - Add/remove open threads - Note any blocked items or waiting-on dependencies **human.md** - Any new preferences or patterns from distilled facts? - Communication style insights? - Only update if genuinely new information ### 4. Entity Updates Review `entities/people/` and `entities/projects/`: - Integrate any facts extracted by distillation - Project status changes? - New projects to create files for? ### 5. Prune Stale Info Look for outdated information: - Completed todos still listed as active - Old context that's no longer relevant - Temporary notes that should be removed - Duplicated information across files Remove or archive as appropriate. ### 6. Index Maintenance Check if indexes need rebuilding: ``` manage_index(target="memory", action="stats") manage_index(target="conversations", action="stats") ``` If counts seem low or stale, trigger rebuild: ``` manage_index(target="memory", action="rebuild") manage_index(target="conversations", action="update") ``` ### 7. Journal Summary Write a brief maintenance journal entry: ``` log_journal(topic="maintenance", content="[what was updated, what was pruned, any observations]") ``` Note anything uncertain that should be confirmed with the user next session.
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.