用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/duclm1x1/Dive-Ai --skill xai命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
Persistent memory system for AI agents following Model Context Protocol (MCP). Use for storing long-term memories across sessions, semantic search of past knowledge, building knowledge graphs, auto-injecting context, deduplicating memories, syncing to cloud storage. Essential for agents that need to remember decisions, solutions, preferences, and learned patterns over time.
Persistent memory system for AI agents following Model Context Protocol (MCP). Use for storing long-term memories across sessions, semantic search of past knowledge, building knowledge graphs, auto-injecting context, deduplicating memories, syncing to cloud storage. Essential for agents that need to remember decisions, solutions, preferences, and learned patterns over time.
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.
| name | xai |
| description | Chat with Grok models via xAI API. Supports Grok-3, Grok-3-mini, vision, and more. |
| homepage | https://docs.x.ai |
| triggers | ["grok","xai","ask grok"] |
| metadata | {"clawdbot":{"emoji":"🤖"}} |
Chat with xAI's Grok models. Supports text and vision.
Set your API key in the skill config:
# Via clawdbot config
clawdbot config set skills.entries.xai.apiKey "xai-YOUR-KEY"
# Or environment variable
export XAI_API_KEY="xai-YOUR-KEY"
Get your API key at: https://console.x.ai
node {baseDir}/scripts/chat.js "What is the meaning of life?"
node {baseDir}/scripts/chat.js --model grok-3-mini "Quick question: 2+2?"
node {baseDir}/scripts/chat.js --image /path/to/image.jpg "What's in this image?"
node {baseDir}/scripts/search-x.js "Remotion video framework"
node {baseDir}/scripts/search-x.js --days 7 "Claude AI tips"
node {baseDir}/scripts/search-x.js --handles @remotion_dev "updates"
Uses xAI Responses API with x_search tool for real X posts with citations.
node {baseDir}/scripts/models.js
grok-3 - Most capable, best for complex tasksgrok-3-mini - Fast and efficientgrok-3-fast - Optimized for speedgrok-2-vision-1212 - Vision model for image understandingUser: "Ask Grok what it thinks about AI safety" Action: Run chat.js with the prompt
User: "Use Grok to analyze this image" (with attached image) Action: Run chat.js with --image flag
User: "What Grok models are available?" Action: Run models.js
xAI API Docs: https://docs.x.ai/api
XAI_API_KEY - Your xAI API key (required)XAI_MODEL - Default model (optional, defaults to grok-3)