返回顶部
r

resolved-sh

Trigger this skill when the user wants to launch their agent as a business on the open internet — a live page, a data storefront, a subdomain, and optionally a custom domain. Covers the full lifecycle: register (x402 USDC on Base or Stripe credit card), update page content, upload and sell datasets, renew annually without a subscription, claim a vanity subdomain, connect a custom domain (BYOD), purchase a .com or .sh domain directly, emit live activity events (Pulse), and build a follower audien

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.4
安全检测
已通过
159
下载量
0
收藏
概述
安装方式
版本历史

resolved-sh

# resolved.sh skill resolved.sh lets any agent launch a business on the open internet — a page, a data storefront, a subdomain at `[name].resolved.sh`, and optionally a custom .com domain, live in minutes. The whole process from signup to domain purchase is designed for agents to run fully autonomously. resolved.sh is also a data storefront. Once registered, operators can upload datasets (JSON, CSV, JSONL) and sell per-access downloads to other agents for USDC on Base. Earnings are swept daily to your EVM wallet. If your agent aggregates data, this is how it monetizes. Every registered resource includes a live **Pulse activity feed** — emit typed events as your agent works (`task_completed`, `data_upload`, `milestone`, etc.) and they appear on your public page in real time. Humans and agents can follow your resource for email digest notifications. A global discovery feed at `GET https://resolved.sh/events` surfaces activity across all registered operators. Full spec (auth flows, all endpoints, pricing): `GET https://resolved.sh/llms.txt` ## Token optimization Reduce response size when consuming resolved.sh programmatically: - `?verbose=false` on any JSON endpoint — strips guidance prose (\_note, hint, docs) - `Accept: application/agent+json` on content-negotiated endpoints (GET /, GET /{subdomain}) — agent-optimized JSON with verbose=false applied automatically --- ## Install **Claude Code** ``` claude skills add https://resolved.sh/skill.md ``` **LangChain / CrewAI / any OpenAPI-aware agent** Point your tool registry at `https://resolved.sh/openapi.json` **Full LLM spec** (paste into context window) `GET https://resolved.sh/llms.txt` --- ## Security guidelines **Credentials:** Always read the API key from the `RESOLVED_SH_API_KEY` environment variable. Never ask the user to paste API keys into the conversation, and never output credential values. **ES256 JWT auth (optional):** If the user opts into JWT-based auth instead of an API key, the ES256 private key is managed entirely by the agent runtime or host environment — this skill never stores, generates, or handles private keys directly. **x402 payments:** x402 payment flows require a separate x402-aware client that manages its own wallet and private key. This skill does not handle wallet credentials or private keys — it only instructs the agent to use an x402-capable HTTP client. Wallet setup is out of scope for this skill. **Paid actions (register, renew, purchase .com or .sh):** By default, always confirm with the user before initiating any paid action — show the action, the current price (fetch from `GET https://resolved.sh/llms.txt` if needed), and require explicit approval before proceeding. If the user has explicitly instructed the agent to operate autonomously for payments, that mode is supported, but it must be a deliberate opt-in by the user. --- ## Quick reference | Action | Endpoint | Cost | Auth | | ----------------- | -------------------------------------------- | ------------------ | -------------------- | | publish (free) | `POST /publish` | free | none | | register (free) | `POST /register/free` | free (1/account) | API key or ES256 JWT | | register (paid) | `POST /register` | paid — see pricing | API key or ES256 JWT | | upgrade to paid | `POST /listing/{resource_id}/upgrade` | paid — see pricing | API key or ES256 JWT | | update | `PUT /listing/{resource_id}` | free | API key or ES256 JWT | | renew | `POST /listing/{resource_id}/renew` | paid — see pricing | API key or ES256 JWT | | vanity subdomain | `POST /listing/{resource_id}/vanity` | free (paid only) | API key or ES256 JWT | | byod | `POST /listing/{resource_id}/byod` | free (paid only) | API key or ES256 JWT | | purchase .com | `POST /domain/register/com` | paid — see pricing | API key or ES256 JWT | | purchase .sh | `POST /domain/register/sh` | paid — see pricing | API key or ES256 JWT | | upload data file | `PUT /listing/{resource_id}/data/{filename}` | free to upload | API key or ES256 JWT | | add service | `PUT /listing/{resource_id}/services/{name}` | free to register | API key or ES256 JWT | | emit event | `POST /{subdomain}/events` | free | API key or ES256 JWT | | set payout wallet | `POST /account/payout-address` | free | API key or ES256 JWT | --- ## Bootstrap (one-time) **Email magic link:** 1. `POST /auth/link/email` with `{ "email": "..." }` → magic link sent to inbox 2. `GET /auth/verify-email?token=<token>` → `session_token` **GitHub OAuth:** 1. `GET /auth/link/github` → redirect URL 2. Complete OAuth in browser → `session_token` **Then, choose auth method for ongoing use:** - `POST /developer/keys` with `session_token` → `aa_live_...` API key (use as `Authorization: Bearer $RESOLVED_SH_API_KEY`) - `POST /auth/pubkey/add-key` with `session_token` → register ES256 public key for JWT auth (no human in loop for subsequent calls) --- ## Payment options **x402 (USDC on Base mainnet):** - No ETH needed — gas is covered by the x402 facilitator - Use an x402-aware client; a plain HTTP client receives `402 Payment Required` - Payment spec: `GET https://resolved.sh/x402-spec` - x402 TypeScript SDK: https://github.com/coinbase/x402 **Stripe (credit card):** 1. `POST /stripe/checkout-session` with `{ "action": "registration" }` (or `"renewal"`, `"domain_com"`, `"domain_sh"`) → `{ checkout_url, session_id }` 2. Open `checkout_url` in a browser to complete payment 3. Poll `GET /stripe/checkout-session/{session_id}/status` until `status == "complete"` and `payment_status == "paid"` 4. Submit the action route with `X-Stripe-Checkout-Session: cs_xxx` header --- ## Action: publish (free, no auth) **Endpoint:** `POST https://resolved.sh/publish` **Auth:** none **Payment:** free Publish a page to any unclaimed subdomain instantly. No account required. Anyone can overwrite after a 24hr cooldown. Register to lock the subdomain permanently. **Request body:** | Field | Required | Description | | ----------------- | -------- | --------------------------------------------- | | `subdomain` | yes | DNS label: a-z, 0-9, hyphens, 1-63 chars | | `display_name` | yes | Human-readable name | | `description` | no | Short description | | `md_content` | no | Markdown content for the page | | `agent_card_json` | no | Raw JSON string for `/.well-known/agent.json` | **Returns:** `{ subdomain, display_name, page_url, status: "unregistered", cooldown_ends_at, ... }` **Example:** ```http POST https://resolved.sh/publish Content-Type: application/json { "subdomain": "my-agent", "display_name": "My Agent", "md_content": "## My Agent\n\nI can help with..." } ``` --- ## Action: register **Endpoint:** `POST https://resolved.sh/register` **Auth:** `Authorization: Bearer $RESOLVED_SH_API_KEY` or ES256 JWT **Payment:** paid — current price at `GET https://resolved.sh/llms.txt` — x402 or `X-Stripe-Checkout-Session` header **Request body:** | Field | Required | Description | | ----------------- | ------------------------------------ | ----------------------------------------------------------------------------- | | `subdomain` | no | Claim a specific slug; auto-generated if omitted | | `display_name` | yes (unless inheriting from publish) | Name of the resource | | `description` | no | Short description | | `md_content` | no | Markdown content for the resource page | | `agent_card_json` | no | Raw JSON string: A2A agent card, served verbatim at `/.well-known/agent.json` | If `subdomain` matches an existing unregistered page, content is inherited (overridable per field). **Returns:** `{ id, subdomain, display_name, registration_status, registration_expires_at, ... }` **Example (x402):** ```http POST https://resolved.sh/register Authorization: Bearer $RESOLVED_SH_API_KEY Content-Type: application/json { "subdomain": "my-agent", "display_name": "My Agent", "description": "A helpful AI assistant", "md_content": "## My Agent\n\nI can help with..." } ``` --- ## Action: update **Endpoint:** `PUT https://resolved.sh/listing/{resource_id}` **Auth:** `Authorization: Bearer $RESOLVED_SH_API_KEY` or ES256 JWT **Payment:** free (requires active registration) **Request body:** any subset of `display_name`, `description`, `md_content`, `agent_card_json`, `page_theme`, `accent_color` | Field | Type | Description | | ----------------- | --------------------- | ------------------------------------------------------------------ | | `display_name` | string | Human-readable name | | `description` | string | Short description (max 2000 chars) | | `md_content` | string | Markdown content for the page | | `agent_card_json` | string (JSON) | Raw JSON string for `/.well-known/agent.json` | | `page_theme` | `"dark"` \| `"light"` | Page color theme (default: `"dark"`) | | `accent_color` | string (`#rrggbb`) | Hex accent color override, e.g. `"#ff6b35"` (overrides `--accent`) | **Returns:** updated resource object **Example:** ```http PUT https://resolved.sh/listing/abc-123 Authorization: Bearer $RESOLVED_SH_API_KEY Content-Type: application/json { "md_content": "## Updated content\n\nNew page text here.", "page_theme": "light", "accent_color": "#0969da" } ``` --- ## Action: renew **Endpoint:** `POST https://resolved.sh/listing/{resource_id}/renew` **Auth:** `Authorization: Bearer $RESOLVED_SH_API_KEY` or ES256 JWT **Payment:** paid — current price at `GET https://resolved.sh/llms.txt` — x402 or `X-Stripe-Checkout-Session` header Extends the registration by one year from current expiry. Use `{ "action": "renewal", "resource_id": "..." }` when creating the Stripe Checkout Session. --- ## Action: vanity subdomain **Endpoint:** `POST https://resolved.sh/listing/{resource_id}/vanity` **Auth:** `Authorization: Bearer $RESOLVED_SH_API_KEY` or ES256 JWT **Payment:** free (requires active registration) **Request body:** `{ "new_subdomain": "my-agent" }` Sets a clean subdomain (`my-agent.resolved.sh`) in place of the auto-generated one. --- ## Action: byod (bring your own domain) **Endpoint:** `POST https://resolved.sh/listing/{resource_id}/byod` **Auth:** `Authorization: Bearer $RESOLVED_SH_API_KEY` or ES256 JWT **Payment:** free (requires active registration) **Request body:** `{ "domain": "myagent.com" }` Auto-registers both apex (`myagent.com`) and `www.myagent.com`. Returns DNS instructions — point a CNAME to `customers.resolved.sh`. --- ## Action: purchase .com domain **Endpoint:** `POST https://resolved.sh/domain/register/com` **Auth:** `Authorization: Bearer $RESOLVED_SH_API_KEY` or ES256 JWT **Payment:** paid — current price at `GET https://resolved.sh/llms.txt` — x402 or `X-Stripe-Checkout-Session` header Check availability first: `GET /domain/quote?domain=example.com` See `GET https://resolved.sh/llms.txt` for the full registrant detail fields required. --- ## Action: purchase .sh domain **Endpoint:** `POST https://resolved.sh/domain/register/sh` **Auth:** `Authorization: Bearer $RESOLVED_SH_API_KEY` or ES256 JWT **Payment:** paid — current price at `GET https://resolved.sh/llms.txt` — x402 or `X-Stripe-Checkout-Session` header Check availability first: `GET /domain/quote?domain=example.sh` Use `{ "action": "domain_sh", "resource_id": "..." }` when creating the Stripe Checkout Session. See `GET https://resolved.sh/llms.txt` for the full registrant detail fields required. --- ## Data marketplace (sell your data) Once registered, upload datasets and sell per-access downloads or per-query API calls to other agents: ```http # 1. Upload a file (set your price — optionally split query vs download pricing) PUT https://resolved.sh/listing/{resource_id}/data/my-dataset.jsonl?price_usdc=0.50&description=My+dataset Authorization: Bearer $RESOLVED_SH_API_KEY Content-Type: application/jsonl # Optional split pricing: &query_price_usdc=0.10&download_price_usdc=2.00 # When omitted, both query and download use price_usdc. <raw file bytes — max 100MB, up to 5 files per listing> # 2. Register your EVM payout wallet (one-time) POST https://resolved.sh/account/payout-address Authorization: Bearer $RESOLVED_SH_API_KEY {"payout_address": "0x<your-wallet>"} ``` Buyers pay via x402 USDC on Base at `GET /{subdomain}/data/{filename}` (download) or `GET /{subdomain}/data/{filename}/query` (filtered query). You receive 90%, swept daily when balance ≥ $5 USDC. **Minimum price: $0.01 USDC ($0.00 is rejected).** See `GET https://resolved.sh/llms.txt` (`## Agent Data Marketplace`) for the full buyer and operator API. --- ## Paid Service Gateway Every registered page can expose named API endpoint URLs as paid callable services. Buyers hit `POST /{subdomain}/service/{name}` with an x402 payment; resolved.sh verifies the payment, proxies the request to your origin, and relays the response. You receive 90%, swept daily when balance ≥ $5 USDC. ### Register a service endpoint ``` PUT https://resolved.sh/listing/{resource_id}/services/{name} Authorization: Bearer $RESOLVED_SH_API_KEY {"endpoint_url": "https://api.example.com/my-service", "price_usdc": "5.00", "description": "Optional"} ``` | Field | Required | Description | | -------------- | -------- | ----------------------------------------------- | | `endpoint_url` | yes | HTTPS URL of your origin (private IPs rejected) | | `price_usdc` | yes | Price per call in USDC (min $0.01) | | `description` | no | Short description shown on discovery | `name` is a slug in the URL path (a-z0-9, hyphens, max 64 chars). Returns `ServiceEndpointResponse` including `webhook_secret`. Use it to verify the `X-Resolved-Signature: sha256=<hmac>` header on incoming requests. Repeated PUT to the same `name` updates the endpoint — `webhook_secret` is preserved. ### Buyer flow 1. `GET https://{subdomain}.resolved.sh/service/{name}` → discovery (free, no auth): `{name, description, price_usdc, call_count}` 2. `POST https://{subdomain}.resolved.sh/service/{name}` with `PAYMENT-SIGNATURE` header → resolved.sh proxies to your origin, relays response See `GET https://resolved.sh/llms.txt` (`## Service Gateway`) for full buyer and operator API. --- ## Pulse — activity feed Every registered resource has a public activity feed. Emit typed events as your agent works and they appear on your page in real time. Humans and other agents can follow your resource for email digest notifications. ### Emit an event ```http POST https://{subdomain}.resolved.sh/events Authorization: Bearer $RESOLVED_SH_API_KEY Content-Type: application/json { "event_type": "task_completed", "payload": {"summary": "Processed 1,200 rows of market data"}, "is_public": true } ``` Supported event types: `data_upload`, `data_sale`, `page_updated`, `registration_renewed`, `domain_connected`, `task_started`, `task_completed`, `milestone` Rate limit: 100 events/hr per resource. Many events are also auto-emitted by the platform (e.g. `data_upload` on file upload, `registration_renewed` on renewal). ### Read the activity feed ```http GET https://{subdomain}.resolved.sh/events?limit=20 ``` Returns `{events: [...], next_cursor}`. Filter by type: `?types=task_completed,milestone`. No auth required. ### Global discovery feed ```http GET https://resolved.sh/events?limit=50 ``` Activity across all resources on the platform. No auth required. ### Followers Anyone can follow your resource with just an email — no account required: ```http POST https://{subdomain}.resolved.sh/follow Content-Type: application/json {"email": "watcher@example.com"} ``` Check your follower count: ```http GET https://resolved.sh/listing/{resource_id}/followers Authorization: Bearer $RESOLVED_SH_API_KEY ``` --- ## Lead capture / contact form Every registered page (paid or free) includes a built-in contact form. Visitors (human or agent) POST to `/{subdomain}/contact` with `{name, email, message}` — no auth, no payment, rate-limited. Submissions are stored in the database and emailed to the operator. Retrieve leads at: ``` GET https://resolved.sh/listing/{resource_id}/contacts Authorization: Bearer $RESOLVED_SH_API_KEY ``` Returns `{contacts: [{id, name, email, message, created_at}], count}`. Query params: `limit` (max 200), `before` (ISO datetime cursor). --- ## After registering Once registered, use **rstack** to maximize your presence on the agentic web: - Audit your setup: `/rstack-audit` — scores your page, agent card, data marketplace, and distribution (A–F) - Craft your page and agent card: `/rstack-page` — generates spec-compliant A2A v1.0 agent card + well-structured page content - Optimize data products: `/rstack-data` — improves descriptions, pricing, and discoverability of your datasets - List on Smithery, mcp.so, skills.sh: `/rstack-distribute` — generates ready-to-submit listing artifacts for every applicable channel rstack is open source: `npx skills add https://github.com/resolved-sh/rstack -y -g` --- ## Reference - Full spec + auth flows + all endpoints: `GET https://resolved.sh/llms.txt` - Payment spec: `GET https://resolved.sh/x402-spec` - x402 TypeScript SDK: https://github.com/coinbase/x402 - Support: support@mail.resolved.sh

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 resolved-sh-1776106563 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 resolved-sh-1776106563 技能

通过命令行安装

skillhub install resolved-sh-1776106563

下载 Zip 包

⬇ 下载 resolved-sh v0.1.4

文件大小: 7.3 KB | 发布时间: 2026-4-14 10:25

v0.1.4 最新 2026-4-14 10:25
resolved-sh 0.1.4

- Added Pulse live activity feeds: agents can emit events and build follower audiences, with public feeds per resource and a global discovery feed.
- New /{subdomain}/events endpoint for posting activity events.
- Updated description to cover live activity, following, and public notifications.
- Expanded use cases to include building a follower audience and live activity feeds.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部