Logo van Search X

Search X

Community
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.

Overzicht

Uitgevermarckohlbrugge
Repositoryskills
Skillnaamsearch-x
Sterren
749
Forks
57
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door marckohlbrugge op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Search X in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/marckohlbrugge/skills/tree/main/skills/search-x
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Search X in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Search X automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Search X niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Search X gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Search X bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Search X in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/marckohlbrugge/skills/tree/main/skills/search-x. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Search X gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Search X gebruiken?

Zoveel als je wilt. Je kunt Search X gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Search X gratis?

Deze skill is door marckohlbrugge op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇