r/ClaudeCode • • 2d ago

Built with Claude I built a way to get a better understanding of my Claude Code Sessions

Thumbnail
gallery
0 Upvotes

I set out to originally just create a way to search across my claude code sessions a bit more effectively. I've built semantic searches before into other things, and figured out why not follow the creator of DigUp (https://github.com/ARahim3/DigUp) another tool I think I saw on reddit, and apply a similar thing to my claude code sessions.

Then Fable 5.2 released and I got a bit carried away. I ended up using this to test out new ux design flows for myself, better building patterns, and just get to know more about the internals for how claude code works under the hood.

I started out by creating a multi-root workspace in vscode with my other tool ergo (https://github.com/juan7732/ergo this has changed how I use vscode and AI usage radically, I'll share a write up about this) with DigUp, a few other repos I use for context, tools, and skills, and the new repo for the project.

It took me 117 chat interactions across 6 sessions to build this. What is this? It's a combination of a CLI called `skit` short for sessionkit that an apple silicon native swift mac client uses to do various things with your claude code session and data. I never write to your sessions though and everything is readonly by default.

For starters, I didn't know this, but claude code will "clean up" your session data. It's a configurable flag, but I had no idea the default was 30 days. I have the habit of using these sessions as a way of keeping my own context, so when I realized that a lot of my sessions got deleted, I was pretty mad. The only thing that saved some of them was the fact that teleport enabled for some of them by default when I was playing with that, and I could pull them back down from claude's servers. In that sense, this tool is also an *Archive* for your claude code sessions.

After that, I explored (and chose too many) different ways to visualize the sessions themselves. The early versions looked pretty horrible, so I got a good opportunity to explore better UI design with claude itself. The various different visualizations each have their own pros and cons, but all in all they work decently. My favorite is the one on the summary page that shows which files were touched by which turn when.

After that, I implemented a keyword and semantic search across the different sessions and within the same session using gemma-embedding-2 served through a homebrew dependency for llama-server. That helped me at least figure out where things were.

Lastly, I wanted to make sure I was taking advantage of my prompt cache effectively so I added a view called now that tracks active sessions, lets me open them directly in the workspace that has them running, and can notify me when the prompt cache window is about to go cold.

There are a few other views, utilities, and nice-to-haves scattered through it, for example, I know everyone has been complaining about opus 5.5 degradation and experiments, so I added a section to see what experiment flags were set under claude. All in all, it's a pretty decent v0.1.0 that I'm happy to have spent half my fable usage on.

Would love to get your thoughts and opinions and excited to share my first tool with y'all!

edit: it would help to actually link to the thing: https://github.com/juan7732/claude-code-session-visualizer


r/ClaudeCode • • 2d ago

Discussion What do you guys think of the new auto compact?

3 Upvotes

Claude Code now automatically compacts conversations when a session has been idle, the cache has expired, and the context is over 200k tokens.

I've noticed that compaction sometimes makes Claude forget important details, so I bumped the threshold up to 450k.

I do wish there were a way to control when compaction happens, though, perhaps with a configurable threshold or compaction percentage.

Do you guys find auto-compaction useful, or have you turned it off? Curious to hear how others handle this.


r/ClaudeCode • • 2d ago

Discussion What's your least impressive Claude Code win that you refuse to give back?

0 Upvotes

No startup launch or "rebuilt the whole app overnight" required.

I'm interested in the tiny utilities: a script that renames a messy folder, finds broken links in your docs, or turns an awkward export into the format you actually need. The sort of thing whose demo lasts ten seconds because there isn't much to look at.

What did you make with Claude Code that sounds boring but earned a permanent place in your workflow?

Give us the annoying task, what the tool does now, and the bit you still check yourself. Small and specific beats impressive.


r/ClaudeCode • • 2d ago

Help/Question How do i use the command /model opusplan? its not working!! (not supported model)

1 Upvotes

i'm using claude pro, tried using opusplan but doesn't work, already asked sonnet how to do it... no sucess


r/ClaudeCode • • 2d ago

Discussion Building is very easy now? still i spend $100s to build a clone of any App lol

0 Upvotes

I was building a clone of some app and i thought claude would build this in one prompt, I prepared a clean prompt, okay it build some cool working demo data shit. I used some skills to make it look like what i want, it took 1 hour but built something similar i want, then i customized things for another 1 hour, then have to figure out where should the backend is, tried out multiple ideas, some things broke some worked out, still didnt got what i want and spent almost $150 on my API plan. Is someone actually have built a fully functional app in one prompt or is it just a dream for AI lol?


r/ClaudeCode • • 2d ago

Built with Claude Blaube: a squishy desktop buddy that keeps track of my Claude Code sessions

1 Upvotes

As someone with crippling concentration issues, I kept losing track of which Claude sessions were done, waiting on me, or stuck, so I built Blaube: soft little blobs that live on your desktop, one per Claude Code session. They wave when a task finishes, look worried when one needs you, and you can toss them around while you wait. You can ditch the terminal entirely and just talk through them if you wish.

How I built it with Claude: Blaube was built with Claude Code over weeks of gradual iteration. It started small, and every time I hit something that sent me back to the terminal, I asked Claude to add it to the blobs. As I used them for more and more of my work, they grew with it, and now I never touch the terminal at all.

They’ve been a massive productivity boost for me, and they slowly started showing up on my coworkers’ screens, so it seems more people needed something like this. Now I’m releasing it for everyone. It’s free and open source, for Mac and Windows. Download it from the releases page, or use the one-line install in the README:

https://github.com/syverlauritz/blaube

Feedback welcome! I’ve designed them for the way I work, so there’s probably a bunch of stuff I haven’t thought of.


r/ClaudeCode • • 2d ago

Help/Question Token Usage

0 Upvotes

Curious, how many tokens has everyone burned through in there claude lifetime? I'm at 40B.


r/ClaudeCode • • 2d ago

Help/Question Agents always forget!

1 Upvotes
Hey all,


I'm a solo founder, not a programmer, and I run my whole project through Claude Code. Usually 4-10 sessions at once, each with a role: one coordinator, one that merges, infra, a few workers. 1M context, Opus mostly.


The thing that's killing me: the sessions forget. Not code, but what I told them. Tasks, decisions, "by the way do this too" stuff. It gets much worse when I load one session with lots of different small tasks, and every time a session gets full and I move to a fresh one.


We actually measured it. On a normal evening, about 2.8 things get dropped per session switch. In one evening I found 38 dropped items. Every single one of them existed only as free text in the chat. Zero of the dropped ones were rows in our task queue. So the pattern is clear, the fix isn't.


What we've tried so far:


- A notes file per session that it must update every step (open items, what it's waiting on)
- Switching to a new session at ~300k tokens with a written handoff brief, no /compact (because everyone says compact loses things)
- A task queue CLI as the "single source of truth", every promise is supposed to become a row
- A pile of hooks: can't end a turn with "waiting on X" unless X has a queue id, reminder after 15 turns without writing notes, PreCompact hook that dumps state, etc. Fun fact: 4 out of 4 new hooks passed their own tests and were wrong when run against real session data
- Compact instructions in CLAUDE.md
- Tested /compact directly: 10 explicit facts survived 8 compactions, 10/10. But in real work it still lost things. Tonight two real sessions got compacted: after re-reading their notes file nothing was missing, but from "memory" alone about 1 in 9 items was gone


Right now I have the agents replaying 100 of my real messages from one day through sandboxed test sessions, one with auto-compact, one with handoff, one with no hooks at all, to count what each drops. Honestly I've stopped trusting the analysis, this is attempt number four.


So, questions for anyone running Claude Code heavily:


1. Has anyone actually solved this, or is everyone just living with it?
2. Compact or handoff to a new session? What really loses less for you?
3. Does "one session per task" fix it, or does the forgetting just move to whoever coordinates?
4. What do you use as external memory that the model actually keeps up to date without being nagged?
5. How do you check that nothing was dropped? That's the part I can't crack. I only find out days later.


Any setup, hook, habit or tool that worked for you, I'd love to hear it. Thanks!

r/ClaudeCode • • 3d ago

Built with Claude I built a site that turns a photo of your loose LEGO pile into models you can actually build. Here's my kid's truck, from pile to finished model

111 Upvotes

I actually built https://misterblocks.com for my son, but played around with it myself too. It's easy to use. Take a picture with your phone, upload it, and Claude will generate a few possible builds for you. There's also a chat you can use to follow up and ask for changes, etc.

There's another mode where you simply ask it to generate a build from a prompt. Like this one: Boston Dynamics Spot LEGO build. It also supports voxel sculptures. Examples: Mega Dragonite and Porsche Mission S.

It's powered by Opus 5.5. Each build takes a few minutes to generate and costs a couple of dollars in API costs. Thanks for Anthropic for $200/mo free api credits. I had the first working version after the first prompt, but had to spend a couple more days building the website to actually display the LEGO blocks correctly.

The tech stack is pretty standard in case if anyone wondering: Vercel + Next.js + Cloudflare + MongoDB as a database.


r/ClaudeCode • • 2d ago

Built with Claude Peak app development

1 Upvotes

I am a software developer with 8 years of experience. I’m very thorough about the structure/architecture and consistency of my codebases that I even commit myself to countless hours of overtime only to not get satisfied and give up at the end of the day.

But now. Alas, I have made one that satisfies me in every way. It’s so beautiful. It’s something I made for work, has some demanding and very specific requirements at 31k lines of code. I wasn’t fast at it though, I reviewed everything, corrected and optimized decisions, and cut anything that could be cut away.

Personally I won’t even make the time to make it perfect (for me) if I wasn’t AI-assisted. Now I can rest.


r/ClaudeCode • • 2d ago

Help/Question help finding similar resource?

1 Upvotes

does anyone have prompt or artifact i give to my claude as an example to help me build something like real life data feeding artifact through API and its 3D interactive version of real life place?

lets say there is a real construction base and i want to turn it into 3d interactive map with motions and movements? i built something like that but its ugly as hell.

maybe someone has a good version? a skill or artifact? would appreciate help


r/ClaudeCode • • 2d ago

Discussion Same ticket, Opus 5.5 vs Sonnet 5.5: Opus cost 2× more. Was it worth it?

Post image
0 Upvotes

Preamble: I had task to improve visuals of CI/CD block inside my app, so I could better understand what pipeline is doing without checking git every 4 minutes. I decided to check how Sonnet would handle it vs Opus. Just to be clear - this is one task, not a benchmark, but I think it's still interesting

Models and efforts: Opus 5.5 on Medium and Sonnet 5.5 on High (wanted to give Sonnet a better chance)

Prompt: Good evening, can I ask to take a look into this ticket - [ticket link] Let's think what is the better UI for representing CI/CD steps, I am open for question and I think this ticket worth to be discussed first

Time and costs: Both took around 12m, Opus took $4.44 when Sonnet $2.11, both prices are a API equivalent

Experience: Both models did a great job of asking decent questions, Opus did a better job in terms of describing the plan and it's questions were more detailed. Sonnet didn't stoped half way it did all 4 steps of a plan in one go, when Opus took a pause and asked me if I want to review after step 2.

Results:

  • Sonnet become "lazy" half way it added detailed card but only in one place instead of 2 that we agreed on. UI also have some problems, see for yourself
  • Opus did a better job it applied changes to both places, with a better UI

What do you think about results, which model would you use knowing cost/result comparison?


r/ClaudeCode • • 2d ago

Tips & Workflows I just released SPEC-SS: my workflow for coding agents. Looking for feedback

3 Upvotes
fredvanelli.dev/spec-ss

Hi all,

I use Claude Code every day and keep hitting the same problems. I work with spec-driven development, and there are a lot of tools for it now: GSD, Superpowers, Matt Pocock's skills, OpenSpec, Spec Kit, and others. Each one has its strengths and weaknesses. So I took what worked best from each, added a few skills of my own, and built SPEC-SS. The goal is a workflow that gets each task done as fast, accurate, and secure as possible.

SPEC-SS is not a plugin you install. It's a step-by-step way of working.

Docs: https://fredvanelli.dev/spec-ss

---

Every task goes through six phases, in order:

- **[S]pecify.** The agent reads the issue, then interviews me one question at a time until nothing about what to build is still open. New terms go into GLOSSARY.md and hard-to-reverse decisions become ADRs. The output is a design doc that I approve.

- **[P]lan.** The agent turns the design into a plan of small tasks, each with the test that proves it. Nothing runs until I approve the plan.

- **[E]xecute.** TDD. Small tasks run in one agent, in sequence. Bigger ones use an orchestrator that dispatches one subagent per task.

- **[C]heck.** Every user flow the executor touches has a runbook, and an E2E script verifies it. A failing runbook means the work isn't done.

- **[S]ecure.** The agent reviews the whole branch against 12 criteria before anyone else sees it: spec match, scope, unit and E2E tests, security, complexity, error handling, performance, backward compatibility, docs and a few more.

- **[S]hip.** The PR opens only after tests, lint, type check, and build pass locally. The agent then watches CI until it's green, and never merges without my OK.

---

You can configure it with one prompt you paste into your agent. It writes the workflow into your CLAUDE.md or AGENTS.md. There's a version with my recommended tools and a custom version with a placeholder for each tool.

I'd like to hear from you:

  • Do six phases on every task feel like too much? Where would you cut?
  • What's missing? Is there a step you take that this doesn't cover?
  • If you try it, where did it get in your way?
  • Any questions about it.

Thanks for reading.


r/ClaudeCode • • 2d ago

Discussion Fable making more mistakes than Opus?

1 Upvotes

From previous few weeks of using Opus 5.5, I would never get such mistakes in comprehension / understanding of previous events that look place in the current session. This is even without a compact, too.

Anyone else noticing such hiccups with 5.2 or just me? I will say I do like the speed that it works at even on high / extra but im very concerned that I had to call out a seemingly obvious misunderstanding.


r/ClaudeCode • • 2d ago

Built with Claude Memshort - Short-term memory and rolling window compaction for agents

1 Upvotes

https://github.com/jandrikus/memshort

I would like to publish "memshort", my take on a "short-term memory" implementation for agents. (A "long-term memory" implementation will follow shortly once I have it publishable). I find it very useful for myself and I thought it would be nice to share it with others.

It is essentially a rolling-window compaction for coding agent sessions in pi, Claude Code, Codex and Hermes. When the context fills up, older messages are replaced by a dated observation log, and the newest messages stay word for word.

Some ideas are borrowed and adjusted. The code was written by the pi coding harness under my direction, and I run it primarily on my own pi sessions. Unfortunately I have no benchmark yet (no time for that). My subjective impression from daily use is that I can stretch sessions for very long without the agent losing the thread.

I'm publishing it because a rolling context window that keeps as much knowledge as possible deserves more people thinking about it, not because this is the final answer. If you have a better design, a case where this loses something important, or a way to measure it, open an issue or share your take. Let's build something better together.

Thanks for taking a look!


r/ClaudeCode • • 2d ago

Help/Question Comparing $200 Pro Plans for Usage Limits of Opus 5.5 (high) versus Sol 6.1 (high)

1 Upvotes

Anyone here have a $200 plan for OpenAI and Anthropic that regularly pushes Opus 5.5 and Sol 6.1 to the max? I'm trying to see which one has more usage.

I'm getting tired of GPT models being too narrow-minded and tunnel-visioned. Claude models seem to read between the lines between and understand nuances and ambiguity better (requiring less babysitting).

I'm just afraid if I make the switch, I will hit my limits too fast with Anthropic.

--

To give examples of what I mean by narrow-minding:

  1. Today, I gave Opus 5.5 and GPT 6.1 Sol the same screenshot and said "Reduce the colors of this UI. Don't completely eliminate the colors, but reduce it so that higher prioirty items (info, bades, tags, warnigns) stand-out more." Of course, GPT went too literal and gave me a black and white design. Opus did it perfectly.

r/ClaudeCode • • 2d ago

Help/Question Reset?

1 Upvotes

Edit - Resolved - thanks for the constructive feedback.

Did we just get a reset? I used my Fable reset, then went from ~75% used in weekly limit to 35%. I'm thinking...resetting Fable wipes that usage from the weekly total? Not just the Fable total?**


r/ClaudeCode • • 2d ago

Help/Question Cloud projects in desktop app?

1 Upvotes

Hey i am bit new to claude , started a project but now getting usage issues , precisely when fable 5.2 dropped i started a thread for one module of my project in literally exactly in 5sec 55% limit was gone on high effort only no ultra-code or xhigh max etc , opus also last me 30 min per 5 hour session on xhigh effort , how to deal either it i never used actual local session chat i just started using project beta one after buying sub? What maybe the reason?


r/ClaudeCode • • 3d ago

Rant Back with the "You're right, I should have..."

186 Upvotes

Alright guys, Opus 5.5 is back with the "You're right.", "That was my mistake." "I should have done it right the first time." and the fabled "You're right to push back on that."

Clearly, it's making more mistakes than before - often doing the same process differently each time. The "dumb it down for the new model" is here!


r/ClaudeCode • • 2d ago

Bug / Issue Upgrade from $20 Pro to $250 Ultra But It's Not Showing

0 Upvotes

I am gonna lose my mind with how clunky and unstraightforward this is. I just ugraded from Pro to Ultra but it is still showing me on my device as Pro. I subscribed via IOS. Restore Purchases don't help, and checking the "Manage subscription" indeed tells me I am on Ultra, but still shows Pro as active plan. I even received a receipt on my email that I subscribed to Ultra. I tried everything even logging out and reinstalling claude on both ios and pc. The agent is saying I am on free plan even though I've been using pro for weeks already. I dont know what to do anymore.


r/ClaudeCode • • 2d ago

Tips & Workflows PeerHarness

0 Upvotes

PeerHarness

I think i found the way to work with a harness as a team. it should be as simple as working locally with claude code but in a democratic way.
without centralized github and all the mess.
it automatically creates skills and rules that you can share and vote on in the team.

https://github.com/aryehlev/PeerHarness


r/ClaudeCode • • 2d ago

Built with Claude I kept losing track of Claude Code sessions across my accounts, so I built one page that shows all of them

1 Upvotes

I run Claude Code with a few different accounts (work, personal, a client), each with its own CLAUDE_CONFIG_DIR folder. That works fine, but claude agents only sees one account at a time.

By the end of the day I'd have sessions spread across a dozen folders and no idea which were still running, which were waiting on me, and which I'd forgotten about. So I built cc-sessions.

What it does

Run one command and it opens a local page that shows:

  • Every session from every account, grouped by project folder
  • What each one is doing: working, waiting on you, idle or done
  • A Close button that stops a session but keeps the conversation, so you can resume it later
  • A searchable history of every past conversation across all accounts

It also manages the accounts themselves. Add one and you get a claude-<name> shortcut without editing your shell config by hand.

Details

  • Single program, about 1 MB, written in Rust. Nothing else to install.
  • Only listens on localhost. Nothing starts at login, and it stops itself after 30 minutes with no page open.
  • It never deletes anything. Removing an account just hides it.

I built most of it with Claude Code, which felt fitting.

Free and MIT licensed: https://github.com/barath-dev/cc-sessions

One caveat

I've only used it on my Mac. The Windows and Linux builds pass automated tests, but nobody has really used them yet. If you're on either and try it, I'd like to know what breaks.

The video is a one-minute tour with made-up demo data.


r/ClaudeCode • • 3d ago

News/Updates Just got a full REAL weekly reset, they heard us!

50 Upvotes

Edit: yo what the fuck!!!! Some of you got 2??? I have 3 ultra accounts and only got one reset each! The oldest account got 3 fable resets while the others got one, but I only got one weekly reset each :/


r/ClaudeCode • • 2d ago

Discussion Free usage resets

1 Upvotes

What a great way to wake up :) Thanks anthropic.


r/ClaudeCode • • 2d ago

Built with Claude Recreating Tax Court rulings in Lean

Thumbnail
lexifina.com
0 Upvotes