DEV Community

Cover image for I Audited All 883 Files of 78.3K-Star last30days-skill: Real Python Engine vs. Hidden API & Cookie Traps
tomTOP
tomTOP

Posted on

I Audited All 883 Files of 78.3K-Star last30days-skill: Real Python Engine vs. Hidden API & Cookie Traps

mvanhorn/last30days-skill just cleared 78,364 GitHub stars (+763 today, MIT license) as a multi-platform research skill for Claude Code, Codex CLI, Cursor, Gemini CLI, and Grok.

Most posts summarize it in one line: search Reddit, X, YouTube, TikTok, Hacker News, and Polymarket from one slash command with zero setup. Before trusting an agent skill with cross-platform research, I audited the live main tree (883 blobs, 44.70 MB) and read through its Data Handling and key matrix.

1. Repo Breakdown: Far From a Lightweight Prompt Pack

Unlike prompt-only skill folders, last30days-skill ships substantial orchestration and scraping code:

Layer Count Size Notable Files
Python scripts (.py) 601 12.97 MB skills/last30days/scripts/lib/pipeline.py (422.5 KB), last30days.py (272.6 KB), env.py (116.6 KB)
Markdown docs (.md) 90 1.69 MB skills/last30days/SKILL.md (31.2 KB)
Go / Rust helpers 47 375.2 KB Bundled cross-platform utilities

To the author's credit, it ships a --preflight mode that prints the exact config source, planned browser-cookie targets, and planned disk writes before executing any network call.

2. Three Honest Catches Straight From the README

Catch 1: Default auto Mode Silently Picks Up Shell Keys From Other Tools

Tucked inside the Data handling / Reranking section, the README documents an important default behavior:

In default auto mode, the engine inspects exported shell variables (OPENAI_API_KEY, XAI_API_KEY, OPENROUTER_API_KEY, GOOGLE_API_KEY, GEMINI_API_KEY, or GOOGLE_GENAI_API_KEY) — including keys set for unrelated tools — and sends your research topic plus shortlisted snippets to that provider for relevance scoring.

Unless you isolate your environment or unset those variables, running a "free" research pass can quietly consume paid LLM tokens elsewhere.

Catch 2: Only Half the Platform Matrix Is Truly Keyless

  • Zero-config free: Reddit (+ top comments), Hacker News, Polymarket, GitHub, US patents, company careers pages, plus auto-installed free CLIs (arXiv, Techmeme, Yahoo Finance).
  • X / Twitter: Requires either paid X API / xAI credits or extracting logged-in session cookies from your local browser (chrome_cookies.py 29.8 KB, cookie_extract.py 31 KB, safari_cookies.py 6.6 KB).
  • TikTok, Instagram, Threads, Pinterest, LinkedIn, YouTube comments: Full coverage relies on a ScrapeCreators key (10,000 free calls, then pay-as-you-go). Without it, the yt-dlp fallback returns fewer hits and zero comments.

Catch 3: Monolithic Pipeline + Post-Turn Stop Hook

The Claude Code plugin registers a Stop hook (capture_brief_hook.py) that saves completed briefs to LAST30DAYS_MEMORY_DIR unless LAST30DAYS_AUTO_CAPTURE=off is set, and credentials entered in Claude Desktop do not sync with Claude Code.

Practical Takeaway

  • Want safe zero-cost research? Run --preflight first, keep shell inference keys isolated when you want local scoring, and stick to the keyless public lanes (Reddit, HN, Polymarket, GitHub, arXiv).
  • Need X or TikTok scraping? Use a separate sandboxed browser profile instead of mixing personal session cookies with automated agent runs.

Would you allow an agent skill to extract local browser cookies for social search, or keep your daily coding agent strictly on keyless public sources?

Top comments (0)