A unified, capability-aware agent skill for Bitrefill — enabling AI agents to browse, buy, and manage gift cards, mobile top-ups, and eSIMs across 180+ countries with crypto, Lightning, USDC via x402, pre-funded account balance, card, Apple Pay or Google Pay.
| Item | Status |
|---|---|
| Repo | bitrefill/agents on GitHub |
| Skill | bitrefill v4.0.0 — capability-aware shopping and payment routing |
| Plugin | Portable plugin.json + mcp.json; compatibility manifests for Codex, Claude Code / Cowork (.claude-plugin/) and Cursor / Grok Bot (.cursor-plugin/); all bundle the eCommerce MCP |
| Spec | Agent Skills compliant |
Download bitrefill.zip from the latest GitHub release. It contains root Agent Plugins 1.0 manifests, OpenAI listing metadata, a Codex compatibility manifest, the skill and its resources, and the logo. Connect your Bitrefill account through the host's OAuth flow; no credentials are bundled. Install from an available local or development plugin source using your host's supported flow. A GitHub release does not install the plugin into OpenAI's public directory.
OpenAI public-directory review is separate. Bitrefill supports digital-goods purchases, which require resolution with OpenAI under the current commerce guidelines. See OpenAI review preparation for verified checks, review cases, and remaining materials. This package is not an approved directory listing.
/plugin marketplace add bitrefill/agents
/plugin install bitrefill@bitrefill-skills
/reload-pluginsRegisters the bitrefill skill and eCommerce MCP (.mcp.json); OAuth on first MCP call. Pin: /plugin marketplace add bitrefill/agents#v4.0.0.
Update from your shell, or in a session with /plugin → Installed → bitrefill → Update now, then /reload-plugins:
claude plugin update bitrefill@bitrefill-skillsCowork: Customize → Plugins → add bitrefill/agents → install bitrefill. claude.ai: Connectors only → claude-chat.md. Other hosts → mcp.md.
Cursor: copy this repo to ~/.cursor/plugins/local/bitrefill and run Developer: Reload Window; once Bitrefill is listed on Cursor Marketplace, Customize → Bitrefill → Install. Grok Bot installs it from that listing. Both get the skill and the connector in .mcp.json (OAuth with your Bitrefill account). Host guide → grok-bot.md.
npx skills add bitrefill/agentsWith a specific agent (e.g. Cursor):
npx skills add bitrefill/agents -a cursor -yVia the cross-host installer:
npx skills add bitrefill/agents -a openclaw -yOr via OpenClaw's own ClawHub registry:
openclaw skills install bitrefill
openclaw gateway restartThen wire the eCommerce MCP for typed purchase tools:
openclaw mcp set bitrefill '{"url":"https://api.bitrefill.com/mcp","transport":"streamable-http","auth":"oauth"}'
openclaw mcp login bitrefillConnect with OAuth or configure Authorization: Bearer $BITREFILL_API_KEY using the host's supported secret/header settings. Keep credentials out of URLs.
Full setup, channel-aware scenarios, and hardening: skills/bitrefill/references/harnesses/openclaw.md.
- Connector:
https://api.bitrefill.com/mcp(HTTP, OAuth with your Bitrefill account, no API key): search, product details, buy, order updates, invoices, balances, saved cards, help articles. - Guest checkout (no account): npm
@bitrefill/clifromregistry.npmjs.organd an email; else awww.bitrefill.comlink. - Optional APIs:
api.bitrefill.com/v2(BITREFILL_API_KEY);api.bitrefill.com/x402through a wallet tool you already installed (e.g. Coinbase Wallet MCP, AgentCash), which pays any pay-per-call lookups, or direct HTTP. The skill never asks for private keys or seed phrases. - Bundled scripts:
scripts/siwx_*.jsuse Node built-ins only, accept sign-in challenges only fromhttps://api.bitrefill.com, write an unsigned sign-in draft to/tmp/siwx_payload.jsonand send the signed one back toapi.bitrefill.com. - Headless sign-in (optional): an agent inbox such as AgentMail (
agentmail-cli/agentmail-mcpfromregistry.npmjs.org,AGENTMAIL_API_KEY,api.agentmail.to); TOTP from the 1Password CLI (op, your own vault).
Each purchase is confirmed with you unless you opt into autonomous buying. Bitrefill Terms and Privacy Policy apply.
| Skill | Description |
|---|---|
bitrefill |
Capability-driven routing: probe harness (exec, egress, MCP), pick touchpoint (Bitrefill MCP, x402 REST, CLI, API, browse), then wallet (balance, x402, send). Includes OpenClaw, Claude Chat, Grok Bot / Cursor, Hermes, ChatGPT + Coinbase Wallet MCP, and a matrix of agent wallets that can pay. |
plugin.json # Agent Plugins 1.0 identity and OpenAI metadata
mcp.json # Portable Streamable HTTP MCP connection
.codex-plugin/plugin.json # Codex compatibility manifest
assets/logo.png
.mcp.json # Claude / Cursor / older Codex MCP configuration
.claude-plugin/
├── plugin.json
└── marketplace.json
.cursor-plugin/
└── plugin.json
.github/workflows/
├── release.yml
└── check.yml
assets/
LICENSE
skills/bitrefill/
├── SKILL.md
├── scripts/
│ ├── siwx_build_message.js
│ └── siwx_send.js
└── references/
├── harnesses/
│ ├── decision-engine.md
│ ├── capability-matrix.md
│ ├── openclaw.md
│ ├── claude-chat.md
│ └── grok-bot.md
├── touchpoints/
│ ├── mcp.md
│ ├── x402.md
│ ├── cli.md
│ ├── cli-headless-auth.md
│ ├── api.md
│ └── browse.md
├── wallets/
│ ├── matrix.md
│ ├── payment.md
│ ├── base-mcp.md
│ ├── siwx.md
│ ├── agentcash.md
│ ├── cdp-awal.md
│ ├── metamask.md
│ ├── kite-passport.md
│ ├── bankr.md
│ ├── alby.md
│ ├── tether-wdk.md
│ └── pay.md
├── safeguards.md
└── troubleshooting.md
Build and validate with Python 3.13 or newer:
python -m pip install -r requirements-dev.txt
python -m unittest discover -s tests -v
python scripts/package_plugin.py --tag v4.0.0
python scripts/package_plugin.py --validate dist/bitrefill.zip --tag v4.0.0The release workflow validates tagged versions, packages the complete plugin as bitrefill.zip, and publishes it with SHA256SUMS. It excludes marketplace catalogs, development files and credentials. Keep versions synchronized across the portable, Codex, Claude and Cursor manifests, marketplace metadata and skill metadata.
To add a new skill:
- Create a new directory under
skills/(e.g.,skills/my-skill/) - Add a
SKILL.mdfile with valid YAML frontmatter (name,description) and agent instructions - Optionally add a
references/subdirectory with supporting documentation - Bump the version fields → CLAUDE.md § Releasing Updates (skills are auto-discovered)
Skill names must be lowercase with hyphens and match the directory name exactly.
For the full Agent Skills specification, see agentskills.io/specification.