# Send Vincent - Twitter 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": "vincent-twitter",
    "name": "Vincent - Twitter",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/glitch003/vincent-twitter",
    "canonicalUrl": "https://clawhub.ai/glitch003/vincent-twitter",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/vincent-twitter",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vincent-twitter",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "vincent-twitter",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-10T17:49:56.992Z",
      "expiresAt": "2026-05-17T17:49:56.992Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vincent-twitter",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vincent-twitter",
        "contentDisposition": "attachment; filename=\"vincent-twitter-1.0.69.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "vincent-twitter"
      },
      "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/vincent-twitter"
    },
    "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/vincent-twitter",
    "downloadUrl": "https://openagent3.xyz/downloads/vincent-twitter",
    "agentUrl": "https://openagent3.xyz/skills/vincent-twitter/agent",
    "manifestUrl": "https://openagent3.xyz/skills/vincent-twitter/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/vincent-twitter/agent.md"
  }
}
```
## Documentation

### Vincent - Twitter / X.com for agents

Use this skill to search tweets, look up user profiles, and retrieve recent tweets from X.com (Twitter). All requests are proxied through the Vincent backend, which handles authentication with the X API, enforces rate limits, tracks per-call costs, and deducts from your credit balance automatically.

No API keys to manage. The agent authenticates with a Vincent API key scoped to a DATA_SOURCES secret. Vincent handles the upstream Twitter API credentials server-side -- the agent never sees or manages Twitter API keys.

All commands use the @vincentai/cli package. API keys are stored and resolved automatically — you never handle raw keys or file paths.

### Security Model

This skill is designed for autonomous agent operation with pay-per-call pricing and human oversight.

No environment variables are required because this skill uses agent-first onboarding: the agent creates a DATA_SOURCES secret at runtime by calling the Vincent API, which returns a scoped API key. The CLI stores the returned API key automatically during creation. The config paths where the key is persisted (${OPENCLAW_STATE_DIR:-$HOME/.openclaw}/credentials/datasources/ or ./datasources/) are declared in this skill's metadata.

The agent's API key is not a Twitter API key. It is a scoped Bearer token for the Vincent proxy. The Vincent server authenticates with Twitter on the agent's behalf. The agent cannot access the upstream API directly or bypass the proxy's credit and rate-limit enforcement.

Model invocation is intentionally enabled. The purpose of this skill is to give AI agents autonomous access to Twitter data. The agent is expected to search tweets and look up profiles on its own. The human controls spending through credit balance and payment method management at https://heyvincent.ai.

All API calls go exclusively to heyvincent.ai over HTTPS/TLS. The Vincent server then calls the Twitter API. The agent does not contact Twitter directly.

Key lifecycle:

Creation: The agent runs secret create with --type DATA_SOURCES — the CLI stores the API key automatically and returns a keyId and claimUrl.
Claim: The human operator uses the claim URL to take ownership, add credit, and manage payment at https://heyvincent.ai.
Credit: Each API call costs a small amount (see Pricing below). The human adds credit via the frontend. Calls are rejected when credit runs out and no payment method is on file.
Revocation: The secret owner can revoke the agent's API key at any time from the Vincent frontend.

### Pricing

EndpointCost per callSearch tweets$0.01Get tweet by ID$0.005Get user profile$0.005Get user's tweets$0.01

Credit is deducted automatically per call. The response includes _vincent.creditRemainingUsd so the agent can track remaining balance.

### 1. Check for Existing Keys

Before creating a new secret, check if one already exists:

npx @vincentai/cli@latest secret list --type DATA_SOURCES

If a key is returned, use its id as the --key-id for all subsequent commands. If no keys exist, create a new secret.

### 2. Create a Data Sources Secret

npx @vincentai/cli@latest secret create --type DATA_SOURCES --memo "My agent data sources"

Returns keyId (use for all future commands) and claimUrl (share with the user).

After creating, tell the user:

"Here is your data sources claim URL: <claimUrl>. Use this to claim ownership and add credit for Twitter and other data sources at https://heyvincent.ai."

Important: The secret must be claimed and have credit (or a payment method on file) before API calls will succeed.

### 3. Search Tweets

npx @vincentai/cli@latest twitter search --key-id <KEY_ID> --q bitcoin --max-results 10

Parameters:

--q (required): Search query (1-512 characters)
--max-results (optional): Number of results, 10-100 (default: 10)
--start-time (optional): ISO 8601 datetime, earliest tweets to return
--end-time (optional): ISO 8601 datetime, latest tweets to return

Returns tweet text, creation time, author ID, and public metrics (likes, retweets, replies).

### 4. Get a Specific Tweet

npx @vincentai/cli@latest twitter tweet --key-id <KEY_ID> --tweet-id <TWEET_ID>

### 5. Get User Profile

Look up a Twitter user by username.

npx @vincentai/cli@latest twitter user --key-id <KEY_ID> --username elonmusk

Returns the user's description, follower/following counts, profile image, and verified status.

### 6. Get a User's Recent Tweets

npx @vincentai/cli@latest twitter user-tweets --key-id <KEY_ID> --user-id <USER_ID> --max-results 10

Note: This command requires the user's numeric ID (from the user profile response), not the username.

### Response Metadata

Every successful response includes a _vincent object with:

{
  "_vincent": {
    "costUsd": 0.01,
    "creditRemainingUsd": 4.99
  }
}

Use creditRemainingUsd to warn the user when credit is running low.

### Output Format

Tweet search results:

{
  "data": [
    {
      "id": "123456789",
      "text": "Tweet content here",
      "created_at": "2026-02-26T12:00:00.000Z",
      "author_id": "987654321",
      "public_metrics": {
        "like_count": 42,
        "retweet_count": 10,
        "reply_count": 5
      }
    }
  ],
  "_vincent": {
    "costUsd": 0.01,
    "creditRemainingUsd": 4.99
  }
}

User profile responses include description, public_metrics (followers/following counts), profile_image_url, and verified.

### Error Handling

ErrorCauseResolution401 UnauthorizedInvalid or missing API keyCheck that the key-id is correct; re-link if needed402 Insufficient CreditCredit balance is zero and no payment method on fileUser must add credit at heyvincent.ai429 Rate LimitedExceeded 60 requests/minuteWait and retry with backoffKey not foundAPI key was revoked or never createdRe-link with a new token from the secret ownerUser not foundUsername doesn't exist on TwitterVerify the username spelling

### Rate Limits

60 requests per minute per API key across all data source endpoints (Twitter + Brave Search combined)
If rate limited, you'll receive a 429 response. Wait and retry.

### Re-linking (Recovering API Access)

If the agent loses its API key, the secret owner can generate a re-link token from the frontend. The agent then exchanges this token for a new API key.

npx @vincentai/cli@latest secret relink --token <TOKEN_FROM_USER>

The CLI exchanges the token for a new API key, stores it automatically, and returns the new keyId. Re-link tokens are one-time use and expire after 10 minutes.

### Adding Credits

When your credit balance runs low, you can purchase more credits autonomously using USDC on Base via the x402 payment protocol — no human intervention required.

Available tiers: $1, $5, $10, $25, $50, $100

### Check Balance

npx @vincentai/cli@latest credits balance --key-id <KEY_ID>

### Purchase Credits via x402 (USDC on Base)

npx @vincentai/cli@latest credits add --key-id <KEY_ID> --amount 10

How it works:

The CLI sends a POST request to the x402 credit endpoint
The server returns HTTP 402 with a dynamic USDC deposit address on Base
The CLI signs the payment using your agent's wallet
The CLI retries the request with the payment proof
The server verifies the payment and adds credits to your account

Requirements:

An x402-compatible wallet with USDC on Base (chain ID 8453)
Your Vincent DATA_SOURCES API key

### Purchase Credits via Card (Human)

npx @vincentai/cli@latest credits checkout --key-id <KEY_ID>

Returns a Stripe Checkout URL. Share this with the user to complete payment with a card.

### MCP Tools

ToolDescriptionvincent_credit_balanceCheck current credit balance and top-up optionsvincent_add_creditsGet x402 payment instructions for purchasing credits

### Auto-Replenish Pattern

For long-running agents, check your balance before expensive operations and top up when low:

BALANCE=$(npx @vincentai/cli@latest credits balance --key-id <KEY_ID> --json | jq -r '.balance')
if (( $(echo "$BALANCE < 2.00" | bc -l) )); then
  npx @vincentai/cli@latest credits add --key-id <KEY_ID> --amount 10
fi

### Important Notes

A single DATA_SOURCES API key works for all data sources (Twitter, Brave Search, etc.). You do not need a separate key per data source.
Always share the claim URL with the user after creating a secret.
If a call is rejected with a credit error, tell the user to add credit at https://heyvincent.ai.
The Twitter search endpoint only returns tweets from the last 7 days (X API v2 limitation for recent search).
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: glitch003
- Version: 1.0.69
## 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-10T17:49:56.992Z
- Expires at: 2026-05-17T17:49:56.992Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/vincent-twitter)
- [Send to Agent page](https://openagent3.xyz/skills/vincent-twitter/agent)
- [JSON manifest](https://openagent3.xyz/skills/vincent-twitter/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/vincent-twitter/agent.md)
- [Download page](https://openagent3.xyz/downloads/vincent-twitter)