Agent skill

Reference Manager

by zhnnky329 in zhnnky329/MathModeling-skills

Manage and verify references for mathematical modeling contest papers, generating BibTeX entries, checking citation completeness, and ensuring all references are traceable to actual sources.

MITAuto-check passedResearch & Science

Install Reference Manager

skills CLI
$ npx skills add zhnnky329/MathModeling-skills --skill reference-manager -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zhnnky329/MathModeling-skills reference-manager --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zhnnky329/MathModeling-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/reference-manager .claude/skills/reference-manager && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
reference-manager
GitHub stars
1.1k
Token cost
~2.6k tokens
SKILL.md length
891 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
MIT

At a glance

Manage and verify references for mathematical modeling contest papers, generating BibTeX entries, checking citation completeness, and ensuring all references are traceable to actual sources.

  • Works in 7 steps: Inventory all citations in the paper. → Match citations to source information. → Verify citation appropriateness. → …
  • Tasks that involve Citation management
  • SKILL.md covers paper/refs.bib, paper/reference_audit.md, Example 1: Clean audit and Example 2: Fabrication detected
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Reference Manager is an agent skill from zhnnky329/MathModeling-skills. Manage and verify references for mathematical modeling contest papers, generating BibTeX entries, checking citation completeness, and ensuring all references are traceable to actual sources.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Citation management. It works with LaTeX. The repository describes itself as: 面向数学建模竞赛的 Claude Code / Codex Skills ,支持分阶段建模流程与 Python、MATLAB/北太天元代码分支。 The licence is MIT.

When your agent uses it

  • Tasks that involve Citation management

Example prompts

  • “/reference-manager”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Inventory all citations in the paper.
  2. Match citations to source information.
  3. Verify citation appropriateness.
  4. Generate or update BibTeX entries.
  5. Detect potential fabrication.
  6. Produce or update paper/refs.bib.
  7. Produce a reference audit report.

What it can do on your machine

Read from SKILL.md and the folder at commit 0b46e9c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and bibtex).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Reference Manager loads about 2.6k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 891 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zhnnky329/MathModeling-skills at commit 0b46e9c, republished under its MIT licence (© zhnnky329). 891 words, ~2,601 tokens.

Download SKILL.mdSave it as .claude/skills/reference-manager/SKILL.md (or your agent's skills folder).
name
reference-manager
description
Manage and verify references for mathematical modeling contest papers, generating BibTeX entries, checking citation completeness, and ensuring all references are traceable to actual sources.
license
MIT

Purpose

Manage and verify references for mathematical modeling contest papers.

This skill checks that every cited reference corresponds to an actual source, verifies that citations are placed where evidence is needed, generates properly formatted BibTeX entries for all references, and ensures that the paper does not contain fabricated citations.

This skill does not search for new papers, write paper sections, select methods, or perform QA on modeling content.

When to use

Use this skill:

  • After paper-section-writer has drafted paper sections with citations.
  • Before quality-assurance-auditor.
  • When the user says: "check the references", "generate BibTeX", "verify citations", "build refs.bib", "check if all citations are real".
  • When the paper has \cite{...} or bracketed reference markers that need verification.
  • When the related-paper analysis produced paper references that need to be formatted.

Preconditions

The following should already exist or be provided:

  • Paper section drafts with citations (\cite{...} or [1], [2], etc.).
  • Related paper analysis at workspace/papers/related_paper_analysis.md (if available).
  • User-provided paper files under workspace/papers/ (if available).

Inputs

Use or request:

  • paper/sections/*.md or paper/sections/*.tex — paper drafts with citations.
  • workspace/papers/related_paper_analysis.md — literature analysis with paper metadata.
  • Paper files under workspace/papers/ (PDF, etc.) for metadata extraction.
  • Any existing .bib file the user has prepared.
  • User notes about which references are most important.

Workflow

  1. Inventory all citations in the paper.

    • Scan all paper sections for \cite{...} commands, [N] markers, or author-year citations.
    • Build a complete list of unique citation keys or reference numbers.
    • Note where each citation appears and what claim it supports.
  2. Match citations to source information.

    • For each citation, try to find its source:
      • In workspace/papers/related_paper_analysis.md — if a paper was analyzed.
      • In user-provided paper files under workspace/papers/.
      • In user-provided BibTeX or reference lists.
    • Mark citations that cannot be matched as "unverified".
  3. Verify citation appropriateness.

    • Check that citations support the claims they're attached to.
    • Flag citations that appear irrelevant to the claim.
    • Flag "decorative citations" — citations added for appearance without actually supporting a claim.
    • Flag missing citations — claims that probably need a reference but have none.
  4. Generate or update BibTeX entries.

    • For each verified reference, produce a properly formatted BibTeX entry.
    • Entry types: @article, @book, @inproceedings, @misc, @techreport.
    • Required fields per type:
      • @article: author, title, journal, year, volume, number, pages, doi (if available).
      • @book: author/editor, title, publisher, year, edition (if applicable).
      • @inproceedings: author, title, booktitle, year, pages, doi (if available).
      • @misc: author, title, howpublished, year, note, url (if applicable).
    • Use consistent citation keys: AuthorYear or AuthorYearKeyword.
  5. Detect potential fabrication.

    • A citation is flagged as potentially fabricated if:
      • No source file or metadata can be found.
      • The title, author, year, or venue cannot be verified from available sources.
      • The citation key exists but has no corresponding entry.
      • The paper metadata looks generic or ai-generated (placeholder titles, obviously fake DOIs).
    • Potentially fabricated citations are reported as blocking issues.
  6. Produce or update paper/refs.bib.

    • Save all verified BibTeX entries to paper/refs.bib.
    • Ensure the file is valid BibTeX (balanced braces, proper field separators).
    • Mark unverified entries with %% UNVERIFIED — needs author confirmation.
  7. Produce a reference audit report.

    • Save as paper/reference_audit.md.
    • Include: citation inventory, match status, fabrication flags, missing citation suggestions.

Outputs

  • paper/refs.bib — BibTeX file with all verified references.
  • paper/reference_audit.md — Reference audit report.

Output format

paper/refs.bib

bibtex
% ── Verified references ──────────────────────────────────────────────

@article{Wang2023TOPSIS,
  author    = {Wang, X. and Li, Y. and Zhang, H.},
  title     = {Entropy-weight TOPSIS method for multi-criteria urban resilience evaluation},
  journal   = {Journal of Urban Planning and Development},
  year      = {2023},
  volume    = {149},
  number    = {2},
  pages     = {04023001},
  doi       = {10.1061/JUPDD.0000123}
}

@book{Xu2018Modeling,
  author    = {Xu, Z.},
  title     = {Mathematical Modeling: Methods and Applications},
  publisher = {Higher Education Press},
  year      = {2018},
  edition   = {3rd}
}

@misc{COMAP2026,
  author    = {{COMAP}},
  title     = {MCM/ICM 2026 Problem A Statement},
  howpublished = {Contest problem statement},
  year      = {2026}
}

% ── UNVERIFIED — needs author confirmation ───────────────────────────

%% UNVERIFIED @article{Someone2024Method,
%%   author    = {Someone, A.},
%%   title     = {A Method for Something},
%%   journal   = {Unknown Journal},
%%   year      = {2024}
%% }

paper/reference_audit.md

markdown
# Reference Audit Report

> Last updated: [timestamp]

## 1. Citation Inventory

| # | Citation Key | Appears In | Claim Supported | Status |
|---|-------------|-----------|----------------|--------|
| 1 | `Wang2023TOPSIS` | Q1 Model Construction | "Entropy-TOPSIS is widely used..." | ✅ Verified |
| 2 | `Xu2018Modeling` | Assumptions | "Linear aggregation is common..." | ✅ Verified |
| 3 | `COMAP2026` | Problem Restatement | Problem source | ✅ Verified |
| 4 | `Someone2024Method` | Q3 Model Construction | "This method is optimal..." | ❌ UNVERIFIED |

## 2. Fabrication Risk Assessment

| Citation | Risk Level | Reason |
|----------|-----------|--------|
| `Someone2024Method` | HIGH | No source file found; author name "Someone" appears placeholder-like; no DOI or venue verifiable |

## 3. Missing Citation Suggestions

| Claim | Location | Suggested Citation |
|-------|----------|-------------------|
| "TOPSIS was first proposed by..." | Q1 Model Construction | Hwang & Yoon (1981) — Multiple Attribute Decision Making |

## 4. Recommendations

1. **BLOCKING**: Verify or remove `Someone2024Method` — appears to be fabricated.
2. **SUGGESTION**: Add Hwang & Yoon (1981) as the foundational TOPSIS reference.
3. **SUGGESTION**: Verify all DOIs resolve correctly before final submission.
Show full SKILL.md (364 more words)Show less

Citation Verification Rules

  • Every \cite{...} in the paper must have a corresponding entry in paper/refs.bib.
  • Every entry in paper/refs.bib must have at minimum: author, title, year.
  • A citation without any verifiable source (file, metadata, or user confirmation) is flagged as potentially fabricated.
  • Contest papers should cite: the problem statement, key methodology references, data sources (if external), and comparison baselines.
  • Do not fabricate DOIs, page numbers, volume numbers, or author names.
  • Do not add "impressive-looking" references that were not actually consulted.
  • References should primarily support the methodology; avoid padding the reference list.

Rules

  • Do not fabricate references, metadata, or DOIs.
  • Do not add references that were not used in the paper.
  • Every citation must be traceable to an actual source.
  • Flag unverifiable citations as blocking issues — do not silently remove them.
  • Generate BibTeX entries only for verified sources.
  • Use consistent citation key format.
  • Mark unverified entries explicitly in the .bib file.
  • Contest problem statements and official attachments should be cited.

Verification

Before handing off, verify:

  • Every \cite{...} in the paper has a BibTeX entry (verified or flagged).
  • Every BibTeX entry has author, title, and year at minimum.
  • Unverified citations are explicitly flagged.
  • Potential fabrication risks are reported.
  • Missing citation suggestions are provided.
  • The BibTeX file is syntactically valid.

Failure modes

Stop and report a blocker if:

  • A citation in the paper has NO traceable source and appears fabricated.
  • Multiple citations share the same key but have different metadata.
  • The paper cites a source that contradicts the paper's own claims.
  • A critical methodology claim has no supporting citation and no justification.

Stop conditions

This skill must stop instead of guessing when:

  • A citation's source cannot be found and the user cannot provide it.
  • The BibTeX file would contain fabricated entries.
  • A reference appears to be entirely made up.

When stopping, output:

  • the problematic citation
  • why it's flagged
  • what the author needs to provide (real source, or remove the citation)

Handoff

After producing paper/refs.bib and paper/reference_audit.md, hand off to:

quality-assurance-auditor — which will include reference verification in the final QA check.

The handoff should include:

  • paper/refs.bib path.
  • paper/reference_audit.md path.
  • List of unverified citations needing author attention.
  • Fabrication risk flags.

Examples

Example 1: Clean audit

markdown
## 1. Citation Inventory

| Citation Key | Status |
|-------------|--------|
| `Hwang1981TOPSIS` | ✅ Verified — from related_paper_analysis.md |
| `Wang2023Entropy` | ✅ Verified — from workspace/papers/wang2023.pdf |
| `COMAP2026` | ✅ Verified — contest problem statement |
| `Xu2018Modeling` | ✅ Verified — user-provided reference |

Example 2: Fabrication detected

markdown
## 2. Fabrication Risk Assessment

| Citation | Risk | Reason |
|----------|------|--------|
| `Smith2025BestMethod` | HIGH | No paper file found. No metadata in related_paper_analysis.md. Author "Smith" + generic title "Best Method for Evaluation" looks auto-generated. Google Scholar shows no match. |

**Recommendation**: Remove this citation or provide the actual paper. Do not submit the paper with this citation.

© zhnnky329, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/reference-manager of zhnnky329/MathModeling-skills.

Open the folder on GitHubat commit 0b46e9c

Compare with similar skills

Reference Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Reference Manager compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reference Manager this skillzhnnky329/MathModeling-skills1.1k—~2.6kAutomated safety check: PassMIT
Citation Managementneflibata-feng/MyArxiv-Agent12620 repos~8.1kAutomated safety check: NotesMIT
Academic Paper Writing PipelineImbad0202/academic-research-skills51k—~16kAutomated safety check: PassCustom licence
Literature Review AgentAr9av/PaperOrchestra6772 repos~5.2kAutomated safety check: PassCustom licence
Academic Searchustc-ai4science/academic-search666—~1.1kAutomated safety check: PassMIT
Collaborating With Claudeappautomaton/latex-arxiv-SKILL4571 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Citation Management

    neflibata-feng/MyArxiv-Agent

    Comprehensive citation management for academic research. An agent skill from neflibata-feng/MyArxiv-Agent.

    126 GitHub starsUsed in 20 repos~8.1k tokens
    Research & ScienceAuto-check: notes
  • Academic Paper Writing Pipeline

    Imbad0202/academic-research-skills

    Runs a 12-agent pipeline that plans, drafts, cites, reviews and formats academic papers, with modes for revision, rebuttals, abstracts and citation checks.

    51k GitHub stars~16k tokensUpdated 5 days ago
    Research & ScienceAuto-check passed
  • Literature Review Agent

    Ar9av/PaperOrchestra

    Step 3 of the PaperOrchestra pipeline (arXiv:2604.05018). An agent skill from Ar9av/PaperOrchestra.

    677 GitHub starsUsed in 2 repos~5.2k tokens
    Research & ScienceAuto-check passed
  • Academic Search

    ustc-ai4science/academic-search

    A skill your agent uses when the user asks to search or review academic papers, retrieve scholarly metadata or citation counts, validate or deduplicate scholarly records, find an author's…

    666 GitHub stars~1.1k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Collaborating With Claude

    appautomaton/latex-arxiv-SKILL

    Use the Claude Code CLI to consult Claude and delegate coding tasks for prototyping, debugging, and code review.

    457 GitHub starsUsed in 1 repo~1.5k tokens
    Research & ScienceAuto-check passed
  • Arxiv MCP Server

    blazickjp/arxiv-mcp-server

    A skill your agent uses when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or…

    3.2k GitHub stars~353 tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from zhnnky329/MathModeling-skills

All 29 skills in this repo
  • Method Selector

    zhnnky329/MathModeling-skills

    Build and risk-screen a compact role-based method shortlist for a mathematical-modeling subquestion.

    1.1k GitHub stars~1.6k tokensUpdated 14 days ago
    Auto-check passed
  • Problem Classifier

    zhnnky329/MathModeling-skills

    Classify each parsed mathematical-modeling subquestion by required output and structure, surface ambiguous framing trade-offs for human choice, and record primary/secondary task types without…

    1.1k GitHub stars~611 tokensUpdated 14 days ago
    Auto-check passed
  • Data Auditor Cleaner

    zhnnky329/MathModeling-skills

    Map contest attachments to subquestions, audit and clean raw data, and emit one reusable data profile with quality, coverage, imbalance, concentration, and method-readiness evidence for downstream…

    1.1k GitHub stars~1.1k tokensUpdated 14 days ago
    Auto-check passed
  • Decision Prompt Builder

    zhnnky329/MathModeling-skills

    Build one compact choice card at a genuine mathematical-modeling judgment point.

    1.1k GitHub stars~837 tokensUpdated 14 days ago
    Auto-check passed
  • Matlab Model Code Generator

    zhnnky329/MathModeling-skills

    Generate and run minimal reproducible MATLAB or Beita Tianyuan compatible code for the human-approved main method and usable baseline, with compact experiment artifacts and a canonical run summary.

    1.1k GitHub stars~685 tokensUpdated 14 days ago
    Auto-check passed
  • Model Code Analyzer

    zhnnky329/MathModeling-skills

    Translate a human-approved main method and usable baseline into a minimal language-neutral implementation and experiment contract.

    1.1k GitHub stars~881 tokensUpdated 14 days ago
    Auto-check passed

Works with

Questions about Reference Manager

What does Reference Manager do?

Manage and verify references for mathematical modeling contest papers, generating BibTeX entries, checking citation completeness, and ensuring all references are traceable to actual sources. Reference Manager is an agent skill from zhnnky329/MathModeling-skills. Manage and verify references for mathematical modeling contest papers, generating BibTeX entries, checking citation completeness, and ensuring all references are traceable to actual sources.

When should I use Reference Manager?

Reference Manager fits situations like: tasks that involve Citation management.

How do I install Reference Manager in Claude Code?

Run `npx skills add zhnnky329/MathModeling-skills --skill reference-manager -a claude-code`. Or copy the skill folder (.codex/skills/reference-manager in zhnnky329/MathModeling-skills) into .claude/skills/reference-manager in your project. Claude Code loads it when a task matches its description.

How do I install Reference Manager in Codex?

Run `npx skills add zhnnky329/MathModeling-skills --skill reference-manager -a codex`. Or copy the skill folder (.codex/skills/reference-manager in zhnnky329/MathModeling-skills) into .agents/skills/reference-manager in your project. Codex loads it when a task matches its description.

Can I use Reference Manager in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhnnky329/MathModeling-skills --skill reference-manager -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reference-manager, .gemini/skills/reference-manager, .github/skills/reference-manager and .opencode/skills/reference-manager in your project.

What does Reference Manager need to run?

SKILL.md names no scripts, command-line tools or credentials: Reference Manager is instructions for the agent only.

Does Reference Manager access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Reference Manager safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Reference Manager use?

Reference Manager is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Reference Manager use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Reference Manager?

Skills that share tags, products or a category with Reference Manager: Citation Management (neflibata-feng/MyArxiv-Agent, 126 stars), Academic Paper Writing Pipeline (Imbad0202/academic-research-skills, 51k stars), Literature Review Agent (Ar9av/PaperOrchestra, 677 stars) and Academic Search (ustc-ai4science/academic-search, 666 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reference Manager?

zhnnky329 (a GitHub user) maintains it in zhnnky329/MathModeling-skills, which has 1,059 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 24, 2026.

Source: zhnnky329/MathModeling-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.