Logotipo de Search X

Search X

Comunidad
marckohlbrugge
search-x

Look things up on X (Twitter): posts, accounts, threads, replies, and quotes. Use this whenever the user mentions X or Twitter, a tweet, a handle, what someone posted, or when the next step would be opening x.com or twitter.com. x.com blocks normal web fetches. If you already have x_keyword_search, use the X tools yourself. Otherwise run the Grok CLI as this skill says. A single known tweet or profile is a curl to api.fxtwitter.com, not a search.

Descripción general

Editormarckohlbrugge
Repositorioskills
Nombre de la habilidadsearch-x
Estrellas
749
Forks
57
Archivos incluidos
Solo instrucciones
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 marckohlbrugge en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Search X 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/marckohlbrugge/skills/tree/main/skills/search-x
  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/marckohlbrugge/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/search-x .claude/skills/search-x
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Search X 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 Search X 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 Search X 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á.

Search X

x.com and twitter.com block ordinary fetches, and web search does not return the posts. Read one known tweet or profile from the public FixTweet API. Search, find accounts, and read threads with Grok's X tools.

Which path

The user handed you one status URL, one status id, or one handle, and wants that tweet or that profile: curl FixTweet. No key. Do not start Grok for this.

bash
# A post. The id is the number in /status/<id>, including /i/web/status/<id>.
curl -fsS "https://api.fxtwitter.com/status/<id>"

# A profile. The handle without @.
curl -fsS "https://api.fxtwitter.com/<screen_name>"

The body is JSON. A post is under .tweet (text, author, created_at, likes, replies, media, community_note). A profile is under .user (name, screen_name, description, followers, website). If .tweet or .user is missing, read .message and stop. This returns that one object. It does not search, and it does not return replies.

You already have x_keyword_search, x_semantic_search, x_user_search, and x_thread_fetch: Call them. Do not start another grok process.

You do not: Run the command below. One question is one process. This needs the grok CLI, installed and logged in. FixTweet cannot search.

Which tool

Pick from the question. Do not run every tool every time.

QuestionTool
Words, a phrase, a handle, a date, a filterx_keyword_search
The wording is unknown and meaning is the only handlex_semantic_search, then drop posts whose text is about something else
Who is this account, or what is their handlex_user_search, then from:handle if you need their posts
What was said around this postx_thread_fetch with the post id

x_keyword_search is X advanced search. Spaces are AND, OR must be uppercase, quotes are an exact phrase, -term excludes, from: and to: and @ select people, since: and until: are dates, filter: selects replies, quotes, links, or media, min_faves: sets a floor. mode is Latest or Top. Latest is what is happening. Top is what got attention. One call returns at most 10 posts. Narrow the query, or page with since:, until:, or max_id:, instead of asking for more than 10.

x_semantic_search matches meaning, so near-miss topics come back as hits. A date range and a username list are filters on that call. Keep a post only when its text answers the question.

x_user_search takes a name or a handle, not a post query. x_thread_fetch takes a post id and returns the parents and the replies.

Command

bash
grok -p "$(cat <<'EOF'
Answer this from X. Do not use the web. Do not write files.

<question>

Use only x_keyword_search, x_semantic_search, x_user_search, and x_thread_fetch.
Pick the tool that matches the question. Do not run every tool.

Keyword search is X advanced search: spaces are AND, OR is uppercase, quotes are an exact phrase, -term excludes, from: and since: and filter: and min_faves: work. mode is Latest or Top. One call returns at most 10 posts.
Semantic search matches meaning and returns nearby topics. Keep a post only when its text answers the question.
User search finds accounts. Thread fetch takes a post id and returns the conversation.

For each post you use: author name, @handle, date, https://x.com/<handle>/status/<id>, and the text. If nothing matched, say so.
EOF
)" \
  --cwd /tmp \
  --always-approve \
  --max-turns 12 \
  --disallowed-tools "write,search_replace,run_terminal_cmd,task,web_search,web_fetch" \
  --output-format plain

Replace <question> with the actual ask. Leave the rest of the prompt as written.

Why these flags:

  • --always-approve is required. Headless mode has no one to click Allow, so without it the process waits until it is killed.
  • --cwd /tmp keeps the search off the repo you are in. Grok would otherwise load that project's rules and could treat the repo as its workspace.
  • --max-turns 12 covers a few searches and a thread. Raise it only when the run stops because it hit the turn cap.
  • Do not pass --tools x_keyword_search,.... Those are the names the model calls, and --tools does not recognize them. Grok then warns and leaves every other tool available, so the flag does not sandbox anything. The denylist is what actually removes shell, edits, subagents, and the web.

Give the process several minutes. Read stdout. If stderr says a denylist name is unknown, drop that one name and rerun. An unknown denylist entry removes nothing.

How to report

Answer the question that was asked. Cite the status URL, the handle, and the date for every post you rely on. Leave out posts that do not match. If the tool summary and the post text disagree, trust the post text. No matching posts is a result, not a failed command.

Preguntas frecuentes

¿Qué hace la habilidad de IA Search X?

Look things up on X (Twitter): posts, accounts, threads, replies, and quotes. Use this whenever the user mentions X or Twitter, a tweet, a handle, what someone posted, or when the next step would be opening x.com or twitter.com. x.com blocks normal web fetches. If you already have x_keyword_search, use the X tools yourself. Otherwise run the Grok CLI as this skill says. A single known tweet or profile is a curl to api.fxtwitter.com, not a search.

¿Por qué usar Search X en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Search X 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 Search X en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/marckohlbrugge/skills/tree/main/skills/search-x. 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 Search X?

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 Search X?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Search X 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 Search X?

marckohlbrugge la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. 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 👇