agentleFS
tcrosslandtcrossland/github-curator/CLAUDE.md

github-curator

CLAUDE.md0 starsChanged yesterdayApache-2.0View on GitHub

A Claude plugin with six skills, repo-review, stargazers, forks, contributions, traffic and person, that review a GitHub account's repos and recommend what to do with them, and say whether another GitHub user is worth following. The README says what they do and how to install them. The Python tests run the code in the skills as it stands: the quote checker from skills/repo-review/verify_run.py, and the code blocks in each SKILL.md, found by their content: in repo-review, the timing script by…

  • Commits and pushes

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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
  1. Very specific:

    Before relying on a behaviour of GitHub or Claude, check docs/github-facts.md.

    line 19
  2. Distinctive:

    Keep anything about a specific person or private repo out of shipped files.

    line 22
  3. Distinctive:

    Test a new version in a session started after it synced.

    line 24
  4. Distinctive:

    Commit on a branch; the user reviews it, then main is fast-forwarded to it.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

github-curator

A Claude plugin with six skills, repo-review, stargazers, forks, contributions, traffic and person, that review a GitHub account's repos and recommend what to do with them, and say whether another GitHub user is worth following. The README says what they do and how to install them.

Where things are

  • skills/: what ships. repo-review/SKILL.md, with the portfolio, triage, quick and profile steps in portfolio.md, triage.md, quick.md and profile.md beside it, the quote checker verify_run.py and scorecard-template.html, which renders all five modes; stargazers/SKILL.md; forks/SKILL.md; contributions/SKILL.md; traffic/SKILL.md, with the snapshot script traffic.py and the page traffic-page.html, which reads the snapshots from its own database; and person/SKILL.md, which reads a profile as stargazers' Step 2 does.
  • docs/README.md: notes for working on the plugin. The README at the root ships in the zip, so it links nothing outside it.
  • docs/design.md: why the skills work the way they do. Read it before changing a rule.
  • docs/github-facts.md: every behaviour of GitHub or Claude the skills rely on, with its source and the date it was checked.
  • docs/backlog.md: what to build next, in order, each item with its "done when".
  • .claude-plugin/marketplace.json: the marketplace Claude Code installs from, its one entry pinned to the latest release's tag. The zip leaves it out.
  • CHANGELOG.md: what changed for a user of the plugin, one entry per release, with changes not yet released under Unreleased. It ships in the zip.

Changing a skill

  • SKILL.md loads in full on every run, so it holds instructions only. Put the reasons in docs/design.md. Steps used in only one mode go in that mode's file beside it.
  • The skills only recommend. Never add a step that archives, deletes, pins, changes a repo's visibility, closes an issue or pull request, or contacts anyone.
  • Before relying on a behaviour of GitHub or Claude, check docs/github-facts.md. A new fact goes there with its source ("Seen", or a link) and the date; anything not checked is marked unverified.
  • A claude.ai chat's or run's own account of what happened is a claim: record a fact only from a command's output, a status code or the proxy's message, and mark the rest unverified.
  • The skills run on claude.ai as well as in Claude Code, and a claude.ai session can't reach much of what works in a local shell: GraphQL, unscoped paths, unattached repos and cross-fork compare are all refused. The facts table's claude.ai section lists what works there. Don't assume a route that works here works there.
  • Keep anything about a specific person or private repo out of shipped files.
  • Try a change to a rule or the template with no-publish, so the live scorecard isn't republished.
  • Test a new version in a session started after it synced. An open session and its subagents keep the skill text they loaded.

Tests

python3 -m unittest discover tests
node --test tests/*.test.mjs

The Python tests run the code in the skills as it stands: the quote checker from skills/repo-review/verify_run.py, and the code blocks in each SKILL.md, found by their content: in repo-review, the timing script by 'reset', the logging line by rate_limit, the reply counts by 'flagged', the commit listing by commits?per_page=100, the issue listing by issues?state=open, the inline reply lookup by /comments?per_page=100, the Contributors script by mine, the secrets scan by --redact, the history it fetches first by --unshallow and its fetch of betterleaks on claude.ai by checksums.txt, GitHub's secret scanning by secret-scanning/alerts, a fork's commits by refs/parent/ and a README's opening by sparse-checkout; in triage.md, the pull-request search by -user:OWNER, the user's own stars by user/starred and the check of whether a repo of size 0 is empty by ls-remote; in quick.md, the quote check by quotes.json; in profile.md, the profile's fields by twitter_username, the repo listing by user:LOGIN+fork:true, the check of the README's links by linked.txt and the quote check by NOT IN THE BIO; in stargazers, the repo listings by users/LOGIN/repos and orgs/ORG/repos, and the search that lists starred repos on claude.ai by search/repositories?q=user:LOGIN; in contributions, the listings by is:public, is:private and per_page=1', the organisations by user/memberships/orgs, the repo search by search/repositories and the grouping script by employers; in forks, the forks listing by /forks?, the clone of the repo by --bare, its parent's fetch by refs/upstream/heads and a fork's commits by refs/forks/; in traffic, the repo listings by user/repos, orgs/ORG/repos and search/repositories; in person, the repo listing by search/repositories?q=user:LOGIN, a fork's parent by .parent.full_name, the contributors by contributors?per_page=100, the merged pull requests by pulls?state=closed and the claude.ai route through git by --first-parent. Keep those markers. A new snippet that calls gh needs a stand-in gh in its test that checks its arguments and runs the snippet's own --jq, as tests/test_timings.py does. A snippet that calls git runs against local repos served over file://, as tests/test_git_routes.py does.

The behaviour evals in evals/ check the skills' calls on known cases, offline, with scripts/evals.sh (claude plugin eval underneath; it needs the CLI signed in, and costs real tokens). Each case names, in its graders, the rule it guards; a rule change that should change a case's call changes the case in the same commit. How much to run:

  • A change to a rule: only the cases whose graders name it, once each, without the runs without the plugin (--case NAME --runs 1 --ablation none). A case tagged repeat keeps its own runs: leave out --runs. If no case guards the rule, say so in the commit.
  • A rewrite or move of text in a SKILL.md that every case reads: every case, --runs 1 --ablation none.
  • Before cutting a release: each case whose graders name a rule changed since the last release, and any case not yet run on the release's text, once without the runs without the plugin (--case NAME --runs 1 --ablation none), then way-in-unheld-licence three times (--case way-in-unheld-licence --ablation none), since its call is the one that varied between runs. Say in the release commit which cases were left out and why.
  • A new case: that case alone, three runs with and without the plugin (scripts/evals.sh --case NAME -j 4), to show it measures the skill.
  • The full suite, three runs of each case with and without the plugin (scripts/evals.sh -j 4): before each release once someone other than the user installs the plugin.
  • Nothing else needs them: the template, tests, scripts, docs, and fields copied as they are.

Runs go one at a time unless given -j N (up to 8), which scripts/evals.sh passes on: the full suite took 43 minutes one at a time, so run it with -j 4. On Opus 5.5 the full suite of 12 cases cost about $26 and took 25 minutes with -j 4 (2026-11-23), and every case once about $6. The runs share one rate limit.

Releasing

Add each user-facing change to ## Unreleased in CHANGELOG.md, in the same commit as the change. Leave version alone until the user says to cut a release. A release whose Unreleased entries change what the plugin does or shows raises the minor version; one with only fixes to what it already says, or wording, raises the patch. Then, in one chore(release): X.Y.Z commit, rename Unreleased to the version and date, raise version in .claude-plugin/plugin.json and set the ref in .claude-plugin/marketplace.json to vX.Y.Z, and build the zip with scripts/package.sh, which also validates the manifest. The user uploads it to claude.ai. Once main is pushed, and with the user's go-ahead since it's public, push the tag on the release commit: git tag vX.Y.Z SHA && git push origin vX.Y.Z. The Release workflow (.github/workflows/release.yml) then publishes the GitHub release the README's Try it links to: scripts/release_notes.py checks the tag against plugin.json, the marketplace's ref and the changelog, the tests run, the zip is built, and the version's changelog entry becomes the notes. If it fails before publishing, fix the cause, delete the tag (git push origin :refs/tags/vX.Y.Z and git tag -d vX.Y.Z) and push it again.

Writing

British English, no em-dashes, plain words. Commit messages follow Conventional Commits: a type(scope): subject line in the imperative (types feat, fix, docs, build, test, refactor, chore; scopes such as repo-review, stargazers, backlog and facts for docs/github-facts.md), a blank line, then a wrapped body saying what changed and why.

Working agreement

  • Commit on a branch; the user reviews it, then main is fast-forwarded to it. Never push unless asked.
  • Update the backlog in the same commit as the work it tracks. A done item is deleted, with its summary row: the changelog and the commit that closes it record it. Only when an open item depends on what it found does a short section under Done keep that part.
  • Checks on claude.ai are prompts the user pastes into a claude.ai chat. Their findings go into docs/github-facts.md and the backlog. A prompt that attaches repos tells the chat not to clone them unless a step needs a clone, since add_repo's result tells it to clone at once.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.