trove-pulse
Research what people actually said about a topic in the last 30 days across Reddit, X, YouTube, Hacker News, GitHub, Polymarket, and the web (upstream: last30days), ranked by real engagement rather than editorial pick. Use for market and competitor checks, sentiment reads, launch reception, and "what changed recently" questions.
- License 许可
- MIT
- 所属仓库
- bravew/trove
- 最近更新
- 2026-11-12
- Stars
- ★ 10
- Forks
- 1
01 前言 Front Matter
- name
- trove-pulse
- metadata
- { "source": "mvanhorn/last30days-skill", "trove-category": "research", "upstream-version": "3.21.1", "trove-category-label": "Research" }
- description
- Research what people actually said about a topic in the last 30 days across Reddit, X, YouTube, Hacker News, GitHub, Polymarket, and the web (upstream: last30days), ranked by real engagement rather than editorial pick. Use for market and competitor checks, sentiment reads, launch reception, and "what changed recently" questions.
02 资源文件 126
- 参考文档references/agent-mode.md2.3 KB
- 参考文档references/category-peers.md3.4 KB
- 参考文档references/comparison.md17.5 KB
- 参考文档references/competitors.md4.3 KB
- 参考文档references/discovery.md9.2 KB
- 参考文档references/followups.md8.0 KB
- 参考文档references/grok-bot-x.md9.0 KB
- 参考文档references/hiring-signals.md3.6 KB
- 参考文档references/library-queue.md3.6 KB
- 参考文档references/recommendations.md4.9 KB
- 参考文档references/research-runbook.md71.8 KB
- 参考文档references/runtime-spec.md31.1 KB
- 参考文档references/runtime.md10.8 KB
- 参考文档references/save-html-brief.md14.8 KB
- 参考文档references/setup-wizard.md38.7 KB
- 参考文档references/synthesis.md26.6 KB
- 脚本scripts/briefing.py8.3 KB
- 脚本scripts/last30days.py197.8 KB
- 脚本scripts/lib/__init__.py29 B
- 脚本scripts/lib/amazon.py33.4 KB
- 脚本scripts/lib/arxiv.py12.1 KB
- 脚本scripts/lib/backends.py29.9 KB
- 脚本scripts/lib/bird_x.py36.4 KB
- 脚本scripts/lib/bluesky.py15.7 KB
- 脚本scripts/lib/bounded_get.py5.1 KB
- 脚本scripts/lib/brightdata.py11.8 KB
- 脚本scripts/lib/categories.py8.2 KB
- 脚本scripts/lib/chrome_cookies.py18.4 KB
- 脚本scripts/lib/cjk.py4.7 KB
- 脚本scripts/lib/cluster.py9.6 KB
- 脚本scripts/lib/competitors.py7.5 KB
- 脚本scripts/lib/cookie_extract.py24.7 KB
- 脚本scripts/lib/cookie_paths.py570 B
- 脚本scripts/lib/corpus.py15.4 KB
- 脚本scripts/lib/dates.py4.9 KB
- 脚本scripts/lib/dedupe.py3.9 KB
- 脚本scripts/lib/devto.py16.2 KB
- 脚本scripts/lib/digg.py18.2 KB
- 脚本scripts/lib/discovery_handoff.py37.8 KB
- 脚本scripts/lib/doctor.py86.4 KB
- 脚本scripts/lib/dripstack.py8.0 KB
- 脚本scripts/lib/entity_extract.py7.1 KB
- 脚本scripts/lib/env.py82.3 KB
- 脚本scripts/lib/fanout.py3.6 KB
- 脚本scripts/lib/feed.py2.3 KB
- 脚本scripts/lib/fetch_memo.py4.3 KB
- 脚本scripts/lib/freshness.py22.0 KB
- 脚本scripts/lib/fusion.py23.1 KB
- 脚本scripts/lib/github.py54.6 KB
- 脚本scripts/lib/grok_audit.py24.5 KB
- 脚本scripts/lib/grok_x.py48.6 KB
- 脚本scripts/lib/grounding.py16.9 KB
- 脚本scripts/lib/hackernews.py17.8 KB
- 脚本scripts/lib/health.py18.3 KB
- 脚本scripts/lib/hiring_signals.py11.7 KB
- 脚本scripts/lib/hosted.py11.9 KB
- 脚本scripts/lib/html_publish.py3.4 KB
- 脚本scripts/lib/html_render.py27.2 KB
- 脚本scripts/lib/http.py56.6 KB
- 脚本scripts/lib/instagram.py37.8 KB
- 脚本scripts/lib/jobs.py26.3 KB
- 脚本scripts/lib/library_index.py16.0 KB
- 脚本scripts/lib/library.py11.7 KB
- 脚本scripts/lib/linkedin.py22.0 KB
- 脚本scripts/lib/log.py1.3 KB
- 脚本scripts/lib/meta_ads.py35.8 KB
- 脚本scripts/lib/normalize.py40.7 KB
- 脚本scripts/lib/parallel_mcp.py9.5 KB
- 脚本scripts/lib/permission_preflight.py10.9 KB
- 脚本scripts/lib/perplexity.py43.0 KB
- 脚本scripts/lib/pinterest.py4.9 KB
- 脚本scripts/lib/pipeline.py292.7 KB
- 脚本scripts/lib/planner.py55.1 KB
- 脚本scripts/lib/polymarket.py40.8 KB
- 脚本scripts/lib/preflight.py4.4 KB
- 脚本scripts/lib/prescriptions.py17.2 KB
- 脚本scripts/lib/private_files.py609 B
- 脚本scripts/lib/providers.py20.5 KB
- 脚本scripts/lib/quality_nudge.py21.6 KB
- 脚本scripts/lib/query.py7.9 KB
- 脚本scripts/lib/reddit_arctic.py14.9 KB
- 脚本scripts/lib/reddit_enrich.py9.3 KB
- 脚本scripts/lib/reddit_keyless.py16.9 KB
- 脚本scripts/lib/reddit_listing.py14.3 KB
- 脚本scripts/lib/reddit_public.py9.3 KB
- 脚本scripts/lib/reddit_search.py11.9 KB
- 脚本scripts/lib/reddit_shreddit.py8.7 KB
- 脚本scripts/lib/reddit.py31.1 KB
- 脚本scripts/lib/registers.py3.5 KB
- 脚本scripts/lib/relevance.py8.6 KB
- 脚本scripts/lib/render.py147.6 KB
- 脚本scripts/lib/rerank.py56.6 KB
- 脚本scripts/lib/resolve.py19.2 KB
- 脚本scripts/lib/safari_cookies.py6.6 KB
- 脚本scripts/lib/schema.py40.1 KB
- 脚本scripts/lib/setup_wizard.py60.6 KB
- 脚本scripts/lib/signals.py22.3 KB
- 脚本scripts/lib/skill_meta.py1.2 KB
- 脚本scripts/lib/snippet.py1.5 KB
- 脚本scripts/lib/sqlite_snapshot.py1.0 KB
- 脚本scripts/lib/stocktwits.py15.0 KB
- 脚本scripts/lib/subproc.py14.3 KB
- 脚本scripts/lib/techmeme.py10.3 KB
- 脚本scripts/lib/telegram.py9.3 KB
- 脚本scripts/lib/threads.py6.7 KB
- 脚本scripts/lib/tiktok.py22.5 KB
- 脚本scripts/lib/topic_shape.py14.0 KB
- 脚本scripts/lib/transcribe.py8.6 KB
- 脚本scripts/lib/trustpilot.py21.2 KB
- 脚本scripts/lib/truthsocial.py5.3 KB
- 脚本scripts/lib/ui.py26.1 KB
- 脚本scripts/lib/usage.py4.5 KB
- 脚本scripts/lib/web_fetch_keyless.py3.3 KB
- 脚本scripts/lib/web_search_keyless.py8.6 KB
- 脚本scripts/lib/windows_job.py5.2 KB
- 脚本scripts/lib/x_api.py30.9 KB
- 脚本scripts/lib/x_envelope.py25.7 KB
- 脚本scripts/lib/x_judge.py9.8 KB
- 脚本scripts/lib/xai_x.py8.6 KB
- 脚本scripts/lib/xiaohongshu_api.py5.2 KB
- 脚本scripts/lib/xquik.py17.5 KB
- 脚本scripts/lib/xurl_x.py14.2 KB
- 脚本scripts/lib/youtube_yt.py92.0 KB
- 脚本scripts/store.py49.6 KB
- 脚本scripts/watchlist.py11.4 KB
- 脚本scripts/x_lane_parity.py3.8 KB
03 SKILL.md 正文
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --> <!-- Regenerate: bun run build:skills -->
Session Init
This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.
trove-pulse
Vendored last-30-days research engine for global/English-language platforms.
Synced weekly from mvanhorn/last30days-skill. For Weibo, Xiaohongshu, Bilibili,
Zhihu, Douyin, WeChat, Baidu, and Toutiao, use /trove-research:trove-pulse-cn.
Prerequisites and preflight
No API keys and no pip install are required. Stdlib Python only.
- Required:
python3≥ 3.12. If the host has no 3.12, upstream'suv-managed 3.12 fallback applies whenuvis on PATH. - Optional:
node≥ 22 (X/Twitter via the vendoredbird-searchclient). Absent: X is skipped. - Optional:
yt-dlp(YouTube transcripts/comments),digg-pp-cli(Digg). Preflight reports PATH visibility viashutil.which, not file existence.$HOME/.local/binis a common miss on agent gateways.
Health check (does not read cookies):
python3 [skill-dir]/scripts/last30days.py doctor
python3 [skill-dir]/scripts/last30days.py --diagnose
Invocation
Canonical form:
python3 [skill-dir]/scripts/last30days.py "<topic>"
The skill-directory placeholder is rewritten per host. Claude keeps the
environment-style variable. Cursor, Codex, OpenCode, and Gemini receive
[skill-dir] (or the host's equivalent). Resolve that placeholder to the
directory that contains this SKILL.md, then run
python3 <that-dir>/scripts/last30days.py "<topic>".
Network egress from the agent's Bash subprocess is required. Write is used
for saved briefs.
Read the spec
Load references/runtime-spec.md before the first engine call. It is
authoritative for flags, query planning, source coverage, and the output
contract. Do not improvise a scraper.
Trove overrides
These sections of the vendored spec do not apply here. Everything else stands.
- Stale-clone self-check and cache-layout probing — Trove installs through
./setup, notnpx skills add. - The
/last30daysinvocation name — use/trove-research:trove-pulse. - Upstream install instructions — ignore them; the skill is already vendored.
Configuration
Precedence: per-run flag > process env > ~/.config/last30days/.env (mode 0600)
defaults. That upstream path is the source of truth for this skill; do not put these keys in
~/.trove/config.yaml.
Keyless baseline works. Optional keys worth adding first:
SCRAPECREATORS_API_KEY, then AUTH_TOKEN/CT0 for X.
Shared with trove-pulse-cn: SCRAPECREATORS_API_KEY and
XIAOHONGSHU_API_BASE. Each skill reads its own config directory
(~/.config/last30days/.env here; LAST30DAYS_CN_CONFIG_DIR /
~/.config/last30days-cn/.env for the sibling). Setting a shared key in the
wrong file looks like a broken skill.
Leave LAST30DAYS_TRUST_PROJECT_CONFIG unset. A cloned repo could otherwise
carry config the user did not write.
See docs/user-config.md for Trove's own config file, which does not store
these secrets.
Decision Gate: first-run setup
Context: The engine can read browser cookies to authenticate X, and on macOS that needs Full Disk Access. That is the most invasive thing this skill can do. Question: Should this run read browser cookies, or stay keyless? Options:
- A. Skip cookie access; run keyless (and optional env keys if already set).
- B. Allow cookie reading after the user has granted the OS permission. Default: A, because cookie access is opt-in and must never be a silent capability of the first run.
Failure modes
- Python too old (< 3.12): the engine will refuse or fall back to
uv3.12. nodemissing: X silently degrades; other sources still run.- Rate limits or empty result sets: report them from engine output; do not invent posts, engagement numbers, or dates.
digg-pp-clion disk but not on PATH: treat as absent.
04 同仓库更多 Skills
using-trove
Skill discipline anchor for the Trove marketplace. Loaded once per session; routes the agent to the right trove-* skill before code, planning, review, or git actions.
trove-write-skill
Skill authoring workflow. Use when creating or updating a Codex or Trove skill, including rubrics, tasks, metadata, and validation.
trove-worktree
Git worktree workflow for spikes, risky experiments, and broad refactors that should not disturb the user's current branch.
trove-why
Reconstruct design rationale and decision history from evidence — source control, issue tracker (Linear), docs (Notion), chat (Slack), error tracking (Sentry) — with calibrated confidence. Use for "why does X work this way", "why did we pick Y", regressions, and postmortems. Use trove-explain for how it works now.
trove-verify
Completion verification workflow. Use before claiming done, fixed, complete, ready, or shipped.
trove-unslop
Cut AI tells from writing — PR descriptions, release notes, specs, commit bodies, and replies. Use before finalizing prose, or when the user asks to clean up, de-slop, or make text sound human.