Skip to content
Back to skills

Magnet Audit

ASecurity

Scores how ready a GitHub repository is for outside contributors - a Contributor-Readiness score out of 100 across first impression, contributor docs, time to first PR, issue supply, maintainer responsiveness, automation and recognition - and lists the biggest fixes first. Produces a markdown report, JSON, a shareable 1200x630 report card SVG and a README badge. Works on a local checkout or any public repo by URL. Use when asked to audit, score, grade or review a repo's contributor experience...

  • 33 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgobashnodegit

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add Priyanshu-byte-coder/contributor-magnet --skill magnet-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Magnet Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Magnet Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/priyanshu-byte-coder-magnet-audit/badge)](https://www.skillsdirectory.com/skills/priyanshu-byte-coder-magnet-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: magnet-audit
description: Scores how ready a GitHub repository is for outside contributors - a Contributor-Readiness score out of 100 across first impression, contributor docs, time to first PR, issue supply, maintainer responsiveness, automation and recognition - and lists the biggest fixes first. Produces a markdown report, JSON, a shareable 1200x630 report card SVG and a README badge. Works on a local checkout or any public repo by URL. Use when asked to audit, score, grade or review a repo's contributor experience, check if a project is beginner-friendly, or find out why a repo gets no contributors.
license: MIT
metadata:
  author: Priyanshu Doshi
  repo: https://github.com/Priyanshu-byte-coder/contributor-magnet
---

# Magnet audit

Measures what a newcomer experiences: can they find the project, understand it, start in minutes, find an issue that's actually free, and get an answer quickly?

## Run it

```bash
node <this skill>/scripts/audit.mjs [path]                 # local checkout; reads the GitHub remote for live data
node <this skill>/scripts/audit.mjs --repo owner/name      # any public repo, no checkout
node <this skill>/scripts/audit.mjs . --offline            # file checks only, no network
node <this skill>/scripts/audit.mjs . --out magnet-report  # output folder (default: magnet-report)
node <this skill>/scripts/audit.mjs . --name acme/app      # name on the report and card
```

Live GitHub data is read only when the path is the root of a checkout with a GitHub `origin`. For a subfolder (a package in a monorepo, say), pass `--repo owner/name` as well if you want the repo's issue and PR data.

Node 18+, no install. It uses `GITHUB_TOKEN`, `GH_TOKEN` or `gh auth token` if present; without a token it samples fewer issues to stay under the anonymous rate limit. It writes `report.md`, `report.json` and `card.svg` to the output folder. Put that folder outside the repo or in `.gitignore`.

## Read the result to the user

1. Lead with the score, the grade and the mode. A **partial** score (offline, or no GitHub remote) only covers file checks, so say which categories weren't measured.
2. Give the top three fixes in plain words, each with the skill that does it (`→ /magnet-setup` etc.).
3. Call out anything that changes the plan:
   - **Few free beginner issues** (`gfi-free`): issues are hoarded by inactive claimers. Fix with `magnet-bots` before opening new issues, or the new ones get hoarded too.
   - **Look-alike labels** (`label-names`): `good-first-issue` hides the repo from GitHub's good-first-issue discovery. `magnet-setup`'s label script renames them.
   - **Slow first response**: no amount of setup fixes this. Suggest a review rhythm (see `magnet-review`) and promise only the response time the maintainer can keep.
4. Offer the badge (it's in `report.md` and the console output) and the card. The card is 1200x630, the size of a social preview, so it works in a launch post or a before/after tweet.

## What each check means

The thresholds and the reasoning for every check are in [references/scoring.md](references/scoring.md). Read it before arguing with a score or adjusting the plan around one.

## Don't

- Don't treat the score as the goal. A repo at 95 that never answers PRs will still lose contributors; the responsiveness checks are weighted heavily for that reason.
- Don't commit the report folder into the user's repo unless they ask.

Files in this skill

  • SKILL.md3.3 KB
  • agents/openai.yaml188 B
  • references/scoring.md5.5 KB
  • scripts/audit.mjs9.8 KB
  • scripts/card.mjs3.7 KB
  • scripts/checks.mjs24.4 KB
  • scripts/files.mjs3.5 KB
  • scripts/github.mjs2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.