Command Palette

Search for a command to run...

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

narrative-tracker

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

Track rising, peaking, and fading crypto/tech narratives with quantitative mindshare + velocity signals and explicit positioning calls

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

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

Read memory/MEMORY.md for context on prior narrative observations. Read the last 3 days of memory/logs/ — specifically any prior ### narrative-tracker entries — to (a) avoid re-reporting the same narratives without new info, and (b) detect phase transitions vs the last run.

Goal

Produce a decision-grade narrative map: every narrative gets a mindshare score, a velocity arrow, a sentiment tag, named drivers, and an explicit position call. Classification without a position call is noise.

Steps

1. Ingest signals

a. X/Twitter narratives - X.AI API (primary). The primary signal is a direct curl to the X.AI Responses API with Grok's x_search tool - see ## Fetching below for the full contract. XAI_API_KEY is injected into this skill's environment via requires:; it is present and valid, so this path is required whenever the key check gives KEY_PRESENT. Set the Bash tool timeout to ≥180000 when running the curl (x_search takes 30-120s) and capture the HTTP status.

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 run each block below as its own Bash call, in order: get a date with a bare date call and write the printed value into later commands (the <FROM_DATE> / <TO_DATE> placeholders); put the prompt and dates inline in the jq -n filter (a jq $name variable such as --arg p ... '$p' is refused too) and pipe it straight into ./secretcurl; never put a $VAR in the ./secretcurl line.

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

date -u -d '3 days ago' +%Y-%m-%d
date -u +%Y-%m-%d

The first prints FROM_DATE, the second TO_DATE.

Key check: read the "Keys set for this run" line in your run notes, never a shell test (those are refused and cost a turn). XAI_API_KEY on that line = KEY_PRESENT, not on it = KEY_UNSET.

Build the JSON payload with jq (do NOT hand-assemble it), with the dates written in literally, and pipe it straight into the POST in the same call. Do not write it to a file first: a > redirect into a file is refused in BOTH tiers, /tmp included, and this read-only run has no Write tool. ./secretcurl reads the body from stdin (--data-binary @-; its own config goes over a separate pipe, so stdin is free):

jq -n '{model:"grok-4.7", input:[{role:"user",content:"Search X for the dominant crypto and tech narratives from <FROM_DATE> to <TO_DATE>. Return 12-15 distinct narrative threads. For each: 1) short label, 2) 3-5 representative @handles driving it, 3) 2-3 tweet permalinks, 4) rough mention-volume descriptor (niche / growing / saturating / cooling), 5) the strongest one-line bear case against it."}], tools:[{type:"x_search",from_date:"<FROM_DATE>",to_date:"<TO_DATE>"}]}' \
  | ./secretcurl -s -o /tmp/xai-nt.json -w '%{http_code}' --max-time 150 -X POST "https://api.x.ai/v1/responses" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {XAI_API_KEY}" \
  --data-binary @-

Run that block verbatim apart from the placeholders (do not hand-reassemble the JSON - the jq -n builder exists precisely so quoting/expansion can't break). The curl prints the status code (HTTP), and ./secretcurl prints a secretcurl xai attempt=... http=<code> bytes=<n> ... line on stderr; that xai ... http= line must appear in your output - it is your proof the call ran. On HTTP=200 with a non-empty body, parse /tmp/xai-nt.json with jq -r '.output[] | select(.type == "message") | .content[] | select(.type == "output_text") | .text' and use that as the primary narrative signal (SOURCE=api).

b. WebSearch / WebFetch fallback (last-resort only). You may reach for this only after you have shown a secretcurl xai ... http=<code> line proving Path A actually ran and returned a non-2xx code (or an empty body, or timed out). If you have no xai ... http= line, you did not run the call - go back and run it. Reach for the fallback only when Path A genuinely fails - KEY_UNSET, a non-2xx HTTP code, an empty parse, or a timeout. It is lower quality (WebSearch favours old high-engagement posts) and is never co-equal with Path A. Record the fetch failure in your final output with the true reason - key-unset | http-<code> | empty | timeout - never "XAI_API_KEY unavailable" when the key was set (a slow curl is a timeout, not a missing key). Then compile narratives via WebSearch (crypto narrative ${TO_DATE}, AI agent crypto trend this week) and WebFetch on individual tweet URLs; discard anything older than the 3-day w

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

Установить narrative-tracker в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл narrative-tracker?

Track rising, peaking, and fading crypto/tech narratives with quantitative mindshare + velocity signals and explicit positioning calls

Как установить скилл narrative-tracker?

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

Скилл narrative-tracker запускает скрипты?

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

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

Сравнить narrative-tracker с