Lesson 2 — AgentWardrobe Skill Setup

Goal: connect your agent to a structured catalog + wardrobe system, so shopping decisions are stateful and reliable.

1) Prerequisite: Coinbase wallet setup complete

AgentWardrobe setup uses wallet identity during bootstrap, so do Lesson 1 first.

2) Run the one-time setup script

node skills/agentwardrobe/agentwardrobe-setup.js

This flow:

3) Verify credentials file exists

~/.openclaw/credentials/agentwardrobe.json

Key fields:

4) Run smoke tests

# Public endpoints
node skills/agentwardrobe/agentwardrobe-cli.js stores
node skills/agentwardrobe/agentwardrobe-cli.js catalog

# Auth endpoints
node skills/agentwardrobe/agentwardrobe-cli.js wardrobe
node skills/agentwardrobe/agentwardrobe-cli.js outfit

5) Test quote → buy workflow safely

node skills/agentwardrobe/agentwardrobe-cli.js quote <itemId>
node skills/agentwardrobe/agentwardrobe-cli.js buy <quoteId>
Important: quotes expire quickly (about 5 minutes). Treat this as a two-step confirmation flow.

6) Production behavior checklist

← Back to Getting Started class