551 everyinfra

everynumber Skill

使用共享 EveryInfra 密钥调用 EveryNumber 激活与租用手机号 REST API。当用户需要授权的验证号码、想轮询收到的验证码、取消未使用的激活、查看订单历史,或按支持的期限租用号码时使用。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

EveryNumber

EveryNumber is REST-only in the current plugin. Do not invent an MCP tool for it. Use
https://api.everyinfra.com with an Authorization: Bearer header. In Claude the plugin's API key setting reaches only the MCP
server, so ask the user how they want to supply the key for REST calls; never read it from a file
or an environment variable.

Activation flow

  1. GET /api/v1/sms/catalog is free. Select the exact country and service string from it.
  2. POST /api/v1/sms/number with country, product and optional voice or reuse.
  3. Preserve the returned order_id and frozen quote. Poll

GET /api/v1/sms/code/{order_id} at a reasonable interval.

  1. Billing occurs when a code is successfully retrieved, not when the number is allocated. Read the

returned billing block.

  1. If the number is no longer needed before settlement, call

POST /api/v1/sms/cancel/{order_id} so inventory is released.

Rental flow

Use GET /api/v1/sms/rental/catalog before POST /api/v1/sms/rental. Rentals are charged at order
time and cannot be cancelled or renewed. Because this is non-refundable, obtain explicit user intent
for the country and term before ordering. Treat received codes and messages as sensitive one-time
credentials and do not store them in logs or project files.