/research-papers:lint-paper <papers/Author_Year_Title> or --allfrom research-papers
Audits paper directories for completeness, format compliance, and index consistency. Checks required files, YAML frontmatter, markdown link format, cross-references, and index entries.
Ships in research-papers. 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.
None: SKILL.md is the whole skill.
Audit paper directories for completeness and format compliance. No AI needed — just file checks and grep.
if [[ "$ARGUMENTS" == "--all" ]]; then
ls -d papers/*/ | grep -v "papers/tagged" | sort
else
paper_dir="$ARGUMENTS"
fi
For each paper directory, run all checks and collect results.
| File | Status |
|---|---|
notes.md | REQUIRED — run paper-reader if missing |
description.md | REQUIRED — run paper-reader if missing |
abstract.md | recommended |
citations.md | recommended |
paper.pdf or pngs/ | REQUIRED — at least one source artifact must exist. Notes without a verifiable source are untrustworthy. |
Notes metadata: Does notes.md have YAML frontmatter with at least title: and year:?
head -8 "$paper_dir/notes.md" | grep -E "^title:|^year:"
Missing → report as NOTES_METADATA_MISSING
Tags: Does description.md have YAML frontmatter with a tags: field?
head -5 "$paper_dir/description.md" | grep "tags:"
Missing → report as UNTAGGED
Markdown link format: Are cross-references in notes.md using real markdown links ([Pretty Title](../Dir/notes.md)) rather than legacy [[wikilinks]]?
# Legacy wikilinks — these don't render on GitHub, must be converted
grep -c '\[\[[A-Z][A-Za-z0-9_-]*_[0-9]\{4\}' "$paper_dir/notes.md"
Found → report as LEGACY_WIKILINKS (convert to [title](../Dir/notes.md) — GitHub does not render [[wikilinks]] in repo files)
Frontmatter validity:
notes.md has --- delimiters, is the YAML valid?description.md has --- delimiters, is the YAML valid?--- appears on lines 1 and 3+ (not empty frontmatter)title: is present in notes.mdtags: value is a list, not empty in description.mdCross-references section: Does notes.md have ## Collection Cross-References?
grep -c "## Collection Cross-References" "$paper_dir/notes.md"
Missing → report as NOT_RECONCILED
In index: Is the paper listed in papers/index.md with a valid linked header?
The header must be a markdown link to the paper's notes.md
(## [Pretty Title](Author_Year_ShortTitle/notes.md)␣␣(tags)), not a bare
directory name. A substring match on the directory name is too weak — it
always matches inside the link target and cannot catch a malformed header,
stale title, wrong link target, or missing two-space gap. Match structurally
on the link target instead:
dir="$(basename "$paper_dir")"
# Linked header whose target resolves to THIS paper's notes.md:
grep -E "^## \[.+\]\(${dir}/notes\.md\)" papers/index.md
NOT_INDEXED (missing, or a malformed/bare-dirname header).test -f "papers/${dir}/notes.md".](...)␣␣(tags)),
not a single space, when tags are present.Index description matches: Does the description in index.md match description.md?
Only check if both exist — flag INDEX_STALE if they differ.
Source artifact: Does the paper have a PDF or page images?
ls "$paper_dir/paper.pdf" "$paper_dir"/pngs/page-*.png 2>/dev/null | wc -l
Zero → report as NO_SOURCE_ARTIFACT (notes without a verifiable source are untrustworthy — retrieve the PDF)
Orphan PDF: Is there a PDF in papers/ root with a name matching this paper?
ls papers/*.pdf 2>/dev/null
Any root-level PDFs → report as ORPHAN_PDF (should have been moved by paper-reader)
Page citations in notes: Do findings in notes.md include page references?
grep -c '(p\.[0-9]' "$paper_dir/notes.md"
Zero → report as NO_PAGE_CITATIONS (re-read paper with updated paper-reader to add page provenance)
Lint: papers/Author_Year_Title/
✓ notes.md
✓ description.md
✓ abstract.md
✗ citations.md — MISSING
✓ paper.pdf
✗ notes metadata — NOTES_METADATA_MISSING
✗ tags — UNTAGGED
✓ markdown-link format
✗ cross-references — NOT_RECONCILED
✓ indexed
Group by status:
Lint: N papers checked
Complete (M papers):
- Paper1, Paper2, ...
Issues found:
MISSING notes.md (need paper-reader):
- Paper3
MISSING description.md (need paper-reader):
- Paper4
NOTES_METADATA_MISSING (need migrate_notes_frontmatter.py or re-run paper-reader):
- Paper4a
UNTAGGED (need tag-papers):
- Paper5, Paper6, Paper7, ...
NOT_RECONCILED (need reconcile):
- Paper8, Paper9
LEGACY_WIKILINKS (convert `[[Dir]]` → `[Pretty Title](../Dir/notes.md)`):
- Paper10
NOT_INDEXED (need generate-paper-index.py):
- Paper11
ORPHAN_PDF (unprocessed PDFs in papers/ root):
- somefile.pdf
Then a summary line:
Summary: M complete, N issues across K papers
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ctoth/research-papers-plugin --plugin research-papers28 skills in this plugin
/adjudicateSystematically adjudicate disagreements across a paper collection. Produces ruthless verdicts on who was wrong, what supersedes what, and what the best current understanding is. Organized by topic clusters with actionable replacement values for implementation./author-contextIdentify a paper analysis context and author it only through an available Propstore context-owner workflow./author-lifting-rulesAssess justified cross-context applicability and author supported lifting rules when the installed Propstore CLI exposes their owner workflow./author-rulesCheck the installed DeLP rule-authoring capability and encode a paper's stated predicate-level reasoning only through an available owner./enrich-claimsEnrich existing source-branch claims by updating them through pks source propose-claim./extract-claimsExtract propositional claims from a paper directory into the propstore source branch using pks source propose-claim.Other plugins' skills for the same job