شعار Search X

Search X

المجتمع
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.

نظرة عامة

الناشرmarckohlbrugge
المستودعskills
اسم المهارةsearch-x
النجوم
749
التفريعات
57
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها marckohlbrugge على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Search X في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/marckohlbrugge/skills/tree/main/skills/search-x
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Search X في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Search X تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Search X بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Search X على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Search X عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Search X في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/marckohlbrugge/skills/tree/main/skills/search-x. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Search X؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Search X؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Search X معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Search X مجانية؟

نشرها marckohlbrugge على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇