Toolverse
All skills

xai-search

by openclaw

Search X/Twitter and the web in real-time using xAI's Grok API with agentic search tools.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Backend

About this skill

Search X/Twitter and the web in real-time using xAI's Grok API with agentic search tools.

How to use

  1. Zainstaluj wymagane zależności: upewnij się, że masz Python 3, a następnie zainstaluj SDK xAI poleceniem pip install xai-sdk.

  2. Skonfiguruj zmienną środowiskową XAI_API_KEY ze swoim kluczem API xAI (uzyskaj go z dokumentacji x.ai).

  3. Aby wyszukać w internecie, wyślij żądanie do API xAI z modelem grok-3-fast i narzędziem web_search w parametrze tools. Zapytanie umieść w polu content wiadomości użytkownika.

  4. Aby wyszukać na X/Twitter, użyj tego samego podejścia, ale zastąp narzędzie web_search narzędziem x_search.

  5. Dla wygody użyj skryptu pomocniczego xai-search.py z folderu scripts: python ~/.clawdbot/skills/xai-search/scripts/xai-search.py web "twoje zapytanie" dla wyszukiwania web lub zamień "web" na "x" dla wyszukiwania na X/Twitter.

  6. Odpowiedź z API zawiera wyniki wyszukiwania w polu content — wyodrębnij je za pomocą jq lub parsera JSON w swoim języku programowania.

Related skills

openspec

by ruan-cat

OpenSpec 中文版规范助手 - 规范驱动的 AI 编程开发,帮助初始化、创建提案、编写规格、校验格式并归档变更。触发条件: 当用户提及 openspec、规范文档、需求管理、变更提案、spec-driven development 等关键词时主动调用。

Backend
27122

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130

scientific-writing

by K-Dense-AI

Write scientific manuscripts. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), abstracts, for research papers and journal submissions.

Backend
47191

api-design-principles

by wshobson

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

Backend
50146

drizzle

by lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

Backend
79340