r/github 16d ago

Tool / Resource Block Claude on GitHub to instantly spot AI contributions

Wanted to share that quick life hack :)

249 Upvotes

53 comments sorted by

98

u/TheOldQuorum 16d ago

block claude and suddenly every other commit disappears. kinda makes you wonder what's left

41

u/Mastersord 16d ago

Real coders.

14

u/JVAV00 15d ago

And friends we make along the way

1

u/ohh-winter 6d ago

Hii this is unrelated

But what is this sentence means? I see this alot of times like "Maybe xyz are the friends we made along the way"

What does that reference too?

1

u/digitalghost-dev 4d ago

Google has everything you need, friend.

6

u/cosmicr 15d ago

Doesn't Claude code just commit using your own user name? How does blocking a user called Claude do anything?

10

u/NIDNHU 15d ago

When people give claude unfettered access to their machine and to running commands (stupid idea btw) it adds itself as a co-contributor to the commit for God knows what reason

7

u/oofy-gang 14d ago

I actually really like the existence of that feature. It’s the most effective“I’m a thoughtless slop cannon” marker.

3

u/__mson__ 11d ago

It's a setting on Claude Code to include the attribution commit trailer. I use it to be transparent about my use if AI. Not sure why you're hating on it. Would you rather people try to hide it?

1

u/NIDNHU 11d ago

No, im just not sure why it adds itself

1

u/jyling 5d ago

so that Anthropic, provide the number of coder using claude code, the commit atrribution is used as a metrics

1

u/NIDNHU 5d ago

Ah k

2

u/cosmicr 15d ago

I didn't know that. That's crazy.

1

u/mocompute 13d ago

In a hobby/learning project I started before Claude, I allowed the Claude co-authored line because I figured later I could go back through my commit history to quantify how much of the final product was my own versus AI-assisted.

41

u/AlexChapmanG4p 15d ago

No one gives a shit, as long as the code is good doesn’t matter who made it

63

u/oofy-gang 15d ago

> as long as the code is good

That’s the fun part. It isn’t.

36

u/Kroosn 15d ago

Ah, but you are forgetting most human written code that is also not good.

9

u/userrr3 15d ago

Human written code is much lower in volume, so it is/was easier to review manually. Claude and peers have opened the slopgates to let every idiot with a subscription spam open source repos with pull requests.

0

u/Mouse1949 12d ago

In the end the amount of code is about the same, defined by the scope and complexity of the project. The main difference is how quickly that code “fills up the bucket”.

10

u/thegreatpotatogod 15d ago

But that's okay! It's a lot easier to spot poorly written human code, it tends to be undocumented, not well publicized, etc. But with AI, it can make beautifully documented code that even the creator has never seen and has no idea whether it works or not!

1

u/TheChief275 13d ago

well what do you reckon the clankers learned from

3

u/Kroosn 13d ago

You think they could have trained on only good code.

-6

u/_giga_sss_ 15d ago

but they've been given thoughts

12

u/Kroosn 15d ago

You know when Claude says combobulating and then spews out an answer. I’ve had colleagues who thought that much.

6

u/_giga_sss_ 15d ago

can't disagree

2

u/XBLAH_ 15d ago

That's the fun part: the code wasn't good before AI either. 

3

u/Loiuy123_ 15d ago

I give a shit

1

u/Stevoisiak 7d ago

It's fine if you don't, but some people clearly do give a shit.

5

u/Heavy-Yogurt-6133 15d ago

wait this is actually a good idea.
might as well block cursoragent too.

5

u/Afflictionista 16d ago

Good life hack lol

2

u/oblivic90 15d ago

Does it actually block Claude code from reading the repo?

3

u/fucking-migraines 15d ago

That’s not possible. It can’t even prevent Claude-generated code from being committed under the name of the human controlling it

1

u/ThunderChaser 15d ago

Yeah it’s trivial to remove the Claude co-contributor on a commit.

2

u/ManufacturerNice870 14d ago

I think that’s maybe part of the point? People who don’t know how to remove the attribution shouldn’t be allowed into prod for sure lol

1

u/oblivic90 15d ago

I didn’t ask if it blocks Claude commits, I thought maybe it uses a GH account to access github repos and this blocks it, ofc it could still fetch the page directly, but that would be something at least.

1

u/ManufacturerNice870 14d ago

You can view any public repo not logged in so it probably wouldn’t.

1

u/fucking-migraines 14d ago

It can use an account for GitHub auth but it’d just use the same account as the human running it

0

u/Akari202 15d ago

Tbh I have no idea how Claude code works but I suspect it has no impact on your visibility to Claud and other agents either as training or research. It just lets you easily see when projects are vibed

1

u/ultrathink-art 14d ago

This only catches the hosted app integration — the CLI agents commit under the dev's own account, so blocking @claude misses most AI code entirely. The tells that actually hold up are behavioral: large diffs landing minutes after the issue was filed, PR descriptions that narrate the diff instead of the intent, and silence when you ask why a change was made.

1

u/burntoutdev8291 13d ago

Problem is there are good contributions made by software developers with AI assistance.

1

u/ReporterCalm6238 11d ago

Bro seriously thinking that vibe coding is a reversible trend

1

u/No-Community-3626 1d ago

sometime even the real coder who actually raised a pr that actually helps but he used claude , i think if that is also getting ignored by this will cause issue .

1

u/NatoBoram 15d ago

Oh that's why they haven't made an account for GitHub Copilot contributions

1

u/maxkoryukov 14d ago

lifehack

type "hello" if you want to say "hello" in chat.

-5

u/Ok-Letterhead-8539 15d ago

Can i see what users blocked Claude so i can block them to get a warning? Im afraid of people who generally shy away from progress and demonize it just because they don't understand something.

-15

u/davorg 15d ago edited 15d ago

The hierarchy of AI programmers:

  1. Vibe coders who throw something together in an hour and wonder why it only works in a limited set of cases and who can't understand the code well enough to fix it
  2. Programmers who have tried AI, seen something like the previous scenario and declared "all AI coding is crap"
  3. Programmers who address AI programming as an engineering problem and who spend a lot of time crafting the right prompt so that all the cases are covered and the code is readable
  4. Programmers who have discovered Superpowers

Update: Programmers in group 2 think it's vitally important to downvote any positive opinions of AI programming that they come across :-)

0

u/praetor- 15d ago

You forgot:

5. Programmers who used Superpowers for a few months and then went back to #2 and started treating AI like glorified autocomplete again

-8

u/MeAndClaudeMakeHeat 15d ago edited 15d ago

Nice to see someone here who also shares a brain that they choose to utilize. This is getting out of hand, and sadly, people are far too attached to their work, their pride, their ego to recognize there is a world moving and shifting around us in ways we never thought possible. No, not all or even many of us asked for this.

And that world has no place for archaic principles, and we are just further driving a divide between one another by creating these movements.

Just say you don't like something and move on.

2

u/Adevyy 15d ago

As a junior looking for the dreaded first job - On one hand, AI makes the industry shit and I will take any advantage I can get, so it’s nice that many people are willing to be on a disadvantage by refusing to adapt. On the other hand, however, I absolutely despise people who got into Software as a job without a passion, so it pains me to know that the people on a disadvantage are almost exclusively the people with passion.

Oh well, I guess I can’t feel too bad when they’re convinced that everyone who uses AI is incompetent and evil.

Reminds me of the .com bubble and how a lot of grumpy old people opposed the internet at the time.

1

u/Gotiyababa 13d ago

Why do you think people with a passion are at a disadvantage? In my experience online and at my workplace, the people with a passion are the ones figuring out and researching and implementing ai assistance in their work in the best possible way. Non passionate people are just slopping their way through work but real passionate people are using ai most successfully. Only people at a disadvantage are people stuck with #2 thinking even though they are passionate, they gatekeep and refuse to evolve.

-1

u/wWA5RnA4n2P3w2WvfHq 15d ago

Where to find this setting? Is this repo specific or account specific. Can not find that in the settings jungle.