referenceJune 8, 2026· 3 min read
How to use CSESSION: a conversation buffer with recall
CSESSION stores a multi-turn conversation, reads the recent window, and semantically searches the whole thing — so 'as I mentioned earlier' works.
CSESSION holds a bounded, expiring buffer per session. Read the last N turns for the prompt window, or search the entire conversation by meaning.
crowkis cli
> CSESSION ADD s_99 user "my budget is around 5k" OK > CSESSION ADD s_99 assistant "noted - I'll keep options under 5k" OK > CSESSION RECENT s_99 N 2 1) "user: my budget is around 5k" 2) "assistant: noted - I'll keep options under 5k" > CSESSION SEARCH s_99 "what did they say about money?" 1) "user: my budget is around 5k"
Semantic search over the full buffer finds the turn from forty messages ago that a recent-window read would have dropped.