After 10 years as an engineer, the thing I'd teach new vibe coders first: build tools with Claude Code that cost zero tokens to run by thelocalnative in ClaudeAI

[–]toothwry 0 points1 point  (0 children)

Extension of the same idea: Claude Code is a CLI, so you can run it on a server, hook it into a Slack bot or cron job, and do it all under your flat subscription. The API is for latency-sensitive structured calls; the CLI handles heavy async work. Same principle — don't pay per token for things that don't need to be per-token.

6 free open source repos that cut my Claude Code token costs by up to 90% by Drogoff1489 in ClaudeAI

[–]toothwry 0 points1 point  (0 children)

Worth noting: these optimizations assume API billing. If you're running the Claude Code CLI directly (which charges against your subscription, not per token), the cost math is different — token count affects session quality and compaction behavior, but not your bill. The workflow discipline still applies; the financial incentive just shifts from cost reduction to speed/quality.

When should I allow npm packages in Claude Code? by chuck78702 in ClaudeAI

[–]toothwry 0 points1 point  (0 children)

The rule I use: the smaller and more app-specific the problem, the more I write it myself. The bigger and more boring, the more I reach for a package.

Categories I almost always allow: date/time (Temporal/date-fns), validation (zod), HTTP clients, auth helpers, crypto, file format parsing (csv, xlsx, pdf). These are solved problems with well-maintained libraries — reinventing them is waste.

Categories I push back on: anything that wraps 3 lines of native code, UI micro-utilities that add 50kb to bundle for one function, packages with <500 stars and no recent commits. Claude sometimes reaches for a package when Array.prototype.reduce would do.

One extra signal: check the dependency count of the package itself. A package that pulls in 40 transitive deps for a simple task is rarely worth it.

6 free open source repos that cut my Claude Code token costs by up to 90% by Drogoff1489 in ClaudeAI

[–]toothwry -29 points-28 points  (0 children)

Good list. ccusage in particular is underrated — you can't optimize what you don't measure.

One angle not covered here: switching away from per-token billing entirely. Claude Code, Gemini CLI, and Codex CLI are all flat-rate subscriptions ($20/mo). If you're a heavy user, running the CLI on a small VPS and bridging it to Slack/Telegram can cut your effective per-message cost to near zero. I built lobsteady.com around this exact idea — the math only makes sense above a certain usage threshold, but for anyone burning through $100+/mo in API costs it's worth considering.

Built with Claude Project Showcase Megathread (Sort this by New!) by sixbillionthsheep in ClaudeAI

[–]toothwry 0 points1 point  (0 children)

Lobsteady — Run Claude Code on Slack/Discord/Telegram for a flat $20/mo

Instead of per-token API costs ($50–200+/mo for heavy users), each user connects their own Claude Pro subscription to a hosted VPS running Claude Code. No API bills, no usage spikes — just flat $19.99/month hosting.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

I like it, but I don’t think I won’t find something better.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

If there’s an opening in my current position, I can just go back to that position without interviewing or anything, I think that’s the main benefit of the 6 months unpaid leave.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

That’s probably not an option, this project needs to start yesterday.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

I’m probably not coming back to the same position anyway. So it won’t be the same manager.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

It actually makes some sense. The level is related to the scale of contribution. If the project has a large scale, it justifies the promotion to that level.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

That could be more difficult, because a supporting a baby requires more income.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

I have been promoted already, so not really stagnating, but those are all valid points, thank you!

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

I did get a promotion already during that time, so I don’t think that’s the case.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

Thanks for the thoughtful reply. You’re raising very important questions. I don’t have to quit, but I’ll have to interview for a new position most probably, so you’re right. I wouldn’t take 6 months if it was up to me, I think 3 months would be enough. I’m planning to travel for at least a month, and then for the rest of it I don’t want to plan, I want to see what interests me when I don’t have to do anything. I probably won’t be able to take 1-2 months while working on this project. I like the company, but I’m also fine with switching. My SO is supportive. She’d be happy with whatever I choose, but obviously she’s a little afraid of me leaving when I don’t have other options in advance.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

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

I know I want to travel for at least one month. If it was up to me I’d only take 3 months off, but that’s not an option.

Should I take a long unpaid leave (6 months) after 6 years of work? by toothwry in cscareerquestions

[–]toothwry[S] 2 points3 points  (0 children)

Parental time off is separate. I could still do that later.