cite
Finds a paper by title, author, or DOI, adds BibTeX to references.bib, and shows citation syntax. Use when adding a reference.
它会碰到什么
扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Add Citation
Find a paper, create a BibTeX entry, add it to references.bib, and provide the citation syntax.
Arguments
$ARGUMENTS— a paper description, title, author name, or DOI (e.g., "Acemoglu 2001 colonial origins" or "10.1257/aer.91.5.1369")
Steps
- Parse the argument to determine if it is a DOI or a descriptive search query.
- Search for the paper:
- If a DOI is provided, fetch the metadata directly (use web search or CrossRef)
- If a description is provided, search the web to identify the paper and its DOI/metadata
- Construct a valid BibTeX entry with these fields (at minimum):
@article{key,(or@book,@incollection, etc. as appropriate)author,title,journal(orbooktitle),year,volume,number,pages,doi- Use a citation key in the format:
lastname_yearword(e.g.,acemoglu2001colonial)
- Read
references.biband check for duplicate keys:
- If the exact key already exists, inform the user and show the existing entry
- If a similar key exists (same author and year), warn the user
- Append the new entry to
references.bib(add a blank line before the new entry)
- Show the user the citation syntax for use in
index.qmd:
- Narrative:
@key→ "Author (Year)" - Parenthetical:
[@key]→ "(Author, Year)" - Multiple:
[@key1; @key2]
- Ask if the user wants to create an annotation note in
references/(see/project:literature-note)
Error handling
- If the paper cannot be found, report the search results and ask the user to provide more details or a DOI.
- If
references.bibdoes not exist, create it with the new entry.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 3,829
本站分层T1
该仓技能数1161
原文件路径
skills/29-quarcs-lab-project20XXy/dot-claude/skills/cite/SKILL.md同一个仓库里的其他技能
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-R
- Full-empirical-analysis-skill-Stata
- auto-empirical-research-skills
- StatsPAI_skill
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-Stata
- Full-empirical-analysis-skill-R
- academic-paper-composer
- academic-paper-strategist
- medical-imaging-review
- paper-slide-deck