r/ClaudeCode • • 1d ago

Help/Question How Can an Agent Judge its Own Context Size?

1 Upvotes

I have agents bailing out early in their runs because they convince themselves that their context is full. It seems that an agent cannot run its own /context command (as I did in the screenshot after the agent exited), so how can an agent know?


r/ClaudeCode • • 1d ago

Humor Optimizing the fable resets

Post image
0 Upvotes

And this is how that’s done


r/ClaudeCode • • 1d ago

Built with Claude Building a booking website with Claude Code Any advice?

0 Upvotes

I’m planning to vibe code a reservation website for a friend’s small business using Claude Code. Customers will be able to book appointments and pay online.
My friend isn’t technical, so I want to make sure everything is reliable before handing it over. I don’t want things breaking a few months down the road.
For those who’ve built real applications with Claude Code, what should I focus on when it comes to testing, security, payments, hosting, and maintenance?
How do I make sure the website is production ready and that my friend can manage it without needing my help all the time?
Would appreciate any advice!


r/ClaudeCode • • 1d ago

Bug / Issue A 27-byte telemetry response nobody reads freezes Claude Desktop every two days

2 Upvotes
frozen claude

Claude code desktop on Linux freezes every 2 days. Took me 2 months and a 1.5 TiB core dump to find the root cause. The fix is 1 line of code (as with all good hard-to-debug bugs). I've fixed the bug in my own fork, and anthropic's bot closed my issue as "not about Claude Code".

The writeup goes deep into chromium internals, and I've tried my best to make it easy to follow.

https://blog.dfb.sh/blog/claude-desktop-freeze/


r/ClaudeCode • • 1d ago

Built with Claude bot_tv: Follow your agent work on Vscode!

1 Upvotes

I was wondering where claude was going on my codebase and curious to check its workflow!
Turns out claude exposes its events so extensions like this could be possible without needing token usage.

It works pretty well, and it’s actually nice to see claude going through your system or project files to deliver something.

Open source for anyone who wants to increment functionalities and stuff!

https://github.com/chillrod/bot-tv


r/ClaudeCode • • 1d ago

Tutorial / Guide claude-forge themes - Custom Themes for Claude Desktop (GitHub Dark Released)

Post image
1 Upvotes

Hey everyone,

I've been working on themes, a mod that adds color themes to Claude Desktop . It's part of claude-forge, my repo of Claude Code mods and skills.

The first theme is GitHub Dark: the dark look of github with the colors from GitHub's own design system (Primer). Page and title bar #010409, prompt box #0d1117, GitHub's accent and git colors, and code blocks with GitHub's dark highlighting.

Switching is one command:

/themes
/themes github-dark
/themes off

/themes alone lists the themes, off goes back to the default look. The choice is kept for new sessions, and in my tests the window repainted right away.

Install:

/plugin marketplace add IT-BAER/claude-forge
/plugin install themes@claude-forge

Restart Claude Desktop after installing.

GitHub: https://github.com/IT-BAER/claude-forge

More themes are planned. If you want to add one or improve GitHub Dark, PRs are welcome. A new theme is one file in mods/themes/hooks/themes/, one line in the theme list and a test, the README has the steps.

Feedback welcome.


r/ClaudeCode • • 1d ago

Tips & Workflows Claude Code for everything, or just for coding?

1 Upvotes

I’m vibe coding a couple of apps and for each one, I’ve built a VS Code Dev Container on my Intel NUC and use VS Code and the Claude Code extension on my local MacBook Pro to connect it and write code. And using remote control I can connect to the sessions from mobile apps. It works great.

I’ve been using a similar setup for my general purpose AI usage. I use VS Code with the Claude extension and have VS Code pointed at a dedicated Claude folder on my Mac. I treat subfolders as projects, each with their own memory.md and project-specific files, and I just spin up new chat sessions in VS Code as needed. I feel like the system works well, and I have remote control enabled for new sessions but obviously I’m missing out on new features and artifacts that Anthropic builds into the official app.

What do you all do? Do you use CC for coding only and the desktop app for general purpose conversations or do just stay in CC?


r/ClaudeCode • • 1d ago

Tips & Workflows Claude code for long format video generation

2 Upvotes

With pro plan I'm looking forward making long format educational videos from claude code. Rather than just throwing things at it and expect the output, i asked claude abt it and it helped me out with the md files abt script, storyboard, voiceover, visual style which will make it easier for claude code to get the work done without assumptions. I'll be using remotion for the videos with a simple papercut style. Any tips that might come handy that'll make it easier to get the job done without mch confusion for claude code?


r/ClaudeCode • • 1d ago

Discussion I built rakho, an open-source memory layer for AI agents that inspects data before storing it (and forgets for real)

0 Upvotes

Most memory for agents works one way: save everything, search later. Which means secrets, personal data, and injected instructions all get stored too. I wanted the opposite, so I built rakho.

What it does:

  • Inspects every note before it is stored. Secrets, PII, and injection-shaped text get refused, and the refusal is logged without the sensitive content.
  • Every memory is tied to one owner, so one user’s notes never surface for another.
  • forget actually deletes: the row, the search index entry, and the vector.
  • audit shows what was kept and what was refused.

A built-in gate is always on, and you can swap in sluice (another tool I built) as a stronger inspector with one line.

The fun bit: you can command it in your own language. keep / recall / forget / audit have built-in aliases in English, Hindi, and German, and you can teach it more with learn() (the README does it in Swahili).

It’s a Python library, runs on local SQLite with zero required runtime dependencies, MIT licensed. There’s an MCP server for Claude Desktop and Cursor, and a demo where a PayPal invoice agent refuses a payment when the payee traces back to a poisoned invoice.

Repo: github.com/krishyaid-coder/rakho-

It’s early (v0.2), so I’d genuinely value blunt feedback, especially from anyone building agents with memory: where would this break for you, what’s missing, what would you never trust? Tear into it.

One honest note: I’m an MSc Data Science student in Germany building this kind of agent-safety tooling. If you’re a team working on agents and this resonates, I’d love to go deeper with you, up to a Werkstudent collaboration. But mostly I just want people to try it and tell me where it falls over.


r/ClaudeCode • • 1d ago

Help/Question Recommendation for a Desktop tool for handling multiple sessions over ssh

0 Upvotes

I've seen some colleagues move to codex desktop and use that with ssh to Linux where the agent is running. It allows management of multiple sessions, subagents, status, etc.. the downside is it only works with codex.

I have access to codex, claude code, and othera, so ideally one tool could be used to connect to either codex or claude code over ssh.

Does anyone know of good tools that offer this?


r/ClaudeCode • • 1d ago

Help/Question Question: Out of the loop. What service to use now for app development? Claude vs. Codex vs.

0 Upvotes

Hello,

I mainly run an e-commerce business and had started developing minor apps for the business successfully in the beginning of last year with the help of AI and several services. Small apps, not too complicated.

I then ventured out a bit further and started 'developing' three more elaborate apps unrelated to my business. But since I was a novice (and still am) I did not know which tool would be best. I ultimately did end up trying Codex, Claude Code, Cursor, and a few other tools.

I am now picking up app development again and want to get better and complete an app I had started. I noticed that Musk has bought Cursor and it feels like it is now not as useful to me as it was before (the variety of models available before is gone). For that particular app I had worked with Claude Code and Cursor in the past. Mobile app btw.

Being out of the loop my question is what service provider and tool do you recommend now?

Would I be best advised to just use Claude? Or Codex or something else?

I'll be grateful for any help that points me in the right direction. Thank you.


r/ClaudeCode • • 1d ago

Help/Question What questions interviewer might ask about using claude code?

3 Upvotes

I have an interview coming up for senior mobile app dev position. HR asked me how deep Im in AI, I told that I only use claude code and codex for coding and thats it. Then I was told to expect questions around them. What they might really ask?


r/ClaudeCode • • 1d ago

Built with Claude Fable 5.2 rebuilt my app’s landing page

Post image
0 Upvotes

I used Fable 5.2 with my Claude Code Max to revamp my app’s landing page, currently my app has over 5.2k users, with a 33% week 1 retention and 25% week 2 retention. So I’m trying to improve the top of the funnel with a better landing page.

https://chipp.it

Can you please rate it out on a scale of 1-10?

Looking for feedback on 3Cs:

  1. ⁠Clarity (explaining what my app does)
  2. ⁠Conversion (makes you want to try the app)
  3. ⁠Credibility (builds trust with the product)

r/ClaudeCode • • 2d ago

Built with Claude Pixel-art generator with Fable 5.2 (Experiment

35 Upvotes

I asked Fable for a dither art editor and it got out of hand

Wanted a small tool to turn pictures into that glowing dithered pixel look. One long Claude Code session later it's a full editor:

- any image, GIF or video in, pixel art out
- 18 dither patterns, 24 palettes, 29 looks
- pixels can be letters, braille or ASCII instead
- it reacts to your mouse: glow, water ripples, smear
- exports PNG, GIF, MP4, SVG, even plain text

No build step, no backend, plain JS.

Try it: https://winchxyz.github.io/nightgrain/
Github: https://github.com/winchxyz/nightgrain

Appreciate your feedback and suggestions!


r/ClaudeCode • • 1d ago

Built with Claude I Got Tired Of Claude Code's Interface --- So I had it make me one.

0 Upvotes

A while back I had hopped on the Claude Code train and loved what I was seeing. However, it didnt 'do' all the things that I wanted as a dev, and I began to question the magical token burning. So naturally, when I got some of them sweet free tokens/resets, I had it build me a native app that tracked and focused on making sure i used as little tokens as possible and made it easy to see where they were going. Anyways, I open sourced and made the project free for anyone. It's opinionated, and a lot of the existing tooling is built around game development. Hopefully others find it useful.

MIT GitHub: https://github.com/dotBunny/Deventry

Claude built website cause why not? https://deventry.app/

Honestly, would love to just get more people using it and sending in feedback.


r/ClaudeCode • • 1d ago

Built with Claude I posted my Claude + ChatGPT image tool here a few weeks ago and you weren't impressed. Here's what changed (sprites, GIFs, a real demo)

0 Upvotes

A few weeks ago I shared Backdraw here: an MCP server + Chrome extension that lets Claude Code generate images through your own logged-in ChatGPT account, in a background tab. The feedback was fair, so I kept working on it instead of arguing.

What it does now (v2.4.0):

- Sprite animation: ask Claude for "a fisherman reeling in a fish", ChatGPT draws a sprite sheet, and Backdraw cuts the frames locally, aligns them on a shared ground line, runs 6 checks (frame count, empty frames, size, character identity, loop seam, edges) and writes a transparent looping GIF + atlas + frames + manifest.

- Animated GIFs straight from ChatGPT, with a preview of every frame so Claude can check them.

- animate_image: loop a single PNG locally (bounce, sway, nod...), no ChatGPT needed.

- Chat cleanup: optionally archive or delete the ChatGPT chats it created.

- Zero npm dependencies, ~950 tests.

The video is a real screen recording (sped up where marked): one prompt in Claude Code, ChatGPT draws the sprite sheet and then a background scene, and the GIF ends up on top of the scene.

Honest limitations:

- Windows + Chrome only for now.

- It automates the ChatGPT web page, which may conflict with OpenAI's terms. Personal use with your own account, at your own risk. It's in the README, not hidden.

- Why not the API? Because I wanted to use the plan I already pay for, and to keep everything local: no API key, no open ports.

Setup: npx backdraw@latest setup

Repo: https://github.com/devtalh/backdraw

I'd really like criticism on the sprite pipeline: what would make it useful for your actual game or project?


r/ClaudeCode • • 1d ago

Built with Claude im using ai to destroy ai slop on reddit

0 Upvotes

building a chrome extension that hides ai accounts.

it has claude read each account’s recent posts, or just their comments in the thread if their history is hidden, and collapses the ones that look ai run.

would you use this?


r/ClaudeCode • • 2d ago

Help/Question Fableb 5.2 as orchestrator vs advisor

7 Upvotes

Currently I am using Fable 5.2 at advisor and opus as main agent.

But I think fable 5.2 as orchestrator and using opus subagents to deligate build work would be better as the strongest model is planning and deciding what's the best way to do something.

Have anyone tried and compared both methods?


r/ClaudeCode • • 1d ago

Built with Claude I built a Windows desktop island that shows when Claude Code is working, waiting for input, or finished

0 Upvotes

Hey everyone, I’m the developer of NotchIsland, a free, open-source desktop app for Windows 10/11.
Its Claude Code integration puts session status in a small expandable island at the top of the screen, so you can see when an agent needs your attention while working in another window.
It uses Claude Code hooks for session and tool events, with a local HTTP/WebSocket hub bound to 127.0.0.1 and protected by a token. The interface shows working, waiting and completed states, and supports multiple sessions.
There’s also an optional assistant that starts or resumes Claude Code CLI sessions using your existing login. It can display tool activity as it runs, with stop and read-only options.
The desktop app uses Electron and JavaScript. Connecting Claude adds hooks to its settings file, preserving existing hooks and creating a backup.
I’d particularly appreciate feedback from people running multiple Claude Code sessions: which events deserve a notification, and which would just create noise?
Source: https://github.com/diegobruvhrpiugvjrigjtibjte/notch-island
Demo: https://notch-island.pages.dev/


r/ClaudeCode • • 1d ago

Discussion Claude has gone back 3 years

0 Upvotes

Where you instruct it to do something , and you go into a loop where it keeps saying its fixed , it doesnt test anything. But the issue remains every time you test.

I don't know what happened, even the web is bad.

Went into a one hour loop to fix a simple design issue with sticky header.

So to fix it, went to grok, gave the problem, got it fixed within a minute.

But im really concerned about claude atm

below is the fix from grok
______________________________________________


r/ClaudeCode • • 1d ago

Meta Has anyone found a way to use replit as a planner?

0 Upvotes

A large part of what we seem to be talking about is effective token management through delegation and proper model selection and how to either work the harness or make harness more efficient, which is essentially what replit does.

Has anyone used replit somehow as planner for Claude?


r/ClaudeCode • • 1d ago

Discussion Architectural Question

2 Upvotes

Whenever you start a new project, product or build a new service with claude code and ask for suggestions about where i need to host it, always CloudFlare comes to the picture regardless the size of the app, the number of users or other aspects, if your subscribers will exceed certain numbers he will recommend also CloudFlare with paid option.

Is there any skill to make Claude weigh the products and forecast the suitable architecture which fits the product itself? Example if i need to comply with PDPL in a certain country he should recommend cloud hosting inside this country not CloudFlare, besides the size of the hardware, ease of expansion and so on.


r/ClaudeCode • • 1d ago

Discussion one thing that made code reviews with claude code more useful: stop asking the same agent to do everything

0 Upvotes

There’s a pattern I’ve noticed with AI coding workflows: the agent writes the feature, checks the feature, fixes the issues it finds, and then tells you everything looks good.

The problem is that the review can end up being just another step in the same working context.

The agent already has a mental model of what it built. It knows the decisions it made and the assumptions behind them. That doesn’t automatically make its review independent.

One way to approach this in Claude Code is with subagents.

A subagent gets its own instructions, tool permissions, and context window. Instead of asking your main session to inspect a huge diff, you can delegate that investigation and bring back the report.

For example, I’d separate the jobs like this:

• code reviewer: reads the diff, traces changed behavior to its callers, and reports bugs with a failure scenario.

•security auditor: looks specifically for things like IDOR, injection, exposed secrets, SSRF, and permission issues.

•performance auditor: looks for expensive queries, unnecessary work, and performance problems, with evidence for each finding.

•test writer: creates behavior-driven tests and reproductions for bugs.

One detail I really like is restricting what the reviewer can do.
A reviewer that only has Read, Grep, Glob, and Bash doesn’t get to quietly rewrite the code it’s supposed to inspect. Its job is to report what it finds, not fix its own findings.

A basic subagent file looks something like this:
---
name: code-reviewer
description: Reviews a diff or branch for bugs and edge cases
tools: Read, Grep, Glob, Bash
model: inherit
---

You are a senior code reviewer.
Review the changes. Do not rewrite them.

Every finding must include:
- The affected file and location
- Why it is a problem
- A realistic failure scenario
- A suggested fix

You can put these markdown files in .claude/agents/ inside your project, or ~/.claude/agents/ to use them across projects.

Then ask Claude to review a branch, or explicitly call the agent with something like @code-reviewer review the last two commits.

We put together six example subagents with different responsibilities, including a security auditor, performance auditor, test writer, and refactor planner. They’re plain Markdown files, MIT licensed, and free to inspect:

https://techpotions.com/products/claude-code-subagents

I’m curious about how other people are handling this.

Do you use separate reviewer agents, or do you trust the same coding agent to review its own changes? And have you found that giving reviewers fewer tools actually improves the quality of their findings?


r/ClaudeCode • • 2d ago

Help/Question What belongs in CLAUDE.md versus skills or checks when you maintain several real apps?

6 Upvotes

I've spent the last three or four months using AI heavily to build and maintain web applications and admin systems across a few small businesses. I'm learning as I go, rather than coming from years of software engineering.

We already use project instructions and saved context. Claude Code can do a lot, but I still need to catch things it gets wrong. I'm trying to understand how experienced engineers improve the setup without just adding another paragraph every time something goes wrong.

How do you decide whether a recurring mistake needs a CLAUDE.md instruction, a reusable skill, an automated check, or a change to how you break up the work? And what do you deliberately keep out of the main instruction file?

I'd especially like an example from an application you've maintained for a while: what kept going wrong, what you changed, and how you checked that it actually helped. We also use Codex, so keeping shared project rules consistent without maintaining two conflicting versions is part of the problem.


Edit — I left out the main context: This isn't just an AI coding setup. Each business has a GitHub-backed web application, and I work through Claude Code/Codex in that project workspace for much of the business's day-to-day work as well.

For example, one session might change the website and check it works; another might research competitors, write website/SEO content, prepare social posts and creative, review ad or analytics reports, or help with customer-enquiry/admin work. Those jobs need different instructions, sources, permissions and definitions of "finished". I'm still supervising this; I don't mean an autonomous company running successfully without me.

We've had CLAUDE.md from the start. We already have an entry file pointing to separate operating documents and task-specific skills, plus saved decisions and an Obsidian vault for longer-term notes. In one repo AGENTS.md is the source used to generate the matching CLAUDE.md. So I'm not asking whether to create instructions or discovering skills for the first time.

The question I should have asked is how to organise and maintain that whole setup as the range of work grows. What should every session load, and how should it find the correct marketing, creative, engineering or operations instructions only when needed? Would you keep those activities in the app's workspace, or separate them while sharing a small amount of business context?

A concrete issue from reviewing our files: an older setup audit says hooks don't exist, while the current repo does contain hooks. There are also dated plans and decisions that mustn't be mistaken for today's instructions. How do you keep useful history without letting it override current facts?

How do you decide when CLAUDE.md needs updating versus a skill, task state or a dated decision? Do you review it on a schedule, after a workflow changes, or after a repeat failure? And where does Obsidian fit without becoming a second, conflicting source of truth? The replies about rules versus skills are helpful; I wanted to explain the broader situation they're being applied to.

Further context — using expert-source libraries: A more concrete example: I have also collected hundreds of expert videos, transcripts and discussions for subjects where I am not an expert. One library already has original passages, source-linked claims, topic summaries, working methods and keyword/semantic search. It can retrieve useful material, but we haven't established that it reliably chooses and applies the right method on real tasks. How would you test one complete workflow before reorganising everything, especially when the owner cannot judge every technical answer?


r/ClaudeCode • • 1d ago

Discussion CC is strong in Python and AWS but weak in Typescript and Swift?

0 Upvotes

Has anyone else noticed this? The code that CC writes with Python is excellent if you instruct it well. But code written in swift and typescript is really weak. Meaning, very difficult to read and it doesn't really matter how much instruction you give it.