citation-and-bib-cleanup

citation-and-bib-cleanup is a skill for Claude Code, Codex from CodeInfinity1/Stram. It costs 27 tokens per session (471 once invoked), scanned A, original, MIT.

A workflow for checking and cleaning citation lists, bibliography entries, and paper metadata against source evidence.

In plain words
What is it for?
Use it to verify DOI or arXiv records, normalize references, label uncertainty, and create Markdown, JSON, or BibTeX bibliographies.
Why use it?
It helps fix missing or inconsistent reference details without inventing authors, titles, dates, links, or identifiers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to verify DOI or arXiv records, normalize references, label uncertainty, and create Markdown, JSON, or BibTeX bibliographies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codeinfinity1/stram/citation-and-bib-cleanup
Install

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.

Any agent
npx skills add CodeInfinity1/Stram --skill citation-and-bib-cleanup
Clone the repo
git clone --depth 1 https://github.com/CodeInfinity1/Stram

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for citation-and-bib-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/codeinfinity1/stram/citation-and-bib-cleanup/github.svg)](https://agentmods.dev/skills/codeinfinity1/stram/citation-and-bib-cleanup)
Your own site
<a href="https://agentmods.dev/skills/codeinfinity1/stram/citation-and-bib-cleanup"><img src="https://agentmods.dev/badge/skills/codeinfinity1/stram/citation-and-bib-cleanup/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.

agentmods 80×15 button for citation-and-bib-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/codeinfinity1/stram/citation-and-bib-cleanup"><img src="https://agentmods.dev/badge/skills/codeinfinity1/stram/citation-and-bib-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00471
Opus 5.5 $0.00011 $0.00188
Sonnet 5.5 $0.00005 $0.00094
Haiku 4.5 $0.00003 $0.00047

Measured 1mo ago against content hash 0a2455b1ad66, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

citation-and-bib-cleanup 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 1mo 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.

skills/office-productivity/citation-and-bib-cleanup/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Citation And Bib Cleanup

Purpose

Improve citations and bibliographies without inventing metadata. This skill checks titles, authors, venues, years, URLs, and BibTeX-like fields from evidence.

When To Use

Use for BibTeX cleanup, citation lists, related-work references, DOI/arXiv metadata checks, and bibliography formatting.

Inputs And Evidence

  • Existing citation entries, paper links, PDFs, DOIs, arXiv IDs, and target style.
  • Source metadata from web/PDF evidence.

Tool Map

  • research_webpages
  • fetch_webpage
  • read_pdf
  • research-paper-search
  • citation_bibliography_create
  • citation_bibliography_inspect
  • write_note

Workflow

  1. Parse existing entries and identify missing fields.
  2. Verify metadata from source pages or PDFs.
  3. Normalize authors, titles, venues, dates, URLs, identifiers, source references, and uncertainty labels in structured fields.
  4. Use citation_bibliography_create to produce Markdown, JSON metadata, and BibTeX artifacts from explicit evidence.
  5. Use citation_bibliography_inspect to verify entry counts, uncertainty counts, and preview text before responding.
  6. Do not fabricate unavailable metadata.

Native Implementation Boundaries

  • Use Stram web/PDF/search tools.
  • Do not import external reference abstract searcher or citation scripts.
  • Dedicated DOI/arXiv adapters must be native.
  • Bibliography creation is artifact-only; it does not claim live DOI/arXiv verification unless source evidence is provided.

Safety And Approval

  • Avoid plagiarism and fake citations.
  • Respect source access limits.
  • Do not over-normalize names without evidence.

Verification

  • Each cleaned entry should have source evidence.
  • Unverified fields should be marked.
  • Inspect the bibliography artifact and BibTeX sidecar.
  • Formatting should match requested style.

Failure Modes

  • Hallucinating DOI/venue.
  • Changing title casing incorrectly for proper nouns.
  • Losing URLs or access dates.

References

  • Shortlist item: citation-and-bib-cleanup.

Read the full file on GitHub · 69 lines

Changes

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.

  1. 1mo ago First seen · 69 lines · 27 tokens per session scan A 0a2455b1ad66

Subscribe to this mod's changes

citation-and-bib-cleanup is a skill published in the GitHub repository CodeInfinity1/Stram (11 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 471 once invoked, about $0.0001 per session on Opus 5.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-09-03.