返回目录

last30days-skill-cn

维护状态: 活跃

jesseovo/last30days-skill-cn

last30days-cn 是一个 AI Agent 技能(Skill),能够自动搜索中国互联网 8 大主流平台最近 30 天的内容,综合分析后生成有据可查的研究报告。

前往 GitHub
$ npx skills add Jesseovo/last30days-skill-cn -g

1,767

星标

185

Fork

Python

语言

NOASSERTION

许可证

2026-03-31

创建于

2026-07-20

最近推送

README 声明 MIT 许可的 Agent 技能,对 8 大中文平台执行 AI 网络搜索并生成近 30 天有据可查的研究报告;可作为通用技能接入 DeepSeek Harness(智能体需具备 Bash / Read / Write 工具)。

DSH 适配

兼容

作者声明

安全审计

未审计

最后核验

2026-08-21

许可证

NOASSERTION

01它能帮你完成什么?

  • Research what happened on China's 8 major internet platforms in the last 30 days for any topic

    A cited research report built from deduplicated, weighted-scored (45% relevance / 25% freshness / 30% engagement) results across Weibo, Xiaohongshu, Bilibili, Zhihu, Douyin, WeChat, Baidu and Toutiao — emitted as compact / JSON / Markdown / context / offline HTML

    Researchers, analysts and content teams who need current, well-sourced insight into the Chinese internet straight from their AI agent

  • Turn multi-platform Chinese web search results into a browsable, archivable offline HTML research report

    An offline-openable `report.html` (Swiss/IKB visual language from guizang-ppt-skill) generated via `--emit html` / `--emit html-path`

    Users who want a printable, shareable research deliverable instead of terminal output

02如何接入 DeepSeek Harness?

前置条件

  • A Python runtime — the skill runs as a Python CLI (`scripts/last30days.py` / `skills/last30days/scripts/last30days.py`)
  • An AI agent exposing Bash / Read / Write tools — the README states any such agent can use this skill
  • Optional: Playwright (`pip install playwright` + `playwright install chromium`) to unlock key-free crawler mode on 7 of 8 platforms
  • Optional: `jieba` for enhanced Chinese tokenization (CJK bigram fallback runs without it)

安装步骤

  1. 01

    Install via Agent Skills (recommended): `npx skills add Jesseovo/last30days-skill-cn -g`

    $ npx skills add Jesseovo/last30days-skill-cn -g

  2. 02

    Or clone the repo into your agent's skills directory, e.g. `git clone https://github.com/Jesseovo/last30days-skill-cn.git ~/.claude/skills/last30days-cn`

    $ git clone https://github.com/Jesseovo/last30days-skill-cn.git ~/.claude/skills/last30days-cn

  3. 03

    Optional (recommended): `python -m pip install playwright` then `python -m playwright install chromium` for crawler mode

  4. 04

    Optional: `python -m pip install jieba` for better Chinese tokenization

  5. 05

    Optional: create `~/.config/last30days-cn/.env` (chmod 600) and fill in optional API keys — only WeChat search requires `WECHAT_API_KEY`

验证接入成功

  • Run `python scripts/last30days.py --diagnose` — it prints each platform's availability status and the crawler engine status as JSON

03DSH 适配与能力边界

DSH 适配兼容

Generic Agent Skill (SKILL.md + Python CLI) installable into any AI agent that exposes Bash / Read / Write tools — DeepSeek Harness included. The README does not document a dsh-specific integration; it documents Agent Skills / Claude Code / Cursor / OpenClaw installs plus a generic-agent mode, and the repo is tagged `dsh-plugin`.

  • 30-day cross-platform research on 8 Chinese platforms

    a natural-language topic plus optional flags (`--quick` / `--deep` / `--days N` / `--as-of` / `--search <platforms>`)deduplicated, weighted-scored results from Weibo, Xiaohongshu, Bilibili, Zhihu, Douyin, WeChat, Baidu and Toutiao rendered as compact / JSON / Markdown / context report

    performs live HTTP requests to the target platforms (and Bing site: search fallback)`--save-dir` writes raw outputs to disk; `--emit html` / `html-path` writes a `report.html` file
  • Three-tier data-acquisition fallback with optional Playwright crawler

    per-platform search requestsAPI mode → Playwright crawler mode → public endpoints → Bing site: search fallback, so 7 of 8 platforms work with zero API keys once Playwright is installed

    crawler mode drives a real Chromium browser via Playwright and simulates user browsingcrawler mode persists login cookies (login-state cache) between runs
  • Weighted result scoring

    raw multi-platform search resultsa 0–100 composite score per item: 45% relevance, 25% freshness, 30% platform engagement (likes / comments / shares / views etc.)

04适合谁?何时不该用?

适合

  • Researchers, analysts and content teams who need current, well-sourced insight into the Chinese internet straight from their AI agent
  • Users who want a printable, shareable research deliverable instead of terminal output

不适合

  • The project is declared for learning and research purposes only and explicitly forbids commercial use; users must comply with Chinese laws (Cybersecurity / Data Security / Personal Information Protection), platform ToS and robots.txt, and bear all legal risk of crawling.
  • Platform interfaces can change at any time and availability is not guaranteed; Douyin / Toutiao native web APIs require signed parameters (`a_bogus` / `_signature`) and are often risk-controlled, so their fallback only yields public links without real engagement data or exact dates.
  • Aggressive crawling risks platform bans; the README advises keeping request frequency reasonable (e.g. ≥ 5 seconds between searches).

05兼容性、维护与安全提示

  • The project is declared for learning and research purposes only and explicitly forbids commercial use; users must comply with Chinese laws (Cybersecurity / Data Security / Personal Information Protection), platform ToS and robots.txt, and bear all legal risk of crawling.
  • Platform interfaces can change at any time and availability is not guaranteed; Douyin / Toutiao native web APIs require signed parameters (`a_bogus` / `_signature`) and are often risk-controlled, so their fallback only yields public links without real engagement data or exact dates.
  • Aggressive crawling risks platform bans; the README advises keeping request frequency reasonable (e.g. ≥ 5 seconds between searches).
2026-03-312026-07-20v3.2.0

MIT per README (GitHub reports NOASSERTION) · actively maintained (latest release v3.2.0, 2026-07-20)

06常见问题

如何在 DeepSeek Harness 中使用 last30days-cn?

它是一个通用 Agent 技能:README 写明任何支持 Bash / Read / Write 工具的 AI Agent 都可以使用。用 `npx skills add Jesseovo/last30days-skill-cn -g` 安装,或把仓库克隆到智能体的技能目录,然后让智能体执行 `python scripts/last30days.py "<主题>"` 即可。README 未提供针对 dsh 的专门集成说明。

是原生集成还是通过 MCP?

都不是——它是一个由 SKILL.md 驱动的 Python CLI 技能,不是 MCP 服务器,也不是 dsh 原生运行时。智能体读取 SKILL.md 后通过 Bash 工具调用命令行入口。

需要配置 API Key 吗?

所有 API Key 都是可选的。安装 Playwright 后,7/8 的平台可以通过爬虫模式免 Key 使用;只有微信公众号搜索需要 `WECHAT_API_KEY`。`jieba` 也是可选的,未安装时会自动回退到 CJK bigram 分词。

会有什么网络请求和副作用?

它会对 8 大中文平台发起实时 HTTP 请求(可选 Playwright 浏览器自动化,并持久化登录 Cookie),最后一级兜底是 Bing site: 站内搜索。README 建议每次搜索间隔不少于 5 秒以避免被平台封禁,且项目仅限非商业的学习研究用途。

如何验证安装成功?

运行 `python scripts/last30days.py --diagnose`,它会输出各平台的可用状态和爬虫引擎状态的 JSON 诊断结果。

08数据与来源

  • 作者声明github.com1a8a04c3c347…

    ### 通用 Agent 任何支持 **Bash / Read / Write** 工具的 AI Agent 都可以使用本技能。

  • 作者声明github.com1a8a04c3c347…

    **last30days-cn** 是一个 AI Agent 技能(Skill),能够自动搜索中国互联网 8 大主流平台最近 30 天的内容,综合分析后生成有据可查的研究报告。

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。