Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

x-ai

bởi blueberrywoodsym

AI & LLMs
9.9kLượt tải do clawskills.sh công bố
15Sao
20Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Chat with Grok models via xAI API.

Mô tả

Kỹ năng này làm gì

Connects to xAI's API to chat with Grok models including Grok-3, Grok-3-mini, and a vision model for image analysis. Supports real-time X/Twitter search via the xAI Responses API, returning live posts with citations.

The built-in X search tool returns live posts with citations, so users get real-time information that static LLM APIs lack.

Khi nào nên dùng

  • Asking Grok a complex coding or reasoning question
  • Analyzing a screenshot or photo with the Grok vision model
  • Searching recent X posts about a topic or person
  • Switching between fast and capable Grok model variants
  • Getting cited, real-time social commentary on a current event

Quy trình ví dụ

ĐẦU VÀO

User asks: Search X for posts about the Remotion video framework from the last 7 days

AGENT
  1. 1

    Runs search-x.js with --days 7 and the query 'Remotion video framework'

  2. 2

    Sends the request to the xAI Responses API with the x_search tool enabled

  3. 3

    xAI fetches matching real X posts

  4. 4

    Returns results with post citations and source links

ĐẦU RA

A list of recent X posts about Remotion with citation metadata

Yêu cầu

  • XAI_API_KEY — API key obtained from console.x.ai

Cài đặt

clawhub install blueberrywoodsym/x-ai

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết