Home / Companies / Comet / Blog / Post Details
Content Deep Dive

Capturing a 400-Turn Claude Code Session in a Single Image

Blog post from Comet

Post Details
Company
Date Published
Author
Andrii Dudar
Word Count
2,225
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Comet Cost Intelligence explored whether coding-agent sessions could be represented as recognizable phases and tasks to help organizations understand token spending driven by developer behavior, rather than only model settings or context bloat. After analyzing thousands of Claude Code sessions with a locally run Qwen3-4B model, the team found that sessions could be segmented into recurring activities such as exploration, implementation, validation, and discussion, while also revealing that multiple unrelated tasks within one session can create unnecessary context costs. Small models could make useful semantic judgments but struggled with long-range bookkeeping, so the system processes compressed transcript windows, carries short contextual notes between them, and uses deterministic rules to stitch results together, with validation and versioning intended to ensure stable, reproducible charts. The approach runs continuously on a single GPU at a projected capacity of roughly 1,700 to 2,000 active developers, and its development prioritized proving the underlying concept on real data before finalizing interface design. The authors acknowledge important limitations, including the absence of ground truth for phase labels, difficulty distinguishing developer prompts from agent self-prompting, and uncertainty about whether users unfamiliar with the system will interpret session shapes correctly.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 1 747 162 79 -85%
MCP 1 2,241 148 72 -74%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.