Exports an anonymized, history-free snapshot of a research repository for double-blind review. Drops internal files, scrubs names from text and Office/PDF metadata, scans for identifying content, and verifies the snapshot still builds.
Ships in scholar-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Make a clean copy for reviewers; never edit or push the original repository or its history. The bundled scripts/anonymize_repo.py does the mechanical work and fails on anything it can still find; the identity list and what to leave out are judgment calls for you and the user.
Collect candidates and confirm them with the user:
git log --format='%an %ae' | sort -u, the README, \author, \affiliation, and \email in the paper, acknowledgements, the GitHub owner, the local user name;/Users/<name>/) that notebooks and logs pick up.Put anonymize.toml at the repository root (it is never exported; the format is in the script's docstring):
exclude: agent and editor instructions (CLAUDE.md, AGENTS.md), internal notes, earlier review rounds, .github/ (CODEOWNERS names people), slide decks, anything not needed to reproduce the paper.[[replace]]: author blocks in the README, \author lines, clone URLs. Every rule must match at least once, so a moved heading fails loudly instead of leaking.[identity]: the patterns from step 1 (use \b word boundaries for short names), and allow entries for false positives in data, scoped by path.Commit the config, or pass --config from outside the repository.
uv run <skill-dir>/scripts/anonymize_repo.py export <repo> <scratch>/anon --ref HEAD
It exports only tracked files at the ref, with no git history; drops the exclusions; applies the replacements; blanks author fields in Office metadata and PDF /Author; and scans text files, Office document parts, .xls bytes, and PDF text (with pdftotext). Fix every hit at its source, in the config, or as a scoped allow, and re-export until the scan is clean. Ask the user before allowing a hit in anything but raw third-party data.
Run the project's tests and build inside the export, for example uv run pytest and a workflow dry run. A link that does not reproduce the paper's numbers is worse than none.
As the user prefers:
uv run <skill-dir>/scripts/anonymize_repo.py export <repo> <scratch>/anon --ref HEAD --push <mirror-url>
--push commits the export as "Anonymous" and pushes it to main (--branch for another). Register the repository on Anonymous GitHub; private repositories need its GitHub App. Enter the identity patterns as terms to replace, as a second layer.Open the link in a logged-out browser before it goes into the paper.
To re-publish after a change to the code or data, run the same --push command into a fresh directory. It commits the new tree as "Anonymous" on top of the mirror's head and pushes without force. It skips the commit when nothing changed, and refuses to push when the scan finds anything or the mirror has a commit by anyone else (as the original repository would). Anonymous GitHub keeps serving the old snapshot until the owner clicks Refresh on the repository in its dashboard; then check the link logged out again. On OSF, replace the uploaded files. Never push the original repository.
What SKILL.md sets; muted values are Claude Code's defaults
/scholar-kit:anonymize-repofrom scholar-kit
npx claudepluginhub yy/scholar-kit --plugin scholar-kit13 skills in this plugin
/accessible-pdfMake a LaTeX document produce accessible tagged PDFs (PDF/UA-1, PDF/A-2b). Creates a non-destructive copy and Makefile target. Use when the user needs accessible or tagged PDFs./arxiv-metadataFetch structured metadata for an arXiv paper. Use when you have an arXiv ID or URL and need title, authors, date, categories, and DOI./arxiv-prepPrepare a LaTeX paper's source package and metadata for arXiv. Use when the user is ready to upload a paper or wants an arXiv-compatible staging copy, archive, and compilation check./bib-doi-toggleToggle DOI, URL, eprint, and ISBN display in a biblatex bibliography. Use when the user asks to show or hide identifiers or make bibliography identifiers available as links./check-refsMatch references in a LaTeX paper against academic databases, flag entries that need review, and suggest missing DOIs or URLs. Use when checking citations or preparing a paper for submission./critique-figuresCritique academic figures for print quality, accessibility, legibility, visual encoding, and statistical presentation. Use when reviewing figures or preparing a manuscript for submission.Other plugins' skills for the same job