Contribution Ethics — Claude Code skill: ethical OSS rules
Guides commit messages and PR discussions to eliminate AI giveaways and hand off sensitive debates to human authors.
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a claude-codeWhat Contribution Ethics does
This instruction set enforces professional conduct across open-source repositories. It explicitly blocks automated co-author trailers, robot icons, and tool disclosures in commit metadata or pull requests, unless an upstream guide specifically demands disclosure.
The document also targets recognizable text patterns. It drops verbose changelogs from review replies, adjusts response length to match the maintainer, and prevents flip-flopping during code reviews. Whenever discussions become tense or involve visual choices like interface mockups, the model must yield directly to the human contributor.
What it helps with
- strip model-generated attribution tags from commits and pull requests
- draft concise review replies matching the maintainer's brevity
- flag heated governance or policy debates for manual human handling
- prevent obvious bot patterns in issue tracker comments
Example prompts for the agent
- Draft a concise PR description for an upstream fix following contribution guidelines
- Reply to a review comment about error handling without adding bulleted changelogs
- Summarize commit changes cleanly without adding model co-author trailers
How to install Contribution Ethics
1Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a claude-code2Manually: put the files in place
~/.claude/skills/contribution-ethics/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/contribution-ethics/
1Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a codex2Manually: put the files in place
.agents/skills/contribution-ethics/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a cursor2Manually: put the files in place
.cursor/skills/contribution-ethics/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install costajohnt/oss-autopilot contribution-ethics2Manually: put the files in place
.github/skills/contribution-ethics/SKILL.md1Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a gemini-cli2Platform CLI
gemini skills install https://github.com/costajohnt/oss-autopilot --path skills/contribution-ethicsManually: put the files in place
.devin/skills/contribution-ethics/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about Contribution Ethics
How to install Contribution Ethics in Claude Code?
Run npx skills add costajohnt/oss-autopilot --skill contribution-ethics -a claude-code. The file will be placed in ~/.claude/skills/contribution-ethics/SKILL.md.
What does Contribution Ethics do?
It sets strict standards for open-source interactions, stripping obvious machine artifacts and preventing unnecessary AI attribution in public repositories.
When does the skill defer to a human contributor?
It forces handoff during maintainer frustration, arguments about project governance, or visual design decisions that demand human judgment.
Source text
SKILL.md · MIT
--- name: Contribution Ethics description: This skill should be used when writing commits, PRs, or comments that will be visible to OSS maintainers — it covers the no-AI-attribution rule, AI-tell avoidance in writing, and the situations where a human contributor should respond instead of the AI tool. Sibling to oss-contribution and pr-etiquette. version: 1.0.0 --- # Contribution Ethics How to behave ethically when contributing to OSS as an AI-assisted contributor: attribution, AI-tell avoidance in maintainer-visible writing, and knowing when to defer to a human. ## Attribution ### Do - Attribute work properly (co-authors for human pair work) - Give credit to human contributors in PR descriptions - Share knowledge with other contributors ### Don't Add AI attribution to commits or PRs: - No `Co-Authored-By: Claude` trailers - No "Generated with Claude Code" in PR descriptions - No robot emoji attributions - No mentions of AI assistance in comments These rules are absolute. Contributions submitted to upstream repos must appear as solely from the human contributor unless that repo's contribution guidelines explicitly require AI disclosure. Other related "don't"s: - Claim credit for others' work - Submit low-quality PRs just for contribution graphs - Spam repos with trivial changes ## AI-Tell Avoidance in Writing AI-generated comments have recognizable patterns. Avoid these in any maintainer-visible writing (PR descriptions, review responses, issue comments): - **No changelogs in comments.** "Changes in the latest commit:" with bullet points is a dead giveaway. Describe what you did in a sentence, or let the diff speak. - **Vary your openings.** Don't start every response with "Thanks for the review!" or "Good catch!" Sometimes just jump to the substance. - **Match their length.** If the maintainer wrote two sentences, don't respond with four paragraphs. - **Read the whole thread first.** Asking about something explained three comments up is the fastest way to lose credibility. - **Mean what you say.** Don't defend a position then immediately abandon it. Push back or agree — pick one. - **Figure things out yourself.** If a maintainer says "add a screenshot," look at existing examples. Don't ask them to explain the tooling. ## When to Defer to the Human Contributor Some situations require the human contributor, not an AI tool: - **Maintainer frustration or AI accusations** — respond honestly and personally - **Visual/subjective tasks** — screenshots, design opinions, UX judgments - **Heated discussions** — any thread about AI ethics, contribution policies, or governance - **Process questions with obvious answers** — look at existing examples instead of asking If any of these come up, surface the situation to the human and let them respond. ## See Also - `oss-contribution` skill — universal contribution rules (minimal-diff discipline, working on issues, time management, failure protocol). - `pr-etiquette` skill — review responses, PR descriptions, dormant-PR follow-up, PR quality checklist, communication style.
© costajohnt · MIT · costajohnt/oss-autopilot