reference-library-manager
Reference Library Manager
Manage the project reference library as durable research infrastructure. This skill answers: What references do we have, and what is their processing state?
Do not use this skill for deep paper understanding or project implications. Use reference-reading-summarizer for "what does this paper say?" and reference-project-synthesizer for "what does this paper mean for our project?"
Skill Directory Layout
<installed-skill-dir>/
├── SKILL.md
├── scripts/
│ └── scan_reference_library.py
├── references/
│ └── library-policy.md
└── templates/
├── reference-index.md
└── reading-status.md
Core Contract
- Default project reference root is
<project-root>/reference/. - PDF files may be private, licensed, or large. Do not assume PDFs should be committed to a public repo.
- Commit derived indexes, cards, and project-use notes only when they are sanitized and useful.
- Prefer deterministic scanning for filenames, hashes, size, and modification time.
- Use cheap sidecars only for fuzzy title matching or metadata cleanup, not for raw PDF storage.
Expected Project Layout
reference/
├── papers/ # PDFs and source documents, often ignored/private
├── cards/ # stable paper cards from reference-reading-summarizer
├── project-use/ # project implications from reference-project-synthesizer
├── summaries/ # optional reading summaries
├── notes/ # human notes
└── .agent/
├── reference-index.md
├── reading-status.md
├── metadata-gaps.md
├── duplicate-check.md
└── runs/ # raw scan/read trajectories, usually ignored
Model Routing
- Tier 0 script: scan files, hashes, size, mtime, missing cards, reading-status skeletons.
- Tier 1 cheap sidecar: fuzzy duplicate titles, filename-to-title cleanup, coarse role tags.
- Tier 2/3 models: not needed here; route to the reading or project synthesis skills.
Workflow
- Locate project root and
reference/. If onlyreference/exists withoutpapers/, scan PDFs recursively underreference/. - Read
references/library-policy.md. - Run the scanner when indexing is needed:
python3 <installed-skill-dir>/scripts/scan_reference_library.py --project-root .
- Review generated or updated files:
reference/.agent/reference-index.mdreference/.agent/reading-status.mdreference/.agent/metadata-gaps.mdreference/.agent/duplicate-check.md
- Mark each paper's intended role when known:
writing-exemplarmethod-sourcetheory-sourcebenchmark-sourcebaselinecitation-supportclosest-workreviewer-risk
- Route next action:
- unread but important ->
reference-reading-summarizer - card exists and project decisions are needed ->
reference-project-synthesizer - missing citation coverage in a draft ->
citation-coverage-audit - broad field search ->
literature-review-sprint
- unread but important ->
Output Rules
- Store raw scanner trajectories under
reference/.agent/runs/only when useful. - Store durable index state under
reference/.agent/. - Store stable summaries as paper cards under
reference/cards/. - Never paste long PDF text into memory or public docs.
- Report only counts, major gaps, duplicates, and recommended next reads unless the user asks for detail.
More from a-green-hand-jack/ml-research-skills
project-init
Initialize an ML research project control root. Use for paper/code/slides repos, shared memory, GitHub Project alignment, agent guidance, worktree policy, and lifecycle handoffs.
37project-sync
Sync verified code-side experiment results into paper memory. Use when logs, reports, run docs, or user-confirmed metrics should become paper-facing evidence.
36add-git-tag
Create annotated Git milestone tags. Use when completing a phase, releasing a version, or marking a research checkpoint.
36update-docs
Refresh project documentation after code changes. Use after implementing features, changing behavior, or preparing a milestone commit.
36new-workspace
Create Git branches or worktrees for research code and paper versions. Use for experiments, baselines, rebuttal fixes, arXiv/camera-ready branches, and worktree memory.
36init-latex-project
Initialize a LaTeX academic paper project. Use for new conference or journal papers needing templates, macros, venue preambles, and writing guidance.
36