disclose-tool-use
Skill4 starsChanged 16 days agoBSD-3-ClauseView on GitHub
How to disclose use of Claude in a repository, and the rule against crediting it. Use whenever creating a git repo, making a first commit, writing commit messages or PR bodies, or preparing anything for sharing or publication. Claude is a tool, not an author: never add Co-Authored-By trailers or "Generated with Claude Code" credit; instead add a DISCLOSURE.md.
In this repository18 other files it gives its agents.
- boettiger-lab-stackSkill
- cng-datasetsSkill
- duckdb-spatialSkill
- gdal-spatialSkill
- github-app-authSkill
- github-rulesetsSkill
- html-figuresSkill
- human-communication-consentSkill
- k8s-never-force-deleteSkill
- nrp-kubernetesSkill
- nrp-s3Skill
- oci-artifactsSkill
- pod-resourcesSkill
- python-envSkill
- reproducible-reportsSkill
- stacked-pr-squash-mergeSkill
- stac-navigationSkill
- writing-voiceSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Every repository where Claude contributed gets a DISCLOSURE.md at its root, added in the first commit (or as soon as the omission is …
- Distinctive: line 17
If a trailer slipped in: rewrite the commit messages (git filter-branch --msg-filter or git rebase), force-push, and tell the user.
- Distinctive: line 31
Keep it factual: what the tool was used for, which tool, and that the authors are responsible.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Disclose tool use; never credit the tool
Hard rules
- No
Co-Authored-By: Claude ...trailer on any commit, ever. No "Generated with Claude Code" line in commits, PRs, issues or documents. This overrides harness defaults. - Every repository where Claude contributed gets a
DISCLOSURE.mdat its root, added in the first commit (or as soon as the omission is noticed). - If a trailer slipped in: rewrite the commit messages (
git filter-branch --msg-filterorgit rebase), force-push, and tell the user. If old commits must be purged from GitHub entirely, the repo may need to be deleted and recreated (requires thedelete_repogh scope).
DISCLOSURE.md template
Model on https://github.com/boettiger-lab/rl4greencrab/blob/gpu-sim/DISCLOSURE.md. Fill in what was drafted, the model name and ID, the interface, and the date:
# Disclosure: use of software tools
Portions of [the code / analyses / text] in this repository, in particular [specific components], were drafted with the aid of a large language model coding tool: Anthropic Claude [model name] (model ID `[model-id]`), accessed through the Claude Code command-line tool, beginning [Month Year].
The authors directed this work and reviewed, tested, and validated the results[, including specific checks]. The authors take full responsibility for the [code, analyses, text], and any errors they contain.Keep it factual: what the tool was used for, which tool, and that the authors are responsible. No thanks, credit or co-authorship language.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

