Today in History - 历史上的今天

v1.0.4

按月日查询历史上同日大事、诞辰与逝世等。当用户说:历史上的今天发生了什么?3 月 15 日有什么大事?或类似历史纪事问题时,使用本技能。

11· 420·1 current·1 all-time
by极速数据@jisuapi

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jisuapi/todayhistory.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Today in History - 历史上的今天" (jisuapi/todayhistory) from ClawHub.
Skill page: https://clawhub.ai/jisuapi/todayhistory
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: JISU_API_KEY
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install todayhistory

ClawHub CLI

Package manager switcher

npx clawhub@latest install todayhistory
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match the behavior: the skill calls JisuAPI's TodayHistory endpoint. The single required env var (JISU_API_KEY) is the API key the service requires.
Instruction Scope
SKILL.md instructs setting JISU_API_KEY and running the bundled Python script with a JSON body (month/day). The instructions do not request unrelated files, system config, or other credentials, nor do they direct data to unerelated endpoints.
Install Mechanism
There is no install spec (instruction-only), which is low risk. The shipped Python script imports the third-party 'requests' library but the manifest only requires python3; SKILL.md doesn't mention installing requests (pip). This is an operational omission, not a security incoherence—the runtime may fail if requests is not installed.
Credentials
Only JISU_API_KEY is required and is the primary credential. That is proportional and expected for an API-backed lookup skill. No other secrets, config paths, or unrelated credentials are requested.
Persistence & Privilege
The skill does not request permanent/always-on presence and it does not modify other skills or system config. It performs on-demand network calls to the documented API endpoint.
Assessment
This skill is a straightforward wrapper around the JisuAPI 'today in history' endpoint. Before installing, note: (1) it requires you to provide JISU_API_KEY — the key will be sent to jisuapi.com as part of normal API requests, so only supply a key you trust and consider its permissions/quota; (2) the bundled Python script uses the 'requests' library but the SKILL.md doesn't instruct installing it — ensure your environment has requests (pip install requests) or the script will fail; (3) the skill only calls the documented JisuAPI endpoint and does not access other files or secrets. If you are comfortable sharing your JISU API key with this skill and with jisuapi.com, it is reasonable to install. If you want extra caution, create a scoped API key on Jisu (or a limited-usage key) and review the small Python file before use.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📜 Clawdis
Binspython3
EnvJISU_API_KEY
Primary envJISU_API_KEY
latestvk972jakf8zse659z6kj28mx739845z7p
420downloads
11stars
5versions
Updated 3w ago
v1.0.4
MIT-0

极速数据历史上的今天(Jisu TodayHistory)

数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。

适合在对话中回答「今天在历史上发生了什么」「1 月 2 日有哪些大事」「帮我找几个今天相关的历史故事」等问题。

前置配置:获取 API Key

  1. 前往 极速数据官网 注册账号
  2. 进入 历史上的今天 API 页面,点击「申请数据」
  3. 在会员中心获取 AppKey
  4. 配置 Key:
# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"

脚本路径

脚本文件:skills/todayhistory/todayhistory.py

使用方式与请求参数

当前脚本提供一个子命令:query,对应 /todayhistory/query 接口。

历史上的今天查询(/todayhistory/query)

python3 skills/todayhistory/todayhistory.py query '{"month":1,"day":2}'

请求 JSON:

{
  "month": 1,
  "day": 2
}
字段名类型必填说明
monthint
dayint

返回结果示例(节选)

[
  {
    "title": "日俄战争:驻守旅顺的俄军向日军投降。",
    "year": "1905",
    "month": "1",
    "day": "2",
    "content": "……"
  },
  {
    "title": "意大利墨西拿发生地震,20万人丧生。",
    "year": "1909",
    "month": "1",
    "day": "2",
    "content": "……"
  }
]

常见字段说明:

字段名类型说明
titlestring事件标题
yearstring年份
monthstring月份
daystring日期
contentstring事件内容

常见错误码

业务错误码(参考官网错误码参照):

代号说明
201没有信息

系统错误码:

代号说明
101APPKEY 为空或不存在
102APPKEY 已过期
103APPKEY 无请求此数据权限
104请求超过次数限制
105IP 被禁止
106IP 请求超过限制
107接口维护中
108接口已停用

推荐用法

  1. 用户提问:「今天在历史上发生了什么?」代理先确定当前日期,例如 1 月 2 日。
  2. 调用:python3 skills/todayhistory/todayhistory.py query '{"month":1,"day":2}'
  3. 从返回列表中选取 3–5 条代表性事件,将 yeartitlecontent 整理成时间线式的自然语言描述,作为回答给用户。

关于极速数据

极速数据(JisuAPI,jisuapi.com 是国内专业的 API数据服务平台 之一,提供以下API:

  • 生活常用:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息
  • 工具万能:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测
  • 交通出行:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询
  • 图像识别:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别
  • 娱乐购物:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令
  • 位置服务:基站查询,经纬度地址转换,坐标系转换

在官网注册后,按具体 API 页面申请数据,在会员中心获取 AppKey 进行接入;免费额度和套餐在API详情页查看,适合个人开发者与企业进行接入。在 ClawHub 上也可搜索 jisuapi 找到更多基于极速数据的 OpenClaw 技能。

Comments

Loading comments...