dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Zam233/dsh-google-scholar
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness 插件:通过 SerpAPI 检索 Google Scholar, 注册三个 LLM 工具(共享 SerpAPI 月配额)。
| 工具 | 说明 |
|---|---|
google_scholar_search |
检索 Google Scholar 学术论文(支持 author: / source: 修饰符) |
google_scholar_cited_by |
查询引用某文献的论文(参数 cites_id 取自上一步结果的 cites_id 字段) |
google_scholar_all_versions |
查询某论文的全部版本(参数 cluster_id 取自上一步结果的版本 cluster_id 字段) |
本插件不自带 API Key,需要你自己的 SerpAPI 账号:
a1b2c3...,64 位十六进制字符串)。💡 免费额度有限,三个工具共用同一个账号额度。翻页会额外消耗: 优先加大
num(每页结果数)而不是反复翻页。
把 Key 写进你的 profile 层(该文件不在仓库内,不会被提交):
# $DSH_HOME/profiles/<profile>/cordis.patch.yml
- id: dsh-google-scholar
config:
serpapi_key: <你的 SerpAPI Key>
max_results: 10 # 每次调用默认返回条数 1-20,默认 10
插件自带的 cordis.patch.yml 只含空占位值,不要改那个文件——
bundle patch 负责「挂载」,profile 层负责「配置」,同 id 覆盖由 DSH loader 保证。
重启 dsh web(宿主插件在启动时加载,改动不会热更新)。
dsh --profile web --dump-config # 只打印组合配置,不启动服务;确认 serpapi_key 已生效
随后让 Agent 调用一次 google_scholar_search(参数 q,例如 transformer architecture)即可看到结果。
把下面这段发给你的 Agent:
请帮我配置 dsh-google-scholar 插件:
1. 我已经注册好 SerpAPI,你把我的 API Key 写进
$DSH_HOME/profiles/<当前 profile>/cordis.patch.yml:
- id: dsh-google-scholar
config:
serpapi_key: <我会给你的 Key>
max_results: 10
注意:插件自带的 cordis.patch.yml 里是空占位值,不要改那个文件;
真实 Key 只写在 profile 层(不在仓库内,不会被提交)。
2. 运行 `dsh --profile <当前 profile> --dump-config` 确认配置已生效
(该命令只打印配置,不会启动服务)。
3. 提醒我重启 `dsh web`,然后用 `google_scholar_search` 发一次
q=transformer architecture 的测试调用,确认能返回结果。
| 字段 | 必填 | 说明 |
|---|---|---|
serpapi_key |
✅ | SerpAPI Private API Key(https://serpapi.com/manage-api-key) |
max_results |
— | 每次调用默认返回的最大结果数(1-20),默认 10 |
未配置 Key 时工具会返回「未配置 SerpAPI Key」提示,不会抛异常。
dsh plugin --profile web add link:C:/Users/<you>/.dsh/plugins/dsh-google-scholar
或从 Git 安装:
dsh plugin --profile web add git+https://github.com/Zam233/dsh-google-scholar.git
num 而非多次翻页,以节省配额hl 为界面语言(如 en / zh-CN),lr 为语言限制(如 lang_zh-CN),as_ylo / as_yhi 限定起止年份scisbd 控制排序:0=相关度,1=新摘要,2=新全部本项目代码以 GNU GPL-3.0-or-later 发布,见 LICENSE。
THIRD-PARTY-NOTICES.md。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。