chat-context-search

productivity search context
by @astrognoproductivity
Manual keyword search for past conversation context. Use when user says 'search chat for', 'find the part where', 'remember when we talked about', or pastes old text and wants context. Shows max 4 relevant snippets + lets user pick one for full context.
SKILL PACKAGE

Directory layout for Grok — SKILL.md plus scripts, references, and assets. 1 file(s).

Select a file

Edit in place, then Save (full package security scan). Use fullscreen for a larger workspace.

SYNCED SUMMARY (from SKILL.md)
# Chat Context Search Skill

## When to Use
- User explicitly asks to search the chat history (e.g. "search for enumerate", "find the part about load_data", "remember when we talked about the quiz")
- User pastes old text and wants surrounding context
- Conversation is long and user wants to revisit a specific topic

## How to Use This Skill

1. **Extract keywords** from the user's request (e.g. "enumerate", "load_data", "quiz", "photon sphere").

2. **Search current conversation history** for messages containing those keywords.

3. **Return up to 4 best matches** in this exact format:

   **Option 1** (Date/Time if available)  
   [Short 1-2 sentence snippet showing the key moment]

   **Option 2**  
   [Short snippet]

   (Maximum 4 options. If only 1-2 good matches exist, show only those.)

4. **Ask the user** which option they want full context for (e.g. "Which one? Option 1, 2, 3, or 4?").

5. **Once user replies with a number**, pull the surrounding context (roughly 8-12 messages before and after that point) and give a clear summary + key quotes.

## Rules
- Never show more than 4 options.
- Keep snippets short (1-2 sentences max).
- If no good matches, say so clearly and ask for better keywords.
- This skill is **manual only** for now (user must trigger it).
Version History
Comments (0)
No comments yet. Be the first!
Sign in to leave a comment.