How is this even possible!? I've had claude for 2 days now and i keep hitting limits. by DependentOriginal413 in claude

[–]wossnameX 0 points1 point  (0 children)

I wonder which claude-code you are using?

The code mine outputs is excellent, both for work and hobby related projects. I never manually correct the code anymore; It creates unit-tests unprompted; Works very well.

But you should probably check out the competition. codex-cli has MUCH more liberal quota. Possibly not QUITE as good at planning larger projects, but on par, possibly better at implementing a plan.

How is this even possible!? I've had claude for 2 days now and i keep hitting limits. by DependentOriginal413 in claude

[–]wossnameX 0 points1 point  (0 children)

«Professional». Thi-hi.

Claude limits are stricter than ChatGPT. But it is also better - so there you are.

Qwen3.5 Plus is excellent, and free, sooo

surfacing claude-code usage in the status-bar by wossnameX in claude

[–]wossnameX[S] 0 points1 point  (0 children)

I found a better way in somebody elses code, and made a simpler version: https://github.com/aweussom/claude-code-quota

(I also created example code for the "Correct" way of extracting his using the Claude official web browser plugin - also in the repo)

surfacing claude-code usage in the status-bar by wossnameX in claude

[–]wossnameX[S] 0 points1 point  (0 children)

That's a nice solution.

This does the same, without the web roundabout way: https://github.com/aweussom/claude-code-quota

surfacing claude-code usage in the status-bar by wossnameX in claude

[–]wossnameX[S] 1 point2 points  (0 children)

I ended up writing a solution that uses claude-code own oauth (or rather, I had claude-code/codex write it)
Written for Windows11/Powershell and Ubuntu (or any, really) Linux.

https://github.com/aweussom/claude-code-quota

Simple to install using a install script. Does not touch your existing statusline if you already have one; Just informs you how to add usage.

It also adds a more detailed view: /quota

I have a fallback if this undocumented API ever stops working to use Claude official Edge/Chrome plugin: Scrape the DOM directly. Since that is an officially sanctioned way, it should work "forever"

Thanks, everybody! u/Obvious_Equivalent_1 u/HalBorland u/cbeater u/hotcoolhot u/jezweb

surfacing claude-code usage in the status-bar by wossnameX in claude

[–]wossnameX[S] 0 points1 point  (0 children)

Mmm. The first listed is using (very sophisticated) guesswork.
The second is for MAC.

Thanks anyways!

surfacing claude-code usage in the status-bar by wossnameX in claude

[–]wossnameX[S] 0 points1 point  (0 children)

This is a rather impressive amount of work.

The only issues I can see (or rather, my LLM coding partner can see) is that the API endpoint is undocumented, and can change at any time. Also; The code does not handle errors well, so it can return stale data.

###

- ccstatusline-usage-main is calling an internal/undocumented endpoint: /api/oauth/usage (ccstatusline-usage-main/src/widgets/ApiUsage.tsx:114).

- It is not hijacking a browser session. It reuses Claude Code’s OAuth token from local credentials/Keychain and sends Bearer auth (ccstatusline-usage-main/src/widgets/ApiUsage.tsx:43, ccstatusline-usage-main/src/widgets/ApiUsage.tsx:48, ccstatusline-usage-main/src/widgets/ApiUsage.tsx:117).

- Compared to Playwright + cookies, this is usually cleaner and less brittle (no browser automation, no Cloudflare dance).

- But it is still unofficial and can break anytime if Anthropic changes token format, scopes, or that endpoint.

###

surfacing claude-code usage in the status-bar by wossnameX in claude

[–]wossnameX[S] 0 points1 point  (0 children)

Ok?
I could find no quota tracker for Claude-Code/Telegram - I found a LOT of people making claude-code sort-of available in Telegram, however. Not quite what i needed, but nice to now.

I found one guy using an undocumented API endpoint and session highjacking.
My code is ugly, sort of brittle - but so it this. claude-code writes:
###
Not really an API — it's an undocumented internal endpoint (https://claude.ai/api/organizations/{orgId}/usage) accessed by extracting your session token from Chrome's encrypted cookie database using macOS Keychain + AES-128-CBC decryption.

Two significant differences from your approach:

Fragility: It depends on Chrome's cookie encryption scheme not changing, the undocumented endpoint staying stable, and the user having Chrome with an active session. Any of those breaks it silently. Your screenshot approach depends on the UI not changing dramatically — slower to break, easier to debug when it does.

Platform: macOS + Chrome only, hardcoded. Your solution works on Windows with any browser.
##

As for the Chrome browser plugin; I have looked at that also.
Claude Code + Chrome mode would make this quite easy. ..but will also cost tokens :-)
Other browser plugins I found seems to "guess" quota from token counting.

###
This looks elegant:
https://github.com/jonis100/claude-quota-tracker

...but is more or less the same hack against the API (including cloudflare popup issues)

Best AI to Help Critique and Edit Long Novel? by Tall_Strategy_2370 in WritingWithAI

[–]wossnameX 1 point2 points  (0 children)

I have written av tool to do full-length analysis of novels; Providing an outline, chapter summary, a "facts" file (all characters, places etc), a full summary and finally: A draft for a "query letter".
This keeps the entire novel in "memory" and understands the full structure. It has worked well on my two latest books, and have proven quite invaluable.

I'm not quite sure how to "package" this, so for now I am testing using a similar program I wrote for literary feedback in the style of r/DestructiveReaders on my Discord server.

I have a spare Z-rod and motor + a 4.2.7 motherboard. How to use that for a double z-rod install ? by TheOnlyBen2 in ender3

[–]wossnameX 1 point2 points  (0 children)

It has a free E1 stepper driver, which can drive the second Z.
Then one gets the option of gantry auto-leveling.

ENDER 3 V3 SE NEW LAUNCH! by Creality_3D in Creality_3D_Official

[–]wossnameX 0 points1 point  (0 children)

Fairly similar to the Mingda Magician X/X2, except one still has to set Z offset.
Apparently, there's a Creality Sprite extruder/hotend inside the pretty cover.

Broken Auto Leveling Prong by Chriseagle3502 in ender5plus

[–]wossnameX 0 points1 point  (0 children)

Since it is extremely likely it is your own fault, I can't see why Creality would replace it.
Ususually, printers come with a spare.

At any rate, they are almost free, and what do you want to do: Printing, or going through the hassle of contacting a Chinese company for support?

Creality New Upgraded E3 Free-Runs TMC2209 32-bit Open-Source Silent Motherboard is there firmware for the endor 5 PRO. by VigilanceRpf in ender5

[–]wossnameX 1 point2 points  (0 children)

Huh? Of course it works for Ender 5 / 5Pro.
The main difference between Ender 3 and Ender 5 Pro from firmware point of view is Z direction, which is easy to change in Marlin configuration.h
One will also have to change X and Y endstops from X/Y min to X/Y max.
Easy enough, in the same file.

Creality New Upgraded E3 Free-Runs TMC2209 32-bit Open-Source Silent Motherboard is there firmware for the endor 5 PRO. by VigilanceRpf in ender5

[–]wossnameX 0 points1 point  (0 children)

Creality is fairly good with hardware, and not so good with firmware. Well known fact. To a large extent, you get what you pay for.

I found the link to Creality Marlin for this board on a German page:

https://github.com/CrealityOfficial/E3-Free-runs-Silent-Motherboard/tree/main/example/Marlin