← 返回 Skills 市场
48
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wipo-patent-weekly
功能描述
WIPO 小分子药物专利周报。每周定期检索 WIPO PatentScope 上新发布的小分子药物相关专利,生成 HTML 报告并上传 Google Drive。 当用户提到「专利周报」「WIPO专利」「专利检索」「小分子专利」时触发。 也用于 cron 定时任务:每周四 16:30 自动执行。
使用说明 (SKILL.md)
WIPO 小分子药物专利周报
执行流程
Step 1: 计算日期范围(上周三到上周四)
Step 2: 运行 wipo_search.py 抓取专利数据 → JSON
Step 3: 运行 wipo_generate_report.py 生成 HTML 报告
Step 4: 上传到 Google Drive
Step 5: 输出摘要信息
Step 1: 日期范围
- 默认日期范围:上周三到上周四(即运行日的前一周三至周四)
- 如果手动指定日期,使用指定日期
- 日期格式:DD.MM.YYYY(WIPO PatentScope 要求格式)
运行脚本自动计算日期:
python3 scripts/wipo_search.py \x3Cstart_date> \x3Cend_date>
或手动计算:
python3 -c "
from datetime import datetime, timedelta
today = datetime.now()
# 上周四
last_thu = today - timedelta(days=(today.weekday() - 3) % 7 + 7) if today.weekday() >= 3 else today - timedelta(days=today.weekday() + 4)
last_wed = last_thu - timedelta(days=1)
print(f'{last_wed.strftime(\"%d.%m.%Y\")} {last_thu.strftime(\"%d.%m.%Y\")}')
"
Step 2: 抓取专利数据
cd ~/.openclaw/workspace
python3 scripts/wipo_search.py \x3Cstart_date> \x3Cend_date>
输出: wipo_reports/wipo_patent_weekly_\x3Cdate>.json
技术说明:
- 使用 Playwright + Chromium 无头浏览器渲染 WIPO PatentScope JS 页面
- 必须先访问主页
search.jsf建立 session,再跳转结果页 - 翻页通过 JS DOM 操作
a.lb-next点击实现 - 每页 10 条,最多翻 20 页(200 条)
查询条件:
- IPC 分类:C07D(杂环化合物)/ C07C(无环化合物)/ A61K31(含有机有效成分的医药配制品)
- 关键词:inhibitor/antagonist/agonist/degrader/PROTAC/small molecule/binder/ligand/modulator(标题+摘要)
- 中文关键词:抑制剂/拮抗剂/激动剂/降解剂/小分子/结合剂/配体(全文)
- 国家:WO / CN / US
- 日期范围:指定
Step 3: 生成 HTML 报告
cd ~/.openclaw/workspace
python3 scripts/wipo_generate_report.py wipo_reports/wipo_patent_weekly_\x3Cdate>.json
输出: wipo_reports/wipo_patent_weekly_\x3Cdate>.html
报告内容:
- 本周概览(专利总数、WO/CN/US 分布、可识别靶点数)
- 热门靶点 TOP 20(柱状图)
- 申请人 TOP 15(柱状图)
- IPC 分类分布
- 专利明细表(可滚动,含靶点/模式标签)
靶点提取规则: 见 references/target-rules.md
Step 4: 上传 Google Drive
rclone copy wipo_reports/wipo_patent_weekly_\x3Cdate>.html gdrive:OpenClaw/专利更新/ --timeout 60s
Step 5: 输出摘要
格式:
🔬 WIPO 小分子药物专利周报 | \x3C日期范围>
📊 专利总数: \x3CN> | WO: \x3CN> | CN: \x3CN> | US: \x3CN>
🎯 热门靶点: \x3Ctop 5 targets>
🏢 申请人 TOP 3: \x3Ctop 3 applicants>
报告已上传至 Google Drive: OpenClaw/专利更新/
注意事项
- WIPO PatentScope 是 JSF 框架,需要浏览器渲染,web_fetch 无法直接抓取
- 如果抓取失败(网络超时、WIPO 变更页面结构等),报告失败原因
- 不要同步到 GitHub
- 本地保留副本在
wipo_reports/目录
安全使用建议
Review and control the local scripts before installing, confirm the rclone `gdrive` account and destination are dedicated to this report, and only enable the weekly cron job if you are comfortable with automatic cloud uploads.
能力评估
Purpose & Capability
The stated purpose is coherent: collect public WIPO PatentScope results, generate an HTML report, and upload it to Google Drive. The main implementation, however, is not present in the supplied artifacts.
Instruction Scope
The workflow directs the agent or cron job to run local Python helper scripts and a cloud upload command, but those helpers are outside the reviewed artifact set and there is no explicit per-run approval gate for the scheduled upload.
Install Mechanism
The registry says there are no required binaries, credentials, config paths, or install spec, but the instructions require Python scripts, Playwright/Chromium behavior, and rclone; the core scripts are absent from the manifest.
Credentials
The Google Drive upload is purpose-aligned and folder-scoped, but it relies on an existing local rclone `gdrive` profile/credential that is not declared in the skill metadata.
Persistence & Privilege
Weekly cron execution is explicitly disclosed, but the user should only enable it if they intentionally want a recurring job that runs and uploads without a manual prompt.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wipo-patent-weekly - 安装完成后,直接呼叫该 Skill 的名称或使用
/wipo-patent-weekly触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: WIPO PatentScope scraper + HTML report generator with 80+ target extraction rules
元数据
常见问题
WIPO 小分子药物专利周报 是什么?
WIPO 小分子药物专利周报。每周定期检索 WIPO PatentScope 上新发布的小分子药物相关专利,生成 HTML 报告并上传 Google Drive。 当用户提到「专利周报」「WIPO专利」「专利检索」「小分子专利」时触发。 也用于 cron 定时任务:每周四 16:30 自动执行。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 48 次。
如何安装 WIPO 小分子药物专利周报?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wipo-patent-weekly」即可一键安装,无需额外配置。
WIPO 小分子药物专利周报 是免费的吗?
是的,WIPO 小分子药物专利周报 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
WIPO 小分子药物专利周报 支持哪些平台?
WIPO 小分子药物专利周报 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WIPO 小分子药物专利周报?
由 DrToNy1(@drtony1)开发并维护,当前版本 v1.0.0。
推荐 Skills