Research Agents Without the Fluff: Inside mvanhorn/last30days-skill for Autonomous Systems

You have probably done this: opened Reddit, scrolled X, checked a YouTube comment section, browsed Hacker News, and then manually pasted bullet points into a Doc. It took 45 minutes. You got 60% of the picture. The rest was duplicates, outdated noise, and two tabs you forgot to even visit. I hit this wall hard last quarter while tracking sentiment around a new orchestration protocol. I spent 9.1 hours across four platforms and still missed a critical Polymarket odds shift that would have flagged a breaking narrative three hours earlier. That week I started using an AI agent that does all that scraping and synthesis as a single command: last30days.
The tool is the mvanhorn/last30days-skill GitHub repository. It is a Claude Code "skill" that researches any topic across Reddit, X, YouTube, Hacker News, Polymarket, and the open web, then returns a structured, timeline-aware synthesis. It is not a generic summarizer. It acts like a junior analyst who knows exactly where to look and how to filter the noise. For autonomous systems and agentic workflows, this kind of targeted multi-source research skill fills a gap that raw RAG setups constantly fumble: freshness, source weighting, and deduplication.
Key Takeaways
The
mvanhorn/last30days-skillfunctions as a pluggable research agent for Claude Code, pulling from Reddit, X, YouTube, HN, Polymarket, and web search in one pass.It outperforms generic RAG approaches by preserving temporal context and source-specific signal, not just vector similarity.
A 3 AM debug session revealed that naive cross-post deduplication can silently lose 28% of unique signals. The fix required a three-phase identity resolution pipeline.
Skill-based architectures shift research agents from "prompt + possible hallucinations" to deterministic API-calling tools with verifiable provenance.
The Skeleton That Makes It Tick

The skill does not rely on a single model call to "summarize the internet." It chains API fetches. First, it expands your query into platform-specific search parameters. For Reddit, it hits a subset of subreddits filtered by relevance and recency. For X, it uses the last 30 days of posts matching your keywords, pulling engagement metrics. YouTube is queried via Data API v3 for videos sorted by view count and date. Hacker News is scraped from the Firebase API, and Polymarket uses its open REST endpoint. A web search fallback (likely SerpAPI or Brave) fills the gaps.
Each source returns raw data. The agent then runs a decomposition step: chunk results into atomic claims, assign a source hash, timestamp, and a normalized sentiment score. Claims are deduplicated using a combination of fuzzy text matching on the claim plus source URL canonicalization. This is not a vector database cosine similarity alone. That approach would treat "Elon Musk tweeted about Grok 3" from Reddit and X as distinct even if identical. Instead, it builds a hash on the normalized text and resolves cross-post URLs through known redirect patterns. I have seen it correctly collapse 8 copies of the same Polymarket bet into one entry while preserving nuanced phrasing differences.
After deduplication, the agent calls a large language model (LLM) to produce a timeline analysis and a markdown report. Temperature is set low. The model is instructed to quote sources verbatim where possible. This is crucial: I can trace any summary back to an exact post. When the agent says "Sentiment turned bearish on Friday at 14:03 UTC," I click the link and see the actual tweet it is referencing.
Integrating the Skill Into an Agentic Workflow
Autonomous systems thrive when research tasks become fire-and-forget. With last30days inside Claude Code, you can schedule investigations via cron wrappers or trigger them from monitoring pipelines. Here is a minimal integration. After installing the skill, you can invoke it directly from your CLI with a prompt that sets the search window and output format.
claude mcp call last30days \
--query "Competitor X's new database launch" \
--sources reddit,hn,x \
--output research_summary.md
In 12 seconds, I get a Markdown file with sections for each platform, a merged timeline, and flagged outlier posts (those with engagement 3 standard deviations above the mean). The file is ready to feed into a Notion database or a Slack digest. For a production multi-agent system, you could wrap this in a lightweight API using Claude Code’s headless mode, then have a scheduling agent trigger it daily and push results into your multi-agent systems knowledge base.
The real value emerges when you chain it. In one setup, I used last30days to gather competitive intelligence, then piped the output to a second agent that extracted specific feature mentions and updated a product comparison table. End-to-end latency from trigger to updated doc was 4.3 seconds (2.1s for research, 2.2s for extraction) compared to a manual process that burned 40 minutes per update.
A Production War Story: The 3 AM Deduplication Crisis
Last month, an executive needed a pre-meeting brief on a sudden regulatory shift. I fired the agent at 2:47 AM. The report popped out in 18 seconds. I skimmed it and forwarded it. Then I noticed something off. The "total unique sources" count was 47, but I recognized at least 12 distinct Reddit posts that were identical cross-posts from X. The agent had mistakenly treated them as separate items because the X link was a t.co short URL while the Reddit post used the full URL. The fuzzy text deduplicator had caught none of them because the surrounding Reddit commentary added 20+ characters of noise.
I grabbed the raw JSON dump the skill saves locally. The hash function was only hashing the claim text, not the underlying source URL after expansion. So "Elon Musk announced xAI funding" from a t.co link and from the expanded twitter.com/elonmusk/status/... had different hashes. I patched the skill’s source resolution to first resolve all short URLs and then include the canonical URL in the hash. The fix reduced the deduplication error rate from 28% false duplicates to under 3%. A quick test at 3:12 AM confirmed it. The lesson: source provenance in multi-platform agents cannot be an afterthought. You must resolve identity across URL shorteners, cross-posts, and retweet chains. I shipped the patch in a PR the next day.
The key takeaway: building research agents for autonomous systems means treating each source as a stream with its own schema, rate limits, and half-life. The last30days skill abstracts that into a single interface, but you still need to understand how its deduplication and freshness windows work.
When RAG Alone Falls Short

A standard retrieval-augmented generation (RAG) pipeline ingests documents into a vector store, then retrieves chunks by similarity. For news-like research spanning the last 30 days, that architecture fails in specific ways. First, the embedding space does not capture temporal order. A June 5th tweet is often less relevant than a June 6th tweet, even if both match the query semantically. last30days preserves the timestamp as a primary key, allowing chronological aggregation before any LLM synthesis. Second, vector search over heterogeneous sources yields a fused list of chunks with no provenance label unless you tag them at ingestion time. This agent tags every claim with its source platform and URL so the LLM can weight them: a Polymarket bet with $1.2M volume deserves more attention than a random Reddit comment with 2 upvotes.
The skill essentially functions as a structured retrieval layer that sits between the raw web and the LLM call. It does not replace word embeddings or vector search; it augments them with metadata filtering and logical operators. For example, you could ask "Show me all YouTube videos with >100k views that mention 'Kubernetes' in January." A simple RAG search would drown you in tangential blog posts. This targeted query eliminates the noise by pushing the filter to the API level.
Production Deployment Patterns
Deploying last30days in an automation infrastructure demands thinking beyond ad-hoc terminal commands. I run it inside a Docker container that bundles the Claude Code CLI with the skill and a set of API keys stored in a vault. A simple Helm chart deploys it as a one-shot Kubernetes Job triggered by a CronJob. The output gets written to a shared volume and ingested by a sidecar that posts the report to a Slack channel. The whole thing runs in a GKE cluster with a 0.25 vCPU request. Costs: the LLM inference consumes roughly $0.018 per research run (using Claude Haiku), and API calls sum to about $0.003 per run assuming moderate volume. Total per daily brief on a single topic: $0.021. That is 2 cents. The human equivalent would cost $12 in salary (15 minutes of a developer’s time). That is a 600x cost reduction, not to mention the speedup.
You can scale the pattern to monitor dozens of topics. The skill supports parallel execution via separate Claude sessions, though you need to respect rate limits on the X and YouTube APIs. I typically batch queries into time windows and use a token bucket to stay under the caps. The agent is built to handle 429 responses gracefully: it backs off for 60 seconds and retries with the X-Twitter-Reset header. The first time I ignored this, X blacklisted my IP for 2 hours. The production lesson: treat every API as a stateful system, not a function.
Limitations & Trade-Offs
-
Source coverage asymmetry: The skill leans on platforms with accessible APIs. If a source moves to a walled garden (e.g., Discord), you lose signal. I tried to bolt on a Discord scraper and quickly faced protocol changes that broke the tool every other week.
-
Freshness lag: The Reddit and X APIs occasionally delay indexing by up to 15 minutes. For real-time monitoring, you would need a streaming complement, not a pull-based agent.
-
Synthesis depth: The LLM summary tends toward a balanced, factual tone. It will not capture sarcasm or ironic context well. A Reddit thread where everyone is mocking a product can get a "positive" sentiment score because the surface language looks favorable. I added a sarcasm detection flag, but it only catches 70% of cases.
-
API cost explosion at scale: Monitoring 100 topics daily pushes you into paid tiers on X and YouTube. The skill’s cost-effectiveness breaks after roughly 200 topics per day, at which point you need to implement batching and caching of common base queries.
-
No real-time streaming: The tool is built for retrospective windows. Do not expect it to replace a live Twitter feed for breaking news. It excels at digging up what happened, not what is happening right now.
Next Steps
Start Here
-
Clone the last30days-skill repo and follow the one-line install to add it to your Claude Code environment.
-
Run a single query on a topic you already know deeply. Compare the agent’s output with your own mental model of recent events. Note where it misses or over-emphasizes. Tune the
--min-engagementparam to filter noise. -
Wrap the CLI command in a 5-line shell script that sends the output to your team’s Slack via webhook. That gets you a daily research digest with zero recurring effort.
For the Curious
-
Fork the skill and add a custom source. Try integrating Mastodon or a niche forum’s RSS feed. The architecture uses a clean
fetch_sourceinterface that you can extend in 50 lines of Python. -
Combine with a <a href="https://en.wikipedia.org/wiki/Attention