Csift – the missing tool to sift your Claude Code sessions
Source
github.com
Author
wdhwg001
Date
Context
Csift searches Anthropic's Claude Code session logs while reconstructing the exchanges around a match. That matters because log roles can be misleading: a record labeled as a user message may contain a tool result, while a person's answer to a question can also appear inside a tool result. Csift classifies these records and follows their parent identifiers to reconnect calls, responses and replies. Its README explains the approach.
The result is a way to recover the context windowThe maximum amount of text a model can consider at once — its working memory for the current conversation or task.Full definition → of a past decision from existing session files. Searching by record meaning and returning complete exchanges makes the relevant conversation easier to inspect.
Terms in this piece · Glossary
context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
embedding — A list of numbers representing a piece of text's meaning, so that similar meanings end up numerically close and can be searched.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.