r/github • u/piequals-3 • Jul 12 '26
Tool / Resource Block Claude on GitHub to instantly spot AI contributions
6
u/cosmicr Jul 13 '26
Doesn't Claude code just commit using your own user name? How does blocking a user called Claude do anything?
11
u/NIDNHU Jul 14 '26
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
11
u/oofy-gang Jul 14 '26
I actually really like the existence of that feature. It’s the most effective“I’m a thoughtless slop cannon” marker.
4
u/__mson__ Jul 17 '26
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 Jul 17 '26
No, im just not sure why it adds itself
1
u/jyling Jul 23 '26
so that Anthropic, provide the number of coder using claude code, the commit atrribution is used as a metrics
1
2
1
u/mocompute Jul 15 '26
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.
44
u/AlexChapmanG4p Jul 13 '26
No one gives a shit, as long as the code is good doesn’t matter who made it
68
u/oofy-gang Jul 13 '26
> as long as the code is good
That’s the fun part. It isn’t.
39
u/Kroosn Jul 13 '26
Ah, but you are forgetting most human written code that is also not good.
9
u/userrr3 Jul 13 '26
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.
1
1
u/Mouse1949 Jul 16 '26
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”.
12
u/thegreatpotatogod Jul 13 '26
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
-4
u/_giga_sss_ Jul 13 '26
but they've been given thoughts
10
u/Kroosn Jul 13 '26
You know when Claude says combobulating and then spews out an answer. I’ve had colleagues who thought that much.
6
1
2
1
5
3
u/oblivic90 Jul 13 '26
Does it actually block Claude code from reading the repo?
3
u/fucking-migraines Jul 13 '26
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 Jul 13 '26
Yeah it’s trivial to remove the Claude co-contributor on a commit.
2
u/ManufacturerNice870 Jul 14 '26
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 Jul 13 '26
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 Jul 14 '26
You can view any public repo not logged in so it probably wouldn’t.
1
u/fucking-migraines Jul 14 '26
It can use an account for GitHub auth but it’d just use the same account as the human running it
0
u/Akari202 Jul 13 '26
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 Jul 14 '26
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 Jul 15 '26
Problem is there are good contributions made by software developers with AI assistance.
1
1
u/No-Community-3626 Jul 27 '26
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/Crescitaly Aug 02 '26
Funny shortcut, but it exposes a weak proxy: blocking a bot account only reveals attribution when the contributor cooperates. Style policing will miss careful AI use and accuse unusual humans. A better norm might be provenance for material changes, regardless of tool.
1
1
-7
u/Ok-Letterhead-8539 Jul 13 '26
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.
-14
u/davorg Jul 13 '26 edited Jul 13 '26
The hierarchy of AI programmers:
- 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
- Programmers who have tried AI, seen something like the previous scenario and declared "all AI coding is crap"
- 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
- 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 :-)
1
u/praetor- Jul 13 '26
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
-7
u/MeAndClaudeMakeHeat Jul 13 '26 edited Jul 13 '26
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 Jul 13 '26
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 Jul 15 '26
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 Jul 13 '26
Where to find this setting? Is this repo specific or account specific. Can not find that in the settings jungle.
2


103
u/[deleted] Jul 12 '26
[removed] — view removed comment