/sjh-skills:bibtex-fetchfrom sjh-skills
Fetches BibTeX entries from arXiv (by ID) or Semantic Scholar (by title search) and generates ready-to-paste citations for .bib files.
Ships in sjh-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Fetch correct BibTeX entries from arXiv (by ID) or Semantic Scholar (by title search). Zero dependencies — uses only Python stdlib.
scripts/bibtex_fetch.py — single self-contained Python script.
Given one or more arXiv IDs, fetch metadata from the arXiv API and generate BibTeX.
python3 scripts/bibtex_fetch.py fetch <arxiv_id> [<arxiv_id> ...] [--key <bibkey> ...]
Examples:
# Single paper
python3 scripts/bibtex_fetch.py fetch 2312.14135
# Multiple papers
python3 scripts/bibtex_fetch.py fetch 2312.14135 2505.14362 2408.15556
# With custom bibkeys
python3 scripts/bibtex_fetch.py fetch 2312.14135 --key vstar
# Full URL also works
python3 scripts/bibtex_fetch.py fetch https://arxiv.org/abs/2312.14135
Output: Standard @article{...} BibTeX entries, ready to paste into .bib files.
Search Semantic Scholar for papers matching a query, then auto-fetch BibTeX for results that have arXiv IDs.
python3 scripts/bibtex_fetch.py search "<query>"
Examples:
python3 scripts/bibtex_fetch.py search "V* Guided Visual Search"
python3 scripts/bibtex_fetch.py search "DeepEyes Thinking with Images"
Output: Top 5 search results with author, year, and arXiv ID, followed by BibTeX for all results that have arXiv IDs.
When the user asks to cite a paper:
fetchsearch.bib file and ask to check/fix entries → extract arXiv IDs from the file, fetch them, compare with existing entries{first_author_last_name}{year}{first_significant_title_word} (e.g., wu2023guided)Last, First style, max 5 authors then and othershttps://arxiv.org/abs/ prefix and version suffixes (v1, v2)| Error | Behavior |
|---|---|
| arXiv ID not found | Prints % NOT FOUND: <id> to stderr, continues with next |
| Semantic Scholar 429 | Waits 5s and retries once |
| Network timeout | Prints error to stderr, continues with remaining IDs |
| Non-arXiv paper in search | Shows in results list but no BibTeX generated |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jiahao-shao1/sjh-skills --plugin sjh-skills15 skills in this plugin
/context-auditAudit project context management (CLAUDE.md, rules, knowledge) for progressive disclosure compliance. Checks that all knowledge files are reachable from rules, detects stale references, orphaned files, and CLAUDE.md index leakage. Triggers: 'audit context', 'check context', 'context hygiene', 'context audit', '检查 context', '审计上下文', 'knowledge 覆盖检查'. NOT for: code review, rule content correctness, or knowledge content quality./daily-summaryProduce daily/yesterday work summary (日报) by aggregating Claude Code sessions, Git commits, and Notion task data — git log alone cannot do this. Args: today (default), yesterday, 24h, YYYY-MM-DD. Triggers: 'daily summary', 'what did I do today', 'yesterday summary', '日报', '今天干了什么', '工作总结', '某天做了什么'. Not for weekly reports or summarizing files./Other plugins' skills for the same job