{"id":"0e80571c-8f4d-4906-a423-dada05a217d8","entityType":"agent","slug":"mischasigtermans-openclaw-xai-plus","name":"xai-plus","canonicalUrl":"https://www.xpersona.co/agent/mischasigtermans-openclaw-xai-plus","canonicalPath":"/agent/mischasigtermans-openclaw-xai-plus","generatedAt":"2026-10-09T05:47:59.460Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"description":"Search X/Twitter and the web, chat with Grok models (text + vision), and analyze X content using xAI's API. Use when: searching X posts/threads, web research via Grok, chatting with Grok, analyzing voice patterns, researching trends, or checking post quality. Triggers: grok, xai, search x, search twitter, x search, ask grok, grok chat, analyze voice, x trends. --- name: xai-plus description: | Search X/Twitter and the web, chat with Grok models (text + vision), and analyze X content using xAI's API. Use when: searching X posts/threads, web research via Grok, chatting with Grok, analyzing voice patterns, researching trends, or checking post quality. Triggers: grok, xai, search x, search twitter, x search, ask grok, grok chat, analyze voice, x trends. metadata: openclaw: emo","descriptionLabel":"Technical summary","evidenceSummary":"Published capability contract available. No trust telemetry is available yet. 2 GitHub stars reported by the source. Last updated 4/15/2026.","installCommand":"git clone https://github.com/mischasigtermans/openclaw-xai-plus.git","sourceUrl":"https://github.com/mischasigtermans/openclaw-xai-plus","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/mischasigtermans/openclaw-xai-plus","kind":"source"}],"safetyScore":94,"overallRank":31.7,"popularityScore":12,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Search X/Twitter and the web, chat with Grok models (text + vision), and analyze X content using xAI's API. Use when: searching X posts/threads, web research vi"},"coverage":{"evidence":{"source":"capability-contract + public-profile","verified":true,"confidence":"high","updatedAt":"2026-02-24T19:44:09.549Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"repeat","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":2,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"repeat","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:repeat|supported|profile"}},"adoption":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"medium","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"stars":2,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":"2 GitHub stars"},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-04-14T22:24:33.344Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T05:21:22.124Z","lastCrawledAt":"2026-04-14T22:24:33.344Z","lastIndexedAt":null,"nextCrawlAt":"2026-04-15T22:24:33.344Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"capability-contract","verified":true,"confidence":"high","updatedAt":"2026-02-24T19:44:09.549Z","emptyReason":null},"installCommand":"git clone https://github.com/mischasigtermans/openclaw-xai-plus.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"ready","authModes":["api_key"],"requires":["openclew","lang:typescript"],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":"https://github.com/mischasigtermans/openclaw-xai-plus#input","outputSchemaRef":"https://github.com/mischasigtermans/openclaw-xai-plus#output","dataRegion":"global","contractUpdatedAt":"2026-02-24T19:44:09.549Z","sourceUpdatedAt":"2026-02-24T19:44:09.549Z","freshnessSeconds":19562629},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T05:47:59.460Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/mischasigtermans-openclaw-xai-plus/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":[],"safeUseWhen":["Contract is available with explicit auth and schema references.","Trust confidence is not low and verification freshness is acceptable."],"riskFlags":["trust_data_unavailable"],"operationalConfidence":"medium"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"readme":"---\nname: xai-plus\ndescription: |\n  Search X/Twitter and the web, chat with Grok models (text + vision), and analyze X content using xAI's API.\n  Use when: searching X posts/threads, web research via Grok, chatting with Grok, analyzing voice patterns,\n  researching trends, or checking post quality. Triggers: grok, xai, search x, search twitter, x search,\n  ask grok, grok chat, analyze voice, x trends.\nmetadata:\n  openclaw:\n    emoji: \"🔎\"\n    requires:\n      bins: [\"node\"]\n      env: [\"XAI_API_KEY\"]\n    primaryEnv: \"XAI_API_KEY\"\n---\n\n# xAI Skill\n\nSearch X (Twitter), search the web, chat with Grok models (including vision), and analyze X content patterns using xAI's API.\n\n## Features\n\n- **X Search**: Search posts, threads, and accounts with date/handle filters\n- **Web Search**: Search the web via Grok's web_search tool\n- **Chat**: Text and vision (image analysis) with Grok models\n- **Analysis**: Voice patterns, trend research, post safety checks\n- **Models**: List available xAI models\n\n## Setup\n\n### API Key\n\nGet your xAI API key from [console.x.ai](https://console.x.ai).\n\n```bash\n# Via clawdbot config (recommended)\nclawdbot config set skills.entries.xai-plus.apiKey \"xai-YOUR-KEY\"\n\n# Or environment variable\nexport XAI_API_KEY=\"xai-YOUR-KEY\"\n```\n\nThe scripts check these locations in order:\n1. `XAI_API_KEY` env var\n2. `~/.clawdbot/clawdbot.json` → `env.XAI_API_KEY`\n3. `~/.clawdbot/clawdbot.json` → `skills.entries.xai-plus.apiKey`\n4. `~/.clawdbot/clawdbot.json` → `skills.entries[\"grok-search\"].apiKey` (fallback)\n\n### Default Model (Optional)\n\nOverride the default model (`grok-4-1-fast`):\n\n```bash\n# Via config\nclawdbot config set skills.entries.xai-plus.model \"grok-3\"\n\n# Or environment variable\nexport XAI_MODEL=\"grok-3\"\n```\n\nModel priority:\n1. Command-line `--model` flag (highest priority)\n2. `XAI_MODEL` env var\n3. `~/.clawdbot/clawdbot.json` → `env.XAI_MODEL`\n4. `~/.clawdbot/clawdbot.json` → `skills.entries.xai-plus.model`\n5. Default: `grok-4-1-fast`\n\n## Search\n\n### X Search\n\nSearch X posts and threads with optional filters.\n\n**Basic search:**\n```bash\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x\n```\n\n**With date filter:**\n```bash\n# Last 7 days\nnode {baseDir}/scripts/grok_search.mjs \"Claude AI\" --x --days 7\n\n# Specific date range\nnode {baseDir}/scripts/grok_search.mjs \"AI agents\" --x --from 2026-01-01 --to 2026-01-31\n```\n\n**Filter by handles:**\n```bash\n# Only from specific accounts\nnode {baseDir}/scripts/grok_search.mjs \"AI news\" --x --handles @AnthropicAI,@OpenAI\n\n# Exclude accounts\nnode {baseDir}/scripts/grok_search.mjs \"GPT\" --x --exclude @spam1,@spam2\n```\n\n**Output formats:**\n```bash\n# JSON (default, agent-friendly)\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x\n\n# Links only\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x --links-only\n\n# Human-readable text\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x --text\n```\n\n**JSON output schema:**\n```json\n{\n  \"query\": \"search query\",\n  \"mode\": \"x\",\n  \"results\": [\n    {\n      \"title\": \"@handle\",\n      \"url\": \"https://x.com/handle/status/123\",\n      \"snippet\": \"Post text...\",\n      \"author\": \"@handle\",\n      \"posted_at\": \"2026-01-15T10:30:00Z\"\n    }\n  ],\n  \"citations\": [\"https://x.com/...\"]\n}\n```\n\n### Web Search\n\nSearch the web via Grok.\n\n```bash\nnode {baseDir}/scripts/grok_search.mjs \"TypeScript best practices 2026\" --web\n```\n\n**JSON output schema:**\n```json\n{\n  \"query\": \"search query\",\n  \"mode\": \"web\",\n  \"results\": [\n    {\n      \"title\": \"Page title\",\n      \"url\": \"https://example.com/page\",\n      \"snippet\": \"Description...\",\n      \"author\": null,\n      \"posted_at\": null\n    }\n  ],\n  \"citations\": [\"https://example.com/...\"]\n}\n```\n\n### Search Options\n\n| Flag | Description | Example |\n|------|-------------|---------|\n| `--x` | Search X/Twitter | Required for X search |\n| `--web` | Search the web | Required for web search |\n| `--days N` | Last N days (X only) | `--days 7` |\n| `--from YYYY-MM-DD` | Start date (X only) | `--from 2026-01-01` |\n| `--to YYYY-MM-DD` | End date (X only) | `--to 2026-01-31` |\n| `--handles a,b` | Only these accounts (X only) | `--handles @user1,@user2` |\n| `--exclude a,b` | Exclude accounts (X only) | `--exclude @spam` |\n| `--max N` | Max results | `--max 20` |\n| `--model ID` | Override model | `--model grok-3` |\n| `--json` | JSON output (default) | - |\n| `--links-only` | Just URLs | - |\n| `--text` | Human-readable | - |\n| `--raw` | Include debug output | - |\n\nSee [references/search-patterns.md](references/search-patterns.md) for advanced query patterns and optimization tips.\n\n## Chat\n\n### Text Chat\n\nAsk Grok anything.\n\n```bash\nnode {baseDir}/scripts/chat.mjs \"What is quantum computing?\"\n```\n\n**With model override:**\n```bash\nnode {baseDir}/scripts/chat.mjs --model grok-3 \"Explain transformers in ML\"\n```\n\n**JSON output:**\n```bash\nnode {baseDir}/scripts/chat.mjs --json \"What is TypeScript?\"\n```\n\nJSON schema:\n```json\n{\n  \"model\": \"grok-4-1-fast\",\n  \"prompt\": \"What is TypeScript?\",\n  \"text\": \"TypeScript is...\",\n  \"citations\": [\"https://...\"]\n}\n```\n\n### Vision Chat\n\nAnalyze images with Grok.\n\n```bash\nnode {baseDir}/scripts/chat.mjs --image ./screenshot.png \"What's in this image?\"\n```\n\n**Multiple images:**\n```bash\nnode {baseDir}/scripts/chat.mjs --image ./pic1.jpg --image ./pic2.jpg \"Compare these\"\n```\n\n**Supported formats:** JPG, PNG, WebP, GIF\n\n### Chat Options\n\n| Flag | Description | Example |\n|------|-------------|---------|\n| `--model ID` | Model to use | `--model grok-2-vision-1212` |\n| `--image PATH` | Attach image (can repeat) | `--image ./pic.jpg` |\n| `--json` | JSON output | - |\n| `--raw` | Include debug output | - |\n\nSee [references/models.md](references/models.md) for model comparison and capabilities.\n\n## Analysis\n\nAnalyze X content for voice patterns, trends, and post quality.\n\n### Voice Analysis\n\nAnalyze an account's voice and writing patterns.\n\n```bash\nnode {baseDir}/scripts/analyze.mjs voice @username\n```\n\n**Custom date range:**\n```bash\n# Last 60 days\nnode {baseDir}/scripts/analyze.mjs voice @username --days 60\n```\n\n**JSON output schema:**\n```json\n{\n  \"handle\": \"@username\",\n  \"analyzed_posts\": 150,\n  \"voice\": {\n    \"tone\": \"casual, technical\",\n    \"personality\": [\"curious\", \"direct\", \"helpful\"],\n    \"perspective\": \"practitioner sharing lessons\",\n    \"energy_level\": \"medium\"\n  },\n  \"patterns\": {\n    \"sentence_structure\": [\"short declarative\", \"occasional fragments\"],\n    \"vocabulary\": [\"technical\", \"accessible\"],\n    \"formatting_quirks\": [\"line breaks for emphasis\", \"minimal punctuation\"],\n    \"recurring_phrases\": [\"here's the thing\", \"turns out\"]\n  },\n  \"topics\": [\"AI\", \"software engineering\", \"startups\"],\n  \"best_posts\": [\n    {\n      \"url\": \"https://x.com/username/status/123\",\n      \"text\": \"Post text...\",\n      \"why\": \"Authentic voice, specific example\"\n    }\n  ],\n  \"anti_patterns\": [\"never uses em-dashes\", \"avoids numbered lists\"]\n}\n```\n\n### Trend Research\n\nResearch trends and discussions about a topic.\n\n```bash\nnode {baseDir}/scripts/analyze.mjs trends \"AI agents\"\n```\n\n**JSON output schema:**\n```json\n{\n  \"topic\": \"AI agents\",\n  \"trends\": [\n    {\n      \"pattern\": \"Shift from chatbots to autonomous agents\",\n      \"description\": \"Discussion focuses on...\",\n      \"example_posts\": [\"https://x.com/...\"]\n    }\n  ],\n  \"perspectives\": [\n    {\n      \"viewpoint\": \"Agents will replace most SaaS\",\n      \"supporters\": [\"@user1\", \"@user2\"]\n    }\n  ],\n  \"hashtags\": [\"#AIAgents\", \"#AutonomousAI\"],\n  \"key_accounts\": [\"@researcher1\", \"@founder2\"],\n  \"posting_angles\": [\n    {\n      \"angle\": \"Practical implementation challenges\",\n      \"hook\": \"Everyone talks about AI agents. Nobody talks about...\",\n      \"target_audience\": \"Engineers building with AI\"\n    }\n  ]\n}\n```\n\n### Post Safety Check\n\nCheck a draft post or existing post for AI signals and platform flag patterns.\n\n**Check draft text:**\n```bash\nnode {baseDir}/scripts/analyze.mjs post \"Your draft post text here\"\n```\n\n**Check existing post:**\n```bash\nnode {baseDir}/scripts/analyze.mjs post --url \"https://x.com/user/status/123\"\n```\n\n**JSON output schema:**\n```json\n{\n  \"post_text\": \"Your post...\",\n  \"ai_detection_score\": 3,\n  \"ai_signals\": [\n    \"Contains em-dash\",\n    \"Ends with engagement bait question\"\n  ],\n  \"platform_flag_score\": 2,\n  \"platform_risks\": [\n    \"Generic question could trigger spam filter\"\n  ],\n  \"quality_score\": 7,\n  \"suggestions\": [\n    \"Replace em-dash with period or comma\",\n    \"Remove 'What do you think?' closer\",\n    \"Add specific personal detail\"\n  ]\n}\n```\n\n**Scoring:**\n- **AI Detection**: 0-10 (10 = definitely AI)\n- **Platform Flag Risk**: 0-10 (10 = high spam risk)\n- **Quality**: 0-10 (10 = excellent)\n\n### Analysis Options\n\n| Flag | Description | Example |\n|------|-------------|---------|\n| `--days N` | Date range for analysis | `--days 60` |\n| `--url URL` | Analyze existing post | `--url https://x.com/...` |\n| `--model ID` | Override model | `--model grok-3` |\n| `--json` | JSON output | - |\n| `--raw` | Include debug output | - |\n\nSee [references/analysis-prompts.md](references/analysis-prompts.md) for detailed prompt structures and scoring criteria.\n\n## Models\n\nList available xAI models.\n\n```bash\nnode {baseDir}/scripts/models.mjs\n```\n\n**Output:**\n```\ngrok-2-vision-1212\ngrok-3\ngrok-4-1-fast\ngrok-4-fast\n```\n\n**JSON output:**\n```bash\nnode {baseDir}/scripts/models.mjs --json\n```\n\nQuick model comparison:\n\n| Model | Speed | Quality | Vision | Best For |\n|-------|-------|---------|--------|----------|\n| grok-4-1-fast | Fast | Good | No | Default (search, chat, analysis) |\n| grok-4-fast | Fast | Good | No | Alternative fast model |\n| grok-3 | Slower | Best | No | Complex reasoning, detailed analysis |\n| grok-2-vision-1212 | Medium | Good | Yes | Image analysis |\n\nSee [references/models.md](references/models.md) for detailed model capabilities and use cases.\n\n## Advanced Usage\n\n### Citation Deduplication\n\nFor X searches, the tool automatically deduplicates tweet URLs, preferring canonical `/@handle/status/id` over `/i/status/id` format.\n\n### Custom Model Selection\n\nOverride the default model for any operation:\n\n```bash\n# Search with grok-3 for better quality\nnode {baseDir}/scripts/grok_search.mjs \"complex query\" --x --model grok-3\n\n# Chat with vision model\nnode {baseDir}/scripts/chat.mjs --model grok-2-vision-1212 --image pic.jpg \"Describe\"\n\n# Analysis with grok-3 for deeper insights\nnode {baseDir}/scripts/analyze.mjs voice @username --model grok-3\n```\n\n### Debugging\n\nAdd `--raw` to any command to see the full API response:\n\n```bash\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x --raw\n```\n\n## Reference Documentation\n\n- [API Reference](references/api-reference.md) - xAI API endpoints and parameters\n- [Search Patterns](references/search-patterns.md) - Query patterns, filters, optimization tips\n- [Models](references/models.md) - Model comparison and capabilities\n- [Analysis Prompts](references/analysis-prompts.md) - Structured prompts and scoring criteria\n- [X Algorithm](references/x-algorithm.md) - Ranking, engagement weights, spam detection\n\n## Examples\n\n### Research a topic\n```bash\n# Find recent discussions\nnode {baseDir}/scripts/grok_search.mjs \"Claude Sonnet 4.5\" --x --days 3\n\n# Get trend analysis\nnode {baseDir}/scripts/analyze.mjs trends \"Claude Sonnet 4.5\"\n```\n\n### Analyze voice before drafting\n```bash\n# Study the target account\nnode {baseDir}/scripts/analyze.mjs voice @target_account --days 30\n\n# Check your draft\nnode {baseDir}/scripts/analyze.mjs post \"Your draft here\"\n```\n\n### Multi-modal research\n```bash\n# Search web for context\nnode {baseDir}/scripts/grok_search.mjs \"TypeScript 5.7 features\" --web\n\n# Ask follow-up\nnode {baseDir}/scripts/chat.mjs \"What are the key TypeScript 5.7 improvements?\"\n\n# Analyze screenshot\nnode {baseDir}/scripts/chat.mjs --image ./code.png \"Review this code\"\n```\n\n## Error Handling\n\nCommon errors and solutions:\n\n**Missing API key:**\n```\nMissing XAI_API_KEY\n```\n→ Set `XAI_API_KEY` environment variable or add to `~/.clawdbot/clawdbot.json`\n\n**Invalid mode:**\n```\nMust specify --web or --x\n```\n→ Add `--web` or `--x` flag to search command\n\n**Image format error:**\n```\nUnsupported image type\n```\n→ Use JPG, PNG, WebP, or GIF format\n\n**API error:**\n```\nxAI API error: 401 Unauthorized\n```\n→ Check API key is valid and active\n\n## Tips\n\n- Default model (`grok-4-1-fast`) is fast and good for most tasks\n- Use `grok-3` for complex analysis or when quality matters more than speed\n- X searches are limited by recency (xAI x_search tool constraints)\n- Web searches work best with specific, current queries\n- Voice analysis needs sufficient post history (30+ posts recommended)\n- Post safety checks are advisory; use judgment for final decisions\n- JSON output is best for agent/script consumption\n- Text output is better for terminal/human reading\n\n## Troubleshooting\n\n**No results from X search:**\n- Try broader query or longer date range\n- Check if handles exist and are public\n- Remove overly restrictive filters\n\n**Voice analysis incomplete:**\n- Increase `--days` to get more post history\n- Check if account is public and active\n- Verify handle is correct (with or without @)\n\n**API rate limits:**\n- xAI enforces rate limits per API key\n- Spread requests over time if hitting limits\n- Consider upgrading xAI plan for higher limits\n\n## Content Writing Workflow\n\nUse the analysis tools to improve your X content:\n\n```bash\n# Research before writing\nnode {baseDir}/scripts/analyze.mjs trends \"your topic\"\nnode {baseDir}/scripts/grok_search.mjs \"your topic\" --x --days 7\n\n# Study voice patterns\nnode {baseDir}/scripts/analyze.mjs voice @target_account\n\n# Check draft before posting\nnode {baseDir}/scripts/analyze.mjs post \"$(cat draft.txt)\"\n```\n\nUse the JSON output to:\n- Research current discussions and posting angles\n- Learn from successful voices in your niche\n- Catch AI signals and platform flags before publishing\n","readmeExcerpt":"--- name: xai-plus description: | Search X/Twitter and the web, chat with Grok models (text + vision), and analyze X content using xAI's API. Use when: searching X posts/threads, web research via Grok, chatting with Grok, analyzing voice patterns, researching trends, or checking post quality. Triggers: grok, xai, search x, search twitter, x search, ask grok, grok chat, analyze voice, x trends. metadata: openclaw: emo","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# Via clawdbot config (recommended)\nclawdbot config set skills.entries.xai-plus.apiKey \"xai-YOUR-KEY\"\n\n# Or environment variable\nexport XAI_API_KEY=\"xai-YOUR-KEY\""},{"language":"bash","snippet":"# Via config\nclawdbot config set skills.entries.xai-plus.model \"grok-3\"\n\n# Or environment variable\nexport XAI_MODEL=\"grok-3\""},{"language":"bash","snippet":"node {baseDir}/scripts/grok_search.mjs \"query\" --x"},{"language":"bash","snippet":"# Last 7 days\nnode {baseDir}/scripts/grok_search.mjs \"Claude AI\" --x --days 7\n\n# Specific date range\nnode {baseDir}/scripts/grok_search.mjs \"AI agents\" --x --from 2026-01-01 --to 2026-01-31"},{"language":"bash","snippet":"# Only from specific accounts\nnode {baseDir}/scripts/grok_search.mjs \"AI news\" --x --handles @AnthropicAI,@OpenAI\n\n# Exclude accounts\nnode {baseDir}/scripts/grok_search.mjs \"GPT\" --x --exclude @spam1,@spam2"},{"language":"bash","snippet":"# JSON (default, agent-friendly)\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x\n\n# Links only\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x --links-only\n\n# Human-readable text\nnode {baseDir}/scripts/grok_search.mjs \"query\" --x --text"}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"Search X/Twitter and the web, chat with Grok models (text + vision), and analyze X content using xAI's API. Use when: searching X posts/threads, web research via Grok, chatting with Grok, analyzing voice patterns, researching trends, or checking post quality. Triggers: grok, xai, search x, search twitter, x search, ask grok, grok chat, analyze voice, x trends. --- name: xai-plus description: | Search X/Twitter and the web, chat with Grok models (text + vision), and analyze X content using xAI's API. Use when: searching X posts/threads, web research via Grok, chatting with Grok, analyzing voice patterns, researching trends, or checking post quality. Triggers: grok, xai, search x, search twitter, x search, ask grok, grok chat, analyze voice, x trends. metadata: openclaw: emo","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":410,"uniquenessScore":59,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:47:59.460Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}