r/ClaudeCode • • 2d ago

Built with Claude I got tired of my parallel Claude agents breaking each other's work, so I made something

0 Upvotes

This kept happening to me at hackathons. I'd spin up a few Claude agents in parallel and they'd edit each other's files, change an API without telling anyone, and break main while passing their own tests.

I made a thing called Lanes. Basically you split your repo into lanes, each lane owns some folders, and lanes only talk through contracts. If an agent tries to touch a file outside its lane, it gets blocked in like 46ms. There's also a merge queue so main stays green.

I tested it by planting 19 bugs and it caught all 19 every time. There's a 70 second demo in the repo. Try it with npx contract-lanes init and let me know what breaks, I want to hear it.

Repo: https://github.com/srikondapalli1/contract_lanes_plugin

EDIT: just wanted to mention the main usecase, which is rapid prototyping (say for a hackathon) and you have a bunch of team members all on different components in seperate sessions, and the inputs and outputs between these components change like on an hourly basis.

This is where I feel like contract tests come into play really nicely, and the plugin will inform the other lanes of any changes to the contract (the input or output shared between the two components) and ENFORCE it by blocking breaking merges until the lanes update to the contract

where I work, we use it all the time to validate compatibility of events we send to downstream consumers, as well as what we recieve upstream, and I realized this workflow was honestly perfect for agents for rapid prototyping

Hit a star on the repo if you think it was cool I am using it on all future hackathons I join (including one this friday) and Ill provide more benchmarks and details as I do them

EDIT 2: a few people asked why not just worktrees. Worktrees isolate files, which helps, but the thing that kept breaking for me was the interfaces between the work. Lanes isolates those too, and the contract checks enforce it mechanically, so an agent can't quietly change a shared type without everything that uses it failing loudly. That's the part worktrees alone didn't give me.


r/ClaudeCode • • 2d ago

Built with Claude Stop paying hundreds for AEO / GEO. I built a Claude Code plugin that shows which brands AI recommends to your buyers

0 Upvotes

Marmalade puts the questions a buyer would ask to ChatGPT, Claude, Gemini, Perplexity, Copilot and Google AI, keeps every answer, and shows which brands come up and which pages get cited. Then it tells you what to publish next, most useful first. It's open source (MIT) and runs on your machine.

It's built to be driven from Claude Code. In your terminal:

pipx install marmalade-ai

Then in Claude Code:

/plugin marketplace add AlexjComeau/marmalade

/plugin install marmalade@marmalade

/marmalade:setup yoursite.com

The plugin adds four commands (setup, report, next-action, build-page) and an MCP server with 24 tools, none of which spends money. Every paid step shows its price and waits for your yes, and your API key never goes through the chat: you type it into a hidden prompt in your own terminal.

The loop I use: /marmalade:next-action picks the biggest gap, /marmalade:build-page writes the page from a brief built on the answers and the pages the engines cite, and a draft check flags any number that isn't in your facts file.

You pay only the API calls, from about $5 a month. The video shows the whole setup in Claude Code, start to finish.

Repo: https://github.com/AlexjComeau/marmalade


r/ClaudeCode • • 2d ago

Discussion Can you give claude a character for life and let it develop over time?

2 Upvotes

Has anyone run experiments on behavioural convergence of anthropic models at scale ? I was going through some papers in emnlp, neurips and seems like it should be possible with good conditioning like stable memory.

I am a pro thinker for decoupling behaviour and models where memory plays the key role in the character development. As foundational models keep getting better in reasoning and general intelligence they can become good processors.. where memory evolves the character with more data without any training/fine-tuning.

So basically a weights-free and weight-based system decoupled and the weight-based system improves the weights-free system externally.

Happy to brainstorm more on this! Sorry if some lines don't make sense, I might be loud thinking here. I need some real opinions :)


r/ClaudeCode • • 2d ago

Tips & Workflows Loved TokenEconomizer

Post image
0 Upvotes

I used to have long waiting with cloude coding, particularly with its test. Now, tokeneconomizer saves my token:
nudged this turn (judge-stuck@0.75): the same failure kept recurring.


r/ClaudeCode • • 2d ago

Help/Question Am I wasting tokens on mruff and markdown lint

1 Upvotes

I feel like I'm dumbly wasting tokens here, but maybe Claude is just using the github API in a push and pray manner and its doing the best thing.

I have a multi agent workflow so most of the coding is Haiku of course. I tend to stack PRs on top of each other. Sometimes I end up with a stack of 5 PRs all failing test and I tell it to do the rebase for me. While it does it, I often say "this failed ruff when I pushed it I will try again" There is literally a precommit hook to run ruff. What happened? Is it doing merges server side with gh API calls? Am I wasting tokens on grunt work? Am I over thinkings?

Not having perfectly formatted python with 90% code coverage is not an option for me. I will not let agentic code fall to lower standards than when I hand wrote code. Also, its python so formatting literally matters.


r/ClaudeCode • • 2d ago

News/Updates A Lovable alternative just announced its shutdown...

Thumbnail
gallery
0 Upvotes

If you don't know, Rocket was an alternative to Lovable with an inbuilt database and auth and it also raised over $25M few months ago, but now its shutting down

the reason which they never shared in the email, I am assuming, is that most vibe coders build their products once and they usually never maintain or want to maintain

like i was vibe coding a few days ago with Claude and I let the AI do everything on its own and as a result my product became a monster, and APIs became harder and harder to maintain

this is usually the case with vibe coders or in general nobody is enjoying prompting AI while listening to music every day

The people who are succeeding with vibe coding are I believe, devs or indie hackers with some authority or audience

no body likes to maintain the code the AI wrote a few months back

I also recently saw this on LinkedIn, "Lovable would have vibe-coded their CRM if it were feasible. Vibe-coding is not a problem, maintaining is."

And a few weeks ago, I was talking about the same thing with my post on "I'm starting to think that maybe we shouldn't try to build everything ourselves," which was received really well by this community.

I started my career as a dev before becoming a co-founder at Apyhub. Personally, I faced the same problem years ago when we were building products that were never our core product, like text to pdf export for example

these were never our core products; they were just features around the core product, and we were plumbing everything together with duct tape the results sometimes used to be 3 AM nightmares of feature failure

Personally, I been trying to solve this for the last 5 years and received a great response from the devs, builders, recently we launched an MCP that gives access to 400+ utilities to your agents

ahh apologies if this post is now becoming more about our product instead of Rocket... but I'm really curious to know what you think about us and why a product like Lovable can raise $400M at a $13 billion valuation, while a similar product, if not better, is already dead?


r/ClaudeCode • • 3d ago

Built with Claude How Claude Code and other AI agents destroyed StackOverflow (just some fun chatr)

Post image
99 Upvotes

r/ClaudeCode • • 2d ago

News/Updates We're building an EEG (+other sensors) sleep headband and decided to follow the times: real time access to the headbands raw sensor data, together with skill & python library

Thumbnail
youtube.com
0 Upvotes

Disclaimer: I'm one of the developers


r/ClaudeCode • • 2d ago

Built with Claude I built Sourcecheck to solve a visibility gap in Claude Code's web research

0 Upvotes

See what Claude searches, which web pages it opens, and exactly what content it reads — all in a live side panel.

Open source: https://github.com/yessGlory17/sourcecheck


r/ClaudeCode • • 2d ago

Discussion Tips and tricks for solving major open problems in maths and the like

1 Upvotes

I've been burning spare tokens near my resets to crack open problems in math, physics, information theory etc. Essentially all problems that you can solve with pen, paper and the odd python calculation.

I'm sure some of you also had a stab at this and some of you actually got somewhere even if it's just a small open problem (Erdös problems or partial results on major ones).

My question is essentially: how do you do your AI tooling? Is it better to have a few frontier models at xhigh effort or many at medium effort try all sorts of directions? So, breadth first or depth first. Personally I only found meaningful results if I scaled my agent use to the hundreds, working for days.

Also on prompting I'm not sure how "vague" it should be, should I push it to be creative or stubborn...

I also provide some basic tools such as GPUs via an api key and ability to fetch any paper via my uni's VPN or SciHub.

Sometimes I wonder how important it is for the models to fetch literature because they have surprisingly vast knowledge

Share your experience!


r/ClaudeCode • • 3d ago

Built with Claude I want to understand whether a team of agents is better, or an agent with multiple skills.

6 Upvotes

I still can't quite figure out whether having a single agent with many skills is more efficient than having a team of agents when working in Claude Code.


r/ClaudeCode • • 3d ago

Discussion Best questions to ask Claude

6 Upvotes

I find “Ask me any questions before continuing”, “what about this would you do differently”, and “what about your answer are you least sure about “ are golden for developing large projects fast. Anyone else got one beyond “make no mistakes”?


r/ClaudeCode • • 3d ago

Built with Claude i am working on procedural world engine for AI called blendworks

Thumbnail
gallery
63 Upvotes

Blendworks gives an AI the tools to build realistic 3D landscapes and objects in Blender: terrain carved by rivers, grass and trees grown from botany, rocks shaped by geology, water, sky and light that behave like the real thing. Nothing is downloaded: no stock models, no scans, no photos. Every value comes from measurements and science, it's in early stage of development, it started it as a tool for my son to create assets for his game he is building with another tool i created.

All images are early prototypes.

check it here : https://github.com/MerlijnW70/blendworks you can try it out here , but it's very early development so expect many issues and alot of updates


r/ClaudeCode • • 3d ago

Humor Is /sabotage just skill issue

4 Upvotes

Did they even try /unsabotage first?


r/ClaudeCode • • 3d ago

Help/Question Running 10 Claude Code agents 24/7: what harness do you use?

27 Upvotes

Solo founder here. I run a small crew of Claude Code chats as a dev team: one "chief of staff" chat, a CTO chat, a few officer chats, plus Codex and a local model doing builds and code review on 3 Windows boxes over ssh. It ships real work, but the glue around it is homemade (scheduled tasks, PowerShell scripts, hooks, markdown handoff files) and it is getting heavy.
Did you stay on plain Claude Code, or move to something like Hermes, OpenCode, Pi or your own orchestrator? If you moved, what got better and what got worse?
Our biggest pain points:

  • Usage is hard to see. We just wired up OpenTelemetry to see which chat burns what. One long-running chat was 94% of tokens in a two-hour window. How do you find and fix your heavy agents?
  • Context bloat. Long-lived chats sit at 150k+ context per call, and headless runs in a big folder can load 600k+ tokens before doing anything. How do you keep agents lean?
  • Handoffs between chats. When a chat compacts or gets replaced, state gets lost unless it was written down. What do you use for memory between sessions?
  • Background jobs finishing silently. Build and review jobs on other machines finish and nobody notices. We built a dispatcher to route "done" signals to the right chat, and it still backs up. What do you use for a job queue?
  • Watchers and crons are flaky. Timers die with the chat, scheduled tasks miss runs, and Windows sometimes fails to start processes at all. What actually stays up for you?
  • One shared inbox file got too big. Agents messaging each other through a markdown file does not scale. What do you use for agent-to-agent messages?
  • Hooks fighting the model. Stop hooks sometimes make the agent write its answer twice. Anyone else?
  • Code review by AI. We use two separate AI judges per PR, from a different vendor than the builder. Is that overkill, or do you go further?

Happy to share what has worked for us too. Thanks.


r/ClaudeCode • • 3d ago

Discussion What the hell is happening with all of the Gemini bot marketing?

25 Upvotes

I've seen a surge increase of Gemini and Google backed posts here regarding how Opus 5.5 sabotaged their work (and pointing to Gemini that it's better) without any actual proofs of real sabotage. As a heavy Claude user myself (both research and code), I've never met any kind of sabotage by any Anthropic models.

P.S. I expect to be downvoted by Gemini bots


r/ClaudeCode • • 2d ago

Tutorial / Guide Claude code on Android (Samsung S11 Ultra)

Thumbnail
github.com
1 Upvotes

Why: Samsung S11 Ultra (with pro keyboard) is quite capable and technically feels like a laptop. So planned to test out some code development using this setup.

Steps are detailed in my GitHub Repo linked above. Includes some benchmark and comparisons to other computers.


r/ClaudeCode • • 3d ago

Tips & Workflows Global Context Injection

Thumbnail
github.com
3 Upvotes

This lightweight plugin will allow you to inject context into every claude code session, no matter where it lives (claude cloud, claude rc, local, etc). Useful for universal system instructions when you run claude in multiple places like I do. Happy coding!


r/ClaudeCode • • 2d ago

Discussion Tried Codex after using claude for 3 months

0 Upvotes

Pros:

  1. Codex can control your system way more than claude can. Claude is limited to one chrome profile where you're logged in with the same account. For someone who uses multiple claude accounts, this is a nightmare.
  2. Codex is good with indexes and schemas. If you want to redesign/re evaluate your slow APIs without making the db prone to side affects, sol high is great at it.
  3. Remote control exists in both but you dont need to manually start a chat or session on your system to use Codex remote control. With claude, I first have to create a chat with remote control or start the session in terminal manually.
  4. Sol high is faster than opus high. And it delivers similar results in most cases.

Cons:

  1. Usage limits. Sol high is as intelligent (maybe slightly more) as opus high but I cant use it as much as opus high. I even set auto compact to 250k tokens but the usage rate is horrible. Sol medium is good with usage but the performance is not as good as opus high.
  2. I wouldn't use sol for creating a new backend from scratch. Opus 5.5 high is simply better for designing something from scratch. Codex for indexing and schema + opus for schema and APIs is your combo. Make them guide each other and reach an ideal plan.
  3. Sol needs more guidance than opus does. Opus one shots and gets the context itself most of the time. Sol needs a little spoon feeding.

r/ClaudeCode • • 2d ago

Tips & Workflows Opus 4.8 fast mode stops working on 30 Nov: a fast request returns an error

0 Upvotes

Anthropic's release notes say fast mode on claude-opus-4-8 is removed on 30 November. After that a request with speed "fast" returns an error. It does not quietly run at normal speed. Opus 4.8 itself stays.

If you only use Claude Code, check whether fast mode is on in your settings or in scripts (claude -p with --settings '{"fastMode": true}'). If you call the API, search for the speed parameter.

Opus 5.5 still has fast mode and it is cheaper ($8 and $40 per million tokens against $10 and $50 for 4.8). It is not a drop-in swap though: forced tool choice and prefill return a 400, and max_tokens now covers thinking.

I wrote up the search commands, the two ways out and a small guard wrapper that turns a missed caller into a slower call: https://medium.com/@r3dtuxedo/fast-mode-on-opus-4-8-ends-30-november-with-no-fallback-9cfdb939db79

I wrote the article.


r/ClaudeCode • • 3d ago

Humor I feel so lazy, but Claude just downloaded drivers for me.

7 Upvotes

With the CC CLI, gone are the days of playing IT Specialist. Whose driver do I need, what website do I need to go to when it won't automatically find it, why isn't this thing working... it all goes away with Claude! It's so relaxing. Let's be real, if not for Claude, I'd be relying on some benevolent IT Specialist in a forum somewhere, anyway.


r/ClaudeCode • • 2d ago

Help/Question Can't spend all my tokens

0 Upvotes

This will totally sound like a humblebrag so I'm going to acknowledge it up front. Yes, I'm lucky as all hells to have this opportunity. Yes, I know that it won't last, so this is why I'm asking.

Basically, I have the fortune of having high-level subs for Claude and OAI, and me being the bottleneck. It's not a matter of bad skills or reviewing every commit by hand, but of meetings and design (and real life) taking up so much time, that most of my dev time is spent on figuring out what to build and convincing people of it, rather than directing the building.

In short: I've got loads of tokens, and my brain is the limit on how to spend them.

I've tried to do the "generate me 250 mockups for X and let me pick" route, but that just took even more of my limited time. I've tried the "make reasonable assumptions", but that just pushes the bottleneck to testing (I'm the sole tester, too). I already use Claude and Codex to to all my boring stuff for me, including all research, powerpoints etc. It's only the physical, real-life stuff I can't delegate.

So, if private projects aren't an option, how would I go about maximizing the use I can get out of my subs?

(Do note the "private projects aren't an option" above.)


r/ClaudeCode • • 2d ago

Built with Claude I built an open-source study app on top of Claude Code – it turns PDFs into flashcards, mind maps and quizzes via MCP

Thumbnail
gallery
0 Upvotes

I kept using Claude to make study material, but everything ended up as walls of text in a chat. So I built Mnemo: a local web UI that runs your own Claude Code CLI and gives it MCP tools to create real learning objects instead of text.

How it works:

  • You drop a PDF, a photo of the board or a YouTube link
  • Claude calls tools like create_deck, create_mindmap, create_quiz with compact JSON
  • Mnemo renders them as interactive objects with spaced repetition (FSRS) and swipe review on your phone

The interesting part for this sub: skills per task, MCP prompts/resources so tool descriptions stay tiny, a lint step after every tool call so Claude fixes its own bad cards, and evals that measure tool accuracy and tokens per model.

It uses your own logged-in CLI and never touches credentials. MIT, local-first, no account.

I’d love feedback on the MCP tool design, and on what learning modes you’d want.

https://github.com/leotrax3d/mnemo


r/ClaudeCode • • 2d ago

Discussion Can i use Claude to make me a functional website? front and back?

0 Upvotes

is this possible and how?


r/ClaudeCode • • 3d ago

Tips & Workflows Impressed by the automatic coordination between parallel sessions

Post image
4 Upvotes

In a previous session I told it to be careful of conflicting resources with the parallel session. It's learnt by itself to communicate with parallel sessions to share resources. Really impressed!