Xpersona
知

知乎热搜

CLAWHUB · Unverified

获取知乎每日热搜榜单,支持搜索、统计、范围分析。数据从 2021-01-08 至今。 Skill: 知乎热搜 Owner: doradx Summary: 获取知乎每日热搜榜单,支持搜索、统计、范围分析。数据从 2021-01-08 至今。 Tags: latest:3.0.0 Version history: v3.0.0 | 2026-03-26T16:07:46.935Z | user 支持热搜获取、搜索、日期范围分析、缓存管理 Archive index: Archive v3.0.0: 5 files, 12783 bytes Files: analyze-month.py (8772b), skill-card.md (2285b), SKILL.md (4990b), zhihu-hot.py (19973b), _meta.json (128b) File v3.0.0:SKILL.md --- name: zhihu-hot description: 获取知乎每日热搜榜单,支持搜索、统计、范围分

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176jn8k7j37bw2zj39t467r3583g8vh:zhihu-hot
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-doradx-zhihu-hot/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

6,371 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: zhihu-hot
description: 获取知乎每日热搜榜单,支持搜索、统计、范围分析。数据从 2021-01-08 至今。
---

# 知乎热搜

从 [zhihu-hot-hub](https://github.com/SnailDev/zhihu-hot-hub) 获取知乎热搜数据。

**数据覆盖**: 2021-01-08 至今(1900+ 天完整归档,每小时更新)

## 快速使用

```bash
# 今日热搜
./zhihu-hot.py

# 前 10 条
./zhihu-hot.py -n 10

# 紧凑格式
./zhihu-hot.py -c

# 单行格式(适合推送)
./zhihu-hot.py -o

# 搜索热搜
./zhihu-hot.py -s AI
```

## 命令参数

| 参数 | 简写 | 说明 |
|------|------|------|
| `DATE` | | 日期 (YYYY-MM-DD),默认今天 |
| `--limit` | `-n` | 限制显示条数 |
| `--compact` | `-c` | 紧凑格式输出 |
| `--oneline` | `-o` | 单行格式(适合推送) |
| `--json` | `-j` | JSON 格式输出 |
| `--url` | `-u` | 显示完整 URL |
| `--search` | `-s` | 搜索关键词 |
| `--range` | `-r` | 日期范围分析 |
| `--archives` | | 显示归档信息 |
| `--export` | `-e` | 导出到文件 |
| `--clear-cache` | | 清理缓存 |
| `--stats` | | 缓存统计 |
| `--no-cache` | | 不使用缓存 |
| `--version` | `-v` | 显示版本 |

## 输出格式

### 默认表格格式

```
📊 知乎热搜 - 2026-03-27

⏰ 更新:2026-03-27 08:17:05 +0800

🔥 热门搜索
┌────┬──────────────────────────────────────────┐
│  1 │ 你在低谷期学会了什么                     │
│  2 │ 郑钦文不敌萨巴伦卡                       │
│  3 │ C919 还能成批生产吗                       │
└────┴──────────────────────────────────────────┘
```

### 紧凑格式

```
📊 知乎热搜 2026-03-27 | ⏰ 08:17:05 +0800

 1. 你在低谷期学会了什么
 2. 郑钦文不敌萨巴伦卡
 3. C919 还能成批生产吗
```

### 单行格式(推送用)

```
📊 知乎热搜 2026-03-27: 你在低谷期学会了什么 | 郑钦文不敌萨巴伦卡 | C919 还能成批生产吗
```

### JSON 格式

```json
{
  "date": "2026-03-27",
  "update_time": "08:17:05 +0800",
  "hot_search": [
    {"title": "你在低谷期学会了什么", "url": "...", "decoded_url": "..."}
  ]
}
```

## 高级功能

### 🔍 搜索功能

```bash
# 搜索今日热搜
./zhihu-hot.py -s AI

# 搜索并显示 URL
./zhihu-hot.py -s 周杰伦 -u
```

### 📊 日期范围分析

```bash
# 分析本月
./zhihu-hot.py -r 2026-03-01 2026-03-26

# 分析指定周期
./zhihu-hot.py -r 2026-03-01 2026-03-15 --export report.md
```

### 📚 归档信息

```bash
./zhihu-hot.py --archives
```

输出:
```
📚 归档信息
   最早:2021-01-08
   最新:2026-03-27
   总计:1904 天
```

### 📁 导出功能

```bash
# 导出今日热搜
./zhihu-hot.py -e today.md

# 导出 JSON
./zhihu-hot.py -j -n 50 -e hot50.json

# 导出分析报告
./zhihu-hot.py -r 2026-03-01 2026-03-26 -e march-report.md
```

### 💾 缓存管理

```bash
# 查看缓存统计
./zhihu-hot.py --stats

# 清理缓存
./zhihu-hot.py --clear-cache

# 强制刷新
./zhihu-hot.py --no-cache 2026-03-20
```

### 📅 历史热搜

```bash
./zhihu-hot.py 2026-03-20
./zhihu-hot.py 2026-03-20 -n 10
./zhihu-hot.py 2021-01-08  # 最早数据
```

## 数据来源

- **GitHub**: https://github.com/SnailDev/zhihu-hot-hub
- **更新频率**: 每小时更新
- **历史数据**: 2021-01-08 至今(1900+ 天)
- **实时数据**: README.md(当前)

## 缓存配置

| 类型 | 目录 | 有效期 |
|------|------|--------|
| 日数据缓存 | `~/.cache/zhihu-hot/` | 1 小时 |
| 归档列表 | `~/.cache/zhihu-hot/` | 2 小时 |

## 集成示例

### Python 调用

```python
import subprocess
import json

# 获取 JSON 数据
result = subprocess.run(
    ["./zhihu-hot.py", "--json", "-n", "10"],
    capture_output=True, text=True
)
data = json.loads(result.stdout)
print(data["hot_search"])

# 范围分析
result = subprocess.run(
    ["./zhihu-hot.py", "-r", "2026-03-01", "2026-03-26"],
    capture_output=True, text=True
)
print(result.stdout)
```

_meta.json

{
  "ownerId": "kn7f3cmmw9xkag532zk8ywj0b183dcr2",
  "slug": "zhihu-hot",
  "version": "3.0.0",
  "publishedAt": 1774541266935
}

skill-card.md

## Description:

获取知乎每日热搜榜单,支持搜索、统计、范围分析。数据从 2021-01-08 至今。

This skill is ready for commercial/non-commercial use.

## Publisher:

[doradx](https://clawhub.ai/user/doradx)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to retrieve, search, export, and analyze Zhihu hot-search archive data from the command line.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The CLI fetches public archive data from GitHub-hosted Zhihu data and displays it in terminal, Markdown, or JSON output.

Mitigation: Treat fetched content as untrusted and review terminal or Markdown output before forwarding, publishing, or automating it.

Risk: Export mode writes to a user-provided path and can overwrite an existing file.

Mitigation: Use deliberate export paths and review destination files before running scheduled or automated exports.

Risk: The skill stores cache files under ~/.cache/zhihu-hot.

Mitigation: Use --clear-cache when cached data should be removed, and inspect cache behavior before deployment in constrained environments.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/doradx/skills/zhihu-hot)
- [zhihu-hot-hub data source](https://github.com/SnailDev/zhihu-hot-hub)
- [GitHub tree API used for archive discovery](https://api.github.com/repos/SnailDev/zhihu-hot-hub/git/trees/main?recursive=1)
- [Raw GitHub content base used by the CLI](https://raw.githubusercontent.com/SnailDev/zhihu-hot-hub/main)

## Skill Output:

**Output Type(s):** [Text, Markdown, JSON, Files, Shell commands, Analysis]

**Output Format:** [Terminal text, Markdown reports, JSON objects, or exported files depending on CLI flags]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May cache fetched archive data under ~/.cache/zhihu-hot and may overwrite user-selected export files.]

## Skill Version(s):

3.0.0 (source: release evidence and script __version__)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to 知乎热搜 and adjacent AI workflows.