Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Aperivue/medsci-skills --skill manage-refsgit clone --depth 1 https://github.com/Aperivue/medsci-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aperivue/medsci-skills/manage-refs)<a href="https://agentmods.dev/skills/aperivue/medsci-skills/manage-refs"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/manage-refs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/manage-refs"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/manage-refs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 23 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00144 | $0.05450 |
| Opus 5 | $0.00072 | $0.02725 |
| Sonnet 5 | $0.00029 | $0.01090 |
| Haiku 4.5 | $0.00014 | $0.00545 |
Grade A, and why
manage-refs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 338 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Manage-Refs Skill
Canonical source (issue #16). This SKILL.md is the single canonical reference for the reference-workflow (validate keys → render CSL → convert markers → QC cross-references → inject Zotero CWYW). Audit-only bib verification is owned by
skills/verify-refs/SKILL.md. Any user-scope rule or external note about reference handling should point here (workflow) or to verify-refs (audit) rather than restating the "how", to prevent drift.
You are routing reference-handling work for a medical manuscript. The user is somewhere in the lifecycle — drafting, building a circulation DOCX, swapping CSL after a journal rejection, fixing a cross-reference defect surfaced by QC, or wiring up live Zotero field codes for a co-author Word workflow. Pick the right tool from the decision table; do not invent a parallel pipeline.
Why This Skill Exists
Reference handling spans every late-stage skill: /write-paper builds the
first DOCX, /revise rebuilds it after each reviewer round, /peer-review
emits a critique that quotes references back, /sync-submission packages the
final tarball, /find-journal informs CSL swaps on rejection cascade, and
/verify-refs audits the bibliography. Until 2026-05-01 these scripts lived
under skills/write-paper/scripts/, which made /revise and /sync-submission
silently depend on a sibling skill — a layering inversion that broke when
/write-paper was loaded into a non-research project. Moving the
lifecycle tools here turns reference handling into a first-class concern
with one decision tree, one set of CSL files, and one provenance file
(NOTICE.md) for the vendored Zotero CWYW writer.
Validated 2026-05-01 against a 21-reference meta-analysis manuscript (a meta-analysis project's submission) for both pandoc-citeproc and Zotero-CWYW paths.
Anti-Hallucination Guarantees
- Citekey discipline (Phase 0): every in-text citation must be
[@bibkey]resolvable inrefs.bib.scripts/check_citation_keys.pyis a hard gate — UNDEFINED keys exit non-zero and block the build.
What ships with it
53 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- citation_styles/american-journal-of-roentgenology.csl 6.8 KB
- citation_styles/american-medical-association.csl 11 KB
- citation_styles/cardiovascular-and-interventional-radiology.csl 1.3 KB
- citation_styles/european-radiology.csl 1.2 KB
- citation_styles/journal-of-cachexia-sarcopenia-and-muscle.csl 5.3 KB
- citation_styles/journal-of-korean-medical-science-strict.csl 18 KB
- citation_styles/journal-of-korean-medical-science.csl 891 B
- citation_styles/korean-journal-of-radiology.csl 5.7 KB
- citation_styles/liver-international.csl 18 KB
- citation_styles/nature.csl 6.3 KB
- citation_styles/nlm-citation-sequence.csl 18 KB
- citation_styles/radiology.csl 7.1 KB
- citation_styles/README.md 4.3 KB
- citation_styles/springer-basic-brackets.csl 8.1 KB
- citation_styles/springer-vancouver-brackets.csl 9.0 KB
- citation_styles/vancouver-superscript.csl 18 KB
- citation_styles/vancouver.csl 18 KB
- LICENSE.zotero-mcp 1.0 KB
- NOTICE.md 1.6 KB
- references/check_xref_symptoms.md 4.4 KB
- references/REFERENCE_STYLE_SPECS.md 3.6 KB
- scripts/_vendor_citation_writer.py 19 KB runs code
- scripts/check_bib_title_markup.py 6.6 KB runs code
- scripts/check_citation_keys_challenge/fixture/manuscript.md 127 B
- scripts/check_citation_keys_challenge/fixture/refs_clean.bib 210 B
- scripts/check_citation_keys_challenge/fixture/refs_undefined.bib 103 B
- scripts/check_citation_keys_challenge/verify.sh 1.8 KB runs code
- scripts/check_citation_keys.py 6.4 KB runs code
- scripts/check_csl_render.py 7.6 KB runs code
- scripts/check_reference_duplication.py 10 KB runs code
- scripts/check_xref.py 30 KB runs code
- scripts/fill_journal_abbrev.py 5.2 KB runs code
- scripts/inject_zotero_cwyw.py 5.2 KB runs code
- scripts/md_marker_convert.py 6.6 KB runs code
- scripts/pre_submission_gate.sh 9.1 KB runs code
- scripts/render_pandoc.sh 4.7 KB runs code
- scripts/strip_source_metadata.lua 237 B
- skill.yml 3.0 KB
- tests/fixtures/csl_render_sample.bib 496 B
- tests/fixtures/pre_submission_gate/manuscript.md 553 B
- tests/fixtures/pre_submission_gate/README.md 1.7 KB
- tests/fixtures/pre_submission_gate/refs.bib 1.4 KB
- tests/fixtures/pre_submission_gate/run.sh 5.0 KB runs code
- tests/fixtures/refclean_text.md 423 B
- tests/fixtures/refdup_text.md 890 B
- tests/test_bib_title_markup.sh 4.5 KB runs code
- tests/test_citation_key_boundaries.sh 4.7 KB runs code
- tests/test_csl_render.sh 3.8 KB runs code
- tests/test_journal_abbrev_parsing.sh 3.9 KB runs code
- tests/test_reference_duplication.sh 1.9 KB runs code
- tests/test_vN_docx_check.sh 5.4 KB runs code
- tests/test_xref_plural_citations.sh 5.7 KB runs code
- tests/test_xref_separate_supplement.sh 6.0 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 338 lines · 144 tokens per session scan A 16a7ddf44125
manage-refs is a skill published in the GitHub repository Aperivue/medsci-skills (292 stars, last pushed 3d ago), licensed MIT. It adds 144 tokens to every session and 5,450 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
lit-pdf-zotero
A research workflow for finding academic papers, downloading their PDFs, adding them to Zotero, and creating visual summaries. Zotero is a tool for organising references and research papers.
treatment-plans
Format and structurally validate local treatment-plan documentation after clinical decisions have already been supplied and verified by authorized licensed professionals. Use for source traceability, clinician-authored intervention records, goals and checkpoints, shared-decision records, reconciliation handoffs, and…
xlsx
Create, edit, analyze, or convert Excel spreadsheets (.xlsx, .xlsm, .xltx) where the workbook file is the primary deliverable. Use for formulas, formatting, financial models, multi-sheet workbooks, and tabular cleanup exported to Excel. Also applies to .csv/.tsv when the user wants spreadsheet output. Do NOT use for…
markdown-to-pdf
Convert a markdown file to PDF using mistune + reportlab. Use when the user wants to convert a .md file to PDF, or when another skill needs to produce a PDF from markdown output.
payment-application-processor
Process construction payment applications. Validate schedule of values, calculate retainage, track billing status, and generate G702/G703 forms.
dwg-to-excel
Convert AutoCAD DWG files (1983-2026) to Excel databases using DwgExporter CLI. Extract layers, blocks, attributes, and geometry data without Autodesk licenses.