Logo di X Scanner

X Scanner

Community
reymerekar7
x-scanner

Scan X/Twitter for recent posts from a curated list of AI creators and news accounts using xAI's Grok API with the x_search tool. Use this skill whenever the user asks to: check what's happening on AI Twitter, scan X for news, pull recent tweets from creators, get an AI news digest, find trending AI topics, or generate content ideas from X. Also trigger when a scheduled news-scan task runs. This skill requires an xAI API key.

Panoramica

Autorereymerekar7
Repositoryrm-skills
Nome della skillx-scanner
Stelle
39
Fork
6
File inclusi
4
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 4 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da reymerekar7 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA X Scanner in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/reymerekar7/rm-skills/tree/main/skills/x-scanner
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/reymerekar7/rm-skills.git /tmp/rm-skills
mkdir -p .claude/skills
cp -r /tmp/rm-skills/skills/x-scanner .claude/skills/x-scanner
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva X Scanner in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente X Scanner non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi X Scanner non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

X/Twitter Scanner

What This Does

Uses xAI's Grok API with the built-in x_search tool to scan X/Twitter for recent posts from AI-focused accounts. Grok has native access to X data, so one API call handles search, filtering, and summarization. No separate Twitter API credentials needed.

The scan produces a structured digest tagging launches, tools worth trying, learning material, build ideas, and content angles — with a coverage check so your must-watch accounts never silently drop out.

Setup

The script reads the xAI API key from the environment first, then falls back to a .env file (it walks up the directory tree to find one). Either works:

bash
export XAI_API_KEY=your_xai_api_key_here
# or add to a .env file at your project root:
# XAI_API_KEY=your_xai_api_key_here

Get an API key from https://x.ai/api. No external Python packages are needed — the script uses the standard library only.

Configuring Who You Track — watchlist.json

Accounts live in watchlist.json next to the scripts/ folder. Edit that file, not the script, to track whoever you want. It has two parts:

  • must_surface_handles — accounts the scan always tries to cover. If one is missed on the first pass, the scanner automatically re-scans just those handles and merges them in. A coverage footer reports how many were surfaced.
  • groups — everyone else, organized into named buckets (AI labs, builders, news, etc.). Each group is scanned together, and grouped scans kick in as a fallback if a broad pass comes back thin. Handles can be plain strings or { "handle": "...", "note": "..." } objects — notes are just for your own reference.

If watchlist.json is missing or invalid, the script falls back to a small set of baked-in default handles so it still runs.

How It Works

The script calls https://api.x.ai/v1/responses with the x_search tool enabled. Grok searches X in real-time and returns a summarized digest. The scanner adds reliability on top:

  1. Broad pass over all watchlist accounts.
  2. If the result is thin or misses required accounts, it escalates — scanning curated groups separately, then falling back to a must-surface-only scan.
  3. It re-scans any still-missing required handles and merges them in.
  4. It appends a deterministic coverage check and exits non-zero if nothing usable came back.

Digest Structure

Every account scan returns these sections:

  • FLAGGED — high-signal posts: launches, real revenue/growth numbers, contrarian takes, adoption-worthy workflows, or viral engagement.
  • TRY THIS — concrete tools, models, APIs, or integrations you can go use right now. Publicly callable models, free-tier or open-source releases, new API capabilities, or replicable "here's exactly how" posts. Not research papers, waitlists, or "coming soon."
  • LEARN NEXT — educational content worth studying (frameworks, tutorials, becoming-table-stakes skills).
  • BUILD IDEAS — concrete product/automation/agent ideas inspired by the scan.
  • CONTENT ANGLES — angles usable across LinkedIn, X, newsletter, or short-form video.
  • TOP FEED — remaining notable posts, ranked by relevance.
  • COVERAGE CHECK — how many must-surface handles were surfaced, and which were missed.

How to Use

Quick scan (default — last 48 hours)

bash
python <skill-directory>/scripts/scan_x.py

Custom time window

bash
python <skill-directory>/scripts/scan_x.py --hours 6

Specific accounts only (skips the fallback machinery — scans exactly what you pass)

bash
python <skill-directory>/scripts/scan_x.py --handles karpathy sama AnthropicAI

Freeform X search

bash
python <skill-directory>/scripts/scan_x.py --query "Claude Code update"

Summary only (no JSON wrapper)

bash
python <skill-directory>/scripts/scan_x.py --summary-only

Output is JSON to stdout with a summary field containing Grok's digest (or just the digest text with --summary-only). The script exits with code 2 if the scan returned nothing usable.

Default Workflow

  1. Run scan_x.py to pull recent posts via the xAI Grok API.
  2. If the script fails (key expired, rate limited), fall back to a web search with queries like "AI news today", "Claude update", "OpenAI announcement".
  3. Present the digest to the user, leading with FLAGGED and TRY THIS.
  4. STOP here. Don't generate downstream content or push to any external tool unless the user explicitly asks.

Automated Scanning

scripts/scheduled_scan.sh writes a timestamped digest to a digests/ folder next to the script — wire it into cron for hands-off daily scans:

bash
# Scan twice a day at 8am and 8pm
0 8,20 * * * /path/to/skills/x-scanner/scripts/scheduled_scan.sh

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA X Scanner?

Scan X/Twitter for recent posts from a curated list of AI creators and news accounts using xAI's Grok API with the x_search tool. Use this skill whenever the user asks to: check what's happening on AI Twitter, scan X for news, pull recent tweets from creators, get an AI news digest, find trending AI topics, or generate content ideas from X. Also trigger when a scheduled news-scan task runs. This skill requires an xAI API key.

Perché usare X Scanner su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. X Scanner è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo X Scanner in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/reymerekar7/rm-skills/tree/main/skills/x-scanner. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare X Scanner?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con X Scanner?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con X Scanner: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA X Scanner è gratuita?

Sì. È pubblicata su GitHub da reymerekar7 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇