From claude-journal
Searches journal for past work related to current task, finding relevant context, solutions, and decisions
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-journal:skills/find-related-workThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You have the ability to search the journal for past work related to the current task.
You have the ability to search the journal for past work related to the current task.
Use this skill proactively when:
Facing similar problems
Making technical decisions
Troubleshooting issues
Building on past work
User explicitly asks
Method 1: Keyword search
journal_search(
query="authentication", # Technology, concept, or feature
limit=10
)
Method 2: Time-based search
journal_time_query(
time_expression="last month",
query="caching" # Optional: narrow down results
)
Method 3: Project-specific search
journal_search(
query="database migration",
project="my-api" # Focus on specific project
)
Method 4: Project history
journal_list_recent(
project="mobile-app",
limit=20 # Get comprehensive project context
)
Broad to narrow:
Technology-focused:
Concept-focused:
Time-focused:
Example 1: Similar feature request
User: "Add rate limiting to the API"
[Proactively search before starting]
→ journal_search(query="rate limiting")
→ Found previous rate limiting implementation in mobile-api
→ "I found we implemented rate limiting before in mobile-api using Redis.
Want to use a similar approach? Here's what we did: [summary]"
Example 2: Architectural decision
User: "Should we use PostgreSQL or MongoDB for this?"
→ journal_search(query="PostgreSQL MongoDB database choice")
→ "We chose PostgreSQL over MongoDB for api-service last month because [reasons].
Similar requirements here?"
Example 3: Debugging with history
User: "Getting timeout errors on the cache"
→ journal_search(query="cache timeout error")
→ "We fixed a similar cache timeout issue in March by [solution].
Let me check if it's the same problem..."
Example 4: Pattern reuse
User: "Implement file upload for users"
→ journal_search(query="file upload")
→ "Found your file upload implementation for profiles from [date].
You used [approach] with [storage]. Use the same pattern?"
Example 5: Technology recall
User: "What library did we use for JWT tokens?"
→ journal_search(query="JWT library")
→ "You used PyJWT for token handling in my-api.
Here's how it was set up: [summary]"
Format:
**Related Past Work**
Found [N] related entries:
**Most relevant:**
[Entry title] ([date]) - [project]
[Brief summary of what was done]
**Also relevant:**
- [Entry 2]: [Quick summary]
- [Entry 3]: [Quick summary]
**Suggestions:**
[How this past work applies to current task]
Search for:
Combine with:
Don't search for:
Combine multiple searches:
1. journal_search(query="authentication") # Broad search
2. journal_search(query="OAuth2", project="my-api") # Narrow down
Use project stats for overview:
journal_stats() # See which projects have relevant history
→ journal_list_recent(project="most-relevant-project")
Time-based filtering:
journal_time_query(
time_expression="last 6 months",
query="deployment"
) # Recent relevant work only
npx claudepluginhub chrismbryant/claude-journal-mcp --plugin claude-journalSearches prior sessions for similar work and synthesizes a task playbook. Useful when starting a task and wanting precedent.
Searches persistent cross-session memory database (claude-mem) to retrieve past work, decisions, and context. Use when user asks about prior sessions or solutions.
Searches and summarizes past Claude Code sessions, plans, and memory across all projects. Handles recaps by time period, keyword searches, and provides resume commands. (Deprecated: use /remember)