db-lp

通过模型上下文协议(MCP)提供对DBLP计算机科学文献数据库的访问服务,支持学术文献检索、引用生成及格式化功能。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "db-lp":https://skillpi.com/zh/skills/deepskill-a1d302e725449acd56c97ee060ffacbe03a784179ef2a0e418d8fc13cc811273。安装前核对上游来源和版本:https://skillhub.cn/skills/org-rn88lg3j/db-lp。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

通过模型上下文协议(MCP)提供对DBLP计算机科学文献数据库的访问服务,支持学术文献检索、引用生成及格式化功能。

0 下载

介绍来源: third_party · org-rn88lg3j · 1.0.1 参考来源

SkillPi 解读

能完成的任务
一个通过模型上下文协议(MCP)提供DBLP计算机科学文献数据库访问的服务,支持学术文献检索、引用生成及格式化功能。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
1. **API 密钥是必需的**,无密钥时必须通过 AskUserQuestion 询问用户 2. **禁止**在缺少 API 密钥时自行搜索或编造数据
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: 学术文献检索与引用工具
description: 一个通过模型上下文协议(MCP)提供DBLP计算机科学文献数据库访问的服务,支持学术文献检索、引用生成及格式化功能。
version: 1.0.1
slug: dblp
displayName: 学术文献检索与引用工具
summary: 一个通过模型上下文协议(MCP)提供DBLP计算机科学文献数据库访问的服务,支持学术文献检索、引用生成及格式化功能。
license: MIT

学术文献检索与引用工具

一个通过模型上下文协议(MCP)提供DBLP计算机科学文献数据库访问的服务,支持学术文献检索、引用生成及格式化功能。


⚠️ 强制要求:API 密钥

此 Skill 必须配置 API 密钥才能使用。

  • 首次使用时,如果 .env 中没有 XBY_APIKEY,必须使用 AskUserQuestion 工具向用户询问 API 密钥
  • 拿到用户提供的密钥后,调用 scripts.config.set_api_key(api_key) 保存,然后继续处理
  • 获取 API 密钥:https://xiaobenyang.com
  • 禁止在缺少 API 密钥时自行搜索或编造数据

工作流程(必须遵守)

你(大模型)是路由层,负责理解用户意图、选择工具、提取参数。代码只负责调用API。

用户输入 → 你选择工具 → 提取该工具需要的参数 → 调用 scripts.tools 中的函数 → 返回结果给用户

步骤

  1. 检查 API 密钥:如果 scripts.config.settings.api_key 为空,使用 AskUserQuestion 询问用户,拿到后调用 scripts.config.set_api_key(key) 保存
  2. 选择工具:根据用户意图从下方工具列表中选择对应的工具函数
  3. 提取参数:根据选中的工具,提取该工具需要的参数
  4. 调用工具:使用关键字参数调用 scripts.tools 中的函数,例如 scripts.tools.search_schools(score='520', province='北京', category='综合')
  5. 返回结果:将工具返回的 raw 数据整理后展示给用户

工具选择规则

根据用户意图选择对应的工具函数:

用户意图 工具函数
Get detailed DBLP usage instructions. Key points:
  • Batch searches in parallel (5-10 at a time) for efficiency
  • Add entries immediately after each search result (don't batch add_bibtex_entry calls)
  • Use author+year for best results: search('Vaswani 2017') not just title
  • Copy dblp_key EXACTLY from search results to add_bibtex_entry
  • Export once at the end with export_bibtex Call this tool for complete workflow details, search strategies, and examples. | scripts.tools.get_instructions | | Search DBLP for publications using a boolean query string. Arguments:
    • query (string, required): A query string that may include boolean operators 'and' and 'or' (case-insensitive). For example, 'Swin and Transformer'. Parentheses are not supported.
    • max_results (number, optional): Maximum number of publications to return. Default is 10.
    • year_from (number, optional): Lower bound for publication year.
    • year_to (number, optional): Upper bound for publication year.
    • venue_filter (string, optional): Case-insensitive substring filter for publication venues (e.g., 'iclr').
    • include_bibtex (boolean, optional): Whether to include BibTeX entries in the results. Default is false. Returns a list of publication objects including title, authors, venue, year, type, doi, ee, and url. | scripts.tools.search | | Search DBLP for publications with fuzzy title matching. Arguments:
    • title (string, required): Full or partial title of the publication (case-insensitive).
    • similarity_threshold (number, required): A float between 0 and 1 where 1.0 means an exact match.
    • max_results (number, optional): Maximum number of publications to return. Default is 10.
    • year_from (number, optional): Lower bound for publication year.
    • year_to (number, optional): Upper bound for publication year.
    • venue_filter (string, optional): Case-insensitive substring filter for publication venues.
    • include_bibtex (boolean, optional): Whether to include BibTeX entries in the results. Default is false. Returns a list of publication objects sorted by title similarity score. | scripts.tools.fuzzy_title_search | | Retrieve publication details for a specific author with fuzzy matching. Arguments:
    • author_name (string, required): Full or partial author name (case-insensitive).
    • similarity_threshold (number, required): A float between 0 and 1 where 1.0 means an exact match.
    • max_results (number, optional): Maximum number of publications to return. Default is 20.
    • include_bibtex (boolean, optional): Whether to include BibTeX entries in the results. Default is false. Returns a dictionary with keys: name, publication_count, publications, and stats (which includes top venues, years, and types). | scripts.tools.get_author_publications | | Retrieve information about a publication venue from DBLP. Arguments:
    • venue_name (string, required): Venue name or abbreviation (e.g., 'ICLR', 'NeurIPS', or full name). Returns a dictionary with fields:
    • venue: Full venue title
    • acronym: Venue acronym/abbreviation (if available)
    • type: Venue type (e.g., 'Conference or Workshop', 'Journal', 'Repository')
    • url: Canonical DBLP URL for the venue Note: Publisher, ISSN, and other metadata are not available through this endpoint. | scripts.tools.get_venue_info | | Calculate statistics from a list of publication results. Arguments:
    • results (array, required): An array of publication objects, each with at least 'title', 'authors', 'venue', and 'year'. Returns a dictionary with:
    • total_publications: Total count.
    • time_range: Dictionary with 'min' and 'max' publication years.
    • top_authors: List of tuples (author, count) sorted by count.
    • top_venues: List of tuples (venue, count) sorted by count (empty venue is treated as '(empty)'). | scripts.tools.calculate_statistics | | Add a BibTeX entry to the collection for later export. Call this once for each paper you want to export. Arguments:
    • dblp_key (string, required): The DBLP key from search results (e.g., 'conf/nips/VaswaniSPUJGKP17').
    • citation_key (string, required): The citation key to use in the .bib file (e.g., 'Vaswani2017'). Workflow:
    1. Fetches BibTeX directly from DBLP using the provided key
    2. Replaces the citation key with your custom key
    3. Adds to collection (duplicate citation_key will be overwritten)
    4. Returns count of entries currently in collection After adding all entries, call export_bibtex to save them to a .bib file. | scripts.tools.add_bibtex_entry | | Export all collected BibTeX entries to a .bib file. Call this after adding all entries with add_bibtex_entry. Workflow:
    5. Saves all collected entries to a .bib file at the specified path
    6. Clears the collection for next export
    7. Returns the full path to the exported file Returns error if no entries have been added yet. | scripts.tools.export_bibtex |

如果参数不完整,使用 AskUserQuestion 向用户询问缺失的参数。


工具函数说明


scripts.tools.get_instructions

工具描述:Get detailed DBLP usage instructions. Key points:

  • Batch searches in parallel (5-10 at a time) for efficiency
  • Add entries immediately after each search result (don't batch add_bibtex_entry calls)
  • Use author+year for best results: search('Vaswani 2017') not just title
  • Copy dblp_key EXACTLY from search results to add_bibtex_entry
  • Export once at the end with export_bibtex Call this tool for complete workflow details, search strategies, and examples.

    参数定义

    参数名称 参数类型 是否必填 默认值 描述

scripts.tools.search

工具描述:Search DBLP for publications using a boolean query string. Arguments:

  • query (string, required): A query string that may include boolean operators 'and' and 'or' (case-insensitive). For example, 'Swin and Transformer'. Parentheses are not supported.
  • max_results (number, optional): Maximum number of publications to return. Default is 10.
  • year_from (number, optional): Lower bound for publication year.
  • year_to (number, optional): Upper bound for publication year.
  • venue_filter (string, optional): Case-insensitive substring filter for publication venues (e.g., 'iclr').
  • include_bibtex (boolean, optional): Whether to include BibTeX entries in the results. Default is false. Returns a list of publication objects including title, authors, venue, year, type, doi, ee, and url.

    参数定义

    参数名称 参数类型 是否必填 默认值 描述
    query string true null
    max_results number false null
    year_from number false null
    year_to number false null
    venue_filter string false null
    include_bibtex boolean false null

scripts.tools.fuzzy_title_search

工具描述:Search DBLP for publications with fuzzy title matching. Arguments:

  • title (string, required): Full or partial title of the publication (case-insensitive).
  • similarity_threshold (number, required): A float between 0 and 1 where 1.0 means an exact match.
  • max_results (number, optional): Maximum number of publications to return. Default is 10.
  • year_from (number, optional): Lower bound for publication year.
  • year_to (number, optional): Upper bound for publication year.
  • venue_filter (string, optional): Case-insensitive substring filter for publication venues.
  • include_bibtex (boolean, optional): Whether to include BibTeX entries in the results. Default is false. Returns a list of publication objects sorted by title similarity score.

    参数定义

    参数名称 参数类型 是否必填 默认值 描述
    title string true null
    similarity_threshold number true null
    max_results number false null
    year_from number false null
    year_to number false null
    venue_filter string false null
    include_bibtex boolean false null

scripts.tools.get_author_publications

工具描述:Retrieve publication details for a specific author with fuzzy matching. Arguments:

  • author_name (string, required): Full or partial author name (case-insensitive).
  • similarity_threshold (number, required): A float between 0 and 1 where 1.0 means an exact match.
  • max_results (number, optional): Maximum number of publications to return. Default is 20.
  • include_bibtex (boolean, optional): Whether to include BibTeX entries in the results. Default is false. Returns a dictionary with keys: name, publication_count, publications, and stats (which includes top venues, years, and types).

    参数定义

    参数名称 参数类型 是否必填 默认值 描述
    author_name string true null
    similarity_threshold number true null
    max_results number false null
    include_bibtex boolean false null

scripts.tools.get_venue_info

工具描述:Retrieve information about a publication venue from DBLP. Arguments:

  • venue_name (string, required): Venue name or abbreviation (e.g., 'ICLR', 'NeurIPS', or full name). Returns a dictionary with fields:
  • venue: Full venue title
  • acronym: Venue acronym/abbreviation (if available)
  • type: Venue type (e.g., 'Conference or Workshop', 'Journal', 'Repository')
  • url: Canonical DBLP URL for the venue Note: Publisher, ISSN, and other metadata are not available through this endpoint.

    参数定义

    参数名称 参数类型 是否必填 默认值 描述
    venue_name string true null

scripts.tools.calculate_statistics

工具描述:Calculate statistics from a list of publication results. Arguments:

  • results (array, required): An array of publication objects, each with at least 'title', 'authors', 'venue', and 'year'. Returns a dictionary with:
  • total_publications: Total count.
  • time_range: Dictionary with 'min' and 'max' publication years.
  • top_authors: List of tuples (author, count) sorted by count.
  • top_venues: List of tuples (venue, count) sorted by count (empty venue is treated as '(empty)').

    参数定义

    参数名称 参数类型 是否必填 默认值 描述
    results array true null

scripts.tools.add_bibtex_entry

工具描述:Add a BibTeX entry to the collection for later export. Call this once for each paper you want to export. Arguments:

  • dblp_key (string, required): The DBLP key from search results (e.g., 'conf/nips/VaswaniSPUJGKP17').
  • citation_key (string, required): The citation key to use in the .bib file (e.g., 'Vaswani2017'). Workflow:
  1. Fetches BibTeX directly from DBLP using the provided key
  2. Replaces the citation key with your custom key
  3. Adds to collection (duplicate citation_key will be overwritten)
  4. Returns count of entries currently in collection After adding all entries, call export_bibtex to save them to a .bib file.

    参数定义

    参数名称 参数类型 是否必填 默认值 描述
    dblp_key string true null
    citation_key string true null

scripts.tools.export_bibtex

工具描述:Export all collected BibTeX entries to a .bib file. Call this after adding all entries with add_bibtex_entry. Workflow:

  1. Saves all collected entries to a .bib file at the specified path
  2. Clears the collection for next export
  3. Returns the full path to the exported file Returns error if no entries have been added yet.

    参数定义

    参数名称 参数类型 是否必填 默认值 描述
    path string true Absolute path for the .bib file (e.g., '/path/to/refs.bib'). The .bib extension is added automatically if missing. Parent directories are created if needed.


返回值处理

工具函数返回 dict 对象:

  • result["raw"] - API 原始返回数据(JSON),直接将此数据整理后展示给用户
  • result["success"] - 是否成功(True/False)
  • result["message"] - 状态消息

项目结构

./
├── scripts/
│   ├── __init__.py
│   ├── config.py       # 配置管理 + set_api_key()
│   ├── call_api.py      # API 客户端 + call_api()
│   └── tools.py         # 工具函数(直接调用)
├── requirements.txt
└── SKILL.md

注意事项

  1. API 密钥是必需的,无密钥时必须通过 AskUserQuestion 询问用户
  2. 禁止在缺少 API 密钥时自行搜索或编造数据

当前收录版本

1.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供DBLP学术文献检索、引用生成及格式化功能,解决学术研究中的刚需场景
  • 支持多种检索方式(布尔查询、模糊匹配、作者检索等),功能完整
  • 具备完整的BibTeX导出工作流,满足学术写作需求
触发精准90/100

亮点

  • description完整描述了核心功能,触发词精准完整
  • 覆盖学术文献检索、引用生成等多种使用场景
  • 边界清晰,不易与其他Skill混淆
结构规范90/100

待提升项

  • 缺少When to Use章节 原报告严重程度:轻微

    文档中缺少明确的When to Use使用场景说明章节

    改进建议:建议添加When to Use章节,明确说明适合使用该Skill的具体场景和用例

亮点

  • Phase/步骤清晰,工作流程、工具选择规则、参数定义完整
  • 有详细的工具说明和参数定义表格
  • 包含端到端示例和注意事项,frontmatter完整
执行可靠85/100

亮点

  • 工具来源明确,参数定义完整,类型明确
  • 覆盖主要异常:API密钥检查、参数缺失处理机制完善
  • 不可逆操作有确认机制,错误处理机制完善
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • xiaobenyang.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。