Spec

last30days is a Claude Code skill that researches a given topic across Reddit and X (Twitter) using the OpenAI Responses API and xAI Responses API respectively.

Reddit AdsCROSocial Media
bykursku385 words

What is Spec?

What this skill does

The last30days skill conducts focused social media research on a specified topic by aggregating data from Reddit and X (formerly Twitter) over the past 30 days. It combines OpenAI and xAI Responses APIs to extract recent, relevant, and engagement-weighted insights, delivering structured outputs like best practices, prompt packs, and context snippets. This enables marketers to quickly understand current discourse and trends with a strict recency window and cross-platform validation.

Who it's for

This skill is designed for performance marketers and growth leads looking to optimize social campaigns based on up-to-date audience conversations and sentiment across Reddit and X. SEO and PPC operators can leverage it to identify trending keywords and user concerns relevant to their campaigns. Agencies managing social media or content strategies will find it useful to generate data-driven creative briefs grounded in recent community engagement.

Key workflows

Practitioners start by specifying a topic and selecting API keys for Reddit, X, or both to define data sources. The skill then collects and enriches raw posts and threads, normalizing them into a unified schema for consistent analysis. Next, it scores content by combining relevance, recency, and engagement metrics to prioritize high-impact insights. Finally, it generates actionable markdown reports and reusable context snippets for integration into broader workflows or other skills.

Common questions

Can I use only Reddit or only X data? Yes, the skill supports operating in reddit-only, x-only, or combined modes depending on available API keys. How recent is the data? All research strictly covers the last 30 days to maintain topical relevance. How does it handle duplicates? It uses near-duplicate detection based on text similarity to avoid redundant results and focus on diverse perspectives.

How to use in Metaflow

Attach the last30days skill to a Metaflow agent task by providing your topic query and the appropriate API keys for Reddit and/or X. The skill will return a ranked, time-sensitive research report along with reusable context snippets that can be injected into downstream tasks. Expect to incorporate these outputs as foundational inputs for campaign ideation, content planning, or audience analysis workflows.

For broader context, see our roundup of claude skills marketing, and read Claude Code workflows for marketing agencies for related setup guidance.

Related skills

Social Media Optimization

Text Posts: 1,300 characters optimal, use line breaks Articles: 1,900-2,000 words, include 5+ images Videos: 30 seconds - 10 minutes, native upload preferred Do

View →

Ad Creative Generator

When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone nee

View →

Competitive Ads Extractor

Extracts and analyzes competitors' ads from ad libraries (Facebook, LinkedIn, etc.) to understand what messaging, problems, and creative approaches are working. Helps inspire and improve your own ad campaigns.

View →

Client Brief

Structured client brief template covering objective, audience (icp/segment), main job-to-be-done, top pains (ranked), top gains (ranked), value proposition (dra

View →

Messaging House

Structured messaging house template covering one-liner positioning, who it’s for / not for, core promise (outcome), proof points (evidence-backed or “proof need

View →

Offer Page Blueprint

Structured offer page blueprint template covering hero, problem / stakes, solution / mechanism, benefits mapped to pains/gains, proof (case studies, metrics, te

View →
Spec