sell-an-agent-skill
БесплатноБез исполняемых скриптовНе проверенPublish an agent skill to the three.ws marketplace, price it per call in $THREE or USDC, offer a metered free trial, and collect the earnings. Use when you or…
от nirholas★ 289 звёзд на GitHubОб этом скилле
Sell an agent skill
A priced skill earns per call, not per install and not per month. Two rails credit the same author ledger: the public x402 endpoint any wallet can hit, and in-app calls from agents running on three.ws. The author's share routes to the author's own wallet at settlement, Solana first.
The promoted currency here is $THREE
(FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump). USDC is supported, and priced skills
default to USDC when no mint is named, so pass the $THREE mint explicitly when the user
wants to sell in $THREE.
Everything below needs an API key with write scope, minted at three.ws/dashboard/api:
export THREE_WS_KEY='sk_live_...'
Two things called "selling a skill"
Pick the right one before you start. They live in different tables and behave differently.
| Catalog skill (marketplace listing) | Agent skill price | |
|---|---|---|
| What it is | A row in the public skills catalog with a slug, schema, and content | A price attached to one capability of one agent you own |
| Who can call it | Anyone with a wallet, over x402 | Buyers of that agent's skill, in-app or via Solana Pay |
| Priced by | price_per_call_usd at publish |
PUT /api/monetization/prices or bulk pricing |
| Browse at | three.ws/skills | The agent's page, Skills tab |
| Paid rail | GET /api/x402/skill-call?skill=<slug> |
Purchase, trial, or in-app delegation |
Doing both is normal: publish the catalog listing so strangers can pay per call, and price it on your agent so the marketplace surfaces it too.
1. Publish to the catalog
curl -s https://three.ws/api/skills \
-H "authorization: Bearer $THREE_WS_KEY" \
-H 'content-type: application/json' \
-d '{
"name": "Weather report",
"slug": "weather-report",
"description": "Current temperature and wind for any named place, spoken out loud.",
"category": "general",
"tags": ["weather", "voice"],
"is_public": true,
"price_per_call_usd": 0.25,
"schema_json": [
{
"function": {
"name": "reportWeather",
"parameters": {
"type": "object",
"properties": { "place": { "type": "string" } },
"required": ["place"]
}
}
}
],
"content": "When the user asks about weather at a named place, call reportWeather with that place name. Never guess the numbers."
}'
| Field | Rules |
|---|---|
name |
2 to 80 chars |
slug |
lowercase, digits and hyphens, up to 60 chars, unique |
description |
up to 500 chars, this is the catalog copy |
category |
lowercase slug, up to 50 chars, default general |
tags |
up to 20 tags, 40 chars each |
schema_json |
at least one entry, each { "function": { "name", "parameters" } } |
content |
up to 200000 chars, the instructions a buyer receives |
price_per_call_usd |
0 to 10. 0 publishes it free |
is_public |
false keeps it unlisted while you test |
201 returns { "skill": { "id": ..., "slug": ... } }.
Browse or verify: GET /api/skills?sort=new (public, sorts popular, new, az).
2. How the per-call money actually moves
GET /api/x402/skill-call?skill=<slug> is the paid endpoint:
- The first request answers
402 Payment Requiredwith a quote equal toprice_per_call_usd. - The caller pays in USDC (Solana first, Base second). The 402 challenge names the author's wallet as the payee, so the money moves from caller to author as part of settlement. It is not held by the platform and forwarded later.
- The response carries the skill's tool schema and content so the caller can run it.
There is no re-access grant: every invocation is a fresh payment. A free skill
(price_per_call_usd = 0) is rejected here with 409; free skills are fetched from
GET /api/skills/:id instead.
The split. The platform keeps 250 basis points (2.5%) by default, the same as the marketplace fee, and the code clamps the configurable rate at 5000 bps so a misconfiguration can never take more than half a call. Integer math on 6-decimal atomic units, with the platform absorbing the odd atomic, so rounding favors the author:
platform = floor(price * platformBps / 10000)
author = price - platform
A $0.25 call splits to $0.243750 for the author and $0.006250 for the platform.
Full mechanics: three.ws/docs/skill-royalties.
3. Price an agent's skill in $THREE
This is the per-agent price the marketplace and the agent page show.
curl -s -X PUT https://three.ws/api/monetization/prices \
-H "authorization: Bearer $THREE_WS_KEY" \
-H 'content-type: application/json' \
-d '{
"agent_id": "<agent uuid>",
"skill_name": "weather-report",
"price_usdc": 25000,
"currency_mint": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
"chain": "solana"
}'
*Read the field name carefully.
Установить sell-an-agent-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sell-an-agent-skill?
Publish an agent skill to the three.ws marketplace, price it per call in $THREE or USDC, offer a metered free trial, and collect the earnings. Use when you or the user want to sell, monetize, price, list, or make money from an agent skill or capability ("sell my skill", "charge per call", "price this skill in $THREE", "put my agent's skill on the marketplace", "where are my skill earnings", "set up a free trial"). Covers publishing to the catalog, the per-call x402 rail, the author/platform split, trials, payout wallet, and withdrawals.
Как установить скилл sell-an-agent-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sell-an-agent-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic