Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

last30

БесплатноБез исполняемых скриптовНе проверен

Cross-platform social research - narrative-first intelligence on what people are saying about a topic across Reddit, X, HN, Polymarket, and the web over the…

aeonfunот aeonfun★ 801 звезда на GitHub

Об этом скилле

${var} — Topic to research (required). Append --quick for a lighter pass (≤15 sources), or --days=N to change the lookback window (default: 30).

Google aggregates editors. A flat "top N posts per platform" aggregates noise. This skill does two things differently: (1) reframes output around narratives (clusters the same story across platforms) instead of platform-siloed recaps, and (2) makes the disagreement between platforms the primary signal — where Reddit is bearish and X is bullish on the same story, that divergence is usually the most actionable finding.

If ${var} is empty, abort and notify: "last30 requires var= set to a topic". Exit.


Steps

0. Parse parameters and bootstrap

Extract from ${var}:

  • topic: everything before any -- flags, trimmed
  • --quick: lighter mode (fewer sources, shorter report)
  • --days=N: custom lookback window (default: 30)

Shell shape. Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (FROM_DATE=$(date ...), UA="...", HTTP=$(./secretcurl ...)), uses if / for / while or a [ -n ... ] test, or joins commands with ;, && or ||, and each refusal costs a model turn. So get each date with a bare date call and write the printed value into later commands; write the topic, subreddits, handles, post IDs and dates into each command literally (the <FROM_DATE>, <SUBREDDIT> style placeholders in the snippets), jq filters included; make one call per subreddit, thread or query. A > redirect into a file and a jq $name variable (--arg topic ... '$topic') are refused too, so each xAI body is a jq -n filter with the values written in, piped straight into ./secretcurl ... --data-binary @-.

DAYS is 30, or the --days value. Get the dates, each date as its own Bash call, with DAYS and then FROM_DATE written in literally:

date -u -d '<DAYS> days ago' +%Y-%m-%d
date -u +%Y-%m-%d
date -u -d '<FROM_DATE>' +%s
date -u +%Y

The first prints FROM_DATE, the second TO_DATE (TODAY is the same value), the third FROM_TS, the fourth YEAR. Work out TOPIC_SLUG yourself: the topic lowercased, every run of characters outside a-z0-9 turned into one -, leading and trailing - trimmed. TOPIC_ENC (used in the URLs below) is the topic URL-encoded.

Read memory/MEMORY.md for tracked interests. Read memory/topics/last30-${TOPIC_SLUG}.md if it exists — it holds the prior snapshot used for the What Changed section below. If absent, this is a cold run. Read the last 3 memory/logs/ entries to avoid duplicating very recent work on the same topic.


1. Entity pre-resolution

Run 2-3 WebSearches to discover the right handles, communities, and terms. Do this before platform queries — searching blind across wrong subreddits wastes sources.

WebSearch: "${topic}" site:reddit.com
WebSearch: "${topic}" site:x.com OR site:twitter.com
WebSearch: "${topic}" community OR subreddit OR forum OR "best account"

Extract:

  • 2-4 relevant subreddits (note the exact lowercase name, e.g. solana, cryptocurrency)
  • 2-3 relevant X handles (voices with demonstrated signal on this topic)
  • 2-3 search variants (alternate names, abbreviations, hashtags)
  • Anchor tokens: proper nouns, project names, specific numbers, URL domains that identify the topic. These are used for clustering in step 7.

Write the resolved entities to a scratch variable — you'll pin them into every downstream prompt to prevent topic drift.


2. Reddit search (30-day window)

Fetch note: Reddit public .json works unauthenticated but caps at ~10 req/min per IP and requires a descriptive User-Agent or it returns empty {} 200s. If curl fails or returns empty, use WebFetch on the same URL.

User-Agent format: aeon-bot:last30:v1 (by /u/aeon-agent)

For each identified subreddit (up to 4), fetch top posts from the window using old.reddit.com (subreddit-restricted top-of-month), one call per subreddit with the subreddit and TOPIC_ENC written in literally:

curl -sL -A 'aeon-bot:last30:v1 (by /u/aeon-agent)' \
  "https://old.reddit.com/r/<SUBREDDIT>/search.json?q=<TOPIC_ENC>&restrict_sr=on&sort=top&t=month&limit=15"

Broad cross-subreddit search:

curl -sL -A 'aeon-bot:last30:v1 (by /u/aeon-agent)' \
  "https://old.reddit.com/search.json?q=<TOPIC_ENC>&sort=top&t=month&limit=25"

Empty-result detection: if data.children.length == 0 on a 200 response, that's a rate-limit, not a real empty. Back off 10s, retry once. If still empty, fall back to WebFetch on the same URL.

Extract per post: title, selftext (first 500 chars), score, num_comments, permalink (build full URL), created_utc, subreddit, url (the external link if any — captured for canonical-

Полный SKILL.md на GitHub

Установить last30 в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл last30?

Cross-platform social research - narrative-first intelligence on what people are saying about a topic across Reddit, X, HN, Polymarket, and the web over the last 30 days

Как установить скилл last30?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл last30 запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить last30 с