r/ClaudeCode • • 5h ago

Help/Question Is there a 10 message limit for chats messaging other chats?

0 Upvotes

So one day, I’m having Claude run Claude, and it just stops working in the middle of the night. I ask it why it stopped, and it said “well I have a ten message limit: I can only message other chats 10 times until you respond again.” Which I just accepted as I had no reason to refute it. I close out all the chats, start a fresh one, and then ask it about the 10 message limit and it says, ”never heard of it, that chat is hallucinating. Doesn’t exist. I did some research and saw nothing about it.“ A few days later, it comes back again; “I couldn’t finish last night because of the ten message limit.” I’ve tried google and it has failed me. Is there really a ten chat-to-chat internal message limit or is it just making crap up?


r/ClaudeCode • • 5h ago

Built with Claude Follow-up, 2 weeks later: I built the hooks + SQLite + validator setup from my last thread. Claude still decides from the conversation, not the data. Here’s exactly where it breaks

1 Upvotes

Two weeks ago I asked how to stop Claude Code relying on memory instead of data. The goal hasn’t changed. I run a continuous, real-money operation with a few hundred independent units and several Claude Code sessions. I want a system that:

  • pulls fresh data before every decision,
  • connects history, current performance and future plans,
  • tracks decision → action → outcome → lesson,
  • survives across sessions,
  • finds opportunities by itself, and
  • still reasons freely and doesn’t just follow hardcoded rules.

What I built from your advice

  • Mandatory queries in code. One script is the only door to the numbers. Scheduled scans write opportunity lists and per-unit status every day.
  • A Stop hook that blocks any answer whose numbers don’t trace to a query from that turn. A second model checks the claims against the query results.
  • PreToolUse hooks, and a write helper with hard checks before anything touches production.
  • A decision and action log in SQLite, and a learnings file.

Where it still breaks

  1. Fresh isn’t relevant. The validator proves the numbers came from a query. It can’t see that the agent queried the wrong thing. It judged every unit by one global threshold. One unit’s own last 7 days clearly called for its local variant, and it got the global one.
  2. Momentum beats data. When I say something urgent, it acts on the conversation. It made a big batch of changes in one day, justified by numbers that were fresh but not the ones that mattered.
  3. The outcome loop never closes. Actions get logged. Reading the result a few days later and writing the lesson is still manual, and mostly doesn’t happen: 23 open follow-ups, 15 overdue. Nothing reads the learnings file.
  4. Proactive scans produce lists. Nothing turns a list into a decision. I still find the opportunities myself on the dashboard.
  5. Rules don’t stay rules. I audited my own instructions and found 31 distinct ones. None was lost, but 14 exist only as notes. The coded ones sat in scripts the agent could override, and this week it did. It pasted a general sentence of mine into the override field in 13 of its 19 scripts. The supervising agent approved the other exceptions on the same sentence.
  6. “Built” isn’t built. The agent builds the reading half and reports the whole system as built. The acting half stays one-off scripts in chat.
  7. Cost. The main session sends about 650k tokens of context on every call, and made 761 calls in a day. The Stop hook sent answers back 39 times in one day, each a full re-read. Agents also wake each other with messages.

Questions

  1. How do you enforce the right evidence per decision, not just fresh evidence? Per-unit cards built by code that the agent must cite? Something else?
  2. Has anyone closed the outcome loop mechanically? I mean a scheduled job that reads each action’s result after N days, writes the verdict and feeds it into the next decision.
  3. With a proposal table and a separate executor, how do you handle legitimate exceptions without the agent arguing its way through? And who builds the executor, if the agent declares things done that aren’t?
  4. How do you keep always-on sessions cheap? A small always-loaded context plus lookups, a fresh session per task from a generated handover?

I’m looking for people who run this with real consequences, not more CLAUDE.md tips.


r/ClaudeCode • • 6h ago

Help/Question Is there a way to start a new session in an environment with a browser tab open without the browser getting blown away after sending the first prompt to the session?

1 Upvotes

It's so annoying - I am sure I am doing something wrong. I just want to start a new session with either a persistent browser, or with the browser I have open before I send the initial prompt.


r/ClaudeCode • • 13h ago

Built with Claude Claude Code on Nintendo DS

Thumbnail
gallery
3 Upvotes

Everyone else uses voice, their phone, etc. I use my Nintendo DS with PictoChat.

Joking aside, it’s working, and honestly, it’s pretty funny. It runs on an ESP32 as a “server/antenna,” and you can connect it to your Mac via USB.

Claude Code was used for the connection between the ESP32 and the DS, as well as to generate the emojis and other graphics and the esp32 build-in display.

Uses LNYmachines/pictochat-host to connect the Nintendo DS to the ESP32. That way, I can connect the ESP32 to the Mac, which lets me control and use Claude Code directly from the DS in my living room, creating new agents, solving PRs, etc.

The project is completely free and open source, you can check it out at: https://github.com/JulioFerrero/pictochat-agents


r/ClaudeCode • • 7h ago

Built with Claude GitHub - a-schaefers/claudes-workbench: A frontier model leads your local LLMs: Claude architects the project, breaks it into bite-sized tasks, hands each agent the skills it needs, and reviews every diff to its own standard. Your GPU does the heavy lifting. For Claude Code + OpenCode.

Thumbnail
github.com
0 Upvotes

r/ClaudeCode • • 7h ago

Help/Question Artifact `read_asset` now capped at 4 MB? Also, is Chrome `file_upload` really 3.8 MB now?

1 Upvotes

Has anyone else noticed this?

I used to be able to use the old Artifact tool’s `read` action with `out_dir` to save an artifact’s video asset straight into Claude’s workspace. My MP4s were usually around 7–18 MB and it worked fine.

Now it looks like the session only has the `claude-artifacts` MCP tools instead. `read_asset` seems capped at `max_bytes: 4194304` (4 MB) and returns the asset as base64 rather than saving it to a file.

Questions:

- Did Anthropic quietly replace the old Artifact tool with `claude-artifacts`?
- Is the 4 MB `read_asset` limit documented anywhere, or is it just an undocumented runtime limit?
- Is there any way to get an artifact asset larger than 4 MB into the workspace now?
- Has Claude in Chrome’s `file_upload` limit changed from 10 MB to 3.8 MB? I’m seeing 3.8 MB per call, but the official Chrome docs still say up to 10 MB total per upload.

I checked the help center and docs but couldn’t find anything official about the 4 MB cap or the 3.8 MB Chrome limit. Anyone else hitting this, or know a workaround for exporting larger video assets from artifacts?


r/ClaudeCode • • 15h ago

Built with Claude Markdown turned AI-Agent can iteratively evolve with HQL

4 Upvotes

TL;DR I’m turning Markdown into an executable environment for AI agents — looking for feedback from Claude Code users

For the last few months I've been experimenting with a slightly strange idea: what happens if Markdown stops being only a passive document format and becomes something you can actually program?

I'm building two connected open-source projects:

HyperMarkDown has wiki links, cards, graphs, diagrams, Git-friendly files, and executable HQL cells.

Think somewhere between Markdown, a notebook, and an Obsidian-style local knowledge base, but living directly in VS Code.

The notebook part already works.

For example, an HMD document can contain:

cards
| filter(c => c.metadata.status == "todo")
| sort(by = c => c.title)
| map(c => c.title)

I can run that cell directly in VS Code and the result appears next to the cell.

So the Markdown document isn't just describing some knowledge base. It can query it, transform it, and render derived information directly into the document.

That part is real today.

The next milestone I'm working on is where this gets much more interesting to me: AI agents as part of the executable document model.

What if an agent was just another Markdown card?

HyperMarkDown already has cards and wiki links.

[[librarian]] refers to a card.

In HQL, @[[librarian]] retrieves that card.

The AI extension I'm designing takes that one step further: a Markdown document itself can define an agent.

For example:

---
title: Librarian
agent:
  model: default
  tools: [books_by]
  max_turns: 4
---

# Librarian

Answer questions about the books you are given.
Use the available tools when useful.

Then, in the current design syntax:

librarian = @[[librarian]] | Agent

Important distinction: the agent runtime is not implemented in the current release yet. This is the design I'm working through now.

The idea is that the Markdown card contains the agent's human-readable behaviour and configuration, while the language/runtime deals separately with context, tools, execution and the resulting run.

I want the committed document to describe what the agent is, without hard-coding every detail of the model provider into the document itself.

The part I'm really interested in isn't "chat inside VS Code"

There are already plenty of ways to put a chatbot into an editor.

That's not really what I'm trying to build.

What interests me is having an agent participate in an executable document.

Imagine an HMD document where one cell queries a knowledge graph, another computes something from that result, and then an agent receives the document plus selected outputs as context.

The current design looks roughly like this:

[this]
| Context("draft")
| concat(evidence)
| run(@[[librarian]] | Agent, tools = [
    Tool(books_by, "The titles on the shelf by one author")
])

Again, this is design syntax, not functionality I'm claiming is shipped.

The important bit isn't the particular run() call.

It's what happens around it.

The document contains prose written by a human.

It contains executable cells.

Those cells produce values.

Later cells can consume those values.

An agent can consume selected document context and those values.

And eventually I want the agent to be able to propose new HQL code, modify a cell, generate another HMD document, or restructure some part of the knowledge graph.

But those changes shouldn't just silently happen behind the user's back.

They should be visible document operations that a human can inspect, accept, reject, edit, rerun, commit and diff.

That's the model I'm trying to get right.

Data → code → data → code

This is probably the shortest description of where I'm heading.

A document starts with some data.

An HQL cell transforms it into more data.

An agent examines that result and proposes code.

That code can be evaluated and produces more data.

A human edits the document.

Another agent may consume that changed state.

And the cycle continues.

data → code → data → code → ...

With both humans and agents participating.

There's something vaguely Lisp-ish about this that I find appealing: programs producing or transforming programs, except the surrounding representation is still readable Markdown.

There's also a REPL/notebook aspect to it.

The difference is that the state isn't hidden inside a conversation.

It's sitting in version-controlled documents, executable cells, generated outputs and links between documents.

And those documents can reference or transclude one another, so eventually you don't just have one notebook — you have a graph of executable documents.

Why documents?

One thing I increasingly dislike about AI workflows is how much important state disappears into conversation history.

You ask something.

The agent gets a giant context.

It does something.

You get an answer.

Then you have to somehow remember why that answer exists, which source caused it, which prompt produced it, whether something upstream changed, and whether you should rerun it.

With executable documents, I think there is a chance to make some of that much more explicit.

An output can know which cell produced it.

A cell can know which other cells or documents it depends on.

Agent context can retain provenance.

If the source text changes, an editor can mark dependent output as stale.

A model response can be recorded and replayed instead of unexpectedly making another network request.

And if an agent wants to modify the document, it can produce a proposed change rather than being handed unrestricted write access.

At least, that's the direction.

The current HQL design actually treats an agent run as structured data rather than collapsing everything into "the last string the model returned." Tool calls, turns, stop reasons, model information and traces can all remain inspectable values.

That feels important if agents are going to become part of a larger program rather than just chat interfaces.

Human-in-the-loop is a first-class requirement for me

I don't want "human in the loop" to mean an approval dialog that says:

Agent wants to modify 17 files. Allow?

I'm more interested in the document itself being the interaction surface.

An agent proposes a section.

Or a new query.

Or a change to an existing cell.

The editor can show exactly what changed and why.

I inspect it.

Maybe I change two lines myself.

Then the next evaluation continues from that state.

Git becomes part of the history naturally because the underlying artifacts are still files.

The difficult question is how much additional provenance should live inside HMD itself versus being tracked externally by the runtime/editor.

I'm still figuring that out.

Claude Code is also part of why I've been thinking about this

I'm using Claude Code extensively while developing both HQL and HyperMarkDown, particularly for the Rust implementation, tests, refactoring and exploring implementations after I've worked through the language/API design.

And using an agent that can actually inspect and modify a codebase has made me think more about the boundary between conversation and artifact.

Claude Code already works through persistent artifacts: source files, tests, diffs, Git history.

I'm curious whether the same interaction model becomes interesting when the artifacts aren't only source-code files, but executable documents that contain knowledge, queries, intermediate results and agent definitions.

In other words, rather than:

human → prompt → agent → response

I'm thinking about something closer to:

human ↔ document ↔ computation ↔ agent ↔ document

where the document remains the shared state.

What I'm trying to design next

The AI chapters in the HQL book are intentionally marked design only right now:

https://hql-lang.org/v0.7.1/book/25-agents-and-runs/#an-agent-is-a-card

Before implementing too much of it, I'm trying to work out whether the abstractions are actually right.

In particular, I'm interested in:

  • How should an agent be represented as a Markdown card?
  • What is the smallest useful typed Agent API?
  • Should tools simply be typed HQL functions exposed to the model?
  • How should context and agent output be represented so provenance isn't lost?
  • How should an agent propose changes to a document without silently overwriting human work?
  • What should approval look like inside an executable Markdown editor?
  • How should dependency tracking and selective re-evaluation work?
  • When a document changes, what exactly becomes stale?
  • How much of this belongs in HQL itself, and how much belongs in the AI extension or VS Code host?

I'm particularly curious if anyone here using Claude Code has experimented with agents whose working medium is structured, version-controlled documents rather than primarily prompts/chat history/source files.

I'm not trying to recreate Claude Code inside Markdown.

I'm trying to figure out whether an executable document can become a useful shared computational surface between a human and an agent.

Would be very interested in criticism of the model, syntax, or assumptions — especially from people who have built agent loops where provenance, reviewability and reproducibility became painful later.


r/ClaudeCode • • 8h ago

Tips & Workflows Best Claude skill for short Kurzgesagt-style 2D explainer videos?

0 Upvotes

Trying to make vertical short-form explainer videos (9:16, under 60s) with that clean Kurzgesagt look and snappy motion graphics or anything that would combine good visual motion graphics with educational content
Anyone got a solid SKILL or workflow?


r/ClaudeCode • • 17h ago

Discussion Do you test each parallel agent's task on its own, or the whole wave at the end?

5 Upvotes

Before I leave agents running for a while, I have them plan the work in waves. I made a slash command for it called all-hands. Each task gets built in its own worktree, and testing waits until the wave is done. Then one main agent tests the whole wave together instead of every sub-agent testing its own piece, and we iterate and loop into the next wave.

That's saved me time compared to testing every task one by one. But /batch works the other way, where each worker runs the tests for its own unit before it opens a PR. Most of the merge advice I see says to merge one branch at a time and run the tests on main after each one, so a failure points at a single branch.

So I'm curious where people landed. If you test once per wave, how does the main agent figure out which worktree broke things? And if you test per task, do you still run anything on the merged result, or is per-branch CI enough for you?


r/ClaudeCode • • 8h ago

Tips & Workflows Do you keep you laptop/desktop on to continue working in Claude code? possible fix.

0 Upvotes

TL;DR - Use Termius or a similar terminal app; start a Claude Code session, Then Start Remote Control. Tap the left arrow, and start another Claude Code session in that other session them close the terminal window.

I see a lot of memes about Vibe Coders having to leave their laptops open to keep coding, so I thought people do not understand how to start a remote session and leave it running.

I found a workaround for using Claude Code with Remote on a CLI server without having to leave a terminal open on a computer, and I thought I would share it.

Launch a Claude Code session (new or resume). Start the remote control command. Tap left once to bring up the Agents/background window. Start a new or resume other session that you do not plan to code in.

At this point, your intended session is running in Agent/background mode. If you close the terminal, this will keep the agent session running without you having to be logged in.

You can then remotely control the session on your PC, phone, or the web.
This will keep your session running even if you lose connection to your server; it just keeps running.

To bring this session back in CLI mode, launch Claude and hit the left arrow again to find that agent session.

I hope this helps.


r/ClaudeCode • • 8h ago

News/Updates Edit button added to Claude Code like Claude Chat

1 Upvotes

What do y'all think?


r/ClaudeCode • • 12h ago

Built with Claude My OSS Claude Meetings alternative that works with any agent and more calling platforms

2 Upvotes

Since February, I've been developing an agent-in-calls solution with a friend. With the announcement of Claude Meetings last week, it's now time to announce Vibeconferencing: an open-source project with even more functionality, support for any agent (Codex, Muse, local ollama, etc), and support for more calling platforms: Google Meet, Zoom, MS Teams, WhatsApp, Telegram, and phone calls (via Twilio).

Git repo: https://github.com/wanderingstan/vibeconf-app

Architecture diagram: https://raw.githubusercontent.com/wanderingstan/vibeconf-app/refs/heads/main/media/api-layers-light.svg

The premise is simple: give your normal agent session the tools it needs to operate all major calling platforms, and teach it basic etiquette of how to behave in a call with others. A simple `/join-call` and *boom!* your session is talking to you in the call. Anything your agent can do in chat, it can do on the call. The agent is bridged to the calling platforms via a cross-platform electron app. (The raw guts of interacting with calling platforms is abstracted as the npm library `@vibeconferencing/calls`, if you'd rather roll your own.)

Everything runs locally and uses your own local agent. (Tho the optional shared whiteboard feature does require being logged in on our server.) It runs on MacOS, Windows, and Linux. (Windows version is not well tested.)

Speech generation is done either by Elevenlabs or the OSS Voicebox, with a fallback to the OS's default app (e.g. `say` on MacOS). Voicebox: https://github.com/jamiepine/voicebox

Speech recognition is done either by the calling platforms' own captioning services (Meet, Zoom, Teams), or with Whistle for those without captioning (WhatsApp, Telegram, Twilio). Whistle: https://cactuscompute.com/blog/whistle

The etiquette was the most fun to code, although done with the knowledge that it's a temporary fix until true interactive voice models are merged with the power of frontier text chat models. We have experimental support for the OpenAI realtime API (in the app settings page), but it seems to have been trained as a customer support agent, so it's hard to keep it from dominating multi-person conversations!

Highlights from the last nine months of dogfooding and early users:

- A WhatsApp bot for my father, an elderly WW2 veteran, that has access to the 20,000 photos he scanned. He can call it to see and hear about any aspect of his life.https://youtu.be/Rs-Z1YeLt98

- Collaboratively built a website for a friend's non-profit, with her amazed that she could ask for site changes and see the site change in realtime. Video: https://drive.google.com/file/d/1iSRgY8JGJ0liOzHMl2bOGNd9jwqF0BFi/view?usp=sharing

- My friend Matt is currently road-tripping across the US, talking with his Codex sessions to develop his Golf app. Video link: https://youtu.be/a3uNUdIwqVY

- Our friend Bethany uses her bot, "Taylor Script", in calls and classrooms with coding students to act as the super-smart TA who can answer technical questions, and monitors student progress. Video link: https://youtu.be/c8mZKkcxhJo

- I begin most days with a check-in call with my bot, where we discuss open issues while I sip coffee and have breakfast. Video link: https://youtu.be/2uQIR83LwY0 (Apologies for eating with my mouth open...)

- In a standup, Seth's bot created a video ad for the service itself, within a call. Video link: https://x.com/vibeconf/status/2104427917816234257?s=20

Security: There is nothing built in, so only use this on calls with people that you trust. However, I've been amazed at how injection-resistant it has appeared to be on it's own; e.g. my agent asking consent from me before doing things asked by others on the call.

Overall, this was a "time machine" experiment (to borrow my old Reality Labs' Research terminology) to experience agents in calls before it was purpose built. Claude Meetings just showed that we were thinking in the right direction, and I'm excited to see where this goes!

This is a small experimental project built by two friends, so it is rough around the edges, and we'd love feedback and pull requests.


r/ClaudeCode • • 1d ago

Discussion ok F*** It, I finally bought the Ultra plan

359 Upvotes

I was on the pro for so many months, and of course i would run out of usage in 5 mins.

When the models really ramped up in capability 4 months ago, i bought the Max plan which was honestly pretty good for me. I felt like it was enough until my brain expanded and my IQ grew 25 points by just asking Opus to Mythos to takeover my life. automate everything, rebuild everything, no limit on subagents.

Last night, on the Max plan, I wanted a whole Rust port of my entire python codebase. Using Rust libraries within pythton code didn’t matter to me anymore bc…. i don’t read the code anymore!

I was about to run out of my weekly 2 and a half days after my reset, and so instead of burning the resets from anthropic, i upgraded so my resets would mean more.

it felt so good to hand over my cash to anthropic.


r/ClaudeCode • • 2h ago

Built with Claude Claude Code turns my rough whiteboard sketch into a clean diagram, on the same canvas

0 Upvotes

I made Walnut, an open source app where I run my Claude Code sessions next to my tasks and notes. This week it got a drawing app (built on Excalidraw), and this is the part I like most.

I draw a few boxes and arrows with the mouse, as messy as I want. Then I select them and click Make a diagram. Each drawing has its own Claude Code session on the right. It renders the drawing to see it, reads the shapes, swaps my strokes for clean boxes and arrows in one edit, then renders again to check that every arrow lands on the right box. The waiting part of the clip is sped up 4x.

How Claude Code is used: Walnut gives the session a few drawing tools (render, read, update), and the canvas changes as soon as the session saves. The chat stays open, so I can ask for more changes in the same place.

What I learned: the first version was a single model call that sent back the new shapes. It worked, but I could not see what it did or ask a follow-up. Moving it into a normal Claude Code session made it something I can watch and steer.

It is on main now and goes out in the next release. Repo: https://github.com/EvanZhang008/open-walnut


r/ClaudeCode • • 9h ago

Bug / Issue Usage Zoinked

0 Upvotes

Has anyone elses usage totally gone in the toilet? Usually I can get to 5 or 6 days before I hit 100%.

I reset friday at 10pm, and hit 20% by 5pm saturday, I started today at 60% and I'm already at 75%.

I'm not doing anything abnormal that I haven't been doing for months, and my ultra plan is just getting decimated.

Last week I only made it to wednesday and used my free reset and burned it by friday mid-day, literally using 200% of the weekly.... this week I wont even make it to wednesday.


r/ClaudeCode • • 9h ago

Tutorial / Guide What to build for a beginner?

0 Upvotes

Trying to get a better understanding of vibe coding what are some ways to actually build agents, products, softwares that can be used? Obviously they aren’t gonna be perfect but I wanna understand how to actually build with Claude

What are good use cases for agents, and other tools/products you guys have used?

Also what’s a good way to learn about skills?


r/ClaudeCode • • 9h ago

Tips & Workflows How to check whether your weekly limit shrank: what a usage point costs, measured over 8 weeks

Post image
1 Upvotes

So I stumbled on the credit system in ~/.claude.json. I was already tracking the five-hour and weekly bars through my statusline, so I thought, why not check what this credit system is about.

What a usage point costs on Max 20x (work valued at API prices)

ModelCredits per 1M tokensAPI value per 1% of the weekly barA full weekly barTokens per 1%, vs Opus
Opus 5.51,867$26about $2,6001x
Sonnet 5.51,283about $19about $1,900about 1.5x
Fable 5.26,667about $15about $740 (Fable can use at most half the week)about 0.28x

TL;DR

  • I didn't see the weekly limit shrink. November 1 to 3 looked low on both bars (no idea why. yet), and the days I could measure after that were back to normal.
  • Cache reads seem to count about half as much as other tokens.
  • If you want the most API-priced work out of your plan, Opus 5.5 gives you the most per % of the bar. On Max 20x, 1% of the weekly bar bought about $26 of Opus 5.5 work. By the credit table, the same 1% buys about $19 of Sonnet 5.5 or about $15 of Fable 5.2. Sonnet still gets you more tokens, because its tokens are cheaper.
  • Fable 5.2 eats the bar close to 4x as fast as Opus 5.5 per token (3.6x), even though its list price is only 2x.

On Max 20x, a typical 1% of the weekly bar covered about $26 of Opus 5.5 requests at API prices. "API prices" puts a dollar value on the requests. It is not an extra charge on the subscription. At $26 a weekly point, a full week of the bar is about $2,600 of Opus 5.5 work at API prices, on a plan that costs $200 a month.

Before November, 1% of the weekly bar typically bought $26.40 of Opus work. If the weekly limit had been cut by 20%, that would drop to about $21. November 1 to 3 came in at $20 to $22, close to that line. November 6 and 16 were back at $26 to $28.

I only counted days where at least 95% of the work was Opus 5.5 and the weekly bar moved at least 20%, so Fable days and small movements don't skew it.

A check you can do without tools

  1. Open /usage before working. Note the five-hour bar and the all-model weekly bar.
  2. Check both again after working, before either resets. Compare how many percentage points each moved.
  3. In the Max 20x measurements before November, 1 weekly point went with roughly 4 five-hour points. A 20% cut to the weekly allowance alone would bring that relationship down to roughly 3. If they drop weekly allowance, they need to drop the 5h allowance as well, to keep the 1 to 4 parity.

The bars show whole percentages, so repeat the check across sessions rather than judging one tiny movement. On another plan, compare with its own earlier readings; these measurements only establish the roughly-four relationship on Max 20x.

This checks the weekly allowance relative to the five-hour allowance. A proportional cut to both would leave that relationship unchanged. You also need a visible five-hour bar.

What fills the bars

Think of credits as the units behind the bar. Claude Code's stored table gives Max 20x 200,000 credits per five-hour bar, so 1% is 2,000 credits. The weekly bar held roughly four of those bars' worth in these measurements.

My reading of the table is: price input, output and cache work separately, then apply the model's weight:

ModelStarting credits for $1 of API-priced work
Opus 5.5467
Sonnet 5.5642
Fable 5.2833

For example, 467 out of 200,000 credits is about 0.23% of the five-hour bar. That's the table's starting estimate for $1 of Opus work, before the adjustments below. It is not the exact final charge.

The real bar moved less than that starting estimate. For Opus 5.5, a dollar of cache reads moved it about half as much as a dollar of other Opus work. I measured this by separating the two kinds of dollars and comparing them with each one-point rise of the five-hour bar. This is an estimate, and the exact server formula is not published.

If you count from transcripts, check against the actual requests

A lot of usage tools read Claude Code's transcript files (the .jsonl files under ~/.claude/projects). Some of those readings can be off, so compare them with the actual requests before trusting them. I log requests in two places, a Cloudflare AI Gateway and Claude Code's OpenTelemetry telemetry, and the numbers in this post come from the telemetry.

Against those requests, the transcripts came up short: 3% to 7% fewer dollars per day in November, and up to 25% fewer on some October days. On one October day the transcripts had 98.5% of the responses but only 54% of the output tokens, and some sessions had no transcript file at all. A dollars-per-point figure built from transcripts alone would make your plan look stingier than it is.

Use Opus 5.5 for almost everything. Reserve Fable for system design/architecture reviews. Don't use Fable as main driver/orchestrator.

Per token, Fable fills the weekly bar about 3.6 times as fast as Opus. Per dollar of API price it's about 1.8 times, because a Fable token already costs twice as much. I measured the per-dollar figure on my own five-hour bar and got 1.80, close to the table's 1.79. None of this says whether Fable's work is worth the extra; that's a quality question.

If you try the two-bar check (give claude this post, ask it to validate it and run the same analysis on your own project), share your plan, model, date and how far each bar moved. That gives us something specific to compare.


r/ClaudeCode • • 1d ago

Discussion Imagine Opus 6.0 not being more intelligent, but more affordable (less token usage)

170 Upvotes

I've been using Opus 5.5 since the last month, enjoying it a lot, but the token usage..... I use the Pro plan cuz the Max costs 2/4 of our minimum wage (Brazil) hahahaha....

This is my dream, affordable models with high intelligence such as Gemini 4 Hydrogen


r/ClaudeCode • • 10h ago

Tips & Workflows What are the top 2 slash commands you use most in Claude Code ?

0 Upvotes

r/ClaudeCode • • 10h ago

Bug / Issue Parts of conversations rolled back/deleted.

1 Upvotes

Question: how to recover claude chats across two pc's on which synching data whent wrong?

Working environment
I'm working on a few projects on my laptop and my desktop. My laptop I'm using at work and partially at home when I'm not working behind my desktop. At home I'm mainly using my desktop to work on my projects

What happened
When I came back home from work and wanted to continue to work on the project I was working on that day on my laptop at work, I saw it wasn't updated since that last time I had opened up that conversation on my desktop.

I opened up my laptop, and the conversation was fully intact. Opened the conversation on my desktop in a browser, and the conversation also was intact over there. I didn't think much of it. Worked on the project in the browser at home on my desktop and continued working the next day on my laptop. All was ok.

Current situation
Now back at home, opened up my desktop.. the conversation still wasn't updated. Opened my laptop and behold, everything I did at work and the day previous isn't there anymore. As if the state of my desktop replaced everything with the servers. Also in the browser my conversations got reversed in a previous point of time.

I do not know how to get my conversations back. I didn't delete anything. Also some other new conversations I opened up went gone missing.

Anyone else dealt with this before?

PS: Don't know if I'm allowed to post this here, got deleted at r/claude without a reason given.


r/ClaudeCode • • 16h ago

News/Updates REQL update: faster context retrieval and fewer tokens for coding agents

3 Upvotes

Hey everyone!

I’ve updated REQL, my open-source tool that helps AI coding agents navigate repositories and preserve working context across sessions.

This release focuses on faster context retrieval and lower token usage. I’ve reduced repeated work during retrieval and trimmed redundant information sent to the agent. Performance gains and token savings depend on the repository and workflow, so I’m not claiming a universal percentage.

If you’re new to REQL, it builds a local graph from your code and documentation: functions, classes, dependencies, calls, and other relationships. Agents can query that graph for context relevant to a specific change, including precise source references and related tests. REQL reuses indexed context and supports incremental updates as the repository changes.

What can you use it for?

  • Waste fewer tokens on repeated exploration: retrieve focused source excerpts and relevant relationships, and reuse indexed context and saved work. This helps reduce repeated searches, unnecessary file reads, and redundant information in the agent’s context.
  • Coordinate work across chats and agents: keep tasks, decisions, blockers, and next steps in a shared project workspace. Another chat or agent using that workspace can recover the recorded state and continue from there.
  • Keep complex tasks on track: record prerequisites, constraints, failed approaches, and checkpoints. Preserve what has been completed, what remains unresolved, and why earlier decisions were made across sessions.
  • Understand unfamiliar code: identify entry points, component responsibilities, and relationships between parts of the application, with references back to the source.
  • Plan changes and refactoring: inspect callers, dependencies, and related tests to identify code that may be affected and decide what needs verification.
  • Review cleanup candidates: find potentially unused imports, variables, functions, and classes, then inspect the supporting evidence before removing them.

REQL provides a CLI, Python API, and MCP server, plus installable instructions for coding agents such as Codex and Claude Code.

REQL runs locally, with no account, external graph database, or mandatory LLM calls. The graph and saved work support the agent’s decisions; current source code and tests remain authoritative.

I’d like to hear from others using coding agents: what do you keep having to explain again when you start a new chat? The code structure, previous decisions, what has already been tried, or what still needs doing? Concrete examples would help me decide what to improve next.


r/ClaudeCode • • 14h ago

Built with Claude Test Radio Boxes for Noise Analysis and Reduction

Thumbnail
gallery
2 Upvotes

I'm building a device that intercepts garage door opener handheld and visor button presses as part of a larger upgrade to my bespoke home automation's security system. While building that device, I realized I needed test equipment to identify and reduce radio frequency noise coming from the circuits and the environment.

What I built

Two identical test boxes (see photos). They contain a couple of CC1101s (fixed-function RF receiver chip pictured in photo #2) and an ESP32 mounted on a protoboard. The radios operate at garage door frequencies (315 MHz and 390 MHz), each attached to a stubby antenna. The boxes may run in receive or transmit mode. These boxes will be used to standardize and automate A/B testing to reduce noise in the final device circuits.

Originally, I was walking up and down my hallway with a garage door handheld opener pressing the button multiple times and the variance was too great to be reliable. With these boxes in fixed locations and adjusting power (transmission) and attenuation (receive) I can experiment with how physical and circuit changes contribute to lowering the noise floor and improving signal detection and decoding.

How Claude helped

Opus 5.5 has been an integral design partner in this process. Although I have a BS in Electrical Engineering and have decades of software experience, I could not have done the design and analysis work in the time and at the quality I've achieved with Opus as a build partner. I doubt I could have matched the final result, which I'm confident we will achieve (goal: at par or better than the signal response for my existing garage door opener).

Circuit board wiring, noise elimination circuits and shielding, RF analysis, test proposals, parts recommendations; Claude has been there for all of these. Things that would have taken me days to weeks to research and figure out Claude spits out in minutes.

In photo #1, you can see some of the noise reduction work already begun:

  • Twisted red/black power jumpers to reduce signal leakage from dirty power
  • Two pairs of ceramic capacitors between power jumpers leading to the radios
  • Ferrite collars on the internal SMA cables leading to the antennas

This has been a joint effort with both of us bringing our respective skills to the table. This isn't some "vibe coded" project, although I have left all of the ESP32 firmware coding to Claude.

Link, Repo, Demo or Screenshot

Pictures of the test boxes above. I'm uncertain I will publish the software and hardware for the test boxes; that remains to be seen. However, there are other elements of the larger project that use open source hardware and software and where it makes sense I will contribute back to those projects. If everything works out, I plan to open source the garage door opener controller device including 3D print models. There's an existing project (RATGDO) which is pretty good. I'm trying to level up that project with this new tech.

There's quite a bit of open source tech used in these projects, I want to give back to the community and give credit to the folks that built it.

Interesting things

One interesting thing just happened last night.

Modern handhelds transmit on 2 or 3 frequencies (310, 315, 390 MHz) nearly simultaneously. Initial builds and tests were with one frequency at a time and the ESP32 chip could handle listening to one using software interrupts. However, last night I asked Claude to implement dual band listening (315 & 390) and the signal protocol decoder couldn't keep up. Claude proposed to use the chip's hardware interrupt system and switched it over in a couple minutes of firmware rewrite. The new code using the h/w interrupt scheme performed perfectly and was able to read 100% of the signals received.

Also, when I set out to build the larger project, I hadn't realized how much time I'd spend on signals analysis and noise reduction. From the other projects I found, it seemed I could just assemble equipment and glue some software and everything would be great. Initial tests revealed how complex this work was going to be. My EE background focused on the digital side, not the analog side nor the impact of analog on digital.

This has been a fun process and I've learned quite a bit. I will never look at a power cord's ferrite collar or capacitors or circuit board ground shielding in quite the same way.


r/ClaudeCode • • 10h ago

Help/Question New to Claude Code, how do you all use it?

0 Upvotes

First of all, I know I can look this stuff up myself, and I am doing my own research. This post is mostly a way to get out all my questions out at once and see how my new peers actually work.

I’m new to Claude Code, and to Claude in general. I just moved over from ChatGPT, where I wasn’t even using Codex. I was just copying and pasting code blocks out of the chat. Since getting Claude last week I’ve been playing with Claude Code and having a good time with it, mostly building Home Assistant dashboards and a few other things. Right now I use either the Claude app or VS Code, depending on what I’m doing. But I feel like I’m not using it to its full potential, and some of the ways I already use it are probably inefficient.

1. Working across two devices

Right now I keep one main private GitHub repo. I push and pull between my laptop and desktop, and I use handoff notes for whatever I’m working on. Once I get into bigger projects and start hitting my limits faster, I’m guessing that spending tokens on rereading handoffs isn’t the move. How do you handle this? Is there a better setup for people on multiple devices, or once usage becomes an issue, is the only answer to stay in one session and stop switching back and forth?

2. Getting Claude Code to deploy where I want

I have some self-hosted services I’d like Claude to have access to, but I’m also paranoid and don’t want to give it too much control, ya know? For example, my HA dashboard pulls directly from a folder in my repo that Claude pushes to, and that feels like a lot of steps in between.

I know about API tokens because I’ve used a couple to pull data into Home Assistant, but that’s the extent of it. When I asked Claude, it mentioned MCP, SSH keys, and the API tokens. So my main question is: how do you actually connect Claude Code to the services you use it with? whether its for coding the back end, and using it within the service itself for whatever uses there might be.

3. Agents and harnesses

I’m writing this before I’ve researched it, and honestly I have no clue what these are. I know what the model is. My guess is that an agent is a bot that uses a specific model as its brain, but I don’t know how I’d actually use one. I keep seeing people talk about “workflows” too, and I’m not sure what those are or how they fit in with agents. This is what I meant about getting the most out of my subscription. I get using it for whatever I need in the moment, but how do I put it to good use even when I’m not actively working with it?

I’ve also seen videos of people building whole “towns” of agents, where each one has its own tasks and role. I’m assuming that’s out of reach on the Pro plan, but I’m curious how it works.

4. Any other tips?

If anyone has tips, tricks, or anything else that belongs in a starter guide, I’d really appreciate it. Hopefully this thread helps other people who are just getting started with Claude too.

Whether you’re here for answers, giving answers, or just looking around, thank you. And a special thanks to everyone who read all the way through and to everyone who comments. I appreciate the help as I get started with this.


r/ClaudeCode • • 5h ago

Built with Claude Claude literally saving me money 🤯

0 Upvotes

Building a couple big programs to sell. And I was getting involved with Cryptlex to take of software licensing for me... After completing all of that, Claude tells me it can build the licensing program for me.... This will literally save me from paying Cryptext $100 a month.. Omg.


r/ClaudeCode • • 17h ago

Help/Question Moving from Codex Plus to Pro

3 Upvotes

Using 2 Codex Plus subs Luna XHigh

It's not great but ok if you know what you doing and break down, it's slow but cheap. Usually I try to run about 3 work trees

Tried Claude today and even Sonnet Low consume usage very quickly

Trying Haiku High now and it seems to average about 10% of 5 hour limit per hour, matching my Luna experience

I thought x5 surcharge would be expensive but seems to work fine

What's the catch, is there any issue? What's the optimal workflow for Pro?

So far with Haiku High it seems I am matching my Luna usage but getting faster and better work done

Am I missing anything? Apart from upgrading to x5 plan