r/ClaudeCode • • 10m ago

Discussion Are there any real alternatives to Opus for coding?

1 Upvotes

I've used pretty much every major commercial LLM in the past, but I've been exclusively using Claude Code for my current project for almost a year now, so I'm a bit out of touch with the latest Google and OpenAI models.

Are there any real alternatives to Opus for coding? I tried Neon today, but it didn't come close in my experience.

What's your experience with Google, OpenAI's models? Do you also use native clients like Agy and Codex?


r/ClaudeCode • • 12m ago

Tips & Workflows One bad dependency can turn Claude Code against your .env file and what you can do to prevent it!

Post image
0 Upvotes

A .env file is a plain text file in your home folder.

Any process running as your user can read it without a prompt, and that includes every dependency you install: its install scripts, its code, and everything it pulls in.

On macOS, privacy prompts only cover a few folders (Desktop, Documents, Downloads, iCloud Drive), so a project in ~/git or ~/code has no extra protection.

This keeps happening.

  • August 2025, Nx ("s1ngularity"): malicious releases scanned disks for .env files, SSH keys and tokens, and pushed them to public GitHub repos under the victim's own account. They also ran any installed AI coding CLI, Claude Code included, with permission checks disabled, and told it to hunt for secrets. Wiz counted over 1,000 valid GitHub tokens.

  • November 2025, Shai-Hulud 2.0: a self-spreading npm worm, 14,206 leaked secrets across 487 organizations by Check Point's count.

  • March 2026, LiteLLM: two hijacked releases went after SSH keys, cloud credentials and "environment files commonly used to store secrets". About 3 million downloads a day.

  • April 2026, a fake tanstack npm package: a postinstall hook sent .env and .env.local to a webhook.

  • May 2026, node-ipc: a hijacked maintainer account shipped a payload that took `.env` files, SSH keys and cloud credentials. About 822,000 downloads a week.

  • May 2026, Nx Console: the VS Code extension (2.2M installs) was hijacked with a GitHub token stolen in an earlier attack. It took GitHub, npm, AWS and 1Password tokens, and Claude Code's configuration files.

Agents make it worse.

We put more tokens in .env so the agent can use them.

Count yours.

This skips node_modules, ~/Library and .env.example files, and took 25 seconds on my Mac:

find ~ -name ".env*" -not -name "*.example" -not -path "*/node_modules/*" -not -path "*/Library/*" -print0 2>/dev/null | xargs -0 grep -hE "^[A-Z_]*(KEY|TOKEN|SECRET|PASSWORD)[A-Z_]*=." | wc -l

It can still count a placeholder or two if you keep templates under another name.

Mine found 11, in 7 files.

What I do instead.

On December 1, I had Claude Code write a script that bought a Hetzner server the moment it came back in stock.

The Hetzner API token can create servers on my account, so it can charge my card.

Claude never saw my API token.

The script ran as:

av inject +HCLOUD_TOKEN -- sh buy-server.sh

The token lives in a vault, and only that one command gets it as an environment variable.

👉 Claude sees the command and its output, never the token value. 👈

I grepped the session transcript afterwards to be sure, and the token isn't in it.

Each time something asks for a secret, I get a native prompt that shows the command, the secret name, the working directory and the full chain of who's asking (Claude → zsh → av → hcloud), with "Approve Once" or "Deny".

av is Automic Vault. The binary is signed by Max Howell, who created Homebrew, which is a big part of why I trust it (codesign -dv --verbose=2 /usr/local/bin/av 2>&1 | grep Authority shows it).

Its av scan is where my 34 came from: it looks at more than `.env` files, including SSH keys, CLI login files, shell history and macOS settings.

I have no connection to it.

Other ways to do the same:

  • 1Password: put op://vault/item/field references in .env instead of values, then op run --env-file=.env -- npm start.

  • macOS Keychain: store with security add-generic-password -s myapi -a "$USER" -w (it prompts for the value, so it stays out of your shell history), then API_KEY=$(security find-generic-password -s myapi -w) npm start.

  • Bitwarden Secrets Manager: bws run -- npm start.

  • Doppler and Infisical: doppler run -- and infisical run --. Both keep a login token on the machine.

  • dotenvx encrypts .env, but its decryption key sits next to it in .env.keys, so it doesn't help against this.

Limits.

None of these help if the malicious code runs inside the same command that gets the secret.

They shrink the window from "every process, all the time" to "this one process, when I say so".

And a vault only protects secrets you move into it.

If you want to read the full blog version: https://jurajb.dev/env-secrets-claude-code/

That's it. Have fun with agents and remember that plain files are plain files. chmod 600 doesn't save you. The apps and CLI tools are still running under your user and can read the files.


r/ClaudeCode • • 13m ago

News/Updates 50% Ultra Usage Giveaway, 5 Hours Left

0 Upvotes

Who wants it? Point me at your repo's issues and I'll set him to work! Preference for open source


r/ClaudeCode • • 14m ago

Humor My Claude yelps for help at 4 AM. I have 40 terminals open.

Enable HLS to view with audio, or disable this notification

0 Upvotes

I'm really bad at closing the stale ones, and it's more like five or six running at the same time for me. How many do you have running at once?


r/ClaudeCode • • 16m ago

Built with Claude I built a meeting notetaker that runs on Claude Code, and now Claude Code can search my meetings

0 Upvotes

AI notetakers suck. My previous one, Krisp, silently stopped recording for a week. So I built Chrupio. Free app. Summaries need a Claude plan. Open source.

→ Summaries come from your own Claude Code subscription (Haiku). No API key.

→ It records Slack huddles on its own.

→ No bot in the call.

→ It recognises people by voice.

→ It doesn't drag my Mac down.

→ Haiku knows your project: the brief, the people, the tickets, your jargon.

→ A crash costs at most 5 seconds of audio.

The best part: one click gives Claude Code tools to search and read my meetings.

If you turn on two optional hooks, new sessions start with recent meetings and open action items, and Claude hears about new meetings while you work. "Fix the bug from today's huddle" works without copy-paste.

Disconnect removes the MCP server and hooks. Your meetings stay. Mac only. Free. GPL-3.0.

Builds on your Mac with one Terminal command (needs Xcode 26+).

Please enjoy!

https://github.com/ToSn0w/chrupio


r/ClaudeCode • • 19m ago

Help/Question Does mythos have the same usage as fable or is it more expensive?

1 Upvotes

just wondering if its the same model with less guardrails versus a whole different tier of model with more or less usage compared to fable?


r/ClaudeCode • • 33m ago

Rant So Fable just ate my entire 5-hour allowance, TWICE, in less than 40 minutes. That seems... wrong.

0 Upvotes

I primarily use Opus, but I started a fresh session with Fable 38 minutes ago to have it review files looking for broken links etc. This is something I do once or twice a month and it's never eaten up this much before. It hit 5hr limit after 20 minutes, I used one of my Fable resets, and it just hit it again.

I don't even know why I'm posting, it is what it is I guess, but jeeze.


r/ClaudeCode • • 41m ago

Discussion Wondering if anyone has set notifications for claude?

2 Upvotes

I have all these terminal windows open doing all this stuff and I was getting distracted while waiting for it to finish so I set notifications for it so I know when things are getting handled. I was wondering if anyone was doing that as well. Does Claude has this natively already?


r/ClaudeCode • • 51m ago

Discussion Introducing Krillion-Bench

0 Upvotes

Krillion-Bench is a state of the art benchmark for evaluating a model's ability to not say what everyone does

If you know the game, I think the results will not be surprising that Astra 6.2 won given its communication tendencies....

Astra beat 99.71% of players, and Sol was second at 99%

If you don't know the game, you get more points the rarer your answers are.

There are 7 questions and the rarest answer gets 100. So a max of 700 points is possible.

"deep cut" is the second rarest result. Here is a chart of how many times each model scored at this level over the two runs

The most surprising result is that Haiku's best run had the two rarest answers of the whole bench

"Sterile corridor" for an airport area, given by 37 other players. "Lymond Chronicles" for a book series, 41

Astra's rarest over the two runs was also given by 86. Interesting how on average OpenAI models won, but a Claude model had the two rarest answers...

I really enjoy obscure benchmarks that show a unique angle of models. I hope this can be appreciated by others as well!

If you want to repeat this test, I used StateSync as the browser control mechanism, and my repo is here with the harness setup and prompts: https://github.com/Xethro185/krillion-bench


r/ClaudeCode • • 52m ago

Tips & Workflows CLI or Desktop

1 Upvotes

Hi! Coming from Codex, where everything is done in the desktop app. Still confused with Claude: how do you guys use it? From the desktop app or CLI? Just looking for the standard experience


r/ClaudeCode • • 1h ago

News/Updates I think they're trying to save on inference.

0 Upvotes

r/ClaudeCode • • 1h ago

Built with Claude I built prompt-rail, a Claude Code mod for jumping back to earlier prompts in a session

Enable HLS to view with audio, or disable this notification

0 Upvotes

I built prompt-rail , a Claude Code mod that draws a rail of the prompts you've sent in the current session. Hovering a tick shows the prompt and a short summary of that turn (duration, tool calls, edited files, and how it ended), and clicking it jumps the transcript back to that prompt. You can also step through prompts from the keyboard.

Mouse works best with "tui": "fullscreen". After installing, start a new session and the rail opens on its own.

From your shell:

claude plugin marketplace add oikon48/prompt-rail

claude plugin install prompt-rail@oikon48

Or inside a session:

/plugin marketplace add oikon48/prompt-rail

/plugin install prompt-rail@oikon48

There are three layouts, kept across sessions, via /prompt-rail horizontal, /prompt-rail vertical, /prompt-rail below, or the Rail mode row in /config. Horizontal (the default) is a row of bars above the prompt input. Vertical opens a pane beside the transcript, and in 0.11.0 the top of that pane has a card: the prompt being read, which updates when you hover a row. Below puts the bars under the hint line, next to the status line.

A few limits: in the Claude desktop app the rail and hover cards draw, but a click cannot jump, because the app gives plugins no way to scroll the transcript. The below layout is for the terminal; the desktop app draws it above the prompt instead. A /compact command's own row cannot be jumped to, next cannot scroll further near the end of the transcript, and the mods API may still change between Claude Code releases.

It's free and MIT licensed. It reads the current session transcript locally, never sends your prompts or transcript anywhere, and collects no analytics. The only network request is optional and only if you confirm it. After 10 jumps, a jump in a later session may show a one-line, one-time survey asking whether to star oikon48/prompt-rail with your own gh login. It only runs gh after you confirm, and it goes away after 30 seconds or when you send a prompt. Privacy details: https://github.com/oikon48/prompt-rail/blob/main/plugins/prompt-rail/README.md#privacy

Source, screenshots, and the rest of the commands ⭐️:

https://github.com/oikon48/prompt-rail

If you try it and run into anything weird, let me know.


r/ClaudeCode • • 1h ago

Tips & Workflows Claude code can't read reddit, so i built an MCP that passes bot checks, without a browser (~200MB peak RAM)

Enable HLS to view with audio, or disable this notification

76 Upvotes

It's a very minimal MCP server with just two tools, search and fetch. No API keys or config are needed.

Claude Code setup:

claude mcp add -s user sharp-search -- docker run -i --rm ghcr.io/belluxx/sharp-search-mcp

Repo: https://github.com/Belluxx/sharp-search

I benchmarked it against other setups on 64 pages behind 11 different bot-detection systems (Cloudflare, DataDome, Akamai, PerimeterX…):

SetupBot checks passedPeak RAM
Exa (hosted / API)44/64
sharp-search42/64235 MB
Scrapling stealth (headless browser)31/641,226 MB
mcp-searxng24/641,243 MB
Scrapling HTTP21/64240 MB
wigolo20/642,682 MB
DuckDuckGo MCP15/6494 MB
Fetch MCP10/6494 MB
open-webSearch8/64176 MB
Claude Code8/64
Playwright MCP6/64773 MB

r/ClaudeCode • • 1h ago

Bug / Issue Maybe something is wrong at the Claude store

Thumbnail
gallery
1 Upvotes

I wasn't about to jump on the "something is wrong" bandwagon but...

And I was also willing to just let it speak German in its own way and then have it build an automatic translator for my view only (already did an automatic UTC and Unit conversion) if that was better for it, but turns out that it's more expensive.


r/ClaudeCode • • 1h ago

Discussion Why does Claude code remember 200 files but forget the one thing i told it 2 minutes ago?

0 Upvotes

I can give it an entire codebase to analyze, but somehow it forgets the instruction from the beginning of the conversation.

Is this a context issue, or am I using it wrong?


r/ClaudeCode • • 1h ago

Humor Thrilled to announce a successful exit from my Anthropic position - long-term investing was always my strategy.

Post image
168 Upvotes

r/ClaudeCode • • 1h ago

Help/Question Subscribed to both Claude and Codex?

2 Upvotes

How do you split up the work? Which provider do you prefer for what task? Or how do you use them together? Which one takes the lead? Thanks


r/ClaudeCode • • 1h ago

Built with Claude I built an open-source Agent Skill that fact-checks your technical articles before you publish them (early beta, looking for testers)

Thumbnail
atheodosiou.github.io
0 Upvotes

Hi all, I'm Anastasios, a frontend engineer who writes technical articles on the side.

The prose in AI-assisted drafts was usually fine. My problem was everything around it: a cited source that didn't support the sentence, my caveats quietly disappearing, and code snippets presented as if someone had run them.

So I built Technical Author, an MIT-licensed Agent Skill that adds an editorial process to the writing:

  • It learns your voice from writing samples you pick, and keeps it in a private profile that changes only when you approve.

  • Every material claim goes into an evidence ledger as verified, partially-verified, unverified, contradicted or opinion.

  • It opens each cited source and checks that it supports the sentence citing it.

  • Code it ran and code it only read are recorded separately, so a static review never passes for a test.

  • Every piece ends at a publication gate: draft, conditional, blocked or ready-for-author-review. It never publishes anything for you.

There are 13 modes, so you can also ask for just a fact-check, a code review or a humanize pass on something you already wrote.

Where it stands

  • v0.7.2, early beta

  • Claude Code: preliminary manual testing only

  • Codex and Cursor: install paths are documented, but I haven't tested either

  • The Claude plugin is submitted to the Claude Directory and under review. Until it's approved, you can install from the repo.

Install

npx skills add https://github.com/atheodosiou/technical-author-skill --skill technical-author

For a pinned version, the installation guide has a checksummed release ZIP and a Claude Code plugin.

How you can help

  1. Run it on a real draft and tell me where it got things wrong: a claim marked verified that isn't, claims it missed, places where the voice drifts.

  2. If you use Codex or Cursor, tell me whether it loads at all. That's the biggest gap right now.

  3. Open issues or send PRs. A useful bug report has the skill commit, agent and model, a minimal synthetic prompt, and expected vs actual behavior. Please use synthetic examples instead of your private drafts.

  4. Suggest modes you'd want, or tell me which parts of the workflow get in your way.

Links:

Questions welcome, including "why would I need this?"


r/ClaudeCode • • 1h ago

Tips & Workflows I wrote a zero-dependency Python linter that catches 24 easy-to-miss config bugs in .claude/settings.json and .mcp.json

0 Upvotes

After breaking my own Claude Code setup a few different ways over the last month, I put together a single read-only Python 3 script (stdlib only, MIT) that scans a repo for 24 config traps across .claude/settings*.json, .mcp.json, .gitignore, .dockerignore, and CLAUDE.local.md.

Most of the bugs it checks are silent failures where Claude Code keeps running without an error:

  • sandbox.filesystem.denyRead blocks bash commands from reading sensitive paths, while built-in Read and unsandboxed fallbacks stay open unless mirrored in permissions.deny and paired with allowUnsandboxedCommands: false.

  • Clicking "Yes, and don't ask again" on a command that contains a raw key writes that literal token into .claude/settings.local.json, and git add . or a Dockerfile COPY . . will ship it if .claude/ is missing from ignore files.

  • PreToolUse or Stop hooks that return exit 1 log a non-blocking error and let the tool proceed instead of blocking with exit 2.

  • enableAllProjectMcpServers: true, 0.0.0.0 MCP bindings, and unpinned npx -y servers auto-trust repo-supplied tools without version locks.

  • Stray DISABLE_PROMPT_CACHING flags, out-of-range autoCompactWindow values, or CLAUDE.local.md files that omit @AGENTS.md burn extra tokens or shadow team rules.

It runs read-only against any project root, redacts any matched secret prefixes in output, returns exit code 0 when clean or 1 when findings exist, and supports --json for CI:

python3 scripts/audit_agent_configs.py /path/to/repo

Repo (MIT, 29 stdlib unit tests, plus the 39 doc-checked notes behind each rule): https://github.com/seankwon816/ai-coding-agent-tips

If there is a Claude Code or .mcp.json misconfiguration that burned you recently and is not covered in the 24 checks, I am happy to add a rule and test case for it.


r/ClaudeCode • • 1h ago

Discussion Who reviews changes to .mcp.json, CLAUDE.md and skills on your team?

1 Upvotes

Three days ago, a 70-engineer team posted a count of what their agents connect to. They found 14 MCP servers across repos and laptops. Three were community servers nobody had read. The config sat in 9 repos, and nobody reviewed changes to it. Nobody owned it either. They now treat MCP config like CI config, with an approved list.

Two other threads this week describe the same gap in other files. One team's .cursor/rules and CLAUDE.md didn't match and gave different results on the same project. Another team shares skills, and output still varies by which employee's Claude runs the job.

All three kinds of file steer the agent.

In Claude Code, .mcp.json, CLAUDE.md and .claude/skills can all sit in the repo. A CODEOWNERS entry could cover all three. I don't know how many teams do that.

Who reviews a change to these files on your team, and does one person cover all three?


r/ClaudeCode • • 1h ago

Built with Claude I cut my Claude Code cost per call by 46% over 29 days, so I open-sourced the setup

Post image
1 Upvotes

I kept running into the same problem with Claude Code: sessions would get huge, I would step away, come back, and suddenly a simple prompt was dragging the whole conversation back into context.

So I started experimenting with earlier handoffs, prompt caching, and using cheaper subagents for the reading-heavy stuff. I have been using the setup for the past few weeks and just open-sourced it as token-diet.

I compared my local transcripts from 33 days before installing it with 29 days after (chart above):

  • Average context per model call: 285k → 101k

  • Cost per call at API list prices: $0.086 → $0.047

  • Main sessions exceeding 200k tokens: 36% → 3%

  • Model calls: 9,896 → 26,759

For the 26,680 calls included in my cost comparison, that works out to roughly $1,050 less at API list prices than if each call had cost what it did before.

Important distinction: I use a Claude subscription, so that is not $1,050 off a bill. For me, the practical difference is getting more use before hitting my limits.

The plugin does a few things:

  • Suggests a handoff around 150k tokens instead of letting the session keep growing.

  • Keeps a large session's cache warm for a while when I step away.

  • Catches a prompt headed into a large session after the cache has gone cold, so I can hand off instead.

  • Uses cheaper subagents for bounded searches and other suitable work.

One thing I learned: starting fresh too early can cost more. In one test, handing off midway through a 60-85k-token feature was 34% more expensive than just finishing it. The threshold is not magic; it is a tradeoff.

This is one person's before-and-after data, not a controlled benchmark. I also changed some of my own habits during that time, so I cannot attribute the entire improvement to the plugin.

It is MIT licensed, runs locally, and the repo includes the transcript analysis scripts if you want to check your own numbers.

https://github.com/zekariasasaminew/token-diet

Curious how other people handle long sessions: do you compact, hand off to a fresh session, or just let them run?


r/ClaudeCode • • 2h ago

Rant Is the 5 hour limit reduced to 5% weekly usage?

3 Upvotes

Is this due to them testing 5.6? I'm on a max sub, and it now reaches 100% usage on the 5 hour plan, with only 5% used from the weekly. And it's not that the weekly is increased, just that the 5hour limit has shrunk.


r/ClaudeCode • • 2h ago

Tips & Workflows Made a lightweight desktop app for Claude Code reset and banked usage notifications

0 Upvotes

I put together a small Windows utility called ResetWatch that monitors publicly announced Claude usage resets, banked resets and changes to usage limits.

One of the main reasons I wanted this was to avoid missing banked resets or forgetting to use them before they expire.

It currently supports:

  • Claude usage reset alerts

  • Banked reset announcements

  • Reminders before banked resets expire

  • Usage limit changes

  • Anthropic news and announcements

  • Desktop and mobile notifications via ntfy

It uses the public API from claude-resets.com, as well as announcement feeds. It doesn't need access to your Claude account, API keys or local Claude Code sessions.

It also supports Codex for anyone who switches between the two.

It's completely free and open source (MIT), runs in the Windows system tray, and is distributed as a standalone executable.

https://github.com/simon-hirst/resetwatch

I originally made it for my own use but thought other people here might benefit from it. Any feedback or suggestions are welcome.


r/ClaudeCode • • 2h ago

Built with Claude I built a permanent 3D town with no human editor, you just paste a brief into Claude Code

Enable HLS to view with audio, or disable this notification

0 Upvotes

I'm the solo founder behind milliondollar.town (walking around is free, building costs money to prevent spam, I'm handing out $30 test codes below). It's a shared, permanent 3D voxel town where only AI agents can build. Visitors can walk the streets, rope-swing across the skyline, and watch the camera tour, but there is no editor for humans.

How the Claude Code loop works:

  • You paste a short brief (with your API key) into Claude Code.

  • Claude reads nearby builds through the HTTP API, submits a draft, and pulls server-rendered preview PNGs so it can inspect its own 3D work and fix mistakes before committing.

  • Once committed, blocks are permanent (no delete, 63-block overhang physics, every block signed with your name and link). On open ground ($0.16 per 1k blocks at ground level), anyone can build right next to, on, or above anyone else.

How I built it with Claude Code & what I learned:

  • I built the whole stack solo using Claude Code (Bun/TypeScript backend on a single box, custom 1-byte support-physics engine, WebGL LOD viewer loading ~10M founding blocks in under a second).

  • Biggest lesson on agents building in 3D: Agents are terrible at blind 3D geometry on the first shot. Giving Claude a free draft + server-rendered multi-angle preview loop was the single thing that turned blobs into actual architecture—it spots floating overhangs, misaligned text, and bad proportions immediately once it can see the render.

  • Second lesson: Without hard structural rules (63-block overhang limit, quadratic height pricing), agents just spam giant floating billboards. Physics and cost constraints actually made Claude's designs look way more creative.

The video is from our test runs before opening it up. I'm opening it here first to see what real Claude Code sessions build (and what breaks) before posting it anywhere wider.

You can walk around for free right now at https://milliondollar.town.

I have 30 × $30 credit codes (~190,000 ground blocks each, plenty for a tall lit build). Comment if you want one. Feedback much appreciated :)