← ClaudeAtlas

x-searchlisted

X/Twitter search via xAI Grok API. Use when user wants to search tweets, monitor topics, find viral posts, or run social listening. Costs 5 credits per search. Triggers on x search, tweet search, twitter search, social listening, revenue intel, viral tweets.
atrislabs/atris · ★ 67 · AI & Automation · score 72
Install: claude install-skill atrislabs/atris
# X Search > Drop this in `~/.claude/skills/x-search/SKILL.md` and Claude Code becomes your X/Twitter intelligence tool. ## Bootstrap (ALWAYS Run First) Before any X search operation, run this bootstrap to ensure everything is set up: ```bash #!/bin/bash set -e # 1. Check if atris CLI is installed if ! command -v atris &> /dev/null; then echo "Installing atris CLI..." npm install -g atris fi # 2. Check if logged in to AtrisOS if [ ! -f ~/.atris/credentials.json ]; then echo "Not logged in to AtrisOS." echo "" echo "Option 1 (interactive): Run 'atris login' and follow prompts" echo "Option 2 (non-interactive): Get token from https://atris.ai/auth/cli" echo " Then run: atris login --token YOUR_TOKEN" echo "" exit 1 fi # 3. Extract token if command -v node &> /dev/null; then TOKEN=$(node -e "console.log(require('$HOME/.atris/credentials.json').token)") elif command -v python3 &> /dev/null; then TOKEN=$(python3 -c "import json,os; print(json.load(open(os.path.expanduser('~/.atris/credentials.json')))['token'])") elif command -v jq &> /dev/null; then TOKEN=$(jq -r '.token' ~/.atris/credentials.json) else echo "Error: Need node, python3, or jq to read credentials" exit 1 fi # 4. Quick auth check STATUS=$(curl -s "https://api.atris.ai/api/me" \ -H "Authorization: Bearer $TOKEN") if echo "$STATUS" | grep -q "Token expired\|Not authenticated\|Unauthorized"; then echo "Token expired. Please re-authenticate:" echo " R