paper-spine-citation
Builds a citation support bank for Introduction, Discussion, and background claims. (internal /paperspine step)
How do I install this agent skill?
npx skills add https://github.com/wubing2023/paperspine --skill paper-spine-citationIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill builds a citation support bank for academic writing by extracting data from local research files and verifying citations against the Crossref API. It utilizes standard Python libraries and includes built-in quality auditing scripts to ensure the integrity of bibliographic metadata.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
PaperSpine Citation
Use this branch after research and before final writing. Its job is not to learn paper structure. Its job is to build a verified citation support bank that can support literature statements in the user's manuscript.
Inputs
Read paper_rewriting_output/paper_spine_config.json, especially:
target_namesceneoutput_languagereference_modereference_pathscitation_target_countdefaulting to20materials_dirdraft_pathresearch_dossier.mdsota_gap_map.mdreference_materials/source_index.md
Required Output
Create:
paper_rewriting_output/citation_support_bank.md
Use this table:
| Candidate ID | Reference/BibTeX | Year | Recency | Supports Section | Support Claim Sentence | Why This Paper Fits | Source | Verified | Verification Note |
|---|
Rules:
- Generate at least
citation_target_count * 3candidates. Default: 60. - About 80% of candidates should be recent. In 2026, use 2023 or later as the simple recent threshold.
- Each candidate must pair one paper with one or two support sentences that can be used in Introduction, Related Work, Discussion, limitations, or application paragraphs.
- Prefer same-field, similar-field, foundational, benchmark, review, and application papers. Do not only cite near-identical SOTA papers.
- Do not invent bibliography. Use local PDFs/metadata, DOI/arXiv/Crossref-like metadata, official publisher pages, or user-provided reference files.
- Mark uncertain items as
[VERIFY]and do not use them in final writing until the user verifies them. - This bank is a candidate pool. Final writing should select a coherent subset, not dump all candidates into the paper.
Read references/citation-support-bank.md when detailed rules are needed.
Flow
- Collection pass: Build the initial candidate pool with at least
citation_target_count * 3rows. LeaveVerifiedandVerification Notecolumns empty during this pass. - Verification pass: Run
citation_quality_audit.pyto verify each DOI against Crossref, score citation quality, analyze diversity gaps, and producecitation_quality_audit.md. Fill in theVerifiedcolumn asyes,mismatch,dead, orerrorbased on the audit results. - Curation: Select the final subset of verified, recent, and field-appropriate citations for the manuscript. Do not use unverified or mismatched citations in final writing until the user confirms them.
Check
python scripts/citation_bank_check.py paper_rewriting_output/citation_support_bank.md --target-count 20 --markdown
python scripts/citation_quality_audit.py paper_rewriting_output --write
If the config has a different citation_target_count, use that value.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/wubing2023/paperspine/paper-spine-citation">View paper-spine-citation on skillZs</a>