360 Secure SkillHub
360 安全技能中心

citation-finder

核心功能:支持中英模糊文献标题/描述输入,自动识别语言,并行检索CrossRef、Semantic Scholar、百度学术、知网等数据库,匹配目标文献后生成GB/T7714、APA7th、MLA9th格式引用及来源链接;依匹配置信度返回结果、候选确认或提示补充信息。典型场景:需查找文献、生成规范引用格式时使用。

antonia-sz
antonia-sz
热度 60.15
最近更新 2026-05-11 17:29:48
分类:搜索依赖:代码执行 / 第三方 API / 联网浏览搜索应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add citation-finder
Metadata
name
citation-finder
description
Academic citation lookup and formatter. Given a fuzzy paper title (Chinese or English), searches CrossRef, Semantic Scholar, Baidu Scholar, and CNKI, then returns GB/T 7714, APA 7th, and MLA 9th formatted citations with source links.

Citation Finder Skill

Description

Academic citation lookup and formatter. Given a fuzzy paper title or description (in Chinese or English), searches both Chinese and English academic databases, identifies the most likely paper, and returns formatted citations in GB/T 7714, APA, and MLA formats along with source links.

Trigger Conditions

Use this skill when the user:

  • Asks to find a paper or citation (e.g. "帮我找这篇文献", "cite this paper", "这篇论文怎么引用")
  • Provides a fuzzy or partial paper title in Chinese or English
  • Asks to format a reference in GB/T 7714, APA, or MLA
  • Uses keywords: 参考文献, 引用格式, 文献查找, find paper, citation, reference, cite

Workflow

  1. Detect input language (Chinese / English / mixed)
  2. Search in parallel:
    • English: CrossRef API + Semantic Scholar API
    • Chinese: Baidu Scholar (web scrape) + CNKI search
  3. Score and rank candidates by title similarity + metadata completeness
  4. If top match confidence > 80%: return directly
  5. If confidence 50–80%: show top 3 candidates, ask user to confirm
  6. If confidence < 50%: inform user and ask for more details
  7. Format confirmed paper into GB/T 7714, APA 7th, MLA 9th
  8. Return citations + DOI/source URL

Usage

用法:直接描述或粘贴模糊文献标题
示例:帮我找一下 "注意力机制在自然语言处理中的应用" 这篇论文的引用格式
示例:find citation for "attention is all you need"

Scripts

  • scripts/search_en.py — CrossRef + Semantic Scholar search
  • scripts/search_cn.py — Baidu Scholar + CNKI search
  • scripts/format_cite.py — Citation formatter (GB/T 7714, APA, MLA)
  • scripts/run.py — Main entry point (orchestrates all steps)

Dependencies

requests>=2.28.0
beautifulsoup4>=4.11.0
rapidfuzz>=3.0.0

Install: pip install requests beautifulsoup4 rapidfuzz