citation-management
Skill9 starsChanged 7 months agoMITView on GitHub
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys against .bib files, deduplicate entries, and format bibliography. Use when working with references, BibTeX, or citations.
15 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- K-Dense-AI/claude-scientific-writertheir own version, first seen Sep 29, 2026
- BrightGold70/skillstheir own version, first seen Sep 29, 2026
- AngelCampa1/decision-making-skillstheir own version, first seen Sep 2, 2026
- zh123012/claude-skillstheir own version, first seen Jul 29, 2026
- jaechang-hits/SciAgent-Skillstheir own version, first seen Jul 24, 2026
- dongzhigang13305312738-art/paper-skillsedited, first seen Jul 21, 2026
Used with
Projects with it also use latex-posters, hypothesis-generation and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hongyu-yuSkilllatex-posters
Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication. Includes layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices for visual communication.
Also in 3 projects that use this
yf8578Skillhypothesis-generation
Structured hypothesis formulation from observations. Use when you have experimental observations or data and need to formulate testable hypotheses with predictions, propose mechanisms, and design experiments to test them. Follows scientific method framework. For open-ended ideation use scientific-brainstorming; for automated LLM-driven hypothesis testing on datasets use hypogenic.
Also in 3 projects that use this
yf8578Skillscholar-evaluation
Systematically evaluate scholarly work using the ScholarEval framework, providing structured assessment across research quality dimensions including problem formulation, methodology, analysis, and writing with quantitative scoring and actionable feedback.
Also in 3 projects that use this
sahinSkillpeer-review
Also in 4 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- lingzhi227/agent-research-skills★ 37690% same
- dongzhigang13305312738-art/paper-skills★ 190% same
Wrote their own version · 13
- K-Dense-AI/claude-scientific-writer★ 2.4ksame name
- LeonChaoX/qinyan-academic-skills★ 932same name
- jaechang-hits/SciAgent-Skills★ 369same name
- qinyan-ai/qinyan-academic-skills★ 80same name
- Chanw-research/claude-code-paper-writing★ 42same name
- Barrios88/barrios-skills★ 30same name
- SoFarSoGoodya/math-history-paper★ 19same name
- ZanderRuss/obsidian-claude★ 19same name
- JunMA98/Computer-science-claude-skills★ 3same name
- AngelCampa1/decision-making-skills★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository142 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- agents/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- claude-md/CLAUDE.mdCLAUDE.md
- hooks/CLAUDE.mdCLAUDE.md
- insight-architectSkill
- agent-teamsSkill
- brainstormingSkill
- claim-decomposerSkill
- context-engineeringSkill
- dispatcherSkill
- git-worktreesSkill
- hd-mavp-routerSkill
- mentor-modeSkill
- reference-registrySkill
- routing-policySkill
- skill-self-updateSkill
- tdd-workflowSkill
- ab-testSkill
- academic-researchSkill
- advanced-methodology-extensionsSkill
- agent-governanceSkill
- algorithm-designSkill
- analystSkill
- archcode-genomicsSkill
- arm-cortex-microcontrollersSkill
- atomizeSkill
- backward-traceabilitySkill
- boyko-goal-expansion-100Skill
- boyko-knowledge-auditSkill
- boyko-leverage-mapSkill
- boyko-methodSkill
- boyko-preflightSkill
- boyko-project-radarSkill
- boyko-scientific-consortiumSkill
- boyko-specialistSkill
- boyko-triangle-auditSkill
- boyko-why-ladderSkill
- browser-actSkill
- build-autoSkill
- c4-architectureSkill
- career-prepSkill
- changelog-genSkill
- code-debuggingSkill
- codex-skepticSkill
- codex-solverSkill
- codex-tracySkill
- combinatorial-creativitySkill
- common-groundSkill
- conductorSkill
- consilienceSkill
- construct-measurement-gateSkill
- cross-domainSkill
- data-analysisSkill
- data-breach-blast-radiusSkill
- defuddleSkill
- design-directionSkill
- diagram-generatorSkill
- error-to-lessonSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
If you have a bibtex_manager.py-style script installed:
- Very specific: line 64
Read the current .tex draft
- Distinctive: line 66
Search Semantic Scholar via script
- Distinctive: line 71
Stop when no more gaps or 20 rounds reached
- Distinctive: line 74
DO NOT add a citation that already exists
- Distinctive: line 75
Only add citations found via API — never fabricate
- Distinctive: line 77
Do not copy verbatim from prior literature
- Very specific: line 81
Run validate_citations.py to catch all issues before compilation.
- Very specific: line 85
Search Semantic Scholar for the paper, extract BibTeX, clean the key, append to .bib.
- Distinctive: line 92
Ensure consistent indentation (2 spaces)
- Distinctive: line 95
Ensure required fields per entry type
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Citation Management
Manage the full lifecycle of citations in a LaTeX paper.
Input
$0— Action:harvest,validate,add,format$1— Path to.texor.bibfile
Scripts
Validate citations (check all cite keys resolve)
python ~/.claude/skills/citation-management/scripts/validate_citations.py \
--tex paper/main.tex --bib paper/references.bib --check-figures --figures-dir paper/figures/Reports: missing citations, unused bib entries, duplicate keys, duplicate sections, duplicate labels, undefined references, missing figures.
Generate BibTeX from paper database (external dependency — not shipped by this repo)
If you have a bibtex_manager.py-style script installed:
python bibtex_manager.py \
--jsonl paper_db.jsonl --output references.bibOtherwise, build the .bib file by hand from each paper's metadata.
Search for a specific paper to add (external dependency — not shipped by this repo)
If you have a search_semantic_scholar.py-style script installed:
python search_semantic_scholar.py \
--query "attention is all you need" --max-results 5 \
--api-key "$(grep S2_API_Key ~/.claude/keys.md 2>/dev/null | cut -d: -f2 | tr -d ' ')"Otherwise, use WebFetch against https://api.semanticscholar.org/graph/v1/paper/search?query=... directly.
Harvest missing citations automatically
python ~/.claude/skills/citation-management/scripts/harvest_citations.py \
--tex paper/main.tex --bib paper/references.bib --output candidates.bib --max-rounds 10Scans .tex for uncited claims, searches Semantic Scholar, outputs candidate BibTeX entries.
Key flags: --dry-run (preview only), --verbose, --api-key
Auto-fix missing citation placeholders
python ~/.claude/skills/citation-management/scripts/validate_citations.py \
--tex paper/main.tex --bib paper/references.bib --fixGenerates references_fixed.bib with placeholder entries for all missing citation keys.
Action: harvest — Iterative Citation Harvesting
Based on AI-Scientist's 20-round citation harvesting loop. For each round:
- Read the current
.texdraft - Identify the most important missing citation
- Search Semantic Scholar via script
- Select the most relevant paper from results
- Extract BibTeX and generate a clean key (
lastNameYearWord) - Append to
.bib(skip if key exists) - Insert
\cite{key}at the appropriate location - Stop when no more gaps or 20 rounds reached
Key rules:
- DO NOT add a citation that already exists
- Only add citations found via API — never fabricate
- Cite broadly — not just popular papers
- Do not copy verbatim from prior literature
Action: validate — Pre-Compilation Check
Run validate_citations.py to catch all issues before compilation. Fix any reported problems.
Action: add — Add Specific Paper
Search Semantic Scholar for the paper, extract BibTeX, clean the key, append to .bib.
BibTeX key format: firstAuthorLastNameYearFirstContentWord (e.g., vaswani2017attention)
Action: format — Standardize .bib
- Sort entries alphabetically by key
- Ensure consistent indentation (2 spaces)
- Remove empty fields
- Protect proper nouns with
{Braces}in titles - Ensure required fields per entry type
Related Skills
- Downstream: paper-compilation, latex-formatting
- See also: related-work-writing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

