You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Claude Code/Cowork plugin support and bump to v1.2.0
Add plugin.json manifest, update marketplace.json to standard schema,
and rewrite CLAUDE.md with installation instructions for Claude Code
and Cowork.
Made-with: Cursor
Copy file name to clipboardExpand all lines: CLAUDE.md
+59-7Lines changed: 59 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,55 @@ Instructions:
6
6
- Try abstracting instructions that can be applied to multiple cases
7
7
- Avoid creating new sections as much as possible. Try updating exisiting knowledge instead.
8
8
9
-
This repository is a monorepo of agent skills for Bitrefill. Skills live in the `skills/` directory.
9
+
This repository is a monorepo of agent skills for Bitrefill, packaged as a **Claude Code / Cowork plugin marketplace**. Skills live in the `skills/` directory and are distributed through the plugin system shared by Claude Code and Claude Cowork.
10
+
11
+
## Installing the Plugin
12
+
13
+
### Claude Code
14
+
15
+
Add the marketplace and install the plugin:
16
+
17
+
```shell
18
+
/plugin marketplace add bitrefill/agents
19
+
/plugin install bitrefill@bitrefill-skills
20
+
```
21
+
22
+
### Claude Cowork
23
+
24
+
Cowork uses the same plugin system as Claude Code. Install through the Cowork plugin settings UI, or from a Cowork conversation:
25
+
26
+
1. Open **Settings > Plugins**
27
+
2. Add the marketplace source `bitrefill/agents`
28
+
3. Install the **bitrefill** plugin
29
+
30
+
Once installed, Claude gains two skills:
31
+
-**bitrefill-website** — browse, search, and buy gift cards, mobile top-ups, and eSIMs on bitrefill.com
32
+
-**bitrefill-cli** — autonomous agent commerce via the Bitrefill CLI and x402 payments
33
+
34
+
Skills activate automatically when Claude detects a relevant task.
35
+
36
+
### Local Testing
37
+
38
+
Load the plugin directly without installing from a marketplace:
The marketplace (`marketplace.json`) lists plugins available for installation. The plugin manifest (`plugin.json`) defines the plugin's identity. Skills inside `skills/` are auto-discovered when the plugin loads.
57
+
22
58
## Adding a New Skill
23
59
24
60
1. Create a directory: `skills/<skill-name>/`
@@ -31,14 +67,30 @@ skills/
31
67
```
32
68
3. Write agent instructions in the Markdown body (step-by-step, under 500 lines)
33
69
4. Optionally add `references/` with detailed documentation
34
-
5.Register the skill in `.claude-plugin/marketplace.json`under the `plugins[0].skills` array
70
+
5.Bump the `version` in both `plugin.json`and `marketplace.json`
35
71
36
72
## Naming Conventions
37
73
38
74
- Skill names: lowercase, hyphens only (e.g., `bitrefill-buy`, `bitrefill-esim`)
39
75
- Directory name **must match** the `name` field in SKILL.md frontmatter
40
76
- Prefix with `bitrefill-` for Bitrefill product skills
41
77
78
+
## Publishing Updates
79
+
80
+
After modifying skills, bump the `version` field in `.claude-plugin/plugin.json` (and optionally in `marketplace.json`). Users with auto-update enabled receive changes at next Claude Code startup; others run:
81
+
82
+
```shell
83
+
/plugin marketplace update bitrefill-skills
84
+
```
85
+
86
+
## Submitting to the Official Anthropic Directory
87
+
88
+
To make the plugin available in the official Claude plugin directory (visible in both Claude Code and Cowork), submit via one of:
Copy file name to clipboardExpand all lines: skills/bitrefill-cli/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ name: bitrefill-cli
3
3
description: "Give agents real-world spending capabilities via the Bitrefill CLI (@bitrefill/cli). Agents can autonomously search, buy, and deliver gift cards, mobile top-ups, and eSIMs from 1,500+ brands — paying with x402 over Base (USDC) or store credits, no traditional payment methods or human checkout needed. Use when the user wants an agent to purchase something in the real world, spend crypto, or complete an x402 payment flow."
0 commit comments