Command Palette

Search for a command to run...

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

digest

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

Generate and send a digest on a configurable topic, optionally pulling RSS/Atom feeds as an input source alongside web + X signal

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

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

${var} — Selects the digest's topic and which source classes feed it. Grammar:

  • "" (empty) → digest's default sources (WebSearch + xAI/Grok + aggregators), no topic filter — a broad daily digest.
  • "<topic>" → topic-focused digest on the default web sources, filtered to <topic> (e.g. "solana", "AI agents", "rust").
  • "rss" → RSS-only: pull feeds from memory/feeds.yml, no topic filter.
  • "rss: <topic>" → RSS-only, filtered to <topic> (e.g. "rss: rust").
  • "<topic> +rss" → default web sources and RSS feeds combined, both filtered to <topic> (e.g. "AI agents +rss").

Today is ${today}. Generate and send a daily ${var} digest.

The whole point of a digest is signal, not volume. A reader skimming for 60 seconds should walk away with three things they didn't know that morning and one of them should change a decision they'd make this week. Anything that doesn't clear that bar gets cut.

Preamble — orient and parse the selector

  1. Read memory/MEMORY.md for high-level context and tracked topics, and scan the last 3 days of memory/logs/ so you can dedup against anything already reported.
  2. Parse ${var} into {topic, sources}:
    • Strip a trailing +rss → adds RSS to the default web sources. Remainder is the topic.
    • A leading rss: (or the bare token rss) → RSS-only source set; text after the colon is the topic (empty = no filter).
    • Otherwise the whole string is the topic and sources = default web (empty string = default web, no topic filter).
    • Resulting sources is one of: web (default), rss (RSS-only), or web+rss (both).
  3. The topic, when non-empty, is a filter applied to every source class — web queries are scoped to it and RSS items must match it (title/description/tags). Empty topic = keep all relevant items.

Config (RSS source)

When sources includes rss, this skill reads feed URLs from memory/feeds.yml. If the file doesn't exist yet, create it (write mode) with the shape below, or — if you have nothing to seed it with — log a one-line note and treat the RSS source as empty for this run.

# memory/feeds.yml
feeds:
  - name: Example Feed
    url: https://example.com/rss
  - name: Another Feed
    url: https://example.com/atom.xml

Phase 1 — Gather (cast a wide net)

Pull from the source classes selected by ${var}. Never rely on a single one — if sources = web, use at least two of the web classes below; if sources = web+rss, RSS counts as one class and you still want a second.

Web sources (active when sources is web or web+rss)

  1. WebSearch (built-in) — run 2 distinct queries:

    • "${topic}" news ${today} (broad). If topic is empty, run a general query for the day's notable stories in the operator's tracked areas (from memory/MEMORY.md).
    • One narrower query you choose based on ${topic} (e.g. for "solana" → "solana" launches OR funding OR exploit ${today}; for "AI agents" → "agent framework" OR "agentic" release ${today}).
  2. xAI x_search via Grok — pulls the X/Twitter signal layer. XAI_API_KEY is injected into this skill's environment (declared in requires:) and is the primary path; see Fetching the X signal below for the full contract (attempt the curl before any fallback, set the Bash tool timeout ≥180000, record the true failure reason).

    Path A - X.AI API (primary): a direct curl to the Responses API. First confirm the key as Fetching the X signal rule 1 says (the run notes' "Keys set for this run" line, no shell test); if KEY_PRESENT (it will be), this path is required. When you run the curl, set the Bash tool's timeout to at least 180000.

    Shell shape. Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (FROM_DATE=$(date ...), PROMPT="...", HTTP=$(./secretcurl ...)), uses [ ... ] && tests, or joins commands with ;, && or ||, and each refusal costs a model turn. So get each date with a bare date call, write the printed values and the topic into later commands literally (the <FROM_DATE>, <TO_DATE>, <TOPIC> placeholders), and build the payload with one jq -n call piped straight into one ./secretcurl call. A > redirect into a file and a $name in a jq filter (--arg p ... '$p') are refused too, so the topic and dates go into the filter as plain JSON strings (a " inside the topic becomes \", and reword any ').

    Get the window dates first, each date as its own Bash call:

    date -u -d yesterday +%Y-%m-%d
    
    date -u +%Y-%m-%d
    

    The first prints FROM_DATE, the second TO_DATE. Build the payload with the pro

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

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

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

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

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

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

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

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

FAQ

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

Generate and send a digest on a configurable topic, optionally pulling RSS/Atom feeds as an input source alongside web + X signal

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

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

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

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

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

Сравнить digest с