# Send X Search (x402) to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "x-search",
    "name": "X Search (x402)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/TzannetosGiannis/x-search",
    "canonicalUrl": "https://clawhub.ai/TzannetosGiannis/x-search",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/x-search",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x-search",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/search.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "x-search",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T05:39:17.413Z",
      "expiresAt": "2026-05-18T05:39:17.413Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x-search",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x-search",
        "contentDisposition": "attachment; filename=\"x-search-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "x-search"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/x-search"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/x-search",
    "downloadUrl": "https://openagent3.xyz/downloads/x-search",
    "agentUrl": "https://openagent3.xyz/skills/x-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x-search/agent.md"
  }
}
```
## Documentation

### 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: TzannetosGiannis
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-11T05:39:17.413Z
- Expires at: 2026-05-18T05:39:17.413Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/x-search)
- [Send to Agent page](https://openagent3.xyz/skills/x-search/agent)
- [JSON manifest](https://openagent3.xyz/skills/x-search/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/x-search/agent.md)
- [Download page](https://openagent3.xyz/downloads/x-search)