contributor-magnet

agent
Guvenlik Denetimi
Uyari
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 15 GitHub stars
Code Uyari
  • process.env — Environment variable access in .github/workflows/magnet-claim.yml
  • process.env — Environment variable access in .github/workflows/magnet-duplicates.yml
  • process.env — Environment variable access in .github/workflows/magnet-issue-level.yml
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Ten agent skills that turn a quiet repo into one people contribute to: audit score, docs, contributor bots, good first issues, 50+ open source programs, PR review at scale

README.md

contributor-magnet

Turn a quiet repo into one people contribute to.

Ten agent skills that score your repo, write the docs and good first issues from your actual code, install the bots that do the maintainer chores, and find the open source programs that send contributors your way.

Tests
License: MIT
Good first issues

Works with Claude Code, Codex, claude.ai and any agent that reads SKILL.md. Zero dependencies.

Demo: /magnet audits acme/tinyurl-cli at 6 out of 100, asks the maintainer two questions, adds docs, labels, bots, issues and a README section, and re-audits at 100 out of 100.

Before: Contributor-Readiness score 6 out of 100, file checks only After: Contributor-Readiness score 100 out of 100, file checks only
Before: a working CLI with a two-line README After one /magnet run (see both)

Both cards are file checks only. Issue supply and response times need a live repo with history, so the example repos can't score them.

What one /magnet run does: Audit (score out of 100, biggest fixes first), Setup (docs, forms, labels from your real setup), Bots (/assign, unassign idle, welcome, thanks), Issues (good first issues written from your code), Programs (50+ programs that send contributors), Review (PR queue, merge bar, shoutouts).

Score any repo in 10 seconds

No install and no agent. Node 18+:

git clone --depth 1 https://github.com/Priyanshu-byte-coder/contributor-magnet
node contributor-magnet/skills/magnet-audit/scripts/audit.mjs --repo owner/name

You get a score out of 100 across 7 categories, the five fixes worth the most points, and a magnet-report/ folder with the full report, a report card image and a README badge. It uses GITHUB_TOKEN or your gh login when there is one; without a token, GitHub's anonymous rate limit allows only a few audits an hour.

Even famous projects leave points on the table:

Contributor-Readiness scores on 4 Dec 2026: microsoft/vscode 67 (good first issues all assigned), facebook/react 63 (setup steps live outside the repo), freeCodeCamp 60 (no open good first issue), rust-lang/rust 58 (E-easy is invisible to GitHub discovery), excalidraw 56 (no issue forms, PR template or code of conduct), fastapi 42 (no open good first issue).

One run each on 4 December 2026. The audit scores what a newcomer meets on GitHub itself. Big projects often keep setup guides on their own sites and run GitHub Apps the audit can't see, so read this as "what a stranger finds", not a ranking.

Install

Claude Code (plugin, every project):

claude plugin marketplace add Priyanshu-byte-coder/contributor-magnet
claude plugin install contributor-magnet@contributor-magnet

Then start a new session (or /reload-plugins). The skills show up as /contributor-magnet:magnet, /contributor-magnet:magnet-audit and so on, or just ask in your own words.

Codex: ask it to install the skills you want, one folder each:

$skill-installer install https://github.com/Priyanshu-byte-coder/contributor-magnet/tree/main/skills/magnet
$skill-installer install https://github.com/Priyanshu-byte-coder/contributor-magnet/tree/main/skills/magnet-audit

claude.ai: zip a folder from skills/ (start with magnet-audit) and upload it in claude.ai's Skills settings. The scripts need a code environment; the playbooks work anywhere.

Any other agent: copy the folders in skills/ into the agent's skills directory (for example ~/.claude/skills/ or a project's .claude/skills/).

Scripts that write to GitHub use the GitHub CLI (gh auth login) and have a dry-run mode the skills always run first.

Use

/magnet                                   full run: audit, plan, set up, re-audit
score this repo for contributors          → magnet-audit
write 20 good first issues                → magnet-issues
which open source programs can we join?   → magnet-programs
go through the open PRs                   → magnet-review

Installed as a plugin, /magnet is /contributor-magnet:magnet. Plain sentences work either way.

What a run looks like

On the quiet-repo example, with the real audit numbers:

You: /magnet

Agent: Ran the audit: 6/100 (Quiet), file checks only since this repo isn't on GitHub yet. Biggest wins: a CONTRIBUTING guide with setup steps (+5), issue forms (+4), copy-paste setup commands (+4), a license (+3). Before I change anything: how many PRs a week can you review? Is AI-assisted code allowed?

You: About 10 a week. AI is fine if they can explain it.

Agent: Plan, on a branch: CONTRIBUTING and templates filled from your actual setup (commands checked from a clean clone), a LICENSE file to match the MIT in package.json, the standard labels (dry run below), the claim, idle-claim, welcome and thanks bots, 12 issues across three levels written from the code (dry run below), and a contributor section in the README. Three programs taking projects right now fit 10 PRs a week. Want me to draft an application?

Nothing touches GitHub (labels, issues, comments, merges) until you've seen the dry run and said yes. The finished result is magnet-repo.

The ten skills

Skill What it does
magnet Runs the whole thing in order: audit, agree a plan, set up, re-audit, then grow
magnet-audit Contributor-Readiness score out of 100 across 7 categories, biggest wins first, a shareable report card and a README badge. Local checkout or any public repo
magnet-setup CONTRIBUTING with copy-paste setup and claim rules, issue forms, PR template, labels (fixes look-alikes like good-first-issue that hide you from GitHub discovery), code of conduct, security policy, devcontainer. Never overwrites
magnet-bots 11 GitHub Actions workflows: /assign claiming with a per-person cap, idle-claim reminders and unassign, welcomes, merge thanks, PR labels, linked-issue checks, duplicate hints, a stale bot that never closes PRs waiting on you, monthly shoutouts, program points tracking
magnet-issues Scans the code for leads, verifies each one, writes specific issues (what, why, where, done-when, level), de-duplicates against every existing issue, files them after a dry run
magnet-readme The contributor half of the README: why build here, first PR in 15 minutes, good-first-changes table, contributors wall, star history
magnet-programs 50+ programs sorted by how a project gets in (GSSoC, GSoC, Hacktoberfest, SWoC, Outreachy, ESoC, C4GT, OSPP, LFX, GHC Open Source Day…), plus listings, bounties and funding; a year-round calendar with no dead season, application drafts, program label automation
magnet-review The PR queue sorted by who's waited longest on you, how to spot slop and point farming, a selective merge bar, real code review, human-sounding comments, a merge chain for up-to-date-branch rules
magnet-retain Monthly shoutouts, a contributor ladder, seasons, and a plan for the post-program cliff
magnet-launch GitHub topics and social preview, good-first-issue listings, launch posts per channel, maintainer perks and funding

Why this exists

Contributors don't show up because a repo is good. They show up when it's findable, easy to start, and answers them fast, and they stay when they're seen. Most maintainers learn this one painful PR at a time: the issues nobody can start, the claims nobody finishes, the PR that waited three weeks, the program that brought 300 people and left silence behind.

contributor-magnet packages the fixes so your agent can apply them to any project:

CONTRIBUTING templates Repo health checkers contributor-magnet
Docs and templates Generic – Filled in from your real setup
Finds what's missing – Files only Files, labels, issue supply, response times
Good first issues – – Written from your code, de-duplicated
Claiming, idle claims, welcomes, thanks – – 11 workflows, one file each
Which programs you can join, and when – – 50+ programs on a calendar with no dead season
A flood of PRs – – Review queue, merge bar, merge chain

Ten rules the skills follow

  1. Programs are the biggest lever and the biggest cliff. A program brings a wave; when it ends with nothing after it, the repo goes silent. Line up the next one before the current one ends. Calendar.
  2. Hacktoberfest stopped rewarding PRs in 2026. The topic still helps discovery; the PR wave is gone.
  3. Cap claims. Without a per-person cap, a few people grab the whole backlog during a program and open PRs for none of it.
  4. Free idle claims automatically. A reminder on day 5 and an unassign on day 7 keep beginner issues actually available.
  5. Match how people actually ask. "I'd love to work on this" is a claim; an exact-phrase bot misses most of them.
  6. Exact label names matter. good-first-issue isn't good first issue to GitHub's discovery.
  7. Never gate on stars. A star-required check pushes people away; asking once after a merge works better.
  8. Merge what makes it better, not what passes CI. Decide the merge bar before the flood, and close the rest kindly.
  9. Read the tests. Bulk test-only issues attract tests that assert nothing but mocks.
  10. Praise people in public, by name. A monthly shoutout costs ten minutes and is the main reward most contributors get.

Show your score

magnet-audit prints a badge for your README:

[![Contributor Magnet score: 87/100](https://img.shields.io/badge/contributor%20magnet-87%2F100-3fb950)](https://github.com/Priyanshu-byte-coder/contributor-magnet)

A score from file checks alone says "(files only)" on the badge.

FAQ

Will it post things on GitHub without asking? No. Labels, issues, comments and merges go through a dry run first, and changes to your repo go on a branch. The bots only run after you merge them.

Does it replace my existing CONTRIBUTING or workflows? No. It reads what's there and merges in what's missing. Scripts refuse to overwrite files unless you pass --force.

My repo is tiny. Is this overkill? Run the audit and do the top three fixes. Most small repos get the biggest jump from a real CONTRIBUTING, 5 good first issues and a claim bot.

Do I need to join a program? No, but if you want a wave of contributors it's the fastest way. magnet-programs helps you pick one you can actually review for.

Are the bots safe on a public repo? They use only the default GITHUB_TOKEN with the narrowest permissions, never check out PR code under pull_request_target, and never splice issue or comment text into scripts. The tests check all three.

What's inside
skills/
  magnet/              orchestrator
  magnet-audit/        scripts/audit.mjs, checks.mjs, card.mjs      scoring reference
  magnet-setup/        scripts/scaffold.mjs, labels.mjs             templates/ (forms, CONTRIBUTING, labels.json, …)
  magnet-bots/         scripts/install.mjs                          templates/workflows/magnet-*.yml
  magnet-issues/       scripts/scan.mjs, file-issues.mjs            issue recipes
  magnet-readme/                                                    README blocks
  magnet-programs/                                                  programs.md, playbook.md
  magnet-review/       scripts/pr-queue.mjs, merge-chain.mjs        review playbook, saved replies
  magnet-retain/                                                    retention playbook
  magnet-launch/                                                    launch playbook, post templates
examples/              the same CLI before and after a /magnet run
test/                  audit and workflow tests (node --test)
assets/                README images, each built by a make-*.mjs script next to it
  brand/               logo: mark, icon, wordmark (light and dark), icon-512.png

Every script runs on Node 18+ with no dependencies and answers --help. The workflows are plain actions/github-script with their settings in an env: block.

Contributing

This repo uses its own medicine: claim an issue with /assign, see CONTRIBUTING.md. Especially welcome: new programs and corrected dates for programs.md, new audit checks with tests, translations of the bot messages, and stories of what worked in your repo. Questions and ideas go in Discussions.

contributor-magnet contributors

License

MIT © Priyanshu Doshi

Yorumlar (0)

Sonuc bulunamadi