Grok Skill — Communication skill for Claude Code
Claude Code Skill that routes Twitter/X prompts to Grok-4 Live Search.
How to install Grok Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mikedemarais/grok-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Grok Skill does
Claude Code Skill that routes Twitter/X prompts to Grok-4 Live Search.
Alternatives in Communication
- Prompts.chat — f.k.a. Awesome ChatGPT Prompts 154.3k ★
- Summarize Tweets — X/Twitter Summary Prompt 3.2k ★
- Qiaomu Anything To Notebooklm — Claude Skill: Multi-source content processor for NotebookLM 1.4k ★
README
grok-skill
[](https://bun.sh) [](https://www.typescriptlang.org/) [](https://openrouter.ai) [](LICENSE)
A Claude Code Skill that routes X/Twitter queries to xAI **Grok 4** via **OpenRouter** with **Live Search** turned on and scoped to the **X** source.
Features
- Live Search - Real-time X/Twitter data via Grok 4's Live Search
- Handle Filtering - Multi-value
--include/--excludefor targeted searches - Date Range Queries - Time-bounded searches with calendar validation
- Engagement Filters - Filter by favorites and views
- Network Resilience - Automatic retries with exponential backoff
- Citation Extraction - Tweet URLs with fallback parsing
- Production Ready - Comprehensive error handling and validation
Quick Start
# 1. Set your OpenRouter API key
export OPENROUTER_API_KEY="sk-or-..."
# 2. Run a query (assumes Bun is installed)
bun scripts/grok.ts --q "what's trending on X about AI?"
That's it! The script returns JSON with summary, citations, and usage stats.
Install
1. Get an OpenRouter API Key
Sign up at [openrouter.ai](https://openrouter.ai) and create an API key.
2. Set Environment Variable
# Set your OpenRouter key
export OPENROUTER_API_KEY="sk-or-..."
# Verify it's set
echo "$OPENROUTER_API_KEY"
# To persist across sessions, add to your shell profile:
echo 'export OPENROUTER_API_KEY="sk-or-..."' >> ~/.zshrc
source ~/.zshrc
3. Install Bun (if needed)
# macOS/Linux
brew install bun || curl -fsSL https://bun.sh/install | bash
# Windows
powershell -c "irm bun.sh/install.ps1|iex"
4. Clone and Setup
# Clone to Claude Code skills directory
git
Related Skills
Backend API
Use when changing the Express and TypeScript backend in server/, including auth, conversations, guest flows, c
Dsh Chat Import
Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCo
Chat Shared Conversation To File
CLI tool that converts public share links from ChatGPT, Gemini, Grok, and Claude into clean Markdown and stati
OrbCue
Desktop orb for Windows that cues you when Claude Code, Grok, Codex or Cursor Agent needs you. Working session
Omarchy Quick Chat
Keyboard-first quick chat for Omarchy: summon your agent CLIs (Codex, Claude Code, OpenCode, Grok, Cursor, Pi)
Agent Exchange
Agent Exchange: local messaging between Claude Code, Codex, Grok Build, Pi and OpenCode. CLI: ax.
Related Agents
Geo Orchestrator
Orchestrates LibreGEO Grok skills for AI-search readiness — audit, llms.txt, citation, schema, freshness. Use
Credential Hunter
Autonomous credential-attack pipeline runner. Chains /wordlist-gen + /osint-employees + /breach-check (data-pr
Kie Director
Produces finished images, video, music or speech with kie.ai models from a plain-language brief. It picks mode