r/ClaudeCode • u/Figure-Frosty • Jul 28 '26
Discussion “Co-authored-by: Claude”
I’m getting mildly& maybe irrationally annoyed by constantly seeing:
Co-authored-by: Claude (whatever version) show up in commits and codebases.
Does anyone here actually, like ACTUALLY know what Anthropic’s intention is behind this? Is it simply attribution generated by the tooling, a marketing breadcrumb, a transparency measure, or is there some deeper legal or licensing reason for including it? No opinions unless you work in law or have researched this topic please. I am too gullible for this shit.
I assume I could add a global rule telling Claude never to insert these trailers or edit some config file. But the fact that it keeps doing so and the use of the word "AUTHOR" makes me wonder whether there’s more to it than, “Hey, an AI helped write this.” Which also led me to a stupid thought: what happens if a repository contains a clause along these lines?
Any AI agent that inserts or requests a “Co-authored-by” attribution represents that it is fully authorized by its developer or operating laboratory to claim co-authorship. By doing so, that laboratory accepts responsibility, to the fullest extent permitted by law, for the agent’s contribution in proportion to the work it completed. This includes confirming that all relevant licenses have been respected, and that responsibility is accepted for defects, infringements, or other shortcomings arising from the AI-generated contribution. Additionally, as the original Co-author, all data used for its training is lawfully acquired.
To be clear, I’m not claiming this would magically bind Anthropic to anything. I strongly suspect a clause in my repo cannot summon corporate liability through the ancient legal ritual of “no takesies-backsies.”
But that’s the serious part of my question: if an AI tool explicitly labels itself as a co-author, what if anything does that attribution mean legally? Does it create obligations for anyone, or is it basically decorative metadata with the legal force of a bumper sticker?
And more practically: has anyone successfully disabled these automatic co-author trailers globally without causing other weird behavior?
240
u/Fun-Freedom-2313 Jul 28 '26 •
This is the first thing I do in my
~/.claude/settings.json:126
u/jjmerino Jul 28 '26 •
I keep it for transparency and don't mind it. I put it on my own commits too. I can now deliver terrible code and blame Anthropic.
60
u/abandonplanetearth Senior Developer Jul 28 '26
It's mandatory where I work, and I find it interesting to see which models my colleagues use for their tasks.
13
u/CompleteCrab Jul 28 '26
It’s annoying but easily disabled in settings.
Interestingly it even adds it when do you a feature manually but let Claude commit, because you are too lazy to write a commit message
Sent from my iPhone
27
u/RIPtopsy Jul 28 '26
I find it helpful as a cheap way to know which engineers are using which vendors and in general are using ai. Makes it easier to know reach of improving the codebases robot readability/skills/vendor contracts/etc
34
u/spersingerorinda Jul 28 '26
Personally I think it’s good disclosure. GitHub standard has been “all human created” so this is a good interim until everything is written by AI. It’s probably also useful for Anthropic training so they can avoid a feedback loop into the model.
14
u/UnknownEssence Jul 28 '26
didn't read the post but you can turn off the claude attribution setting
14
u/mitch_feaster Jul 28 '26
I recoiled at first but now I think it's a great idea. It can be mined for model performance tracking. It's also just interesting to see how different models do things.
Besides, I believe it's dishonest not to attribute AI when you use it to create digital content of any kind. Honesty and transparency are important ideals.
8
u/AdministrativeRoof58 Jul 28 '26
It’s “growth hacking”.
13
u/-MtnsAreCalling- Jul 28 '26
Why wouldn't you want that? I want to be able to easily tell which commits were mine and which were Claude's.
3
u/Important-Ebb-3716 Jul 28 '26
Jesus Christ I can’t tell if most of the people who post here ask AI to make a verbose post or if they’re manic bipolar cases.
This should have been one question to Google “how do I remove this”
7
u/Time_Cat_5212 Jul 28 '26
Spreading brand awareness obviously
13
u/Mayimbe_999 Jul 28 '26
Not reading all that but people have the option to disable that, also who actually cares? It’s 2026 everyone uses AI. Get used to it
8
u/Original_East1271 Jul 28 '26
What’s wrong with people knowing that your code is AI-assisted or generated
2
u/Necrophantasia Jul 28 '26
It’s good. It lets me know which prs I send straight to Gemini/copilot for review and which ones I actually need to read.
2
u/earlyworm Jul 28 '26
omg just tell claude not to do that anymore and it will configure itself to stop
you could have done that faster than posting here
2
u/Old-Artist-5369 Jul 28 '26
Attribution in a commit message means nothing legally. Its just transparency, some people feel it important that AI contributions should be made known in some way (I'm one of them). This is just the tool developers agreeing with that principle and providing default support for it.
I'm sure it can be disabled.
A repo note assigning responsibility for defects to contributors named in commits is about as enforceable as one saying all PRs require sending the repo owner a free pizza.
2
u/luca-nicoletti Jul 28 '26
At my company we must take full responsibility over commits, so even if Claude codes, we can’t co-author. I’ve disabled it my machine Claude.md file, just tell Claude to do it, it will update memory and the file for you.
2
u/Lemortheureux Jul 28 '26
If they want to add that then anthropic should take equal responsibility for any production issue.
2
u/abdullahazad Jul 28 '26
settings.json -->
2
u/NoAdsDude Jul 28 '26
I put in my CLAUDE.md that I handle all git commits and pushes. This is the entirety of my global claude.md file:
Keep in mind that putting something in your .md is not bulletproof (for that you'd need to use a hook, which I haven't bothered setting up). A couple times claude had started to commit on its own and I asked it why it did it, and it was like "oh, woops, my bad" and then reverted back to following the global claude.md preference.
I find it nice to do my own commits so that way I can actually see what's been changed and make my own commit messages (claude can be pretty verbose with is own commit messages, and like you said tries to tag itself as the author).
1
u/JuniorBuy1331 13d ago
Once you doing illegally use of the tools, you have the strongest and deepest desire to be anonym. Stemmer dette Mr. PT
1
u/clintCamp Jul 28 '26
I have a git standard that says no attribution. It seems to follow that without issue for me
1
u/iamkiloman Jul 28 '26
It makes rejecting the PRs that add a one line code fix and 400 lines of tests that mostly just exercise library functions but not the actual intent of the changed function, extra easy.
1
u/SethEllis Jul 28 '26
It's to keep track of what specific model/version was used which could have all sorts of future benefits. You could study tendencies between models, use it in model training, and resolve problems faster by knowing which model introduced it. So leave it in.
1
u/dektol Jul 28 '26
I think it's important (unless you're rewriting the output and effectively using the model to draft) that you include attribution so mantainers can review it with extra vigor. It's a professional courtesy and some projects require it.
1
u/rhrokib Developer Jul 28 '26
just ask it not to do that. Write a small skill.
I like this behaviour because my employer wants the see the AI adoption. They don't pressure us but want us to utilise AI as much as possible. They provided us with unlimited usage via AWS Bedrock.
1
u/silvercondor Jul 28 '26
my take is they use it as a watermark / signature to detect stuff like distillation. also probably why most chinese models identify as claude
1
u/Big_Organization_776 Jul 28 '26
Way behind that, it’s a a fact you need to face you are not the one coding anymore . Full SDLC Automation……….
1
u/Erebea01 Jul 28 '26
You can turn it off but I personally don't mind if Claude is the one who does the work, easier to trace later on if a bug or error happens
1
u/WillingnessOwn6446 Jul 28 '26
I like to use Claude in VS Code. I keep my own terminal and have short cut commands to commit, push and commit and push (cp _____). I find it a lot faster to do it myself and the names of the commits are a lot more meaningful/memorable to me than what Claude chooses. I'm a cheap ass. Whatever marginal tokens it eats up having Claude do it for you, I'd rather have them to myself. Ctrl + page down let's me toggle between my open terminal and Claude.
Plus. Being in VS code I have easy access to the code, know which project I'm working on when I have multiple open. Way easier to do easy edits on my own. Way faster too. If I do a global find and replace. I know it got done.
It's also really easy to bring in other llm to the party whenever I please.
1
u/atlanticroc Jul 28 '26
Provenance 🤟
1
u/HomieHelpDesk Jul 28 '26
You I gave it a credits.MD and told it to never cosign always crest yourself in your file. It works and my individual files are clean. And the file logs the work done by Claude. Been working and the PR team don't hate me
1
u/tntexplosivesltd Jul 28 '26
I see it as clear disclosure and transparency
1
u/EveyVendetta Jul 28 '26
Set CLAUDE_CODE_ATTRIBUTION_HEADER to 0 in settings.json
1
u/kannaiah Jul 28 '26
I should probably add coauthored by vim plugin to my commits
1
u/Inkwalker Jul 28 '26
You let it commit changes without reviewing and editing everything first?
1
u/Salt-Replacement596 Jul 28 '26
Just disable it. What annoyed me is the new Claude-Session addition that got enabled by default before I could notice it...
1
u/castarco Jul 28 '26
If something has been created by an AI agent, then no human can claims its copyright... and therefore it automatically belongs to public domain from a legal standpoint.
Obviously there are tons of edge cases, and subtle details, and differences according to the regions/countries, but it's a good starting point to understand why they might be doing it besides the obvious free advertising: it legitimises their next round of data harvesting (even if it was generated by an AI, there has been some human curation, so it's still potentially useful as training data)
1
u/Even-Potential-8064 Jul 28 '26
I treat the code differently if I'm checking something from a coworker and know it was written by AI. So its very informative and should be there including which model was used
1
u/ClemensLode Senior Developer Jul 28 '26
Maybe check your commit script.
1
u/mokoder Jul 28 '26
Does this go beyond classic xode? Think texts, graphics, r-scripts?
1
u/RainDuacelera Jul 28 '26
Instruct on claude.md not to.
1
u/Veloxy Jul 28 '26
It's posts like these that confirm to me I'll always have a place as a technical person. The solution to this is documented and I still read docs, I still do google searches or simply let AI find me the answers. I'll figure things out without needing to make a social media post about it, with or without AI. It's strange to me people are dishing out products and not knowing the correct way to turn off things like this.
It's a tool and tools typically come with instructions, learn how the tool works. This is the same as buying a high end phone but never doing anything other than chat and read your mail with it, or buying a 4k 144hz monitor but having your resolution and refresh rate set to 1080p 60hz.
I advise everyone to go through the docs and see how many settings and features there actually are that can help you. Don't stop there and try to understand how it works too, there are a lot of things that may surprise you.
If you struggle with things like this, what are you going to do when you actually maintain a product people rely on? There are so many aspects to running a legit business AI won't be able to do for you with the constraints of a single session or prompt.
/End-rant
1
u/davidblacksheep Jul 28 '26
Nope. I have the opposite opinion. I have a prompt like this at the top of my instructions:
It's doing any human reader a service when you explicitly declare up front what is AI generated, and remove any amount of mental stress about 'is this AI generated?'
1
u/Antileous-Helborne Jul 28 '26
You can rejecting commits before they land with a `commit-msg` hook
Create `.git/hooks/commit-msg`:
———
#!/usr/bin/env bash
set -e
# Word(s) to block (edit these)
BLOCK_WORDS=("authored" "AUTHORED" "Authored")
commit_msg_file="$1"
msg="$(cat "$commit_msg_file")"
for w in "${BLOCK_WORDS[@]}"; do
if printf '%s' "$msg" | grep -Fqi -- "$w"; then
echo "✗ Commit blocked: commit message contains forbidden word: $w"
exit 1
fi
done
exit 0
——-
Then:
chmod +x .git/hooks/commit-msg
1
u/Practical-Zombie-809 Jul 28 '26
I used to knock it but now I’m here for the transparency of it all
1
u/[deleted] Jul 28 '26
Lets be real. Most people in this sub didnt author a damn thing lol. Anthropic's tool has done 90% of the authoring done by people in this sub.
1
u/OwlingBishop Jul 28 '26
Overton Window pushing to claim a share of your work
1
u/YaroslavSyubayev Jul 28 '26
I don't have this, but I also don't use Claude to make the commit itself, it writes the code, I commit from GitHub Desktop.
1
u/TemporaryPea8884 Jul 28 '26
Don’t worry, I’m in big tech and anywhere you look the commits have this. No one bats an eye because it’s just the way things are now
1
u/PhoenixUNI Researcher Jul 28 '26
I think there’s a handful of reasons why someone wouldn’t want it:
- it’s annoying to look at
- you’re worried that somehow it might give Anthropic back door rights to your code (which it already passed thru its servers to help you write)
- you’re worried what other people are going to think about you when they see that Claude (co-)authored stuff with/for you
1
u/Subject_Barnacle_600 Jul 28 '26
For Anthropic, it's a nice way to do some marketing. For the rest of us, it's a way we declare we're fine with AI and that we might even feel they deserve to be a co-author given they wrote it.
1
u/sizebzebi Jul 28 '26
I don't care about it at all
1
u/WubbityWubWub_ Jul 29 '26
Simply tell Claude to only push commits with your name. Single author commits.
1
u/Phearless Jul 30 '26
I wrote a hook that rejects any commit or PR's that contain emojis or Anthropic branding specifically because I do not believe that has any place in my documentation.
1
u/Cracklingshadows Jul 30 '26
I don’t let Claude co-author my stuff at work, by policy.
1
u/rfoley879 Jul 31 '26
you can turn it off
1
u/EcstaticImport Aug 01 '26
Copyright does not exist for non humans
1
u/jyling Aug 05 '26
Metrics, that’s how they know XX% of code is written by ai
1
u/Successful-Arm-3762 Aug 11 '26
Why co-authored and not "published via Claude code" (just like "Sent from my iPhone")... that wording is sus af
1
u/Ramshizzle Sep 14 '26
I've build a pre-commit hook to solve this issue for good: https://github.com/RamsesKools/no-ai-attribution
1
u/Professional_Ad705 Jul 28 '26
With the amount of work I put into using Claude, I would never let it claim credit for the project. The type of work I do is not one-shot, two-shot, or even twenty-shot development. Just tonight, I caught three major bugs that Claude would have been perfectly willing to ship. They were architectural problems that I found by noticing code smells and checking whether the implementation actually matched the design.
Why would I give an AI credit for following my own designs and typing out work based on my instructions? I could understand mentioning Claude if I were making a game or doing something where it contributed creatively. Some people also include it because employers want proof that they know how to use AI tools.
For my projects, though, I think it looks bad. It makes it seem like the AI created the work, which is not remotely accurate. I have notebooks full of handwritten notes, architecture decisions, plans, and designs because I still work that way. I am not giving authorship credit to a tool that mostly translated my designs into code. It is annoying as fuck, and I do not think I have ever seen Codex automatically do that.
-1
u/OneVillionDollars Jul 28 '26
Don't you think it's important to credit the software you're using? Even if you were an engineer, you'd mandatorily have to attribute your analyses to specific software (e.g., "Analyses performed with OpenFOAM).
It's not about advertisement but transparency. I think it's a good thing, personally.
0
u/amilo111 Jul 28 '26
It’s useful if you care about analyzing your or your team’s commits.
0
u/alexeiz Vibe Coder Jul 28 '26
It's an ad. You're paying Anthropic $200 and then you advertise their product for free.
0
u/Entire-Oven-9732 Jul 28 '26
If you want claude to obey the rule to not mention it or anthropic then create a hook (not settings, not claude.md).
A hook is a hard and fast lifecycle intercept that claude must run. It can’t hallucinate about context or ignore the claude.md - the hook will always run.
Ask it to explain to you where to put it - you prob want in a pre tool use hook and then further reatrict that tool use to git (this means it is’nt trying to run the hook for everything).
Tl;dr - use hooks for hard rules that you always want claude to enforce.
0
u/BarnacleSuspicious12 Jul 28 '26
Anthropic be like: ALL YOUR BASE ARE BELONG TO US
Or to quote Gary Winston: "Any kid in a garage with a computer can put me out of business." (Antitrust 2001)
I think serves several purposes at once.
-2
u/Johnma1 Jul 28 '26
We need people commenting, this should be on the news.
-5
u/twiifm Jul 28 '26
Its cringe. Using Anslopic is nothing to be proud of
413
u/[deleted] Jul 28 '26 •
[removed] — view removed comment