Logo di X Twitter

X Twitter

Community
alberduris
x-twitter

Interact with X (Twitter) API v2. Post tweets, search, engage, moderate, and analyze — all from your AI agent. Full 37-command skill for Twitter/X automation.

Panoramica

Pubblicato daalberduris
Repositoryskills
Nome della skillx-twitter
Stelle
25
Fork
2
File inclusi
89
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.

  • File inclusi: 89

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

  • Open source

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

Installazione

Installa la skill IA X Twitter 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/alberduris/skills/tree/main/plugins/x-twitter/skills/x-twitter
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi 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 della skill nella directory delle skill di quell'agente.

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

Usala in TypingMind

Attiva X Twitter 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 Twitter 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 Twitter 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) API v2 skill using the authenticated user's own developer credentials (OAuth 1.0a, pay-per-use). All commands go through a single entry point: node <base_directory>/x.ts <command> [flags], which Node.js 22.18 or later runs directly, with nothing to install or build. Each command has its own doc file with the full reference for flags and behavior.

[!OUTPUT] Every command prints one JSON object: X's response with includes folded into data, plus our hints, as { data, meta?, errors?, hints? }. meta and errors are exactly as X sent them: meta.next_token is the value for --next-token, and errors says why something is missing, including partial errors next to good data. hints is an array of strings from the CLI. data is absent only when X sent none. Field names are X's own.

[!POSTS] Every command that returns posts (get, search, thread, replies, quotes, mentions, timeline, bookmarks, reposts-of-me, me --pinned-tweet) shows them as x.com does, in one shape: author (id, name, username) in place of author_id; text is the full text a human reads, long posts included, with t.co links expanded and the links to the post's own media and to the quoted post removed; media holds the attached photos and videos as X describes them (type, url, preview_image_url, duration_ms, variants, alt_text); referenced_tweets embeds quoted and retweeted posts in full, while a replied-to post stays { type: "replied_to", id } and the replied-to user is in in_reply_to_user; article holds an X Article's title and full plain_text. A referenced post X did not return stays as its { type, id }, and errors says why. The posts an embedded post references are not requested: they stay { type, id } with no error, a quoted one's link is still removed from the embedded post's text, and get <id> reads them.

[!COMMANDS]

Core: a) me — authenticated user's own account data (profile, metrics, verification). @docs/me.md. b) search — search posts by query. IMPORTANT: by default searches only the last 7 days; use --all for the full archive. Do NOT use search with conversation_id: to read threads or replies — use thread or replies instead. @docs/search.md. c) get — retrieve one or more posts by ID; data is always an array. @docs/get.md. d) post — create a tweet, reply, or quote tweet. @docs/post.md. e) delete — delete a post owned by the authenticated user. @docs/delete.md. f) thread — the conversation author's thread containing a post: the first post plus the author's replies to it or to another post in the thread, oldest first. Other people's replies, and the author's replies under them, are left out. Use --all for threads older than 7 days. @docs/thread.md. g) replies — the direct replies to a post, newest first, one page at a time. IMPORTANT: by default searches only the last 7 days, so for a post older than that the replies come back partial with no warning; use --all. @docs/replies.md. h) transcript — the transcript of a post's video(s), from the subtitle track X generates; a video X published no subtitles for has none. @docs/transcript.md.

Engagement: i) like — like a post by tweet ID. @docs/like.md. j) unlike — remove a like from a post. @docs/like.md. k) repost — repost (retweet) a post. @docs/repost.md. l) unrepost — remove a repost. @docs/repost.md.

Social: m) user — look up user(s) by username or ID. @docs/user.md. n) follow — follow a user by username or ID. @docs/follow.md. o) unfollow — unfollow a user. @docs/follow.md. p) followers — list a user's followers. @docs/followers.md. q) following — list accounts a user follows. @docs/followers.md.

Feed: r) timeline — your home timeline (reverse chronological, not the algorithmic "For you" feed). Results skew heavily toward the authenticated account's own posts and do not reproduce the "Following" tab of the web client. Use --exclude replies,retweets to improve signal. @docs/timeline.md. s) mentions — posts that mention you. @docs/mentions.md.

Bookmarks: t) bookmarks — list your bookmarks. Adding or removing bookmarks is NOT possible: X accepts only OAuth 2.0 user context for those writes, which no supported credential provides. @docs/bookmark.md.

Moderation: u) mute — mute a user. @docs/mute.md. v) unmute — unmute a user. @docs/mute.md. w) muted — list muted accounts. @docs/mute.md. x) blocked — list blocked accounts. @docs/blocked.md. y) hide-reply — hide a reply to your post. @docs/hide-reply.md.

Analytics: z) likers — users who liked a post. @docs/likers.md. aa) reposters — users who reposted a post. @docs/reposters.md. ab) quotes — quote tweets of a post. @docs/quotes.md. ac) count — count posts matching a query over time. @docs/count.md. ad) reposts-of-me — your own posts that others reposted; the reposters are not included, reposters <id> lists them. @docs/reposts-of-me.md.

Discovery: ae) search-users — search users by query. @docs/search-users.md. af) trending — trending topics (worldwide or personalized). @docs/trending.md.

Communities: ag) search-communities — search communities by keyword (name, description). Returns metadata: name, description, member count, join policy. @docs/search-communities.md. ah) community — look up a community by ID. @docs/community.md.

News: ai) search-news — search trending news stories by query. Returns headlines, summaries, categories, keywords, and related posts. @docs/search-news.md. aj) news — look up a news story by ID. @docs/news.md.

Account: ak) usage — posts read this cycle against the project cap. This is a READ QUOTA, not a credit balance: it cannot tell you whether you have money left, and it keeps working normally when credits are depleted. @docs/usage.md.

[!CREDENTIALS] Four OAuth 1.0a variables are REQUIRED: X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, X_ACCESS_TOKEN_SECRET. They resolve from the first source that provides them: a) .env.local in cwd, b) .env in cwd, c) .env.local in the skill directory (<base_directory>), d) .env in the skill directory, e) environment variables. <base_directory>/.env.example lists every variable. Obtain them from the X Developer Console (Apps > Keys and tokens). One CONDITIONALLY REQUIRED variable: X_API_BEARER_TOKEN (OAuth 2.0 App-Only Bearer Token), generated from the X Developer Console (Apps > Keys and tokens > Bearer Token). Three commands authenticate with it instead of OAuth 1.0a and fail without it, before sending any request: count (ALWAYS, not only with --all), trending (default worldwide branch; --personalized accepts only user context and does not need it), and usage. Their endpoints (post counts, usage, trends by place) are App-Only. Every other command, full-archive search included (search --all, thread --all, replies --all), runs under OAuth 1.0a user context, which is what returns user-context fields such as connection_status and receives_your_dm.

File inclusi

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

e 29 file in più.

Domande frequenti

Cosa fa la skill IA X Twitter?

Interact with X (Twitter) API v2. Post tweets, search, engage, moderate, and analyze — all from your AI agent. Full 37-command skill for Twitter/X automation.

Perché usare X Twitter su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. X Twitter è 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 la skill 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 Twitter in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/alberduris/skills/tree/main/plugins/x-twitter/skills/x-twitter. 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 Twitter?

Qualsiasi modello che colleghi a 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 Twitter?

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

La skill IA X Twitter è gratuita?

Sì. È pubblicata su GitHub da alberduris 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, template 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.

Elenco completo

Crea subito il tuo spazio di lavoro AI

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