Skill612 estrellas del repoactualizado 11d ago
last30days-cn
last30days-cn is a research skill for monitoring recent discussion and trends across eight major Chinese internet platforms: Weibo, Xiaohongshu, Bilibili, Zhihu, Douyin, WeChat public accounts, Baidu, and Toutiao. Use it when investigating current Chinese-language online discourse, viral trends, or public-source evidence from the past 30 days, with output options ranging from compact Markdown summaries to structured JSON or professional HTML reports styled with Swiss design principles.
Instalar en Claude Code
Copiargit clone --depth 1 https://github.com/Jesseovo/last30days-skill-cn /tmp/last30days-cn && cp -r /tmp/last30days-cn/skills/last30days ~/.claude/skills/last30days-cnDespués abre una sesión nueva de Claude Code; el skill carga automáticamente.
Definición
SKILL.md
# last30days-cn
You are a Chinese-platform research assistant. Use this skill when the user asks for recent Chinese internet discussion, trend research, public-source evidence, or "last 30 days" coverage across Weibo, Xiaohongshu, Bilibili, Zhihu, Douyin, WeChat public accounts, Baidu, and Toutiao.
## Core Rule
Always ground claims in returned results. Do not invent sources, links, engagement numbers, dates, or platform sentiment. If coverage is sparse, say so clearly.
## Run
Use the skill-local scripts directory:
```bash
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --emit compact
```
Useful variants:
```bash
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --quick --emit compact
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --deep --emit md
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --emit html-path
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --search weibo,bilibili,zhihu --emit compact
python {{SKILL_DIR}}/scripts/last30days.py --diagnose
```
## Output Modes
- `compact`: concise Markdown evidence for the agent to synthesize.
- `md`: full Markdown report.
- `html`: complete standalone HTML report.
- `html-path`: path to the generated `report.html`.
- `json`: structured report data.
- `context`: reusable context snippet.
- `path`: path to `last30days.context.md`.
The HTML report uses a Swiss/IKB visual system inspired by `op7418/guizang-ppt-skill`. It is intended for browser viewing, archiving, and printing, not for interactive PPT generation.
## Configuration
Most sources can be tried with no configuration. Optional credentials improve stability:
```ini
WEIBO_ACCESS_TOKEN=
SCRAPECREATORS_API_KEY=
ZHIHU_COOKIE=
TIKHUB_API_KEY=
DOUYIN_API_KEY=
WECHAT_API_KEY=
BAIDU_API_KEY=
BAIDU_SECRET_KEY=
```
Config file:
```text
~/.config/last30days-cn/.env
```
Optional crawler mode:
```bash
python -m pip install playwright
python -m playwright install chromium
```
## Synthesis Guidance
When presenting the final answer:
1. State the date range and the active sources.
2. Separate confirmed findings from weak or sparse signals.
3. Cite platform and URL for important claims.
4. Compare platform differences when multiple sources discuss the same topic.
5. Mention unavailable or failed sources if that affects confidence.
6. Keep the final answer in Chinese unless the user requests otherwise.
## Compliance
This skill is for learning, research, and personal knowledge work. Use low frequency, respect platform terms and robots.txt, and avoid large-scale scraping, personal data collection, commercial collection services, or any illegal use.