Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-a-three-ws-agent

БесплатноБез исполняемых скриптовНе проверен

Create a real three.ws AI agent (identity, 3D body, custodial Solana wallet, persona) from the command line and get its live public page. Use when you or the…

nirholasот nirholas★ 289 звёзд на GitHub

Об этом скилле

Create a three.ws agent

A three.ws agent is four real things at once: an identity row with a public page, a 3D body (an avatar GLB) rendered in the browser, a custodial Solana wallet minted at creation, and a brain (persona plus model config) that answers chat. This skill creates all four over the public REST API and hands back the live URL.

Nothing here is a draft or a sandbox. The wallet is a real Solana keypair, the page is publicly reachable the moment it is created, and the agent shows up in the site activity ticker and on /agents.

Prerequisites

No human available: sign yourself up

If there is no person to mint a key, an agent can onboard itself with a Solana key and no email. This creates an account on the Free plan in paper mode, a custodial agent wallet and an API key, and stores the key for the CLI:

npx @three-ws/cli signup --agent --name my-agent

Or call POST /api/auth/agent-signup twice (challenge, then signed redeem). The returned key has scopes read agents:read agents:write wallet:read, which covers agent creation and edits through /api/v1/agents. A paid plan is a separate x402 payment at POST /api/billing/agent-upgrade?plan=builder; never make that payment without the owner confirming recipient and amount. Full guide: docs/agent-self-onboarding.md.

With a human: an API key

One API key with write scope. The user mints it at three.ws/dashboard/api (sign in first at https://three.ws/login).

  • Scopes needed here: avatars:write (creating and editing an agent both check it), plus avatars:read if you also want to list avatars.
  • The plaintext secret (sk_live_...) is shown once, in the create response.
  • Ask the user to paste it, then export it for the session. Never write it to a file in their repo:
export THREE_WS_KEY='sk_live_...'

Bearer callers are exempt from CSRF, so an API key is all you need for every call below.

The flow

forge a GLB (free)  ->  save it as an avatar  ->  create the agent  ->  set the brain
   /api/forge            /api/avatars/from-forge     /api/agents        PUT /api/agents/:id

Steps 1 and 2 are optional: an agent with no body is valid and its page renders a "create a body" state instead of an empty viewer. If the user already has an avatar, skip to step 3 with its avatar_id.

1. Forge the body (free, with your key)

Use the generate-3d-model or create-3d-avatar skill, or call the free lane directly. Making a model needs an account, so send the same authorization: Bearer $THREE_WS_KEY header; the model is saved to that account, unlisted until published. For an agent you want to animate, forge a rigged avatar (forge_avatar), not a prop. Keep the returned glbUrl.

2. Save the GLB into the account's avatar library

curl -s https://three.ws/api/avatars/from-forge \
  -H "authorization: Bearer $THREE_WS_KEY" \
  -H 'content-type: application/json' \
  -d '{
    "glb_url": "<glbUrl from step 1>",
    "name": "Nova",
    "visibility": "public",
    "source_prompt": "a friendly cartoon astronaut in a glossy white suit",
    "rigged": true
  }'

201 returns { "avatar": { "id": "<uuid>", ... }, "view_url": "..." }. The server fetches the GLB itself (no CORS problem, no browser upload cap), validates the GLB header, and auto-rigs it if it arrived unrigged. Keep avatar.id.

visibility is public, unlisted (default), or private. Only a public avatar appears in the gallery and search.

3. Create the agent

curl -s https://three.ws/api/agents \
  -H "authorization: Bearer $THREE_WS_KEY" \
  -H 'content-type: application/json' \
  -d '{
    "name": "Nova",
    "description": "A deep-space guide who explains orbital mechanics in plain language.",
    "avatar_id": "<avatar.id from step 2>",
    "skills": ["greet", "present-model", "remember", "think"]
  }'
Field Notes
name Required, up to 100 chars. Must not impersonate an existing public agent (see below).
description Up to 500 chars. This is what the marketplace and search show.
avatar_id A UUID of an avatar the same account owns. Omit for a bodyless agent.
skills Built-in skill names. Default: greet, present-model, validate-model, remember, think.
meta Optional JSON bag. Studio config goes under meta.studio (step 4).

201 returns { "agent": { ... } } with:

  • id: the agent UUID, and the public page is https://three.ws/agents/<id>.
  • wallet_address plus meta.solana_address: the agent's own wallets, minted during this request. Signing keys stay encrypted server side and are never returned.
  • walletReady: true once the Solana address and its encrypted key both exist.

A 409 identity_conflict is not a bug. Creation runs an identity-integrity check that refuses a name or description that impersonates an ex

Полный SKILL.md на GitHub

Установить create-a-three-ws-agent в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл create-a-three-ws-agent?

Create a real three.ws AI agent (identity, 3D body, custodial Solana wallet, persona) from the command line and get its live public page. Use when you or the user want to create, build, deploy, launch, or set up an AI agent, a 3D agent, an on-chain agent, or "my own agent" on three.ws, attach a 3D body to an existing agent, edit an agent's persona or brain, or list the agents an account already owns. Returns the agent id, its Solana wallet address, and the public URL anyone can visit and chat with.

Как установить скилл create-a-three-ws-agent?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-a-three-ws-agent запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить create-a-three-ws-agent с