Skip to content
Back to skills

Today In History

ASecurity

获取历史上的今天的重要事件,数据从Wikipedia获取。当用户询问"历史上的今天"、"今天发生了什么"、某月某日的历史事件时触发。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
toolsbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill today-in-history --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Today In History?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Today In History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-today-in-history/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-today-in-history)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: today-in-history
description: 获取历史上的今天的重要事件,数据从Wikipedia获取。当用户询问"历史上的今天"、"今天发生了什么"、某月某日的历史事件时触发。
---

# Today in History

获取当前日期的历史事件,数据从Wikipedia获取。

## 使用方式

用户询问历史上的今天或特定日期的历史事件时使用此skill。

## 数据获取

### Wikipedia API

使用Wikipedia API获取历史上的今天:

```bash
curl -s "https://en.wikipedia.org/api/rest_v1/feed/onthisday/events/MM/DD"
```

例如获取2月19日:
```bash
curl -s "https://en.wikipedia.org/api/rest_v1/feed/onthisday/events/02/19"
```

返回JSON格式,包含该日期的所有历史事件,按年份排序。

### 中文维基(备选)
```bash
curl -s "https://zh.wikipedia.org/api/rest_v1/feed/onthisday/events/02/19"
```

## 筛选重要事件

筛选标准:
1. 改变历史进程的重大事件(战争、发明、领袖逝世等)
2. 知名度高、影响深远
3. 有中国相关事件则一定加入

优先选择:
- 中国相关事件
- 重大国际事件
- 知名人物

## 输出格式

```
---

📜 历史上的今天
YYYY年2月19日 事件描述1
YYYY年2月19日 事件描述2
YYYY年2月19日 事件描述3

---
```

示例:

```
---

📜 历史上的今天
197年2月19日 卢格杜努姆战役:塞普提米乌斯·塞维鲁击败克劳狄乌斯·阿尔比努斯,奠定罗马帝国统治
1807年2月19日 美国前副总统阿龙·伯尔因叛国罪被捕
1945年2月19日 硫磺岛战役开始

---
```

注意:
- 每年的事件都带当前日期
- 事件描述简洁,一句话概括
- 中文描述
- 分割线“---”用“======”代替
- 只输出要求输出的内容,前后不要输出多余的文本、说明、报错

Files in this skill

  • SKILL.md1.8 KB
  • _meta.json288 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.