{
  "schemaVersion": "1.0",
  "item": {
    "slug": "x-ai",
    "name": "xAI / Grok",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/blueberrywoodsym/x-ai",
    "canonicalUrl": "https://clawhub.ai/blueberrywoodsym/x-ai",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/x-ai",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x-ai",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      ".gitignore",
      "package.json",
      "README.md",
      "SKILL.md",
      "scripts/chat.js",
      "scripts/models.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/x-ai"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/x-ai",
    "agentPageUrl": "https://openagent3.xyz/skills/x-ai/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x-ai/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x-ai/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "xAI / Grok",
        "body": "Chat with xAI's Grok models. Supports text and vision."
      },
      {
        "title": "Setup",
        "body": "INSTALLATION AND USE INSTRUCTIONS\n\nexport XAI_API_KEY=\"xai-YOUR-KEY\"\n\nGet your API key at: https://console.x.ai"
      },
      {
        "title": "Chat with Grok",
        "body": "node {baseDir}/scripts/chat.js \"What is the meaning of life?\""
      },
      {
        "title": "Use a specific model",
        "body": "node {baseDir}/scripts/chat.js --model grok-3-mini \"Quick question: 2+2?\""
      },
      {
        "title": "Vision (analyze images)",
        "body": "node {baseDir}/scripts/chat.js --image /path/to/image.jpg \"What's in this image?\""
      },
      {
        "title": "🔍 Search X/Twitter (Real-time!)",
        "body": "node {baseDir}/scripts/search-x.js \"Remotion video framework\"\nnode {baseDir}/scripts/search-x.js --days 7 \"Claude AI tips\"\nnode {baseDir}/scripts/search-x.js --handles @remotion_dev \"updates\"\n\nUses xAI Responses API with x_search tool for real X posts with citations."
      },
      {
        "title": "List available models",
        "body": "node {baseDir}/scripts/models.js"
      },
      {
        "title": "Available Models",
        "body": "grok-3 - Most capable, best for complex tasks\ngrok-3-mini - Fast and efficient\ngrok-3-fast - Optimized for speed\ngrok-2-vision-1212 - Vision model for image understanding"
      },
      {
        "title": "Example Usage",
        "body": "User: \"Ask Grok what it thinks about AI safety\"\nAction: Run chat.js with the prompt\n\nUser: \"Use Grok to analyze this image\" (with attached image)\nAction: Run chat.js with --image flag\n\nUser: \"What Grok models are available?\"\nAction: Run models.js"
      },
      {
        "title": "API Reference",
        "body": "xAI API Docs: https://docs.x.ai/api"
      },
      {
        "title": "Environment Variables",
        "body": "XAI_API_KEY - Your xAI API key (required)\nXAI_MODEL - Default model (optional, defaults to grok-3)"
      },
      {
        "title": "Security & Permissions",
        "body": "What this skill does:\n\nSends chat prompts to xAI's API at api.x.ai\nVision mode sends images to xAI for analysis\nscripts/models.js lists available models (read-only)\n\nWhat this skill does NOT do:\n\nDoes not read arbitrary local files — --image only accepts files with image extensions (.jpg, .jpeg, .png, .gif, .webp)\nDoes not read config files or access the filesystem beyond the specified image path\nDoes not store conversation history or logs\nDoes not send credentials to any endpoint other than api.x.ai\nCannot be invoked autonomously by the agent (disable-model-invocation: true)\n\nBundled scripts: scripts/chat.js (chat), scripts/models.js (list models), scripts/search-x.js (X search)\n\nReview scripts before first use to verify behavior."
      }
    ],
    "body": "xAI / Grok\n\nChat with xAI's Grok models. Supports text and vision.\n\nSetup\n\nINSTALLATION AND USE INSTRUCTIONS\n\nexport XAI_API_KEY=\"xai-YOUR-KEY\"\n\n\nGet your API key at: https://console.x.ai\n\nCommands\nChat with Grok\nnode {baseDir}/scripts/chat.js \"What is the meaning of life?\"\n\nUse a specific model\nnode {baseDir}/scripts/chat.js --model grok-3-mini \"Quick question: 2+2?\"\n\nVision (analyze images)\nnode {baseDir}/scripts/chat.js --image /path/to/image.jpg \"What's in this image?\"\n\n🔍 Search X/Twitter (Real-time!)\nnode {baseDir}/scripts/search-x.js \"Remotion video framework\"\nnode {baseDir}/scripts/search-x.js --days 7 \"Claude AI tips\"\nnode {baseDir}/scripts/search-x.js --handles @remotion_dev \"updates\"\n\n\nUses xAI Responses API with x_search tool for real X posts with citations.\n\nList available models\nnode {baseDir}/scripts/models.js\n\nAvailable Models\ngrok-3 - Most capable, best for complex tasks\ngrok-3-mini - Fast and efficient\ngrok-3-fast - Optimized for speed\ngrok-2-vision-1212 - Vision model for image understanding\nExample Usage\n\nUser: \"Ask Grok what it thinks about AI safety\" Action: Run chat.js with the prompt\n\nUser: \"Use Grok to analyze this image\" (with attached image) Action: Run chat.js with --image flag\n\nUser: \"What Grok models are available?\" Action: Run models.js\n\nAPI Reference\n\nxAI API Docs: https://docs.x.ai/api\n\nEnvironment Variables\nXAI_API_KEY - Your xAI API key (required)\nXAI_MODEL - Default model (optional, defaults to grok-3)\nSecurity & Permissions\n\nWhat this skill does:\n\nSends chat prompts to xAI's API at api.x.ai\nVision mode sends images to xAI for analysis\nscripts/models.js lists available models (read-only)\n\nWhat this skill does NOT do:\n\nDoes not read arbitrary local files — --image only accepts files with image extensions (.jpg, .jpeg, .png, .gif, .webp)\nDoes not read config files or access the filesystem beyond the specified image path\nDoes not store conversation history or logs\nDoes not send credentials to any endpoint other than api.x.ai\nCannot be invoked autonomously by the agent (disable-model-invocation: true)\n\nBundled scripts: scripts/chat.js (chat), scripts/models.js (list models), scripts/search-x.js (X search)\n\nReview scripts before first use to verify behavior."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/blueberrywoodsym/x-ai",
    "publisherUrl": "https://clawhub.ai/blueberrywoodsym/x-ai",
    "owner": "blueberrywoodsym",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/x-ai",
    "downloadUrl": "https://openagent3.xyz/downloads/x-ai",
    "agentUrl": "https://openagent3.xyz/skills/x-ai/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x-ai/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x-ai/agent.md"
  }
}