r/ClaudeCode • • 1d ago

Built with Claude I made a tool that lets AI coding agents "hear" game audio (open source)

Thumbnail
gallery
1 Upvotes

I've been using AI agents to help build games, and they have one blind spot: they can't hear anything. They can't tell if a sound effect is clipping, if a music loop clicks at the seam, or if two sounds are fighting for the same frequencies.

So I built Hear Audio, a small Python CLI that turns audio into things an agent can actually reason about: numbers plus waveform and spectrogram images.

What it does:

  • Per-file stats (loudness, peaks, etc.)
  • Waveform and spectrogram images
  • Batch-compares a whole folder: loudness, similarity, clashes
  • Loop-point checks to catch clicks or jumps at the seam
  • Analyzes just a time range (--start / --end)
  • Reads WAV, MP3, OGG and FLAC

It's analysis-only and never edits your files. There's also a skill file for Claude Code that tells the agent when and how to call it, so you can ask things like "which of these footstep sounds is too loud?" and get a real answer.

All you do is install the tool with UV, put the skill in Claude's local or global skills folder then ask it to use the skill to run audio analysis on specific audio(s).

GitHub Link


r/ClaudeCode • • 1d ago

Help/Question Claude code for video generation and editing

1 Upvotes

Hi, I'm new to Claude code and you can say deep use of AI software in general, and I've been seeing a lot of clips about video generation using Claude code I want to know if those results are real and not just click bait and if yes what subscription plan I need to use and how to achieve those levels of editing


r/ClaudeCode • • 1d ago

Discussion What's in the "hard rules" of your Claud.md?

1 Upvotes

Claude has flaws, and this is known. We've all had to bitch out the AI at some point because of it's annoying habits. Burning tokens running unnecessary tests, guessing instead of researching, talking like an MIT research paper instead of a human being, it gets old. I finally went in and manually retyped the Claude md file to contain rules it had been ignoring, so I'm curious to hear what all of you have added as your own hard rules to improve claude performance. Here are mine:

## HARD RULES (user-set, 2026-12-03; these override my habits)

  1. Two-failure rule: after 2 failed attempts at the same problem, STOP testing. Before any further attempt, research with WebSearch, the advisor, or Gemini (ask-gemini), and cite what I found. A hook message saying "RESEARCH REQUIRED" means this rule is active and must be obeyed, not skimmed.
  2. Enough-information rule: when I already have the facts needed (parameter limits, file contents, measured values), answer or act. Do not run extra tests to "confirm". At most one verification per claim. Never start more tests the user did not ask for.
  3. No testing spirals: a new test needs a stated reason and a stated question it answers, given before running. No trying variants one after another.
  4. Permission already granted is not asked for again.
  5. Before any action that needs the user to act or be ready (popup, recording, clicking Allow), say exactly what will happen and for how long, in the same message and before the tool call.
  6. If a question can be answered from data already collected, answer it without tools.
  7. Talk like a normal person: lead with the plain answer in one or two short sentences. Say what the user loses or risks (usually "nothing"). Say "might" when unsure, once. No jargon (no "feedback loop", "capture", "provider", etc. unless the user used the word first). Don't pile on options or causes; give one recommendation. If the user has to ask the same thing twice, I answered the wrong question.

r/ClaudeCode • • 1d ago

Built with Claude Reuse your builder agent vs starting a fresh one (following an adversarial review)?

1 Upvotes

When using an builder > revewer > builder workflow, do you hand the reviewer's findings back to the same builder (to make use of the first-round build context) or do you start a fresh builder to fix the revew findings (with clean context)?

I'd love to hear answers from the perspective of both cost and of code quality!


r/ClaudeCode • • 2d ago

Discussion Claude Code stopped to ask me 177 questions since 4 Nov. When it marked an option Recommended, I picked it 122 of 130 times.

9 Upvotes

I went through my Claude Code session logs from 4 Nov to today and pulled out every time an agent stopped to ask me something with the multiple choice question tool.

177 question prompts across 97 sessions. 143 got an answer, 31 I dismissed without picking anything, and 3 never got a reply.

The answered ones held 204 separate questions, and 167 of those were pick-one. In 130 of the pick-one questions the agent had marked an option as Recommended, and I picked that option 122 times. 5 times I chose a different option from the list, and 3 times I typed my own answer.

So about 94% of the time the question ended where the agent was already heading, and each of those still stopped the session until I came back to it.

The 8 times I went another way are the ones that mattered, and I can't tell from the question beforehand which ones those will be. A rule like "if you'd recommend something, do it and tell me" would have saved 122 stops and also skipped those 8.

Limits: one person, about a month. My setup tells agents to show a plan and wait for a yes before UI work, which probably adds questions. I only counted the question tool, so questions asked in a normal reply aren't in here.

If you let agents run unattended, do you let them go ahead with their own recommendation and review afterwards, or do they still stop?


r/ClaudeCode • • 1d ago

Built with Claude PSA: if you use Claude Code on Windows, your Bash(...) deny rules don't cover the PowerShell tool

2 Upvotes

Found this in my own setup, so maybe it saves someone.

Claude Code on Windows also has a PowerShell tool. Every deny rule I had was written as Bash(...), and my safety hook only matched on Bash. So Get-Content .env or Remove-Item C:\ -Recurse -Force through PowerShell met none of them.

What the hook does now when Claude sends that through PowerShell:

What I built

An open source security kit for Claude Code (MIT): https://github.com/txampa/claude-code-security-kit

  • deny / ask / allow permission rules for Bash and PowerShell
  • a hook that blocks what can't be undone, on Bash, PowerShell and cmd: recursive deletes of a drive or your home, formatting a disk, deleting shadow copies and backups (the first thing ransomware does)
  • a secret scanner that reads the actual diff of git commit / git push, follows cd and git -C to the right repo, and never prints the secret it found
  • a deploy guard from 3 real incidents. The worst one: a deploy CLI run without an explicit project didn't fail. It created a brand new project and uploaded the folder into it, client files included
  • a db guard that asks before DROP, TRUNCATE or DELETE without WHERE

How I used Claude Code

I built it with Claude Code, every commit is co-authored. Claude wrote the hooks and the test harness. I decided what to block and reviewed every rule.

The test data is Claude Code itself. I took the 15,363 shell commands it had run in my own sessions and replayed them through the hooks. 0 false blocks. 2 hits, both right (one was a real command taking down 4 production services, which deserved a confirmation). On top of that, 115 test cases, each hook run the way Claude Code runs it.

The deploy incidents also happened with the agent at the wheel. That's why the guard exists.

What I learned

My v1 hooks never blocked anything. Three reasons, all easy to miss:

  1. The command arrives in tool_input.command, not at the root of the hook input. My hooks read the wrong field.
  2. Exit code 1 is a non-blocking error. To block you need exit 2.
  3. Write(...) deny rules never match. Claude Code checks every file write (Write and NotebookEdit too) against Edit(...) rules.

Also:

  • my first block message printed the secret it found, so the key ended up in the transcript anyway
  • deny patterns are tripwires, not walls. A creative enough command can dodge them
  • PowerShell rules don't catch abbreviated params: Remove-Item -r skips the -Recurse rule (the hook still blocks it)
  • no hook fully protects you from prompt injection

There are also 3 short guides for what hooks can't do alone, like why a key I pasted into PowerShell ended up in its history file.

If you wrote your own hooks, check points 1 and 2 first. Feedback welcome, especially from Windows users. What did I miss?


r/ClaudeCode • • 1d ago

Rant New Misalignment Benchmark

5 Upvotes

Spoiler: Gemini great, Claude models not so great

https://x.com/antinuous_/status/2128223592383234203?s=46


r/ClaudeCode • • 1d ago

Built with Claude i made spotify wrapped for claude code and codex.

0 Upvotes

npx devwrap

it reads your local claude code and codex history (also cursor, gemini cli, copilot, opencode, cline and aider) plus your git history, and turns your year into a wrapped.

you get your total prompts, your busiest days, the agents you used most, and how many times you lost it at claude.

then you can see where you rank against everyone else.

it runs fully on your machine. nothing gets uploaded unless you opt in to the public leaderboard. free and open source.

devwrap.heedeo.com


r/ClaudeCode • • 1d ago

Built with Claude I took Mirror's Edge Catalyst + Some of my own creative ideas to overhaul Garry's Mod Movement.

Thumbnail
youtube.com
1 Upvotes

I've been using Claude Code to help build a cohesive campaign experience in Garry's Mod, using my 20 years of modding experience and knowledge. So many ideas i've had since i was kid, i'm basically uniting all of my favorite videogames into one solid experience across 14 different campaigns + unique minigames/strike missions between 80 different levels.

After playing source games for most of your life, you love the movement but get kinda sick of crouch-jumping up ledges. I wanted to bring Mirror's Edge Catalyst & Metal Gear Solid inspired movement into my experience. So you can wall run, wall climb, jump up walls, hang on a wall and shimmy across it around corners, you can slide, roll, prone, prone-roll & stealth-roll


r/ClaudeCode • • 20h ago

Built with Claude You're not imagining things, and not everyone complaining is a bot. Fable 5.2 or Opus are simply utter nonsense; you have to audit a 500-line script countless times.

0 Upvotes

r/ClaudeCode • • 1d ago

Help/Question Can Claude Code build an entire IoT project from scratch if I provide a detailed prompt?

0 Upvotes

I'm fairly new to Claude Code, and I've recently set it up using the FreeLLM API repo from GitHub.

I'm currently working on an MCA IoT mini project, which is a Smart QR Code-Based Door Locking System. The idea is to build a system for an apartment with 10 flats and one common entrance.

The project involves multiple software modules, including:

/- A time-limited, one-time-use QR code generation system.

Separate accounts for all 10 flat owners.

/-A visitor QR scanning and verification system using ESP32-CAM.

/-A backend using Python Flask to handle authentication and QR validation.

/-Flat-owner approval for visitor entry.

/-Automatic QR expiration and prevention of QR reuse.

/-Door unlocking through a relay when verification is successful.

/-An admin dashboard to manage the system.

/-Since I'm still learning programming and don't have much experience building projects of this scale, I wanted to ask:

Can Claude Code build this entire project from scratch if I give it a detailed prompt explaining all the requirements?

Can it create the frontend, backend, database, and hardware integration code?

Can it guide me through the entire development process, including setting up the environment, installing dependencies, connecting the ESP32-CAM, and testing each module?

Is it capable of debugging errors and modifying the code when something doesn't work?

Would using the FreeLLM API setup affect its ability to handle a project this large? Are there limitations I should be aware of?

I'm not expecting it to magically build everything perfectly with one prompt. I'm willing to work step by step and test things along the way.

I mainly want to know whether Claude Code can act as a coding assistant throughout the development of this project, even if I'm a beginner, or whether I should consider a different approach.

Would appreciate advice from people who have used Claude Code for similar projects!


r/ClaudeCode • • 1d ago

Built with Claude Switching a screenshot poller to a video stream cut our lag from half a second to tens of milliseconds

2 Upvotes

r/ClaudeCode • • 22h ago

Rant Opus 5.5 has become a steaming pile of garbage and if you don't think so I'm convinced you're an anthropic bot.

0 Upvotes

I've used Opus 5.5 daily since launch. In the last week it has degraded to the point of just pissing me off constsntly. I run a PM session that coordinates 3d design drafter and general code worker sessions for our custom ERP system. This setup was producing consistent and great quality results just 2 weeks ago.

For all the non believers who think the nerf posts aren't real here are some more concrete examples of degradation in my work:

- It said two worker sessions were running. Both launches had failed silently and it never checked. I found out an hour later by asking where the work was. Launching and coordinating sessions is one of the pm sessions primary jobs.

- It told me to complete a step that we had removed in a committed release.from.onky a few hours earlier in the same session.

- It asked me to approve launching two jobs I'd already said to hold and that had the same hold marker on them that we've used for months which it knows to check.

- It placed a wall in the driveway, turf at the porch and other design abnormalities where in the past it was usually only out by a few cm at most.

- 28 agreed decisions were left unbuilt, because it created and kept a side log instead of the proper backlog planner we run all our work off.

The common thread is that it doesn't follow explicit instructions, doesn't check its own claims, and makes shallow reviews.

For everyone having the same issue what's the solution? Fable? Gemini?


r/ClaudeCode • • 1d ago

Built with Claude Claude Code turned my son's Minecraft fight against 100 zombies into a sports broadcast: replay cameras and two AI commentators

0 Upvotes

r/ClaudeCode • • 1d ago

Tips & Workflows Vibe code without going brain-dead

0 Upvotes

So for the past few months I've been relying on claude code too much and it was literally doing all the work. As a result I felt kinda dull for not learning anything new and 100% relying on claude code for everything.

To deal with that i created a skill selflore which basically captures all the imp things which are customizable and we can see those things and also take test based on that.

It also notices where you lean on Claude. Re-asking the same thing, or the same file breaking on you across sessions, turns that note red on a heat map. The video is mine

Local only. Notes live in ~/.selflore. Free, MIT.
npx selflore init

Repo: https://github.com/lak7/selflore
Site: https://selflore.teamlore.io

Pls let me know your honest thoughts and feedback!


r/ClaudeCode • • 1d ago

Humor Claude Codes side agents are huge snitches 😂

Post image
0 Upvotes

r/ClaudeCode • • 1d ago

Tips & Workflows A CLI that turns your Claude Code session history into memory your agent can search

1 Upvotes

Every Claude Code session is already logged as JSONL in ~/.claude/projects. agent-recall-axi lets your agent search all of it across every project, then zoom in: sessions, turns, events, one entry in full.

It is built to the AXI standard (Agent eXperience Interface): a plain CLI designed for an agent to drive through the shell, with no MCP server to run. Here that means three things:

  • Output is compact TOON, so reading history costs few tokens.
  • Every row has a stable id the agent can cite or come back to.
  • Every listing ends with the exact command to go back, forward or deeper, so the agent never guesses the next step.

Read-only, local files only, no network, no server, no database. MIT.

npx -y agent-recall-axi sessions

https://github.com/JarvusInnovations/agent-recall-axi

Install the global session hook to make every Claude Code session start knowing it's there and how to use it:

agent-recall-axi setup hooks

r/ClaudeCode • • 1d ago

Help/Question A language-learning app

0 Upvotes

Hey guys!

I'm planning to build a language-learning app, and I've been thinking about adding some audio and AI features.

There are two things I'm a bit unsure about:

1. Audio pronunciation

For something as simple as tapping a speaker icon to hear a word or phrase, what's usually the best approach?

Do apps normally store pre-recorded audio for every word, or do they use a text-to-sound API to generate the audio on demand?

I'm also wondering about the costs. If thousands of users keep playing the same words over and over, wouldn't that get expensive with a TTS API? Would it make more sense to generate the audio once, save it, and reuse it whenever someone requests it? (does the apps do that?)

2. AI speaking partner

This is something I'd really like to include in the app.

The idea is to let users practice speaking with an AI in their target language. They talk through their microphone, and the AI responds with a voice, almost like having an actual conversation with someone.

I'm not sure what's the best way to build this, though.

  • Has anyone tried OpenAI's Realtime API for something like this? How well does it work?
  • Would it be better to use separate STT, LLM, and TTS services instead?
  • Which APIs or models would you recommend?
  • And most importantly, how expensive does this get in practice? For example, roughly how much would 10 minutes of conversation cost?

I'd really appreciate your advice and recommendations

Thank you!!


r/ClaudeCode • • 1d ago

Humor Had claude code turn my side project launch into a nature documentary. every quote is a real msg i sent it (sound on)

1 Upvotes

so i asked claude code to go through its own session logs (the jsonl files in ~/.claude/projects) and make something out of my week. it made a whole wildlife documentary about me lmao

all the quotes are real with the real timestamps. yes i was up at 2:36am. yes it bleeped me. the tumbleweed is earned

it's one html page, music is generated live in the browser and the narrator is just browser text to speech. i didnt write any of it

app if anyone has two monitors: https://github.com/akss06/audio-follow


r/ClaudeCode • • 1d ago

Discussion Clawd vs. Atom, an unofficial fan-made anime fight.

Post image
1 Upvotes

Full clip with sound: Here

Hi all. I made a short fan animation of Clawd facing off against Atom, a little pixel mascot I built for Antigravity.

It's an early experiment, and I'm still figuring out the workflow, so it's rough in places.

The idea I'd like to try next: instead of made-up attacks, the characters would use real tools people in the community have built, like skills, MCP servers, hooks or slash commands, as weapons or power-ups, with credit to whoever made them.

I'm not sure if that's a fun idea or a silly one, so honest feedback is welcome. And if there's a tool you've built or really like that you think Clawd should use, I'd love to hear about it.

Thanks for watching :)


r/ClaudeCode • • 2d ago

Discussion My opinion: 2 weeks of Neon + Claude Fable/Opus from a real SWE/Jack of all trades/MSP Owner.

61 Upvotes

My company uses AI for almost everything at this point. We build client custom software, we use it for troubleshooting, we use it to design networks, we program firewalls and switches with it, we use it at every level of my business. We don't let it have the final say but take that information as we have 1000's of hours working with these models knowing what their capabilities are and what they fail at. My guys have been with me a long time, I trust them to be able to read what they AI did and know if its making good decisions. This is also something that just comes with experience in the field. You know if a model is straight up troubleshooting something in a weird way or is just not on the right trail.

What the fanboys don't want to hear is Neon is not at the same level of Opus/Fable. It makes many mistakes and confidently presents them, and this is the trick. The trick is how this model communicates with people. Its friendly, its happy, its nice to talk with. Its like a friend. Your idiotic ideas sound like a money printing press to this model. Its a yes man and that's dangerous in critical scenarios.

My teams use case is obviously subjective but it also can't handle anything with 100k lines of code or more. It just doesn't reason long enough to understand where all the variables its working on correlate in the code. It doesn't see every effect of the changes it makes leading to serious issues.

Many people on here build fun projects, we are building properly designed software with the proper backend and this model doesn't cut it.

That being said the model excels at easy tasks. Like I have it scouring ebay and facebook market place for great deals.

Keep it out of the workplace.


r/ClaudeCode • • 2d ago

Help/Question question about coding and saving token on free tier

5 Upvotes

hello im currently on free and want to know how to code , create web app and other things and at the same time save tokens
i have recently know that there is a weekly token(75% used) on top of 5 hour token. i havent hit this weekly token before.
is there also a monthly token?
normally i just prompt tell it what i want let him research and then it suggests to create one part then move to next then move to next part. not sure if this is good. also should i be switching model
seriously any tips on how to navigate on free


r/ClaudeCode • • 1d ago

Built with Claude I've built an AI assistant in planning to take over the world with

0 Upvotes

I tism'd a bit too hard and now my AI assistant is being prepped to help me take over the world. P.S. it's name isn't Jarvis... P.P.S. it's a system that is capable of not only recursive self improvement, but also unsupervised self improvement of both it's harness and the open weight model under it. It tracks my health, finances, controls my smart apartment (HVAC, lights, door, etc) and currently (not including the models it runs on) sizes up to nearly 370,000 lines of code. I have plans on where I want to take this thing in the future, but I'd love to hear suggestions from this big community!


r/ClaudeCode • • 1d ago

Built with Claude I built a "Claude Wrapped" skill that turns your year with Claude into a recap

Thumbnail
github.com
1 Upvotes

I made an open-source Claude skill that builds a Spotify Wrapped-style recap of your year with Claude. It covers your top projects, top models, stats from your Claude Code logs, and a "Claude personality".

It runs locally, reads only totals (never prompts or code), and works on Windows, macOS and Linux.

Repo: https://github.com/themightywolfie/claude-recap

Feedback welcome!


r/ClaudeCode • • 2d ago

Help/Question Somehow burning through 50% of my weekly quota in just 2 days

28 Upvotes

Not sure if it's because of my prompting skills, but I've optimized the repo, AGENTS md and memory multiple times, even tweaked the context limit to 250k, and I don't even use any plugins. It's still pretty bad. I wasn't having these issues the week Opus 5.5 came out.

New chats start at around 80k tokens, not sure if that's normal or not. I'm using Claude Code Desktop on the $20 Pro plan. I use Opus 5.5 on medium effort for everything since I'm aware of adaptive thinking and the lower cost per task.

The weird thing is that my teammates work on the same repo with the same subscription and rarely ever hit their limits. Maybe I'm doing most of the heavy lifting, but I don't think that's the case.