AGENT SKILL

Vincent - Brave Search for agents

Web and news search powered by Brave Search. Use this skill when users want to search the web, find news articles, or look up current information. Pay-per-call via Vincent credit system. Triggers on "search the web", "web search", "brave search", "search news", "find information", "look up", "current events".

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
Vincent - Brave Search for agents
author
HeyVincent <contact@heyvincent.ai>
source
https://github.com/HeyVincent-ai/Vincent
license
MIT
version
1.0.0
homepage
https://heyvincent.ai
metadata
{ "clawdbot": { "homepage": "https://heyvincent.ai", "requires": { "config": [ "${OPENCLAW_STATE_DIR:-$HOME/.openclaw}/credentials/datasources", "./datasources" ] } } }
description
Web and news search powered by Brave Search. Use this skill when users want to search the web, find news articles, or look up current information. Pay-per-call via Vincent credit system. Triggers on "search the web", "web search", "brave search", "search news", "find information", "look up", "current events".
allowed-tools
Read, Write, Bash(npx:@vincentai/cli*), Bash(jq:*), Bash(bc:*)

03 SKILL.md 正文

Vincent - Brave Search for agents

Use this skill to search the web and news using Brave Search. All requests are proxied through the Vincent backend, which handles authentication with the Brave Search 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 Brave Search API credentials server-side -- the agent never sees or manages Brave 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 Brave Search API key. It is a scoped Bearer token for the Vincent proxy. The Vincent server authenticates with Brave Search 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 web search capabilities. The agent is expected to search the web and news 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 Brave Search API. The agent does not contact Brave 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

Endpoint Cost per call
Web search $0.005
News search $0.005

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

Quick Start

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 Brave Search 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. Web Search

npx @vincentai/cli@latest brave web --key-id <KEY_ID> --q "latest AI news" --count 10

Parameters:

  • --q (required): Search query (1-400 characters)
  • --count (optional): Number of results, 1-20 (default: 10)
  • --offset (optional): Pagination offset, 0-9
  • --freshness (optional): Time filter — pd (past day), pw (past week), pm (past month), py (past year)
  • --country (optional): 2-letter country code for localized results (e.g., us, gb, de)

Returns web results with titles, URLs, descriptions, and metadata.

4. News Search

npx @vincentai/cli@latest brave news --key-id <KEY_ID> --q bitcoin --count 10

Parameters:

  • --q (required): Search query (1-400 characters)
  • --count (optional): Number of results, 1-20 (default: 10)
  • --freshness (optional): Time filter — pd (past day), pw (past week), pm (past month), py (past year)

Returns news articles with titles, URLs, descriptions, publication dates, and source information.

Response Metadata

Every successful response includes a _vincent object with:

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

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

Output Format

Web search results:

{
  "web": {
    "results": [
      {
        "title": "Article Title",
        "url": "https://example.com/article",
        "description": "A brief description of the article content."
      }
    ]
  },
  "_vincent": {
    "costUsd": 0.005,
    "creditRemainingUsd": 4.99
  }
}

News search results follow the same structure with additional age and source fields per result.

Error Handling

Error Cause Resolution
401 Unauthorized Invalid or missing API key Check that the key-id is correct; re-link if needed
402 Insufficient Credit Credit balance is zero and no payment method on file User must add credit at heyvincent.ai
429 Rate Limited Exceeded 60 requests/minute Wait and retry with backoff
Key not found API key was revoked or never created Re-link with a new token from the secret owner

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:

  1. The CLI sends a POST request to the x402 credit endpoint
  2. The server returns HTTP 402 with a dynamic USDC deposit address on Base
  3. The CLI signs the payment using your agent's wallet
  4. The CLI retries the request with the payment proof
  5. 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

Tool Description
vincent_credit_balance Check current credit balance and top-up options
vincent_add_credits Get 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.

04 同仓库更多 Skills

javimosch
javimosch/open-claw-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.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

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).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0