x-search
AI-powered X/Twitter search for real-time trends, breaking news, sentiment analysis, and social media insights. Use when users want to search Twitter/X for topics, hashtags, viral content, or public opinion. Costs $0.05 USDC per request via x402 protocol on Base network.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- x-search
- description
- AI-powered X/Twitter search for real-time trends, breaking news, sentiment analysis, and social media insights. Use when users want to search Twitter/X for topics, hashtags, viral content, or public opinion. Costs $0.05 USDC per request via x402 protocol on Base network.
02 资源文件 2
- 参考文档_meta.json285 B
- 脚本scripts/search.sh1.2 KB
03 SKILL.md 正文
X Search
Search X/Twitter using an AI-powered agent for real-time insights and social media intelligence.
Configuration
The private key must be available via one of these methods:
Option 1: Environment variable
export X402_PRIVATE_KEY="0x..."
Option 2: Config file (Recommended)
The script checks for x402-config.json in these locations (in order):
- Current directory:
./x402-config.json - Home directory:
~/.x402-config.json← Recommended - Working directory:
$PWD/x402-config.json
Create the config file:
{
"private_key": "0x1234567890abcdef..."
}
Example (home directory - works for any user):
echo '{"private_key": "0x..."}' > ~/.x402-config.json
Usage
Run the search script with a query:
scripts/search.sh "<search query>"
The script:
- Executes the npx CLI tool with payment handling
- Costs $0.05 USDC per request (Base network)
- Returns AI-processed search results
Examples
User: "What are people saying about AI agents on Twitter?"
scripts/search.sh "AI agents discussions and opinions"
User: "Find trending topics about cryptocurrency"
scripts/search.sh "cryptocurrency trends today"
User: "Show me viral content about climate change"
scripts/search.sh "viral climate change posts"
Capabilities
- Real-time trends and breaking news
- Social media sentiment analysis
- Viral content tracking
- Public opinion research
- Hashtag and topic analysis
Error Handling
- "Payment failed: Not enough USDC" → Inform user to top up Base wallet with USDC
- "X402 private key missing" → Guide user to configure private key (see Configuration above)
- Timeout errors → The API has a 5-minute timeout; complex queries may take time
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.