/paper-sharpener:self-checkfrom paper-sharpener
Checks a LaTeX paper or grant proposal for internal consistency: cross-references, numerical disagreements, unsupported claims, terminology drift, and scaffolding that must not ship. Reports findings as queries rather than rewrites.
Ships in paper-sharpener. 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.
This finds what a reader will stumble on, and it does not rewrite your prose. That is a measured decision rather than caution. Of 512 rules gathered from the writing literature, funder guidance, professional editing standards, ICLR reviewer complaints and 19,315 real expert edits, five have exactly one correct output. Every other repair needs something the document does not contain — which number is right, what the sentence meant to claim, what the figure would look like regenerated.
So the output is queries, and the reader decides.
The stage. Pass --draft while writing and nothing while preparing to submit. Review
markers, TODOs and placeholders are supposed to be present in a draft and are defects only
when they ship. The same paper gives 52 findings at draft stage and 176 at submission, and
almost all of the difference is scaffolding.
The document. Globbing *.tex sweeps in scratch files, notes and abandoned variants,
and every finding in those is noise. run.py resolves the input graph from each
\documentclass file and reports which document it picked, newest first. Check that it
picked the one you meant.
cd build/sharp
python3 run.py --draft path/to/*.tex # while writing
python3 run.py path/to/*.tex # before submitting
The order is not the literature's. A corpus of 19,315 attributed edits by 383 researchers says where expert attention actually goes, and it differs sharply from where the writing guides put their rules.
| pass | expert attention | rules asserted |
|---|---|---|
| integrity | 40% | 16% |
| cohesion | 15% | 10% |
| claim-calibration | 14% | 15% |
| evidence-surface | 16% | 23% |
| register-redundancy | 8% | 11% |
| naming-notation | 5% | 14% |
| sentence-mechanics | 1.4% | 10% |
Integrity first, because it is where reviewers spend two fifths of their effort and it needs no knowledge outside the document. Sentence-mechanics last and cheaply — the literature has 44 rules there and the corpus supports one, which is one no guide contains.
The deterministic passes may always run, since they cost nothing and conflict with nothing. Stop reporting judgement findings below the highest failing level, because fixing a higher one rewrites everything under it.
A finding that costs thirty seconds and one that costs a day must not sit in the same list, because review time competes with running experiments.
Judge by the fix, never by how much the defect matters. An overclaim fixed by softening one sentence is free even though it matters enormously.
Two intersections organise the work. Blocking and free should be cleared immediately and continuously. Blocking and rework should surface weeks before a deadline, because those change what experiments still need running.
Cost free and batchable are the reliable labels — three independent raters agreed within
3 and 4 of 55. lookup against rework and blocks_submission are not reliable, so treat
them as hints rather than gates.
These exist because 50 gathered rules would have damaged correct text, and the audits caught them before anything ran.
Never weaken a claim marker automatically. Deleting a hedge, dropping the intensifier
from "almost all", or stripping a tentative modal is grammatical, preserves meaning by every
mechanical test, and silently raises the claim past its evidence. Five rules across three
sources were flagged unsafe for exactly this, and no professional standard states the
protection. checks_claim_calibration.py and checks_register_redundancy.py enforce it in
code with a gate that has survived bypass attempts.
The evidence makes this sharper. Promotional language is positively associated with funding at odds ratios near 1.5 across two funders on real rejected applications. Confident prose is rewarded, which is precisely why the trade-off belongs to the author.
Never bundle. A rule whose single fix does not repair every case its test matches must be split first. That caused most of the 50 unsafe rules — "bind footnotes, citations and references directly to the preceding word" is right for a footnote and wrong for a citation.
Never let a precision rule touch an exact value. Rounding exists because excess digits mislead about measurement error. An exact integer has none, so a count, a seed, a parameter size, a hash or a step index must be excluded.
The corpus settles the default. Across five independent samples, roughly a quarter of every cross-author edit is not an edit — it is an addressed question left at the exact site of a problem the editor could not resolve, deleted by whoever answers it. Nobody in that corpus had read a professional standard, and SENSE and Editors Canada prescribe the same thing.
python3 -c "import run, annotate, teach; ..." # see annotate.write / annotate.sweep
Write mode has survived three adversarial audits but has never been used on a document anyone depends on. The defects the third audit named are fixed and verified — a
}in a line comment no longer shifts the brace map into an\emph{}argument, every file receiving a note now carries its own\providecommand, and the guard is enforced insidewrite()as well as inrun.scanso no call path bypasses it. Round trips are byte-identical on single and multi-file projects. Even so, run it on a branch the first time, and read the diff.
annotate.write() inserts \scnote{...} at each finding, addressed to whoever last touched
the line by git blame. It validates every offset against brace depth and span kind, refuses
the preamble, refuses a file that is untracked or has uncommitted changes, refuses a file it
cannot decode as UTF-8, escapes the note body, and carries a content-and-position digest so a
rerun replaces rather than duplicates. annotate.sweep() removes every note it wrote and
restores the file byte-identically — verified end to end on a real document.
Prefer notes over a report when the author is mid-draft, since they meet each question while writing. Prefer a report before submission, when the list is being cleared in one sitting.
At most five judgement findings per report. More than that is a rewrite the author cannot review back. If a level has more, report the five with the largest consequence and say what was deferred. Mechanical findings are exempt, since they are cleared in a batch.
teach.py attaches the mechanism to the first finding of each family and a page citation
afterwards, per project and then per user. Your second paper is quieter than your first. The
family pages in ../ledger/ derive each family's rules from its mechanism, so a reader can
regenerate the rules instead of memorising them.
It does not judge whether the research is sound, and it does not check structure — whether the argument exists and in what order is a different and more expensive pass.
It cannot tell a rule that finds nothing worth fixing from a rule that finds a real defect nobody has had time for. Finding density measured across 824 commits of real revision confirms a rule when it drops sharply and proves nothing when it holds flat, because the corpus records what authors managed under deadline rather than what should have been fixed.
Sentence-mechanics coverage is deliberately thin. Cohesion rests on Gopen and Swan, whose own caveat is that none of their principles should be treated as rules, so those findings report only.
Grant rules are funder-conditional in 39 cases. Whether references count against the page limit is inverted between Horizon Europe, ERC and UKRI, so a rule either names its funder or drops to a query.
There is deliberately no built dist/ tree. One existed and had drifted badly — it carried
none of three rounds of fixes, still used a macro name that collides with the LaTeX kernel,
and still wrote notes into \documentclass{...} while reporting success. A snapshot that
looks installable is worse than no snapshot.
Packaging must therefore be a build step run at publish time, from the live tree, with the
scrubbed ledger copied from ../ledger/public/ and never from ../ledger/private/.
references/CHECKS_API.md (opens in a new tab)references/COVERAGE.md (opens in a new tab)references/README.md (opens in a new tab)references/SUMMARY.md (opens in a new tab)references/family_claim-calibration.md (opens in a new tab)references/family_cohesion.md (opens in a new tab)references/family_evidence-surface_A.md (opens in a new tab)references/family_evidence-surface_B.md (opens in a new tab)references/family_integrity.md (opens in a new tab)references/family_naming-notation.md (opens in a new tab)references/family_process.md (opens in a new tab)references/family_register-redundancy.md (opens in a new tab)references/family_sentence-mechanics.md (opens in a new tab)references/ledger.jsonl (opens in a new tab)tools/__pycache__/check.cpython-310.pyc (opens in a new tab)tools/__pycache__/checks_claim_calibration.cpython-310.pyc (opens in a new tab)tools/__pycache__/checks_cohesion.cpython-310.pyc (opens in a new tab)tools/__pycache__/checks_evidence_surface.cpython-310.pyc (opens in a new tab)tools/__pycache__/checks_integrity.cpython-310.pyc (opens in a new tab)tools/__pycache__/checks_naming_notation.cpython-310.pyc (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/paper-reviewSimulate a multi-reviewer academic paper review process and produce actionable revision plans. Use this skill whenever the user wants feedback on an academic paper, research manuscript, conference submission, or draft — especially for venues like NeurIPS, ACL, ICML, EMNLP, ICLR, AAAI, or any CS conference/journal. Trigger when the user says things like "review my paper", "give me feedback on my draft", "simulate reviewers", "help me improve my paper", "what would reviewers say", "prepare for submission", or provides a PDF/tex and asks for critique. Also trigger when the user references improving a manuscript, addressing reviewer comments, or iterating on a draft. This skill orchestrates the full loop: reading the paper, generating reviews, triaging action items interactively, and applying edits.
/recommendation-letterWrite, revise or retarget recommendation and evaluation letters — PhD and MSc admission, fellowships (industry, Rhodes, Marshall, NSF GRFP, Israeli calls such as Rothschild, Azrieli, Clore, Zuckerman), postdoc and faculty jobs, tenure and external review. Works top-down: genre and call, then the verdict and its calibration, then evidence, then selection, then sentences, and explains each finding so the writer learns the principle. Trigger on "recommendation letter", "reference letter", "letter for my student", "improve this letter", "write a letter for", "tenure letter", "external review letter", or a .tex letter on a letterhead template.
npx claudepluginhub borgr/paper-sharpener --plugin paper-sharpenerOther plugins' skills for the same job