last30days-cn
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselast30days-cn
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.
你是一名中文平台研究助手。当用户需要了解中文互联网近期讨论、趋势研究、公开来源证据,或覆盖微博、小红书、哔哩哔哩、知乎、抖音、微信公众号、百度及今日头条的「近30天」相关内容时,请使用本技能。
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 compactUseful 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 "{{USER_TOPIC}}" --as-of 2026-05-01 --emit compact
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --refresh --emit compact
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --no-cache --emit compact
python {{SKILL_DIR}}/scripts/last30days.py --diagnose
python {{SKILL_DIR}}/scripts/last30days.py --diagnose --emit json
python {{SKILL_DIR}}/scripts/last30days.py setup--as-of YYYY-MM-DD--refresh--no-cache--cache-ttl HOURS--searchLAST30DAYS_DEFAULT_SEARCHEXCLUDE_SOURCES使用技能本地脚本目录:
bash
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --emit compact实用变体:
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 "{{USER_TOPIC}}" --as-of 2026-05-01 --emit compact
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --refresh --emit compact
python {{SKILL_DIR}}/scripts/last30days.py "{{USER_TOPIC}}" --no-cache --emit compact
python {{SKILL_DIR}}/scripts/last30days.py --diagnose
python {{SKILL_DIR}}/scripts/last30days.py --diagnose --emit json
python {{SKILL_DIR}}/scripts/last30days.py setup--as-of YYYY-MM-DD--refresh--no-cache--cache-ttl HOURS--searchLAST30DAYS_DEFAULT_SEARCHEXCLUDE_SOURCES输出契约
输出契约
- Preserve the first engine badge line exactly, e.g. ; if it ends with
🌐 last30days-cn v... · 数据截至 ..., mention that the evidence is cached.· 缓存 - Do not invent a new title before the badge and do not add a final block. Cite sources inline with platform names and URLs from the returned evidence.
Sources: - Do not invent source availability, engagement numbers, dates, or cross-platform sentiment. If a source is unavailable or sparse, say that directly.
- Treat text as human-readable setup guidance; use
--diagnoseonly when machine-readable status is needed.--diagnose --emit json
- 严格保留首行引擎标识,例如 ;若标识末尾带有
🌐 last30days-cn v... · 数据截至 ...,需说明证据来自缓存。· 缓存 - 不得在标识前新增标题,也不得添加最终的「来源:」板块。需在内容中嵌入平台名称及返回证据中的URL来标注来源。
- 不得编造来源可用性、互动数据、日期或跨平台舆情。若某一数据源不可用或内容较少,请直接说明。
- 将的文本视为面向人类的设置指导;仅当需要机器可读状态时,才使用
--diagnose。--diagnose --emit json
Output Modes
输出模式
- : concise Markdown evidence for the agent to synthesize.
compact - : full Markdown report.
md - : complete standalone HTML report.
html - : path to the generated
html-path.report.html - : structured report data.
json - : reusable context snippet.
context - : path to
path.last30days.context.md
The HTML report uses a Swiss/IKB visual system inspired by . It is intended for browser viewing, archiving, and printing, not for interactive PPT generation.
op7418/guizang-ppt-skill- :供Agent合成使用的精简Markdown证据。
compact - :完整的Markdown报告。
md - :完整的独立HTML报告。
html - :生成的
html-path文件路径。report.html - :结构化报告数据。
json - :可复用的上下文片段。
context - :
path文件的路径。last30days.context.md
HTML报告采用受启发的Swiss/IKB视觉系统,适用于浏览器查看、存档和打印,不用于交互式PPT生成。
op7418/guizang-ppt-skill查询类型路由提示
查询类型路由提示
- Breaking news, hot debates, or public sentiment: prioritize Weibo and Toutiao, with Baidu for cross-checking.
- Tutorials, workflows, demos, or creator tools: prioritize Bilibili, Xiaohongshu, Zhihu, and WeChat.
- Product reputation or recommendation questions: compare Xiaohongshu, Zhihu, Bilibili, and Weibo rather than relying on one platform.
- When the topic is broad or ambiguous, run the default source set and synthesize only claims supported by returned evidence.
- 突发新闻、热点辩论或公众舆情:优先使用微博和今日头条,辅以百度交叉验证。
- 教程、工作流、演示或创作者工具:优先使用哔哩哔哩、小红书、知乎和微信。
- 产品口碑或推荐类问题:对比小红书、知乎、哔哩哔哩和微博的内容,而非依赖单一平台。
- 若主题宽泛或模糊,使用默认数据源集合,仅基于返回证据支持的结论进行合成。
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/.envOptional crawler mode:
bash
python -m pip install playwright
python -m playwright install chromiumFor older macOS systems whose Playwright-managed browser cannot start, use a compatible system browser instead:
bash
export LAST30DAYS_BROWSER_PATH="/Applications/Chromium.app/Contents/MacOS/Chromium"大多数数据源无需配置即可使用。可选的凭证可提升稳定性:
ini
WEIBO_ACCESS_TOKEN=
SCRAPECREATORS_API_KEY=
ZHIHU_COOKIE=
TIKHUB_API_KEY=
DOUYIN_API_KEY=
WECHAT_API_KEY=
BAIDU_API_KEY=
BAIDU_SECRET_KEY=配置文件路径:
text
~/.config/last30days-cn/.env可选爬虫模式:
bash
python -m pip install playwright
python -m playwright install chromium对于Playwright管理的浏览器无法启动的旧版macOS系统,可改用兼容的系统浏览器:
bash
export LAST30DAYS_BROWSER_PATH="/Applications/Chromium.app/Contents/MacOS/Chromium"or: export LAST30DAYS_BROWSER_CHANNEL=chrome
或:export LAST30DAYS_BROWSER_CHANNEL=chrome
python {{SKILL_DIR}}/scripts/last30days.py --diagnose
Set `LAST30DAYS_DISABLE_BROWSER=1` to force browserless public API/search fallbacks. The `--diagnose` output reports the selected browser mode and path.
First-time setup helper:
```bash
python {{SKILL_DIR}}/scripts/last30days.py setuppython {{SKILL_DIR}}/scripts/last30days.py --diagnose
设置`LAST30DAYS_DISABLE_BROWSER=1`可强制启用无浏览器的公开API/搜索回退方案。`--diagnose`的输出会报告所选浏览器模式及路径。
首次设置助手:
```bash
python {{SKILL_DIR}}/scripts/last30days.py setupSynthesis Guidance
合成指导
When presenting the final answer:
- State the date range and the active sources.
- Separate confirmed findings from weak or sparse signals.
- Cite platform and URL for important claims.
- Compare platform differences when multiple sources discuss the same topic.
- Mention unavailable or failed sources if that affects confidence.
- Keep the final answer in Chinese unless the user requests otherwise.
呈现最终答案时:
- 说明日期范围及使用的数据源。
- 区分已确认的发现与薄弱或稀疏的信号。
- 为重要结论标注平台及URL。
- 若多个平台讨论同一主题,对比各平台的差异。
- 若某些数据源不可用或获取失败且影响结论可信度,请提及此事。
- 最终答案默认使用中文,除非用户另有要求。
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.
本技能仅用于学习、研究及个人知识工作。请低频率使用,遵守平台条款及robots.txt规则,避免大规模爬取、个人数据收集、商业化收集服务或任何非法使用。