بنقرة واحدة
context-recovery
Recovers working context from the journal after /clear or at session start
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Recovers working context from the journal after /clear or at session start
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | context-recovery |
| description | Recovers working context from the journal after /clear or at session start |
| when_to_use | Use this skill proactively after the user runs /clear, at the start of a new session, or when the user asks what they were working on. Essential for restoring continuity. |
You have the ability to recover working context from the journal to restore continuity after context loss.
Use this skill automatically and proactively when:
After /clear command
Session start questions
Context seems lost
Beginning of new work
Step 1: Fetch recent entries
journal_list_recent(
limit=10 # Adjust based on need
)
Step 2: Analyze and summarize
Step 3: Present concisely Show the user:
**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]
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?"
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
Don't:
Combine with: