Agent skill

Bib Search Citation

by bahayonghang in bahayonghang/academic-writing-skills

Search and cite from local BibTeX/BibLaTeX .bib libraries, including Zotero exports.

No licenceAuto-check passedResearch & Science

Install Bib Search Citation

skills CLI
$ npx skills add bahayonghang/academic-writing-skills --skill bib-search-citation -a claude-code

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

GitHub CLI
$ gh skill install bahayonghang/academic-writing-skills bib-search-citation --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/bahayonghang/academic-writing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/academic-writing-skills/bib-search-citation .claude/skills/bib-search-citation && 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
bib-search-citation
GitHub stars
500
Token cost
~2.3k tokens
SKILL.md length
896 words
Files
19 (incl. scripts, references)
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Search and cite from local BibTeX/BibLaTeX .bib libraries, including Zotero exports.

  • Works in 6 steps: State how many matches were found and… → List top matches with requested research… → Include LaTeX and/or Typst snippets when… → …
  • Generate LaTeX/Typst citation snippets by topic
  • SKILL.md covers Capability Summary, Triggering, Do Not Use and Module Router, plus 7 more sections
  • Runs Python scripts from its folder; calls uv

What it does

Bib Search Citation is an agent skill from bahayonghang/academic-writing-skills. Search and cite from local BibTeX/BibLaTeX .bib libraries, including Zotero exports. Use to find, filter, preview, export, or generate LaTeX/Typst citation snippets by topic, author, year, venue, DOI, arXiv ID, keywords, abstract, fields, recency, or claim support. Do not use for manuscript writing or polishing.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 25 other files, including scripts and reference files (for example `agents/openai.yaml`, `evals/evals.json` and `evals/trigger_eval.json`).

It sits in Research & Science, covering Citation management and LaTeX. It works with LaTeX, Zotero and arXiv. The repository describes itself as: AI-powered post-writing toolkit for academic papers — format validation, grammar/style polishing, de-AI editing, reference checking, and reviewer-style paper audits. 5 skills for…

When your agent uses it

  • Generate LaTeX/Typst citation snippets by topic
  • Manuscript writing

Example prompts

  • “/bib-search-citation”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Bash(uv *)

Workflow steps

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

  1. State how many matches were found and which filters were applied.
  2. List top matches with requested research fields.
  3. Include LaTeX and/or Typst snippets when requested or useful.
  4. Include raw BibTeX only when requested or materially needed.
  5. If no entries match, suggest specific filter relaxations.
  6. Surface meta.recency when recency matters, and the per-result

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash(uv *)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

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

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    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

Bib Search Citation loads about 2.3k tokens when it runs, and up to ~5.6k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 896 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 896 words (~2,274 tokens).

“Research-oriented retrieval over a local .bib file (BibTeX/BibLaTeX, including Zotero exports with fields like shorttitle, annotation, keywords, abstract, file, DOI, URL, eprint). Searches by topic and field filters, returns stable JSON, renders compact previews, emits LaTeX/Typst citation snippets, and returns…”

— opening of SKILL.md by bahayonghang
name
bib-search-citation
allowed-tools
Read, Bash(uv *)
when_to_use
Trigger on prompts like "search my references.bib", "find papers by author/year/venue", "Mamba papers after 2024", "generate \cite{} snippets", "export…
metadata.category
academic-writing
metadata.tags
bibtex, biblatex, citation, latex, typst, bibliography, research, zotero, bib
metadata.version
6.0.0
metadata.last_updated
2026-07-16
argument-hint
--bib library.bib --query QUERY

Read the full SKILL.md on GitHub

Files

SKILL.md and 18 other files (scripts, references) in academic-writing-skills/bib-search-citation of bahayonghang/academic-writing-skills.

  • SKILL.md
  • agents/openai.yaml
  • evals/evals.json
  • evals/trigger_eval.json
  • examples/compact-query.md
  • examples/preview-summary.md
  • examples/raw-bib-export.md
  • references/limitations-and-errors.md
  • references/query-syntax.md
  • references/search-planning.md
  • scripts/preview_bib_search.py
  • scripts/search_bib.py
  • tests/fixtures/biblatex.bib
  • tests/fixtures/broken.bib
  • … and 5 more

Open the folder on GitHubat commit 1689d44

Compare with similar skills

Bib Search Citation 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.

Bib Search Citation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bib Search Citation this skillbahayonghang/academic-writing-skills500—~2.3kAutomated safety check: PassNone
Arxiv MCP Serverblazickjp/arxiv-mcp-server3.2k—~353Automated safety check: PassApache-2.0
Arxiv Paper Writerappautomaton/latex-arxiv-SKILL458—~2.3kAutomated safety check: PassMIT
Arxiv Paper Writeryunshenwuchuxun/latex-paper-skills267—~3.2kAutomated safety check: PassMIT
SearchMuuuun/luxas1.2k—~2.3kAutomated safety check: WarnMIT
Arxiv PreflightMathews-Tom/armory329—~2kAutomated safety check: PassMIT

Similar skills

  • 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
  • Arxiv Paper Writer

    appautomaton/latex-arxiv-SKILL

    Write LaTeX ML/AI review articles for arXiv using the IEEEtran template and verified BibTeX citations.

    458 GitHub stars~2.3k tokensUpdated 27 days ago
    Research & ScienceAuto-check passed
  • Arxiv Paper Writer

    yunshenwuchuxun/latex-paper-skills

    Writes ML/AI review and survey papers for arXiv using the IEEEtran LaTeX template with verified BibTeX citations.

    267 GitHub stars~3.2k tokensUpdated 6 mo ago
    Research & ScienceAuto-check passed
  • Search

    Muuuun/luxas

    Unified academic paper search, citation chains, paper download (arXiv LaTeX/PDF, Sci-Hub), figure extraction from papers, LaTeX source reading, BibTeX fetching, web search, and browser automation…

    1.2k GitHub stars~2.3k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: warnings
  • Arxiv Preflight

    Mathews-Tom/armory

    Pre-submission validation audit for arXiv papers across TeX source, PDF, figures, metadata, bibliography, file organization, and common-error scans.

    329 GitHub stars~2k tokensUpdated 5 days ago
    Research & ScienceAuto-check passed
  • Latex Paper Artifact

    BingHanOfUESTC/open_agent_team

    A skill your agent uses when producing the final arXiv-style LaTeX paper, BibTeX, figures, tables, reproducibility statement, appendix, and artifact manifest.

    106 GitHub stars~635 tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed

More from bahayonghang/academic-writing-skills

All 8 skills in this repo
  • Cover Letter

    bahayonghang/academic-writing-skills

    Submission cover-letter assistant for existing LaTeX manuscripts.

    500 GitHub stars~2.8k tokensUpdated 13 days ago
    Auto-check passed
  • Latex Paper En

    bahayonghang/academic-writing-skills

    English LaTeX assistant for existing .tex journal or conference papers.

    500 GitHub stars~4.9k tokensUpdated 13 days ago
    Auto-check passed
  • Paper Audit

    bahayonghang/academic-writing-skills

    Reviewer-style audit and submission gate for academic papers in .tex, .typ, or .pdf.

    500 GitHub stars~5.1k tokensUpdated 13 days ago
    Auto-check passed
  • Typst Paper

    bahayonghang/academic-writing-skills

    Typst paper assistant for existing .typ manuscripts in English or Chinese.

    500 GitHub stars~3.6k tokensUpdated 13 days ago
    Auto-check passed
  • Paper Writing Studio

    bahayonghang/academic-writing-skills

    Use this academic writing skill to polish or translate academic writing with an explicit Nature, IEEE, Elsevier, or neutral profile.

    500 GitHub stars~2.4k tokensUpdated 13 days ago
    Auto-check passed
  • Latex Defense Zh

    bahayonghang/academic-writing-skills

    Chinese thesis defense deck builder for existing XeLaTeX PhD or master thesis repositories.

    500 GitHub stars~2.2k tokensUpdated 13 days ago
    Auto-check passed

Questions about Bib Search Citation

What does Bib Search Citation do?

Search and cite from local BibTeX/BibLaTeX .bib libraries, including Zotero exports. Bib Search Citation is an agent skill from bahayonghang/academic-writing-skills.bib libraries, including Zotero exports.

When should I use Bib Search Citation?

Bib Search Citation fits situations like: generate LaTeX/Typst citation snippets by topic; manuscript writing.

How do I install Bib Search Citation in Claude Code?

Run `npx skills add bahayonghang/academic-writing-skills --skill bib-search-citation -a claude-code`. Or copy the skill folder (academic-writing-skills/bib-search-citation in bahayonghang/academic-writing-skills) into .claude/skills/bib-search-citation in your project. Claude Code loads it when a task matches its description.

How do I install Bib Search Citation in Codex?

Run `npx skills add bahayonghang/academic-writing-skills --skill bib-search-citation -a codex`. Or copy the skill folder (academic-writing-skills/bib-search-citation in bahayonghang/academic-writing-skills) into .agents/skills/bib-search-citation in your project. Codex loads it when a task matches its description.

Can I use Bib Search Citation 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 bahayonghang/academic-writing-skills --skill bib-search-citation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bib-search-citation, .gemini/skills/bib-search-citation, .github/skills/bib-search-citation and .opencode/skills/bib-search-citation in your project.

What does Bib Search Citation need to run?

Going by SKILL.md and its folder, Bib Search Citation needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Bash(uv *).

Does Bib Search Citation access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Bib Search Citation 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bib Search Citation use?

No licence was found for Bib Search Citation or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Bib Search Citation use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.

What are the alternatives to Bib Search Citation?

Skills that share tags, products or a category with Bib Search Citation: Arxiv MCP Server (blazickjp/arxiv-mcp-server, 3.2k stars), Arxiv Paper Writer (appautomaton/latex-arxiv-SKILL, 458 stars), Arxiv Paper Writer (yunshenwuchuxun/latex-paper-skills, 267 stars) and Search (Muuuun/luxas, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bib Search Citation?

bahayonghang (a GitHub user) maintains it in bahayonghang/academic-writing-skills, which has 500 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 28, 2026.

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