Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
04. Public community skills registry with one-click import, plus prompt-only custom skills
Read docs/prompts/README.md first.
The problem
We have two skill systems: 47 client-side skills under .agents/skills/ indexed by skills-pack.json, and in-app runtime bundles (manifest.json plus SKILL.md plus tools.json plus handlers.js, documented in docs/skills.md) installed through api/skills/[id]/install.js. Neither is a public community registry: there is no repository outsiders can PR into, no contribution guide, public/skills-index.json is a six-entry demo list, and there is no lightweight tier for a skill that is nothing more than instructions. The best platforms let anyone contribute a markdown skill through a PR and let any user import it onto an agent in one click, where it becomes an editable custom skill.
Build
Prompt-only custom skills (runtime)
A new skill kind prompt alongside the existing bundle kind: a SKILL.md plus metadata.json (name, description, author, tags, version) and nothing else. Installing it on an agent injects the markdown into that agent's system prompt in a fixed section, ordered by install time, with a per-agent cap on total injected tokens surfaced in the UI. Routes on the agents API: GET/POST /api/agents/:id/custom-skills, GET/PATCH/DELETE /api/agents/:id/custom-skills/:skillId, plus enabled toggle. Migration under api/_lib/migrations/ for agent_custom_skills. MCP tools list_custom_skills, get_custom_skill, create_custom_skill, update_custom_skill, delete_custom_skill (delete is financial tier per prompt 03 because it is irreversible, with confirm_delete), and list_available_skills for the catalog.
The public registry
A new top-level directory community-skills/ (mirrored to a public GitHub repository nirholas/three-ws-skills, created with gh repo create, MIT, and kept in sync by scripts/sync-community-skills.mjs; sync is push-gated per CLAUDE.md):
skills/<slug>/SKILL.mdandmetadata.json, optionalreferences/andscripts/.registry.jsongenerated byscripts/build-community-registry.mjs, which validates every entry (slug is URL-safe and unique, metadata fields present, SKILL.md has a frontmatter name and description, no third-party token names in committed skills per the$THREErule) and fails the build otherwise. Wire it intonpm run build:pages.CONTRIBUTING.md: fork, add a directory, run the validator, open a PR, review criteria, license.README.md: what a skill is, the format, how to use one, the link to the live page.
Seed it with at least twelve real, useful skills written for our tools: token safety diligence (mint and freeze authority, LP lock, holder concentration; a scripts/ helper against the public RPC), DEX pool discovery and OHLCV, whale movement tracking, meme token scoring, DCA planning, pre-trade risk management (position sizing, concentration, drawdown), alpha scanning from new launches and volume spikes, honest social posting from an agent's holdings, x402 service discovery and paid calls, hiring another agent, launching a token through the existing launch flow, and operating the three.ws MCP (the skill from prompt 03). Every script must run.
One-click import in the product
- Page
/skills/community(add todata/pages.json): browse the registry with search, tags, author, preview of the full SKILL.md, and "Import to agent" which creates a prompt-only custom skill on the chosen agent through the routes above. Every state designed, including "no agents yet" which links to agent creation. - The existing skills page gains a "Community" section pointing there.
three-ws skills list | search | import <slug> --agent <id>in the CLI from prompt 01.- MCP tool
import_community_skill(slug, agent_id).
Docs and wiring
docs/skills.md: a "Prompt-only skills" section and a "Community registry" section, plus the import flow.docs/agent-skills.md: link both skill systems and explain when to use which.STRUCTURE.mdrows forcommunity-skills/and the page.data/changelog.jsonentry taggedfeature, docs.
Acceptance
- A PR adding a bad
metadata.jsonto the registry fails the validator; a good one appears on/skills/communityafternpm run build:pages. - Importing a skill onto an agent changes that agent's next chat response in a way the skill specifies (test with the risk-manager skill and a trade request).
npm testgreen with tests for the validator, the custom-skills routes and the injection ordering and cap.