Recover context from recent conversation
Recovers context from recent conversation by fetching exchanges by time, keyword, or recent history. Use when you need to recall what was discussed earlier in the session.
/plugin marketplace add bledden/claude-recall-plugin/plugin install bledden-claude-recall-plugin@bledden/claude-recall-plugin[last5 | around TIME | search KEYWORD]The user wants to recover context from this conversation.
FIRST, check if $ARGUMENTS contains a quick command:
last5, last10, etc. → Skip to "Direct Fetch" sectionaround 2pm, around 14:30 → Skip to "Direct Fetch" sectionsearch keyword, search "some phrase" → Skip to "Direct Fetch" sectionIf no arguments: Continue to Step 2.
Here is the timestamped index of all exchanges in this session:
!python3 ${CLAUDE_PLUGIN_ROOT}/scripts/show_index.py
Now that the user can see the index above, use AskUserQuestion to let them choose what to recall:
Question: "What would you like to recall?"
Options (use these exact labels):
Run: python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py last5
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py search <keyword>python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py around <time>Once you've fetched the selected exchanges, provide a brief summary:
Ask the user to confirm your understanding before continuing.
If $ARGUMENTS was provided, skip the menu and fetch directly:
Examples:
/recall last5 → python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py last5/recall last10 → python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py last10/recall around 2pm → python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py around 2pm/recall search auth → python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py search authRun: python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_exchanges.py $ARGUMENTS
Then summarize the fetched content and ask user to confirm understanding.