And for good reason. I got this gem from CC this morning:
"You're absolutely right. STOP means STOP DOING ANYTHING. Not delete files. I screwed up badly. Let me check if the backup still exists anywhere."
Don't get me started on all of the emoji's it throws into the code. WTF.
I'm writing a binary backend, I told Claude, the binary nature of this project should be a hint that emojis do not belong here.
"You're absolutely right. I apologize for that unprofessional approach. Let me make sure I've removed all the childish emoji nonsense from the code."
I'm working on an embedded project. I wrote my own python scripts that allows some pretty nifty features, like auto compile with problem resolution, and identify if a problem needs further scripting, which needs a new script with new packages, so it just does it. Then uploads, opens a serial port, reads it, and assesses if validation parameters were met or not.
My model does something similar to yours, it wrote its own script overnight, and deleted a lot of files.
But here's the difference, which could help you in the future. I set clear parameters on what could be deleted. I also told it if its deleting a file, store it in /root/knowledge/code-archive/, with a generated database with timestamps (basically a mini git that runs itself and saves files locally). Luckily nothing has ever been deleted that I actually needed.
Also, I contain the coding agent entirely within the workspace and it cannot work outside of the directories, files, and serial connections contained within that workspace.
I know embedded and what you're working on are quite different, these are just some thoughts on what I did that could maybe be helpful.
This is great. I'm only using Github Copilot (strictly a hobbyist), so I have to manually bounce back and forth, but I'm using a similar prompt where Claude Sonnet is the architect of what I request, and I pass on the high level architecture to Gemini 2.5 Pro, and then take Gemini's implementation back to Claude for any further feedback before implementing it.
Eh, sometimes.
The most I've ever done is blink some LEDs and read some i2c sensors with an Arduino following Paul McWhorter's tutorials.
Now? I'm making an ESP32-S3 camera server with hardware control and a webUI.
So I have a little understanding of the underlying code, but I know next to nothing about HTML and camera control.
I've read some Github projects, and had Claude explain to me exactly why it works, and used that as a starting point.
And I've finally got some stable, functional and efficient code going.
I don't think someone with zero experience can get it off the ground, but it's definitely possible to rapidly accelerate what is possible by using Claude.
You'll start getting a sense for when Claude is near the end of a chat. Tell Claude to "summarize our current chat". Then copy what Claude outputs, paste it into a new chat, and go from there.
Thats how I use it for coding when approaching a large chat.
Claude saved me months. I fully developed a wemos d1 mini project controlling a servo, dew heaters, environmental sensors, etc, an API, and a webUI front end. Just the troubleshooting alone and "tab" "tab" etc saved me hours.
I know have a fully functional project that is pretty complex and works perfectly.
Claude has been 100% for me these past few days.
I'm developing a WebUI and ASCOM ALPACA wireless controlled servo motor dust cover with integrated light panel and dew heater, and the project is 98% complete.
The entirety of the code is from Claude, the most I've done before this is some Blinky shit with an Arduino.
Claude helped write robust hardware control and sensor files, APIs, website html/css/js, with persistent settings logic in a json file. Thousands of lines of code, all Claude, and all within the last 7 days.
Claude is awesome, especially with Projects.
I've found that the only way to get something even remotely useful out of it is to use the projects feature.
And even then, separate it out.
Crystal clear, precise prompts.
I created a projectxyz_backend and projectxyz_frontend projects.
In backend, I first very clearly defined what I need my esp8266 and hardware/sensors to do, and how I wanted them to do it. I then used Claude to make a concise schema.json, project_structure.md, and readme.md. After that, I began adding hardware control files.
At the end of the hardware control files, I updated the project and had Claude cross reference the project outline to what was created.
Update:
Your approach is working great.
My project now has a clear schema.json that I can use to track the project between Claude sessions without it hallucinating and fighting itself, and endlessly going in circles.
Thanks!
Yeah, I'm building a dustcover/integrated flat panel/dew heater for my new telescope.
3D designed it in CAD, 50% 3D printed in Bambu ASA-CF, 50% CNC milled out of carbon fiber plate. Designed the PCB around a Wemos d1 mini.
I didn't like any of the other flat panels on the market, so I made my own.
Also working on a pi zero powered replacement for the SkySafari SkyFi III, which was discontinued.
Can they just go back to whatever they were doing 1-2 weeks ago? I was moving through a couple projects at a blistering pace, and now I feel like I'm going in circles trying to wrap up a few loose ends.
Shoulda rushed and finished my projects over a week ago...
I'm working on finishing up an ESP8266 project. Things were going smoothly, but the past day or two it has nosediving.
Really the only component left of my project is cleaning up some functions on index.html, but goddamn Claude keeps suggesting React based implementations the past couple days. WTF. At no point, in any of my files or prompts, is React a component of the project.
Dumb question, I've been using the web interface.
How do I switch to the API? I have a few personal/hobby projects I need to get wrapped up and I don't care if it costs $100-$200 in API tokens over the next couple weeks, I need this shit done.
Are you me?
This is why I'm totally good with paying the monthly fee. Shoot, I would pay a tad more to increase message size limits so it can just spit out entire code for me. Ya know, so I don't have to think.
"read these files and make an API map".
Little things like that. Certainly not a refactor.
Same. And it's not multiple sessions. I only have one session going and it stops before it even gets started.
And for good reason. I got this gem from CC this morning:
"You're absolutely right. STOP means STOP DOING ANYTHING. Not delete files. I screwed up badly. Let me check if the backup still exists anywhere."
Oh man, been awhile since I thought about Zork. I should make CC make me a Zork on my current system. “Clone yourself, but Zork instead”
No. Been using it all afternoon.
This is what I do. I dont even let Claude make a fix until it's been "peer reviewed" by Gemini.
Don't get me started on all of the emoji's it throws into the code. WTF.
I'm writing a binary backend, I told Claude, the binary nature of this project should be a hint that emojis do not belong here.
"You're absolutely right. I apologize for that unprofessional approach. Let me make sure I've removed all the childish emoji nonsense from the code."
Can you do your project in VS Code?
I'm working on an embedded project. I wrote my own python scripts that allows some pretty nifty features, like auto compile with problem resolution, and identify if a problem needs further scripting, which needs a new script with new packages, so it just does it. Then uploads, opens a serial port, reads it, and assesses if validation parameters were met or not.
My model does something similar to yours, it wrote its own script overnight, and deleted a lot of files.
But here's the difference, which could help you in the future. I set clear parameters on what could be deleted. I also told it if its deleting a file, store it in /root/knowledge/code-archive/, with a generated database with timestamps (basically a mini git that runs itself and saves files locally). Luckily nothing has ever been deleted that I actually needed.
Also, I contain the coding agent entirely within the workspace and it cannot work outside of the directories, files, and serial connections contained within that workspace.
I know embedded and what you're working on are quite different, these are just some thoughts on what I did that could maybe be helpful.
This is great. I'm only using Github Copilot (strictly a hobbyist), so I have to manually bounce back and forth, but I'm using a similar prompt where Claude Sonnet is the architect of what I request, and I pass on the high level architecture to Gemini 2.5 Pro, and then take Gemini's implementation back to Claude for any further feedback before implementing it.
Eh, sometimes.
The most I've ever done is blink some LEDs and read some i2c sensors with an Arduino following Paul McWhorter's tutorials.
Now? I'm making an ESP32-S3 camera server with hardware control and a webUI.
So I have a little understanding of the underlying code, but I know next to nothing about HTML and camera control.
I've read some Github projects, and had Claude explain to me exactly why it works, and used that as a starting point.
And I've finally got some stable, functional and efficient code going.
I don't think someone with zero experience can get it off the ground, but it's definitely possible to rapidly accelerate what is possible by using Claude.
You'll start getting a sense for when Claude is near the end of a chat. Tell Claude to "summarize our current chat". Then copy what Claude outputs, paste it into a new chat, and go from there.
Thats how I use it for coding when approaching a large chat.
Claude saved me months. I fully developed a wemos d1 mini project controlling a servo, dew heaters, environmental sensors, etc, an API, and a webUI front end. Just the troubleshooting alone and "tab" "tab" etc saved me hours.
I know have a fully functional project that is pretty complex and works perfectly.
Claude has been 100% for me these past few days.
I'm developing a WebUI and ASCOM ALPACA wireless controlled servo motor dust cover with integrated light panel and dew heater, and the project is 98% complete.
The entirety of the code is from Claude, the most I've done before this is some Blinky shit with an Arduino.
Claude helped write robust hardware control and sensor files, APIs, website html/css/js, with persistent settings logic in a json file. Thousands of lines of code, all Claude, and all within the last 7 days.
Claude is awesome, especially with Projects.
This is getting maddening: "Due to unexpected capacity constraints, Claude is unable to respond to your message. Please try again soon."
I'm keeping my chat windows short and sweet and still getting this error. C'mon Claude, you were amazing over a week ago.
I've found that the only way to get something even remotely useful out of it is to use the projects feature.
And even then, separate it out.
Crystal clear, precise prompts.
I created a projectxyz_backend and projectxyz_frontend projects.
In backend, I first very clearly defined what I need my esp8266 and hardware/sensors to do, and how I wanted them to do it. I then used Claude to make a concise schema.json, project_structure.md, and readme.md. After that, I began adding hardware control files.
At the end of the hardware control files, I updated the project and had Claude cross reference the project outline to what was created.
Update:
Your approach is working great.
My project now has a clear schema.json that I can use to track the project between Claude sessions without it hallucinating and fighting itself, and endlessly going in circles.
Thanks!
Yeah, I'm building a dustcover/integrated flat panel/dew heater for my new telescope.
3D designed it in CAD, 50% 3D printed in Bambu ASA-CF, 50% CNC milled out of carbon fiber plate. Designed the PCB around a Wemos d1 mini.
I didn't like any of the other flat panels on the market, so I made my own.
Also working on a pi zero powered replacement for the SkySafari SkyFi III, which was discontinued.
Is this for WP only? Would this workflow also work for a microcontroller backend with web based front end?
What do you use for Claude API use? I’m looking to switch to using the API and I’m not sure where to start.
Can they just go back to whatever they were doing 1-2 weeks ago? I was moving through a couple projects at a blistering pace, and now I feel like I'm going in circles trying to wrap up a few loose ends.
Shoulda rushed and finished my projects over a week ago...
Yes, yes it is.
I'm working on finishing up an ESP8266 project. Things were going smoothly, but the past day or two it has nosediving.
Really the only component left of my project is cleaning up some functions on index.html, but goddamn Claude keeps suggesting React based implementations the past couple days. WTF. At no point, in any of my files or prompts, is React a component of the project.
Outstanding, thank you!
ty!
Dumb question, I've been using the web interface.
How do I switch to the API? I have a few personal/hobby projects I need to get wrapped up and I don't care if it costs $100-$200 in API tokens over the next couple weeks, I need this shit done.
Are you me?
This is why I'm totally good with paying the monthly fee. Shoot, I would pay a tad more to increase message size limits so it can just spit out entire code for me. Ya know, so I don't have to think.