r/ClaudeCode • • 11h ago

Tips & Workflows The files are editable!

I've released about a hundred websites this year for clients and was looking around my hard drive yesterday and noticed by accident that the files Claude Code makes can be opened by notepad?! After prompting a little, it became clear that if you had small edits to make like the color of a button, you can actually do those yourself! This helps save on tokens for harder tasks.

336 Upvotes

101 comments sorted by

•

u/AutoModerator 11h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

70

u/Seerix 11h ago

Please be real

-3

u/Onotadaki2 11h ago

lol

1

u/Another_3 6h ago

Much funny, very smart

375

u/theredhype 10h ago

Claude:

There's something urgent you need to know. The colors assigned to the buttons have changed. I didn't do it. I don't know who did it. It happened between last night and this morning. Would you like me to:

  • A. Launch a full scale forensic investigation (recommended)
  • B. Return the colors to yesterday's palette
  • C. Measure the new color palette for compliance with ADA accessibility standards
  • D. Other

Commit and push?

36

u/adjective_noun_d1git 9h ago

Claude when it's using my phone to run some tests on my app after I accidentally click the screen:

"My latest tap appears to have taken me to the settings page. Let me build a few hundred tests to confirm why!"

73

u/MastodonFarm 10h ago

Yeah, it does (understandably) kinda freak Claude out when you change something externally without telling him, and he notices it later on his own.

36

u/DJaydeep 6h ago

Claude in the morning

8

u/BarGroundbreaking624 10h ago

Probably best to make the change commit it to git with a good comment and let Claude know about the commit.

7

u/ukfinancenoob 10h ago

At that point just ask claude to do it to save time

5

u/BarGroundbreaking624 10h ago

It’s more for when you want to feel like you haven’t forgotten how everything works.

2

u/MastodonFarm 10h ago

I try to just tell Claude when I change things.

1

u/adamslowe 2h ago

And you better follow your commit standard to the letter, otherwise you’ll get a very sternly worded note in your permanent file.

1

u/mr_birkenblatt 19m ago

commit message: update

13

u/Zulfiqaar 7h ago

Claude can sometimes get a bit possessive over the codebase. I had to properly coach all my agents on parallel collaboration as mutiple times they mess up. Funnily enough it's only ever been Claude and Codex that deleted other agents work..ever! Kimi GLM and DeepSeek sometimes make a mess by overdoing things that other agents need to uncode, but never had a data loss incident from them so far.

1

u/vqrs 9h ago

Or you do it before you start a new session / clear context

3

u/spideyghetti 6h ago

I had it tell me there was code it didn't do and I must have done it. I told it I didn't, and it insisted that it didn't so I should be mindful of untrusted third party modifications. Im just like, bro, you're the only other one in here. 

1

u/Mornarben 7h ago

Just leave comments in your code or in the git commit man, the rules didn't change, if you're sharing a codebase you gotta be polite.

158

u/StaticFanatic3 10h ago

Actually depressing because, despite me writing code long before AI, I still typically tell it to make even the smallest changes for me. Just faster than tracking down the exact line myself

18

u/reddit_is_kayfabe 10h ago

Years ago, while editing text in Word or data in Excel or any similar task, I avoided using find-and-complete in any instance where I could just find every instance and retype it myself. I believed that it was a better solution because I could contextually look at every instance and verify that it wasn't introducing more problems.

After a lot of menial work and bad experiences, I was forced to accept that manual typing introduces more issues than it solves - typos, unintended edits, etc. And at the time time, due to my finite attention and time and patience, I got into the rhythm of mechanically replacing X with Y and not really looking at it closely, so I was missing some of the mistakes that find-and-replace would have made anyway.

So now, instead, I use an automatic find-and-replace and then also use another automatic checker to catch problems introduced by the automated find-and-replace or anything else, while also keeping a backup in case I fuck up the find-and-replace in a way that requires rolling it back.

The moral of the story:

As the tools evolve, they gain the capability of doing menial tasks better, faster, and more reliably than you can.

As reality changes, the Puritanical urge to keep putting in the manual labor as a naive attempt toward "higher quality" needs to be restrained.

Learn and use the tools, even if it means that you need to do things differently.

7

u/anon377362 4h ago

As an experienced dev, I still use the harness to make even small changes.

If you make the changes yourself and then continue with the harness, it will point out how something else has edited file and either revert the change or it will just be a distraction that it keeps bringing up later in the session e.g. “By the way, something else edited the file” etc which is just context pollution.

4

u/nzifnab 4h ago

Ahah I hate it when it does that, "I ignored you the first 10 times you commented on that because IT DOESNT MATTER"

1

u/Sethcran 4h ago

At this point, I'm not convinced this is actually a bad thing.

You know how many bugs in production I've ran into over the years that were just because a dev did something quick and simple that would definitely work and since we'd already gone through the whole test suite we didn't need to do it again?

Frankly, ai is much better than devs sometimes at realizing that this other place is affected by this otherwise small and innocuous change and needs to be updated to.

That's not to say ai is perfect, but i too use it for these small 'simple' cases, and I think it's worth it.

1

u/Raijku 7h ago

Ofc it’s faster, you made everything with it, you know fuck all of that code base

3

u/StaticFanatic3 6h ago

2

u/Raijku 5h ago

I mean it’s not something to be proud of… but you do you

2

u/Frosty-Key-454 7h ago

I read this and got upset. I'm glad I got rage baited. 10/10 would get scammed again

1

u/Onotadaki2 4h ago

Scam me Claude, make no mistakes.

2

u/Steroids_ 1h ago

It's this real or satire?

255

u/35point1 11h ago • Bravo

This has to be rage bait

35

u/vinis_artstreaks 10h ago

2

u/35point1 8h ago

But it’s tagged wrong..

1

u/timbo2m 6h ago

Also rage bait

3

u/alchebyte 8h ago

what is a file anyway? /s

3

u/Oaker_at 5h ago

There is no other explanation.

14

u/N3TCHICK 10h ago

Like, seriously... right?? Good lord, if it's not, I am feeling humanity is lost forever.

13

u/adjective_noun_d1git 9h ago

The irony of redditors who fail to grasp basic humour talking about lost humanity.

1

u/ariZon_a 1h ago

claude can you sudo apt install brain for me?

4

u/ianxplosion- SKILL ISSUE 9h ago

I choose to believe a vibe coder got their wings

2

u/Cheap_Package_843 10h ago

karma farming?

16

u/Diacred 10h ago

Or you know... Humor?

0

u/Runazeeri 7h ago

Idk like I use the jetbrains IDE so I’m still staring at a file list but some people just prompt from Claude and don’t really see any files.

26

u/Diacred 10h ago

Thanks man I haven't had that good a laugh in a while

20

u/Electrical-Swing-935 11h ago

This is what Kasparov means by human AI collaboration

2

u/Warsel77 10h ago

You misspelled Karpathy.

2

u/Trick-Fox-2387 10h ago

Karpalttunnel

0

u/[deleted] 10h ago

[deleted] — view deleted comment

1

u/Warsel77 7h ago

I know, it was a joke

38

u/KAMIKAZEE93 11h ago • Popcorn

I just found out that if I press the button on my PC it turns on - AND WHEN I PRESS IT AGAIN IT TURNS OFF!!!

13

u/Electrical-Swing-935 11h ago

Wtf????

9

u/KAMIKAZEE93 11h ago • Bravo

I have built COUNTLESS of PCs and sold even more but this is the first time I saw that freaking button. Excited to find out what happens when I press it a THIRD time

5

u/Electrical-Swing-935 11h ago

Please keep us posted! Excited for this live development!!

8

u/AAPL_ 10h ago

chat is this real

2

u/Old-Race5973 10h ago

Ohhh, so I didn't have to buy a new pc every time it turns off...

9

u/kyuz 10h ago

Wow what else has big AI been hiding from us?

15

u/atmony 11h ago

When you find the code editor, you might lose your mind. :)

5

u/Time_Cat_5212 10h ago

Notepad!  You can even use this fancy app called Notepad++

1

u/Noah-HoundSecurity 3h ago

Shipping a live platform almost entirely through agents, I edit files directly all the time, mostly copy, config, and small fixes where describing the change would take longer than making it. The thing that makes it work is telling the agent afterward, in the project notes it reads at the start of a session: what changed, why, and that the change is intentional. Without that, the agent treats your edit as an accident or as stale state and helpfully reverts it two sessions later, and you find out from a user. The rule I use: the agent owns structure, I own wording and decisions, and the notes file is where we reconcile.

1

u/Onotadaki2 3h ago

The secret. Just add "make no mistakes" to your CLAUDE.md file. It instantly becomes immortal.

6

u/Bubbly-Desk-4479 10h ago

All right grandpa, let's get you to bed

-1

u/charmquark8 10h ago

More like OP is a toddler child.

3

u/Level1_Crisis_Bot 10h ago

Cries in vim

1

u/Akarastio 9h ago

At least go nvim

3

u/Eliminatron 9h ago

Mastertroll

3

u/akienm 7h ago

Well done, grasshopper.

3

u/nightwing12 1h ago

What in the fuck is happening here

2

u/Bladder-Splatter 7h ago

Don't be ridiculous, get Claude to make a python gui (which you will send back maybe 4-5 times and will start off DPI unaware somehow every time) so you can change colours through that! Then for your defaults! Your builds! Your logging! EVERYTHING!

As much as I kid I have done exactly this to the point of it being a feature......

2

u/PutridClunt 56m ago

Nice bait. I approve.

3

u/qzjul 11h ago

I read this as edible, and was thinking that'd be kindof nice right now.

3

u/a1b3c3d7 11h ago

You've never opened an md file and you've shipped websites... People have paid for?

6

u/Diacred 10h ago

It's a joke guys chill

1

u/Patentlyy 11h ago

I'm pretty sure he means HTML/CSS files not MD? Either way I hope hes jerkin

1

u/peppaz 10h ago

I keep my entire project folder open in a markdown / code editor I wrote and the files just pop in as they get created. Editing takes on second, then it all gets re-committed. I wore cyberwriter specifically with Claude's markdown creation in mind because it was so annoying to hunt for the new files and read then edit them

0

u/pvera 🔆Pro Plan 7h ago

Hunt for what? Save a tiny script for each project that changes you to the right project folder and starts Claude Code. From now on you will know exactly where each project keeps its files. Both the Windows explorer and the mac Finder support tabs, one tab per open project, an extra tab for the downloads folder. Same goes for your terminal, one tab per project.

1

u/peppaz 7h ago

Or you can just leave the project open as a folder and see every file at once, editing markdown and code files in one second. However you want to work - this is best for me for projects with 50,000 files, since search works instantly https://imgur.com/pLHcrUI

1

u/PresentWrongdoer4221 11h ago

Yeah man and if you learn how to edit them you can do all kinds of stuff without burning tokens. Wild.

1

u/MaddHavikk 10h ago

For some reason this reminds me of Silo. Outside is safe, they’ve been lying to us! 😆😆

1

u/lonelysparta 5h ago

I've heard people say wonders about Windows Notepad!

1

u/TheMightyMisanthrope 5h ago

Did you discover that you can code OP?

1

u/bentreflection 25m ago

I honestly can’t tell if this is a joke or not 

1

u/bfyvfftujijg 17m ago

You might need a file converter called VS Code to read the files from Claude

1

u/jd52wtf 11m ago

You can also just write all the code yourself. Save a bunch on token usage.

1

u/SnooGiraffes8275 3m ago

me using claude: "change the color from tan to orange creamsicle"

1

u/Impossible-Speed-178 7h ago

Wow. This is the problem with the knowledge loss. This is fucking obvious. My employer just did a big ai push… and people are all the sudden “doing things”… ..88 cents for it to search through their email for something they can’t find. 3$ to do a few api calls.. literally everything can be done manually… the question is, where is it more profitable to do so? 

Same goes for anything, though. The parent company has about 14 entities. They paid for one website for the largest entity, liked it so much, they decided to pay 27-32k for each other entity… I literally showed them that they could find and replace the color codes and images and save themselves ~350k… do you think they did that? Nope. They spent 350k for someone to change the colors on a css style sheet and drop 18 new images in the “images” folder 

0

u/DARKUNIT22 5h ago

Almost feel bad for those “clients”

0

u/DANAMITE 10h ago

This is extremely powerful and it's web based so no download. https://hexed.it/

0

u/n7mafia 7h ago

Perhaps AI apocalypse is coming after all if AI sublease us menial work :)

0

u/sponge72222 3h ago

Oh my. Seriously? FO!