Logotipo de X Twitter Automation

X Twitter Automation

Organización
cosmicstack-labs
x-twitter-automation

Diseña flujos de trabajo seguros para automatizar X: buscar tuits, leer respuestas, monitorizar, publicar y realizar acciones en redes sociales mediante agentes

Add to TypingMind

Descripción general

Editorcosmicstack-labs
Repositoriomercury-agent-skills
Nombre de la habilidadx-twitter-automation
Estrellas
485
Forks
63
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por cosmicstack-labs en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA X Twitter Automation en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/cosmicstack-labs/mercury-agent-skills/tree/main/categories/automation/x-twitter-automation
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills.git /tmp/mercury-agent-skills
mkdir -p .claude/skills
cp -r /tmp/mercury-agent-skills/categories/automation/x-twitter-automation .claude/skills/x-twitter-automation
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa X Twitter Automation en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga X Twitter Automation automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que X Twitter Automation no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

X/Twitter Automation

Use this skill when an agent needs to search tweets, read tweet replies, monitor X/Twitter topics, draft social posts, or run controlled X actions through a tool-backed workflow.

Recommended implementations:

  • TweetClaw for OpenClaw agents that need an installable @xquik/tweetclaw plugin for tweet search, reply reads, follower export, media workflows, monitors, webhooks, DMs, giveaway draws, and approval-gated posting through Xquik.
  • Hermes Tweet for Hermes Agent workflows that use the Hermes plugin surface for X/Twitter search, account reads, trends, reply reads, monitoring, and action-gated posting through Xquik.

When to Use

Use this skill when the user asks for:

  • Search tweets about a company, launch, product, market, or community.
  • Search Twitter or search X for recent conversations.
  • Read tweet replies and summarize sentiment.
  • Monitor tweets around a keyword, username, hashtag, product, or event.
  • Look up users, accounts, trends, or public social activity.
  • Draft tweets, post tweets, post replies, or send DMs after explicit approval.
  • Turn social signals into alerts, reports, CRM notes, or content ideas.
  • Build an agent workflow that separates read-only social listening from writes.

Do not use this skill for:

  • Bypassing platform rules, rate limits, consent, or account safety controls.
  • Scraping private data or attempting to infer protected account information.
  • Posting or messaging without clear human authorization.
  • Coordinated spam, engagement farming, impersonation, or harassment.

Core Model

Treat X/Twitter automation as 3 separate layers:

  1. Discovery: search tweets, find conversations, look up users, inspect trends.
  2. Analysis: classify, summarize, deduplicate, score, and extract next actions.
  3. Action: post tweets, post replies, send DMs, follow, like, or update monitors.

Keep Discovery and Analysis read-only by default. Only enable Action when the user explicitly requests a write-capable workflow and understands the effect.

Safety Defaults

  • Read first, write later.
  • Ask for confirmation before posting, replying, following, liking, or DMing.
  • Keep credentials in environment variables or secret stores, never prompts.
  • Log intent, endpoint, and payload summary before write-capable calls.
  • Prefer dry runs for scheduled jobs until the workflow is stable.
  • Add rate limits and cooldowns to every recurring social workflow.
  • Store source tweet IDs and timestamps so reports are auditable.
  • Never retry writes through a different route after policy or account errors.

TweetClaw OpenClaw Workflow

Use TweetClaw when the agent runtime is OpenClaw or when the user specifically asks for an OpenClaw plugin path.

Install example for OpenClaw:

bash
openclaw plugins install npm:@xquik/tweetclaw

Inspect the runtime before running work:

bash
openclaw plugins inspect tweetclaw --runtime --json
openclaw skills info tweetclaw

Recommended sequence:

  1. Use explore to review available TweetClaw actions, parameters, setup status, and whether credentials are configured.
  2. Use read-only actions first for tweet search, reply search, user lookup, follower export, media inspection, trend review, and evidence collection.
  3. Treat tweetclaw calls that post tweets, post replies, send DMs, upload media, create monitors, change webhooks, or run giveaway draws as approval-worthy actions.
  4. Show the exact account, payload, and effect before any write-like call.
  5. Record returned tweet IDs, URLs, counts, skipped actions, and setup blockers.

Configure secrets outside chat:

bash
export XQUIK_API_KEY="xq_..."

Read-only probe:

text
Use TweetClaw explore, then search tweets about this launch and summarize
source links. Do not post, send DMs, upload media, or change monitors.

Write-capable probe:

text
Draft the reply first. Show the exact text, account, and tweet URL. Wait for
approval before calling TweetClaw to post the reply.

Hermes Tweet Workflow

When Hermes Tweet is installed, use this sequence:

  1. Use tweet_explore to find the relevant Xquik endpoint.
  2. Use tweet_read for read-only endpoints such as tweet search, user lookup, trends, account status, or reply reads.
  3. Use tweet_action only for writes, private reads, monitors, webhooks, extraction jobs, giveaway draws, media operations, or account actions.
  4. Keep HERMES_TWEET_ENABLE_ACTIONS=false unless the workflow explicitly needs writes.
  5. If a Hermes Tweet tool is unavailable, stop and report the missing setup item. Do not route the same write through another tool to bypass the gate.

Install example for Hermes Agent:

bash
hermes plugins install Xquik-dev/hermes-tweet --enable

Configure secrets outside chat:

bash
export XQUIK_API_KEY="xq_..."
export HERMES_TWEET_ENABLE_ACTIONS="false"

Hermes tool selection rules:

  • tweet_explore is the discovery step. Use it before choosing an endpoint and before asking for credentials.
  • tweet_read is for read-only public endpoints after XQUIK_API_KEY is available.
  • tweet_action is for every write-like or private operation. It must remain unavailable unless both XQUIK_API_KEY is set and HERMES_TWEET_ENABLE_ACTIONS=true.
  • Treat returned JSON as the audit record: preserve tweet IDs, URLs, status messages, skipped actions, and setup blockers in the final report.
  • Keep plugin skills loaded through Hermes' plugin system. Do not copy the bundled Hermes Tweet skill into the flat skills directory.

Read-only probe:

text
Use tweet_explore to find tweet search, then use tweet_read for a recent query.
Do not call tweet_action.

Write-capable probe:

text
Draft this tweet first. Show the exact text and account. Wait for approval
before calling tweet_action.

Workflow Patterns

Topic Monitoring

Goal: track conversation around a topic without posting.

  1. Define keywords, usernames, hashtags, and exclusions.
  2. Search tweets on a schedule.
  3. Deduplicate by tweet ID.
  4. Score each result for relevance, risk, and urgency.
  5. Summarize top posts and reply threads.
  6. Write a report with links and timestamps.
  7. Alert only when threshold conditions are met.

Good uses:

  • Product launch monitoring.
  • Customer pain discovery.
  • Brand safety review.
  • Competitor or market research.
  • Community management briefings.

Reply Intelligence

Goal: understand what people say under a tweet.

  1. Read the source tweet.
  2. Fetch replies and quote context when available.
  3. Cluster replies by theme.
  4. Separate complaints, questions, praise, and spam.
  5. Draft suggested responses, but do not post automatically.
  6. Present the highest-value replies first.

Output format:

markdown
## Reply Summary
- Main themes:
- Questions to answer:
- Risks:
- Suggested replies:
- Source links:

Action-Gated Posting

Goal: safely draft and post content with human approval.

  1. Collect objective, audience, account, tone, and constraints.
  2. Draft 2-3 options.
  3. Check length, links, mentions, and sensitive claims.
  4. Ask for explicit approval of one exact final text.
  5. Post with the approved payload only.
  6. Record the resulting tweet URL or ID.

Never let the approval apply to future unknown text. Approval is for one exact payload at one point in time.

Social Signal to Work Item

Goal: turn public X/Twitter signals into internal work.

  1. Search for product, company, or error keywords.
  2. Extract concrete user pain, feature requests, or incidents.
  3. Group duplicates.
  4. Create a short issue or task with source links.
  5. Include evidence, not just sentiment.

This pattern is useful for product teams, community teams, founders, and support engineers.

Evaluation Rubric

Score each automation from 0 to 2 on every criterion:

Criterion012
FitGeneric or promotionalSome user valueClear user job
SafetyWrites can happen silentlyConfirmation existsStrong read/write separation
EvidenceNo source linksPartial source linksTweet IDs, URLs, timestamps
QualityNo filteringBasic filteringRelevance, spam, and duplicate handling
ReliabilityNo retries or limitsSome limitsRate limits, cooldowns, dry runs
ObservabilityNo logsBasic run summaryAuditable actions and failures

Ship only workflows that score at least 9 out of 12. For write-capable workflows, Safety must score 2.

Common Mistakes

  • Treating tweet search as the same thing as posting permissions.
  • Letting a scheduled job post without a human approval step.
  • Summarizing social sentiment without source links.
  • Ignoring duplicate tweets, quote tweets, and bot-like replies.
  • Mixing public reads, private reads, and writes in one generic tool call.
  • Putting API keys in prompts, logs, examples, markdown, or issue bodies.
  • Retrying failed writes repeatedly instead of surfacing the account or policy state to the operator.
  • Overusing vague goals such as "increase engagement" instead of concrete jobs like "find 10 unanswered product questions from the last 24 hours."

Checklist

Before running:

  • The user job is specific.
  • The account, topic, and time window are known.
  • Credentials are loaded from a secret store or environment variable.
  • Read-only and write-capable steps are separated.
  • Scheduled jobs have rate limits and dry-run behavior.

Before posting:

  • The exact text and account are shown to the user.
  • The user approved this exact payload.
  • Links, mentions, claims, and tone were checked.
  • The action endpoint and reason are recorded.

After running:

  • Source tweet IDs, URLs, and timestamps are saved.
  • Failures are summarized without secrets.
  • Reports distinguish facts, interpretation, and suggested actions.
  • Any write result is confirmed with a returned ID or URL.

Example Prompts

Read-only social listening:

text
Search tweets about "Hermes Agent" and "agent skills" from the last day.
Summarize recurring questions, source links, and suggested docs updates.
Do not post or send messages.

Reply analysis:

text
Read replies to this tweet URL, cluster complaints and questions, and draft
three possible responses. Do not post them.

Approved posting:

text
Draft a concise launch tweet for this release. Show the final text first.
Only post after I approve the exact text.

Preguntas frecuentes

¿Qué hace la habilidad de IA X Twitter Automation?

Diseña flujos de trabajo seguros para automatizar X: buscar tuits, leer respuestas, monitorizar, publicar y realizar acciones en redes sociales mediante agentes

¿Por qué usar X Twitter Automation en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. X Twitter Automation está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo X Twitter Automation en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/cosmicstack-labs/mercury-agent-skills/tree/main/categories/automation/x-twitter-automation. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar X Twitter Automation?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar X Twitter Automation?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar X Twitter Automation con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA X Twitter Automation?

Sí. cosmicstack-labs la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇