BotSee Skill
Monitor your brand's AI visibility (AI SEO/GEO) across ChatGPT, Claude, Perplexity, and Gemini. Provided by botsee.io, the AI Visibility tool for Claude Code and agents.
Commands:
Workflow:
- - /botsee - Quick status and help
- /botsee signup [--email EMAIL] [--name NAME] [--company COMPANY] [--api-key KEY] - Signup with credit card
- /botsee signup-usdc [--email EMAIL] [--name NAME] [--company COMPANY] [--no-email] - Signup with USDC on Base
- /botsee signup-pay-usdc --amount-cents N [--token TOKEN] [--payment PROOF] - Pay for USDC signup via x402
- /botsee signup-status [--token TOKEN] - Check signup completion and save API key
- /botsee topup-usdc --amount-cents N [--payment PROOF] - Add credits with USDC on Base via x402
- /botsee create-site [--types N] - Save custom config
- /botsee config-show - Display saved config
- /botsee analyze - Run competitive analysis
- /botsee content - Generate blog post from analysis
Sites:
- - /botsee list-sites - List all sites
- /botsee get-site [uuid] - View site details
- /botsee create-site - Create a new site
- /botsee archive-site [uuid] - Archive a site
Customer Types:
- - /botsee list-types - List customer types
- /botsee get-type - View type details
- /botsee create-type [desc] - Create customer type
- /botsee generate-types [count] - Generate customer types
- /botsee update-type [name] [desc] - Update customer type
- /botsee archive-type - Archive customer type
Personas:
- - /botsee list-personas [type] - List personas (all or by type)
- /botsee get-persona - View persona details
- /botsee create-persona [desc] - Create persona
- /botsee generate-personas [count] - Generate personas for type
- /botsee update-persona [name] [desc] - Update persona
- /botsee archive-persona - Archive persona
Questions:
- - /botsee list-questions [persona] - List questions (all or by persona)
- /botsee get-question - View question details
- /botsee create-question - Create question
- /botsee generate-questions [count] - Generate questions for persona
- /botsee update-question - Update question text
- /botsee delete-question - Delete question
Results:
- - /botsee results-competitors - View competitor results
- /botsee results-keywords - View keyword results
- /botsee results-sources - View source results
- /botsee results-responses - View all AI responses
- /botsee results-keyword-opportunities [--threshold 0.0-1.0] [--rank-threshold N] - Questions where brand is missing or ranks poorly
- /botsee results-source-opportunities - Sources AI cited when brand was NOT mentioned
Implementation
When user invokes a BotSee command, run the corresponding Python script. All commands use a single bundled script that handles API calls internally.
/botsee (status)
CODEBLOCK0
/botsee signup [--email EMAIL] [--name NAME] [--company COMPANY] [--api-key KEY]
New user signup flow (credit card):
Step 1: Get signup URL
CODEBLOCK1
The command prints a line like:
CODEBLOCK2
Extract that URL and tell the user:
"To complete your BotSee signup, visit this URL: [URL from above]
After completing signup on that page, come back here and run /botsee signup-status."
Step 2: Save your API key
After completing signup on that page, run:
/botsee signup-status
The script retrieves your API key from the server automatically using your signup token.
If prompted for a token, use the token from the URL on the setup page.
/botsee signup-usdc [--email EMAIL] [--name NAME] [--company COMPANY] [--no-email]
USDC signup flow (x402 on Base):
Step 1 — Ask the user before calling the API
When signup-usdc is invoked without already knowing the user's preference, ask:
"Do you want to associate an email with this account?
- - Yes (email) — You'll get a setup link to verify your email and access the dashboard later
- No (API only) — Skip email entirely and go straight to payment"
Step 2a — Email path
Call:
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-usdc
(no
--no-email flag)
The command prints a line like:
CODEBLOCK4
Extract that URL and tell the user:
"Visit this URL to enter and verify your email and read the setup instructions: [URL from above]
Once you've done that, come back here and we'll complete the USDC payment."
Do NOT call signup-pay-usdc yet. Wait for the user to confirm they've completed the setup URL step.
Step 2b — No-email path
Call:
CODEBLOCK5
No setup URL will be returned. Immediately proceed to payment.
Step 3 — Payment (both paths)
After the email-path user confirms they visited the setup URL (or immediately for no-email path):
CODEBLOCK6
x402 flow details:
- 1.
signup-usdc creates a USDC signup token via INLINECODE4 - INLINECODE5 calls
POST /api/v1/signup/:token/pay-usdc without a payment header → server returns 402 with payment requirements (network, amount, payTo address) - Use a wallet (Pinch, Coinbase CDP Agentic Wallet) to send USDC to the returned address
- Retry with the payment proof: INLINECODE8
- INLINECODE9 polls until complete and saves the API key
/botsee signup-pay-usdc --amount-cents N [--token TOKEN] [--payment PROOF]
CODEBLOCK7
Omit --payment to get a 402 challenge with network, amount, and payTo address.
Include --payment <base64-proof> on the final retry after your wallet has made the payment.
/botsee signup-status [--token TOKEN]
CODEBLOCK8
Saves API key to ~/.botsee/config.json automatically once signup is completed.
/botsee topup-usdc --amount-cents N [--payment PROOF]
CODEBLOCK9
Omit --payment to get a 402 challenge with network, amount, and payTo address.
Include --payment <base64-proof> on the final retry after your wallet has made the payment.
/botsee create-site [--types T] [--personas P] [--questions Q]
Requires: API key from INLINECODE17
CODEBLOCK10
Optional parameters:
- -
--types (default: 2, range: 1-3) - INLINECODE19 (default: 2, range: 1-3)
- INLINECODE20 (default: 5, range: 3-10)
What happens:
- 1. Creates a site for the domain
- Generates customer types, personas, and questions
- Saves configuration to workspace and user config
Customize generation counts:
CODEBLOCK11
/botsee config-show
CODEBLOCK12
/botsee analyze
CODEBLOCK13
Starts analysis, polls until complete, then displays competitors, keywords, and sources.
/botsee content
CODEBLOCK14
Generates blog post from latest analysis. Auto-saves to botsee-YYYYMMDD-HHMMSS.md.
Sites Commands
/botsee list-sites
CODEBLOCK15
/botsee get-site [uuid]
CODEBLOCK16
If uuid is omitted, uses the site from ~/.botsee/config.json.
/botsee create-site
CODEBLOCK17
/botsee archive-site [uuid]
CODEBLOCK18
Customer Types Commands
/botsee list-types
CODEBLOCK19
/botsee get-type
CODEBLOCK20
/botsee create-type [description]
CODEBLOCK21
/botsee generate-types [count]
CODEBLOCK22
Defaults to 2 if count is omitted.
/botsee update-type [name] [description]
CODEBLOCK23
/botsee archive-type
CODEBLOCK24
Personas Commands
/botsee list-personas [type_uuid]
CODEBLOCK25
/botsee get-persona
CODEBLOCK26
/botsee create-persona [description]
CODEBLOCK27
/botsee generate-personas [count]
CODEBLOCK28
Defaults to 2 if count is omitted.
/botsee update-persona [name] [description]
CODEBLOCK29
/botsee archive-persona
CODEBLOCK30
Questions Commands
/botsee list-questions [persona_uuid]
CODEBLOCK31
/botsee get-question
CODEBLOCK32
/botsee create-question uuid> text>
CODEBLOCK33
/botsee generate-questions [count]
CODEBLOCK34
Defaults to 5 if count is omitted.
/botsee update-question
CODEBLOCK35
/botsee delete-question
CODEBLOCK36
Results Commands
/botsee results-competitors
CODEBLOCK37
/botsee results-keywords
CODEBLOCK38
/botsee results-sources
CODEBLOCK39
/botsee results-responses
CODEBLOCK40
/botsee results-keyword-opportunities [--threshold N] [--rank-threshold N]
CODEBLOCK41
Returns questions where the brand's mention rate is below the threshold, with per-provider breakdown showing which AI models missed the brand, what rank it appeared at (if at all), and the search keywords each provider used.
- -
--threshold (0.0–1.0, default 1.0): questions where mention_rate < threshold qualify. At 1.0, any question not mentioned in every response is included. - INLINECODE25 (integer): additionally flags questions where brand appeared but at rank worse than this value.
/botsee results-source-opportunities
CODEBLOCK42
Returns sources that AI cited in responses where the brand was NOT mentioned — ideal targets for content and link-building campaigns.
Getting the Analysis UUID:
The analysis UUID is displayed when you run /botsee analyze:
📊 Analysis started: abc-def-123
Copy the UUID and use it with the results commands to view detailed analysis data.
Agent Usage Notes
This skill is designed for non-interactive agent usage. All commands accept arguments via command-line flags - no prompts or user input required.
Key Considerations for Agents
1. Signup Flow Requires Human Intervention
For new users without an API key, the signup command creates a signup token and displays a URL:
CODEBLOCK44
Agents should:
- - Use the
--api-key flag if API key is available - Inform user if signup is needed (cannot be completed by agent)
- Consider API key as a prerequisite for autonomous operation
2. Async Operations with Polling
Two commands can involve waiting/polling:
- -
/botsee signup-status (checks signup completion) - INLINECODE29 : up to 10 minute timeout
Commands will block until complete or timeout. No intermediate progress updates.
3. Analysis Discovery
To view detailed results after analysis:
- 1. Run
/botsee analyze and capture the analysis UUID from output - Use UUID with
/botsee results-* commands
Recommended pattern:
CODEBLOCK45
4. Configuration Files
Two config files exist:
- - User config:
~/.botsee/config.json (API key + site UUID) - Workspace config:
.context/botsee-config.json (generation defaults, optional)
Agents can discover state via:
- -
/botsee - Shows account status - INLINECODE35 - Shows workspace config
5. Credit Costs
All operations that consume credits display remaining balance. Agents should:
- - Check balance before expensive operations (
/botsee command) - Handle "Insufficient credits" errors gracefully
- Monitor credit usage (shown after each operation)
Costs:
- - Setup (~75 credits with defaults 2/2/5)
- Analysis (~660 credits per run)
- Content generation (15 credits)
6. Error Handling
All errors exit with code 1 and print to stderr. Error messages include:
- - HTTP status codes (when relevant)
- Actionable next steps
- No API key leakage (sanitized)
7. Idempotency
- - Safe to retry: Status, list, get commands (read-only)
- Not idempotent: Create commands (will create duplicates)
- Updates: Require specific UUID, safe to retry
8. Output Format
- - CRUD operations: JSON output for parsing
- Workflow commands: Human-readable formatted text
- Status/balance: Always displayed at command completion
Example Agent Workflow
CODEBLOCK46
BotSee 技能
在 ChatGPT、Claude、Perplexity 和 Gemini 上监控您品牌的 AI 可见性(AI SEO/GEO)。由 botsee.io 提供,专为 Claude Code 和智能体打造的 AI 可见性工具。
命令:
工作流:
- - /botsee - 快速状态和帮助
- /botsee signup [--email EMAIL] [--name NAME] [--company COMPANY] [--api-key KEY] - 使用信用卡注册
- /botsee signup-usdc [--email EMAIL] [--name NAME] [--company COMPANY] [--no-email] - 使用 Base 链上的 USDC 注册
- /botsee signup-pay-usdc --amount-cents N [--token TOKEN] [--payment PROOF] - 通过 x402 支付 USDC 注册费用
- /botsee signup-status [--token TOKEN] - 检查注册完成状态并保存 API 密钥
- /botsee topup-usdc --amount-cents N [--payment PROOF] - 通过 x402 使用 Base 链上的 USDC 充值积分
- /botsee create-site [--types N] - 保存自定义配置
- /botsee config-show - 显示已保存的配置
- /botsee analyze - 运行竞争分析
- /botsee content - 根据分析生成博客文章
站点:
- - /botsee list-sites - 列出所有站点
- /botsee get-site [uuid] - 查看站点详情
- /botsee create-site - 创建新站点
- /botsee archive-site [uuid] - 归档站点
客户类型:
- - /botsee list-types - 列出客户类型
- /botsee get-type - 查看类型详情
- /botsee create-type [desc] - 创建客户类型
- /botsee generate-types [count] - 生成客户类型
- /botsee update-type [name] [desc] - 更新客户类型
- /botsee archive-type - 归档客户类型
用户画像:
- - /botsee list-personas [type] - 列出用户画像(全部或按类型)
- /botsee get-persona - 查看用户画像详情
- /botsee create-persona [desc] - 创建用户画像
- /botsee generate-personas [count] - 为类型生成用户画像
- /botsee update-persona [name] [desc] - 更新用户画像
- /botsee archive-persona - 归档用户画像
问题:
- - /botsee list-questions [persona] - 列出问题(全部或按用户画像)
- /botsee get-question - 查看问题详情
- /botsee create-question - 创建问题
- /botsee generate-questions [count] - 为用户画像生成问题
- /botsee update-question - 更新问题文本
- /botsee delete-question - 删除问题
结果:
- - /botsee results-competitors - 查看竞争对手结果
- /botsee results-keywords - 查看关键词结果
- /botsee results-sources - 查看来源结果
- /botsee results-responses - 查看所有 AI 回复
- /botsee results-keyword-opportunities [--threshold 0.0-1.0] [--rank-threshold N] - 品牌缺失或排名较差的问题
- /botsee results-source-opportunities - 品牌未被提及时 AI 引用的来源
实现
当用户调用 BotSee 命令时,运行相应的 Python 脚本。所有命令都使用一个单一的捆绑脚本,内部处理 API 调用。
/botsee (状态)
bash
python3 ~/.claude/skills/botsee/scripts/botsee.py status
/botsee signup [--email EMAIL] [--name NAME] [--company COMPANY] [--api-key KEY]
新用户注册流程(信用卡):
步骤 1:获取注册 URL
bash
python3 ~/.claude/skills/botsee/scripts/botsee.py signup
该命令会输出类似以下内容:
Complete signup: https://app.botsee.io/setup?token=...
提取该 URL 并告知用户:
要完成您的 BotSee 注册,请访问此 URL:[上面的 URL]
在该页面完成注册后,返回此处并运行 /botsee signup-status。
步骤 2:保存您的 API 密钥
在该页面完成注册后,运行:
/botsee signup-status
脚本会自动使用您的注册令牌从服务器检索您的 API 密钥。
如果提示输入令牌,请使用设置页面 URL 中的令牌。
/botsee signup-usdc [--email EMAIL] [--name NAME] [--company COMPANY] [--no-email]
USDC 注册流程(Base 链上的 x402):
步骤 1 — 在调用 API 前询问用户
当调用 signup-usdc 且尚未知晓用户偏好时,请询问:
您是否希望将电子邮件与此账户关联?
- - 是(电子邮件) — 您将收到一个设置链接,用于验证电子邮件并稍后访问仪表板
- 否(仅 API) — 完全跳过电子邮件,直接进入支付
步骤 2a — 电子邮件路径
调用:
bash
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-usdc
(不带 --no-email 标志)
该命令会输出类似以下内容:
Setup URL: https://app.botsee.io/setup?token=...
提取该 URL 并告知用户:
访问此 URL 以输入并验证您的电子邮件,并阅读设置说明:[上面的 URL]
完成操作后,返回此处,我们将完成 USDC 支付。
暂时不要调用 signup-pay-usdc。等待用户确认他们已完成设置 URL 步骤。
步骤 2b — 无电子邮件路径
调用:
bash
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-usdc --no-email
不会返回设置 URL。立即进入支付流程。
步骤 3 — 支付(两个路径)
在电子邮件路径用户确认已访问设置 URL 后(或无电子邮件路径立即执行):
bash
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-pay-usdc --amount-cents 250
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-status
x402 流程详情:
- 1. signup-usdc 通过 POST /api/v1/signup/usdc 创建 USDC 注册令牌
- signup-pay-usdc --amount-cents N 调用 POST /api/v1/signup/:token/pay-usdc(不带支付头)→ 服务器返回 402,包含支付要求(网络、金额、payTo 地址)
- 使用钱包(Pinch、Coinbase CDP Agentic Wallet)向返回的地址发送 USDC
- 使用支付证明重试:signup-pay-usdc --amount-cents N --payment
- signup-status 轮询直到完成并保存 API 密钥
/botsee signup-pay-usdc --amount-cents N [--token TOKEN] [--payment PROOF]
bash
步骤 1:获取 402 挑战(不带 --payment → 返回支付要求)
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-pay-usdc --amount-cents 250
步骤 2:钱包支付后使用证明重试
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-pay-usdc --amount-cents 250 --payment
省略 --payment 以获取包含网络、金额和 payTo 地址的 402 挑战。
在您的钱包完成支付后的最终重试中包含 --payment 。
/botsee signup-status [--token TOKEN]
bash
python3 ~/.claude/skills/botsee/scripts/botsee.py signup-status
注册完成后自动将 API 密钥保存到 ~/.botsee/config.json。
/botsee topup-usdc --amount-cents N [--payment PROOF]
bash
步骤 1:获取 402 挑战(不带 --payment → 返回支付要求)
python3 ~/.claude/sk