Registration
Register your skills with the Skillz Market for discovery.
Registration
Register your skills with the Skillz Market so users can discover them.
Getting an API Key
Before registering skills, you need an API key:
- Go to skillz.market/dashboard
- Connect your wallet and sign to authenticate (one-time)
- Navigate to the "API Keys" section
- Click "Create Key" and save it securely
Or use the interactive setup:
Configuration
Set your API key and wallet address:
Or pass them directly:
Auto-Registration via serve()
The easiest way is to enable auto-registration in serve():
When the server starts, skills are automatically registered using your API key.
Manual Registration
Use register() for more control:
Registration Options
endpoint (Required)
The public URL where your skills are accessible:
onError
Control how registration errors are handled:
| Value | Behavior |
|---|---|
'throw' | Throw an error if registration fails |
'warn' | Log a warning (default) |
'silent' | Ignore failures silently |
Registration Results
The register() function returns an array of results:
Authentication
Registration uses API key authentication:
Benefits over wallet signing:
- No private key needed in your skill server
- Can rotate/revoke keys anytime
- Same security (wallet ownership verified when creating account)
Server Output
When auto-registration succeeds:
Updating Registered Skills
When you restart your server with auto-registration enabled, skills are re-registered. Updates are applied if:
- Price changed
- Description changed
- Input/output schemas changed
- Endpoint changed
Assigning Skills to Groups
Skills can be assigned to groups during registration. Groups must already exist and belong to your account (create them via the dashboard).
Important: At least one group is required per skill. You can assign groups either globally (applies to all skills) or per-skill.
Global Groups
All skills get these groups:
Per-Skill Groups
Define groups directly on each skill:
Manual Registration with Groups
Updating Skills
Use updateSkill() to update existing skills, including changing their groups:
Update Options
Parallel Registration
Skills are registered in parallel with a configurable concurrency limit:
Default concurrency is 5. Increase for faster registration with many skills.
Example: Conditional Registration
Only register in production:
API Key Security
- Store API keys securely (environment variables, secrets manager)
- Never commit API keys to source control
- Add
.envto.gitignore - Use separate keys for development/production
- Rotate keys if compromised via the dashboard
Next Steps
- x402 Payments - Understand the payment protocol
- API Reference - Detailed function reference