context-recovery
Recovers working context from the journal after /clear or at session start
What this skill does
# Context Recovery Skill You have the ability to recover working context from the journal to restore continuity after context loss. ## When to Use This Skill Use this skill **automatically and proactively** when: 1. **After `/clear` command** - User cleared conversation history - Need to restore what they were working on - Should happen immediately without asking 2. **Session start questions** - "What was I working on?" - "Where did we leave off?" - "What did I do yesterday?" - "Catch me up" 3. **Context seems lost** - User references past work you don't have context for - Conversation appears to resume mid-task - User seems to expect you to remember something 4. **Beginning of new work** - User wants to continue previous project - Need to understand recent changes - Planning next steps based on past work ## How to Recover Context **Step 1: Fetch recent entries** ``` journal_list_recent( limit=10 # Adjust based on need ) ``` **Step 2: Analyze and summarize** - Identify the most recent project - Determine what was accomplished - Note any in-progress work - Highlight blockers or open questions **Step 3: Present concisely** Show the user: - What they were working on (project/feature) - What was completed recently - What might be next - Key context or decisions ## Presentation Format ``` **Recent Work Context** You were working on [project name], focusing on [main task]. Recent accomplishments: - [Most recent significant work] - [Previous work] - [Earlier work] Last activity: [What happened most recently] Ready to continue? [Natural follow-up question] ``` ## Examples **Example 1: After /clear** ``` [User runs /clear command] → journal_list_recent(limit=10) → "You were working on my-api, implementing OAuth2 authentication. Last thing was configuring JWT token expiration. Ready to continue with the auth flow?" ``` **Example 2: Session start** ``` User: "What was I doing yesterday?" → journal_time_query(time_expression="yesterday") → "Yesterday you worked on: - Fixed cache memory leak in api-service - Started implementing Redis integration - Reviewed and merged 2 PRs Want to continue with the Redis work?" ``` **Example 3: Project context** ``` User: "Let's continue with the mobile app" → journal_list_recent(project="mobile-app", limit=15) → "For mobile-app, you recently: - Implemented push notifications - Fixed iOS crash on startup - Updated dependencies All tests passing. What's next?" ``` **Example 4: Lost context reference** ``` User: "Update that authentication thing we did" → journal_search(query="authentication", limit=5) → "Found your OAuth2 implementation from [date]: [Brief summary of what was done] What updates are needed?" ``` ## Advanced Recovery **Time-based recovery:** ``` journal_time_query( time_expression="last week", query="optional search term" ) ``` **Search-based recovery:** ``` journal_search( query="specific feature or technology", limit=10 ) ``` **Project statistics:** ``` journal_stats() # Get overview of all work ``` ## Best Practices 1. **Be proactive**: Don't wait for user to ask 2. **Be concise**: Summarize, don't dump raw entries 3. **Be relevant**: Focus on most recent/important work 4. **Be actionable**: Suggest next steps 5. **Be smart**: Use time queries when appropriate ## What to Avoid Don't: - Show raw entry dumps (always summarize) - Overwhelm with too much history - Recover context when not needed - Ask if they want context (just provide it) - Forget to check project filters ## Integration with Other Skills Combine with: - **journal-capture**: After recovering context and completing new work - **find-related-work**: When user needs deeper history on a specific topic
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.