| name | search |
| description | Search saved sessions by keyword with TF-IDF relevance ranking |
| user_invocable | true |
/ctx:search — Search Saved Sessions
Search across all saved sessions using TF-IDF keyword matching. Results are ranked by relevance.
What to do
- Use the
ctx_search MCP tool with the user's search query
- Present results ranked by relevance score
- Show session ID, task, branch, and which fields matched
Parameters
- query (required): Keywords to search for
- limit (optional): Max results to return (default: 5)
- branch (optional): Filter results to a specific branch
Example
When the user says "/ctx:search auth middleware", call:
ctx_search(query: "auth middleware", limit: 5)