Skip to content

Commit 640784f

Browse files
committed
fix: scope bitrefill-website skill to browse-only, redirect purchases to bitrefill-cli
Remove API token requirements, Agent Tools, and Credentials sections from bitrefill-website — the skill is now purely instructional for navigating bitrefill.com. Programmatic access and purchases are delegated to the bitrefill-cli skill. Made-with: Cursor
1 parent e1bf04c commit 640784f

4 files changed

Lines changed: 20 additions & 26 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"description": "Agent skills for browsing and buying products on Bitrefill",
9-
"version": "1.3.0"
9+
"version": "1.3.1"
1010
},
1111
"plugins": [
1212
{

.claude-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "bitrefill",
33
"description": "Skills for buying gift cards, mobile top-ups, eSIMs, and more on Bitrefill",
4-
"version": "1.3.0",
4+
"version": "1.3.1",
55
"author": {
66
"name": "Bitrefill",
77
"email": "support@bitrefill.com"
88
},
99
"homepage": "https://www.bitrefill.com",
1010
"repository": "https://github.com/bitrefill/agents",
11-
"keywords": ["gift-cards", "esim", "mobile-topup", "crypto", "bitcoin", "lightning"]
11+
"keywords": ["gift-cards", "esim", "mobile-topup", "crypto", "bitcoin", "lightning", "cli", "x402", "usdc", "base"]
1212
}

skills/bitrefill-website/SKILL.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
---
22
name: bitrefill-website
3-
description: "Help users accomplish tasks on Bitrefill (bitrefill.com): browse and search gift cards, mobile top-ups, and eSIMs; get product and pricing info; buy and pay with crypto or card; redeem, activate, or use purchases. Use when the user mentions Bitrefill, gift cards, phone top-up, eSIM for travel, or paying with Bitcoin/Lightning for digital goods."
4-
compatibility: "Requires network access to bitrefill.com and api.bitrefill.com. API operations (search, purchase, order management) require a Bitrefill API token (Bearer or Basic auth) — set via BITREFILL_API_TOKEN environment variable or platform-managed secrets. Browse-only use requires no credentials."
3+
description: "Browse and explore Bitrefill (bitrefill.com): discover gift cards, mobile top-ups, and eSIMs; search by brand, category, or country; compare products and denominations; understand pricing, availability, and how each product type works. Use when the user mentions Bitrefill, gift cards, phone top-up, or eSIM for travel."
4+
compatibility: "No credentials or API access required. Instruction-only skill for navigating bitrefill.com."
55
metadata:
66
author: bitrefill
7-
version: "1.2"
7+
version: "1.2.1"
88
homepage: "https://www.bitrefill.com"
9-
docs: "https://docs.bitrefill.com"
109
---
1110

1211
# Bitrefill Website Skill
1312

14-
Use this skill when the user wants to do anything on **Bitrefill** (bitrefill.com): learn about products, search, compare, buy, or use what they bought. Bitrefill sells digital goods (gift cards, mobile top-ups, eSIMs) and offers Bitcoin/Lightning services; payment can be crypto or card. All products are delivered digitally and usually instantly.
13+
Use this skill when the user wants to **explore** Bitrefill (bitrefill.com): learn about products, search, compare, or understand pricing and availability. Bitrefill sells digital goods (gift cards, mobile top-ups, eSIMs) and offers Bitcoin/Lightning services. All products are delivered digitally.
14+
15+
> **Programmatic access & purchases:** For searching via API, buying products, managing orders, or any automated workflow, use the **bitrefill-cli** skill instead. This skill is browse-only — it helps users navigate and understand the website.
1516
1617
## When to Use This Skill
1718

1819
Activate when the user:
1920
- Mentions **Bitrefill** or bitrefill.com
20-
- Wants to **buy** gift cards, mobile top-up, or eSIM (with crypto or card)
2121
- Asks how to **search**, **find**, or **compare** products on Bitrefill
2222
- Needs **information** (pricing, availability, country restrictions, denominations)
23+
- Wants to understand what Bitrefill offers or how a product type works
24+
25+
**Redirect to bitrefill-cli** when the user wants to:
26+
- **Buy** a product, make a purchase, or pay with crypto
27+
- Use the Bitrefill **API** or **MCP endpoint** programmatically
28+
- Manage **orders** or **invoices**
29+
- Perform any **automated** or **CLI-based** workflow
2330

2431
If the request is vague (e.g. "I need a gift"), ask what type of product and for whom (country/interests).
2532

@@ -66,23 +73,10 @@ User intent?
6673
- **Geolock vs URL:** Whether a product can be bought is determined by the user's IP (geolock), not by the country in the URL. The URL only controls which inventory is listed.
6774
- **Refunds:** Digital goods are typically non-refundable once delivered; set expectations before purchase.
6875

69-
## Agent Tools
70-
71-
Use the right tool for each task:
72-
73-
| Tool | When to use |
74-
|------|-------------|
75-
| **Official API** (`api.bitrefill.com/v2`) | Primary for product search, product details, purchases, order management. Requires auth (Bearer token or Basic auth). See [docs.bitrefill.com](https://docs.bitrefill.com) for full reference. |
76-
| **MCP endpoint** (`api.bitrefill.com/mcp`) | For Claude Code integration. Provides search-products, product-details, buy-products, list-invoices, list-orders tools via JSON-RPC/SSE. Connect with: `claude mcp add --transport http bitrefill https://api.bitrefill.com/mcp` |
77-
| **NOT recommended: scraping** | Cloudflare blocks all automated access to www.bitrefill.com. Do not use firecrawl or direct scraping — requests return 403. |
78-
79-
## Credentials & Safety
76+
## Limitations
8077

81-
- **API authentication:** The Official API and MCP endpoint require a Bitrefill API token (Bearer or Basic auth). Never store or log tokens in plain text. Use environment variables or platform-managed secrets.
82-
- **Minimal scope:** Request the narrowest API token scope sufficient for the task. Read-only tokens suffice for search/browse; purchase-capable tokens are needed only for buy flows.
83-
- **Purchase consent:** Always obtain **explicit user confirmation** before executing any purchase or payment. Summarize the product, amount, and payment method, then wait for approval.
84-
- **Payment data:** Never ask for or handle raw credit card numbers, private keys, or full wallet credentials. Rely on the Bitrefill checkout flow or pre-configured API tokens for payment.
85-
- **Sensitive output:** Do not echo API tokens, order secrets, or redemption codes in logs or chat history beyond what the user needs to see.
78+
- **No scraping:** Cloudflare blocks automated access to www.bitrefill.com. Do not use firecrawl or direct scraping — requests return 403.
79+
- **No API access:** This skill does not use the Bitrefill API or MCP endpoint. For programmatic access (search, buy, order management), use the **bitrefill-cli** skill.
8680

8781
## References
8882

skills/bitrefill-website/references/search-and-browse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ For “which X are supported” or “how does this work,” use **help.bitrefil
7777

7878
## Internal Search Endpoint
7979

80-
The site uses `/api/omni` as its internal product search endpoint (browser-only, requires cookies). For programmatic access, use the official API at `api.bitrefill.com/v2` instead.
80+
The site uses `/api/omni` as its internal product search endpoint (browser-only, requires cookies). For programmatic product search, use the **bitrefill-cli** skill instead.
8181

8282
For a full list of categories and popular brands, use references/supported-categories.md.

0 commit comments

Comments
 (0)