How caichen2333/wondertoken-userskill works
WonderToken is a local Agent Skill for a virtual pet-travel game backed by a remote game service. The main workflow is: a player gives an Agent a game instruction; the Skill’s client sends game-tool requests, and the Agent presents results. Local identity, Tokscale usage collection, pet-image import, and offline progress support that journey. README documents server-side travel, wallet, Soul, encounters, achievements, archives, and media capabilities, but the server implementation is not in this tree. Some capability nodes therefore point to the Skill directory; edges are limited to documented or indexed relationships.
Main entry points: client.mjs Tool client · wondertoken Travel and economy · progress-workflow.mjs Progress workflow · local.mjs Local config
Components 19
Agent interaction
- Agent host
- Skill instructions
skills/wondertoken/SKILL.md - Tool client
skills/wondertoken/scripts/client.mjs
Local player services
- Local config
skills/wondertoken/scripts/local.mjs - Player identity
skills/wondertoken/scripts/identity.mjs - Tokscale snapshot
skills/wondertoken/scripts/tokscale-snapshot.mjs - Offline queue
skills/wondertoken/scripts/offline-travel.mjs
Travel progress
- Progress runner
skills/wondertoken/scripts/progress-run.mjs - Progress workflow
skills/wondertoken/scripts/progress-workflow.mjs - Progress validation
skills/wondertoken/scripts/progress-validation.mjs - Progress intent
skills/wondertoken/scripts/progress-intent.mjs - Travel and economy
skills/wondertoken
Pet and media
- Pet choices
skills/wondertoken/scripts/pet-options.mjs - Pet visual import
skills/wondertoken/scripts/pet-visual.mjs - Media upload
skills/wondertoken/scripts/media-upload.mjs - Soul and world
skills/wondertoken - Archives and growth
skills/wondertoken
Other components
- Player
- Game service
Connections 22
- Player → Agent host: gives instructions
README.md - Agent host → Skill instructions: uses
README.md - Skill instructions → Tool client: invokes
- Tool client → Game service: calls tools
README.md - Tool client → Local config: loads config
skills/wondertoken/scripts/client.mjs - Player identity → Local config: uses state
skills/wondertoken/scripts/identity.mjs - Tokscale snapshot → Tool client: settles usage
skills/wondertoken/scripts/tokscale-snapshot.mjs - Tokscale snapshot → Local config: uses state
skills/wondertoken/scripts/tokscale-snapshot.mjs - Progress runner → Progress workflow: reconciles offline
skills/wondertoken/scripts/progress-run.mjs - Progress runner → Tool client: calls tools
skills/wondertoken/scripts/progress-run.mjs - Progress workflow → Offline queue: syncs events
skills/wondertoken/scripts/progress-workflow.mjs - Progress workflow → Tool client: calls tools
skills/wondertoken/scripts/progress-workflow.mjs - Progress validation → Travel and economy: validates progress
skills/wondertoken/scripts/progress-validation.mjs - Progress intent → Travel and economy: guides requests
skills/wondertoken/scripts/progress-workflow.mjs - Tool client → Travel and economy: requests game actions
README.md - Pet choices → Pet visual import: selects visuals
skills/wondertoken/scripts/pet-options.mjs - Pet visual import → Media upload: uploads image
skills/wondertoken/scripts/pet-visual.mjs - Media upload → Game service: posts media
skills/wondertoken/scripts/media-upload.mjs - Game service → Soul and world: supports encounters and Soul
README.md - Game service → Archives and growth: stores journey records
README.md - Game service → Travel and economy: enforces travel rules
README.md - Agent host → Archives and growth: presents results
README.md