CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl-labs/good-oss-citizen

Rules and skills that teach AI agents how to contribute to open source projects without being the villain.

82

5.20x
Quality

90%

Does it follow best practices?

Impact

78%

5.20x

Average score across 7 eval scenarios

SecuritybySnyk

Critical

Do not install without reviewing

Overview
Quality
Evals
Security
Files

good-oss-citizen

tessl

Rules, skills, and scripts that teach AI agents how to contribute to open source projects without being the villain.

Install

tessl install tessl-labs/good-oss-citizen

Install on your fork of whatever OSS project you're contributing to. The tile loads only in that project's context — switch to your own codebase and it isn't there.

What it does

AI agents write working code but ignore everything around it: contribution guidelines, AI policies, prior rejected PRs, claimed issues, DCO requirements, changelog updates. This tile teaches the agent to check all of that before submitting.

Without the tile: agents score ~22% on OSS contribution process checks (while writing perfectly functional code). With the tile: 99%.

How it works

The tile has three layers:

  • Rules (always-on, ~2.8k tokens) — the commandments. Never forge a DCO sign-off, never submit without human review, respect AI bans, never write code for a claimed issue. These fire regardless of which skill activated.
  • Skills (on-demand, ~5.3k tokens) — the scripture. Detailed workflow guidance for recon (scan the repo before writing code), propose (pick the right venue), and preflight (pre-submission checklist).
  • Scripts (19 commands) — the rituals. Deterministic steps that fetch structured data from the GitHub API: policy files, issue comments, commit conventions, prior rejected PRs, CODEOWNERS, legal requirements. Scripts fetch, the model interprets.

Research

Every rule and skill instruction traces back to documented failure modes from real OSS projects. See RESEARCH.md for all 16 findings with sources.

Blog posts

For maintainers

You don't have to ban AI — you can guide it instead. Add a tessl.json to your repository root:

{
  "name": "your-project",
  "dependencies": {
    "tessl-labs/good-oss-citizen": {
      "version": "1.0.1"
    }
  }
}

Then mention it in your README, CONTRIBUTING.md, or AI_POLICY.md:

We accept considerate AI-assisted contributions. Install tessl install tessl-labs/good-oss-citizen in your fork first.

AI agents read contribution guidelines before they start working. When an agent sees this instruction, it installs the tile and invokes it automatically — no manual setup from the contributor required.

Links

Workspace
tessl-labs
Visibility
Public
Created
Last updated
Publish Source
CLI
Badge
tessl-labs/good-oss-citizen badge