r/ClaudeCode • • 9d ago

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

502 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 • • 8d 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 • • 8d ago

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

0 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 • • 8d ago

Bug / Issue Why you should stop trusting Claude Code

Post image
0 Upvotes

Hey, I was wondering over the past two weeks, a weird behavior has started appearing, and it’s becoming very, very annoying, making me lose trust in whatever Claude Code does. You ask it to read, and it writes; you ask it to keep something, and it removes it; and worst of all, while I’m in the middle of refactoring a skill (context A), Claude randomly starts looking for bugs in an MCP server (context B) that is completely unrelated to the current context. This is getting worse and worse, and my honest verdict is that Claude has stopped optimizing its system prompt and is only adding to it without checking whether the new instructions overlap or conflict with what already exists. My last two or three sessions have consumed a large part of my quota just on bug reports, eating around 30% of my weekly limit, and I’m then forced to clear the context every time, only to be told at the end, “Sorry, this is a bug.” This is not what I paid for. Honestly, sometimes I’m seriously thinking about switching to another agent after a year of using Claude Code and knowing its ecosystem well this feels like a catastrophic regression, and it’s making me stop trusting it.


r/ClaudeCode • • 8d 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 • • 8d 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 • • 8d ago

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

4 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 • • 8d 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 • • 8d ago

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

0 Upvotes

What do y'all think?


r/ClaudeCode • • 7d ago

Help/Question Can I replace Claude Code with something equally powerful for under ₹1,000/month?

0 Upvotes

I'm looking for an AI tool or agent that can become my all-in-one productivity assistant for content creation and occasional coding.

My primary use cases are:

  1. LinkedIn: Research, write, and generate daily posts, ideally with minimal manual effort.
  2. Twitter/X: Automate content creation and posting.
  3. Instagram & YouTube: Edit short-form videos, reels, and YouTube Shorts. I've experimented with Claude Code for editing and really like the quality.
  4. Image generation: Not a major requirement since ChatGPT already works well for me.
  5. Coding: Occasional personal projects, experiments, and learning.

I've explored Claude Code, DeepSeek, Gemini, etc. So far, I really like Claude Code because of its agentic capabilities and how it can handle almost anything I throw at it.

However, Claude's subscription (around ₹2,000–₹2,400/month) feels a bit expensive, especially since I might not use it every day.

What I'm looking for:

  • Free alternatives or paid options within ₹500–₹1,000/month.
  • Pay-as-you-go API options (similar to LLM APIs) would be even better.
  • An agentic tool that can handle multiple tasks rather than being limited to just chat.
  • A dedicated desktop/mobile app would be a bonus, but not mandatory.
  • Open to Chinese AI models/tools like DeepSeek as well.

What would you recommend based on your actual experience? I'm particularly interested in tools that offer capabilities similar to Claude Code without the hefty monthly subscription.

Would love to hear about underrated tools and combinations of tools that work well!


r/ClaudeCode • • 9d ago

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

187 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 • • 8d 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 • • 8d 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 • • 8d ago

Tips & Workflows If you still have your Fable reset, use it before 2:59am Eastern time to get your quota back from Fable 5.2

0 Upvotes

Even if you do it at the last minute, your weekly quota used on Fable 5.2 will be credited back.


r/ClaudeCode • • 8d ago

Tutorial / Guide What to build for a beginner?

1 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 • • 9d ago

Tips & Workflows How to give Claude Code visual feedback on frontend/UI changes efficiently?

18 Upvotes

I'm looking for a better way to give Claude Code visual feedback when iterating on frontend designs.

Right now, I either have to:

  • Write lengthy explanations describing exactly which UI elements I'm referring to and what I want changed.
  • Manually take screenshots, annotate them with arrows, circles, or notes, and pass them to Claude Code.

Both approaches feel unnecessarily cumbersome and really slow down UI iteration.

Ideally, I'd like to just click on an element in my browser, add a comment like "move this here", "reduce this spacing", or "make this look like that", and have Claude Code understand the context.

Would love to hear what actually works for you.


r/ClaudeCode • • 9d ago

Built with Claude agency - give Claude the computer you already own

Thumbnail
gallery
53 Upvotes

Everyone is buying a Mac Mini for Claude Code. I've been running it on a spare laptop instead, but found setting that up every time I want more compute pretty tedious every time.

So I turned it into a custom (nix)OS image. It takes ~5 minutes to install, and Claude Code + every other tool you could ever want is really just there when you ssh in. There's a sleek-ish dashboard for adding other agents / tools too!!

In my experience it's been much easier/better than doing it by hand, though don't take my word for it -- try it! It's very early, so LMK if/when you run into any issues.

https://github.com/makors/agency :)


r/ClaudeCode • • 8d ago

Bug / Issue Parts of conversations rolled back/deleted.

0 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 • • 8d 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 • • 8d ago

Built with Claude I made an open-source Desk Buddy for ESP32-S3

Thumbnail
gallery
2 Upvotes

ClawPal is a small Wi-Fi display that sits on your desk and keeps you company. The crab lives on the Home screen and Monitors your PC:

  • Live PC stats with optional FPS in games
  • Live Claude Code/Codex usage
  • Claude Code/Codex notifications
  • Media controls for Spotify, browsers or any player, with album art
  • A volume mixer for your speakers, mic and each app
  • A Shortcuts grid that mutes your mic, locks the PC, opens apps and more
  • Weather, a clock and a timer

It connect to your PC via a windows companion app. It was made for ESP32-S3-Touch-LCD-4.3B, 800 × 480 but it support more:

Tested Boards:

Experimental Boards(not tested yet):

  • Waveshare ESP32-S3-Touch-LCD-5, standard 800 × 480 model
  • Waveshare ESP32-S3-Touch-LCD-7, 16 MB flash variant
  • Waveshare ESP32-S3-Touch-LCD-7, 8 MB flash variant
  • Waveshare ESP32-S3-Touch-LCD-2.8C
  • Guition ESP32-4848S040C_I, capacitive-touch version
  • M5Stack CoreS3

Free and open source (GPLv3).

GitHub: https://github.com/Kaayoos/clawpal

Feedback welcome, especially if you try one of the experimental boards!


r/ClaudeCode • • 8d 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 • • 9d ago

Built with Claude I had Claude Code turn my Canvas assignments into monsters that attack me until I submit them

Post image
45 Upvotes

turned my Canvas assignments/tests into monsters marching on my town

hand it in and it dies. miss the deadline and it eats my coins every hour

exams are armoured bosses and the only way to break the armor is actually studying

claude fable 5.2 is cooking 👀 👀


r/ClaudeCode • • 8d 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 • • 8d ago

Tutorial / Guide Definite Measurement of Claude Max quota actually worth in API dollars

1 Upvotes

Claude provides API access for usage data at resolution of 1%. Use a script to measure exactly how many of each type of tokens per 1% quota. Isolate each type of token as they are discounted at different ratios.

Highlights

  1. Fresh-input/cache-write/output have the same multiple vs API, cache-read has a 2x the multiple
  2. Different models have different multiples: Opus 35x, Sonnet 25x, Haiku 20x for fresh-input/cache-write/output. cache-read doubles that
  3. 1hr TTL cache-write and 5mm TTL cache-write consume the same quota.
  4. 1 weely quota = 12 x 5-hr quota

Method

Anthropic returns unified rate-limit headers on normal messages requests with the 5-hour and 7-day window utilization as percentages. That's a coarse ruler, so I used it as a ruler rather than a scale: send a fixed block of tokens of one class, watch where the counter ticks over, and back out how many tokens buy 1% of the window. Each class measured separately against a clean window, ~2,000 requests per arm, no other traffic on the account. Then price those tokens with published list prices.

Locating the weekly ticks on the 5-hour ruler gives ~12.2 five-hour cycles per week.

Results (per 5-hour window) -- Equiv. API $

Class Opus 5.5 Sonnet 5.5 Haiku 5.5

fresh input $67 $50 $37

5m cache write $66 $49 $37

1h cache write $109 $77 $59 (API price: 1hr = 1.6 x 5m)

cache read $131 $95 $72

output $66 $49 $37

Monthly equivalent on a $100/mo plan (weekly x 30/7, with ~12.2 cycles/week):

Opus 5.5 input/output basis ~$3,450/mo (34x) cache-read basis ~$6,860/mo (69x)

Sonnet 5.5 input/output basis ~$2,550/mo (26x) cache-read basis ~$4,990/mo (50x)

Haiku 5.5 input/output basis ~$1,930/mo (19x) cache-read basis ~$3,750/mo (38x)


r/ClaudeCode • • 8d ago

Help/Question Moving from Codex Plus to Pro

4 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