Loading...
Loading...
Use xAI's Grok model with agentic tool calling for X (Twitter) search, web search, code execution, and real-time data access. Invoke when user needs Twitter/X insights, current events, alternative perspectives, or complex multi-step research.
npx skill4agent add shalomma/social-media-research xai-grok.claude/skills/xai-grok/src/grok.pypython3 grok.py "Find recent tweets from Israeli tech nano-influencers"python3 grok.py "Analyze tech trends with charts" --enable-code-executionpython grok.py --help# Find specific users
python3 grok.py "Who are the top Israeli tech influencers on X?"
# Search for recent tweets
python3 grok.py "Latest tweets about Israeli startups"
# Analyze trends
python3 grok.py "What are Israeli tech companies tweeting about today?"
# Use fast model with custom temperature (short options)
python3 grok.py "Recent AI tweets" -m grok-4-fast-reasoning -t 0.5# Only X search, no web search
python3 grok.py "Find tweets" --disable-web-search
# Only web search, no X search
python3 grok.py "Latest news" --disable-x-search
# No tools (basic chat)
python3 grok.py "Explain AI" --disable-all-tools--model, -m # Model selection (default: grok-4)
--temperature, -t # Temperature for response generation (default: 0.3)
--disable-x-search # Disable X (Twitter) search (enabled by default)
--disable-web-search # Disable web search (enabled by default)
--enable-code-execution # Enable Python code execution (opt-in)
--disable-all-tools # Disable all tools (basic chat mode)
--show-citations # Show source URLs (default: enabled)
--no-show-citations # Hide source URLs
--show-usage # Show token usage statistics
--show-tool-calls # Show real-time tool calls
--install-completion # Install shell completion for the current shell
--show-completion # Show completion script for customizationgrok-4grok-4-fast-reasoninggrok-4-fast-non-reasoning