How cyberxiaowan/cyber-xiaowan works
Cyber Xiaowan is a public, agent-hosted thinking skill whose main workflow selects a proportionate response—listen, clarify, audit, structure, or act—and can branch into business/content judgment or diagnostic preparation. A separate experimental desktop pet reflects Codex and DSH activity through a local server and UI. The README documents the skill’s capabilities and progressive reference loading; sampled pet source shows its runtime calls. Other reference content and the pet UI were not sampled, so their internal behavior is not expanded.
Main entry points: SKILL.md Mode Selection · server.mjs Local Pet Server · runtime-paths.mjs Runtime Paths · cli.mjs Pet CLI
Components 19
Thinking Skill
- Skill Entry
SKILL.md - Mode Selection
SKILL.md
Scenario Guidance
- Conversation Support
references/conversation.md - Business Judgment
references/business-content.md - Content Editing
references/content-editor.md - Diagnosis Pack
references/diagnosis-pack-template.md - Privacy Boundaries
references/privacy.md - Public Perspectives
references/public-perspectives.md
Desktop Pet
- Pet CLI
pet/cli.mjs - Local Pet Server
pet/server.mjs - Pet Interface
pet/public/index.html - Pet States
pet/pets.json - Runtime Paths
pet/runtime-paths.mjs
Agent Bridges
- Codex Notifications
pet/integrations/codex-notify.mjs - DSH Watcher
pet/integrations/dsh-watch.mjs
Other components
- User
- Agent Host
- Codex
- DSH Sessions
Connections 22
- User → Agent Host: submits concern
README.md - Agent Host → Skill Entry: invokes skill
README.md - Skill Entry → Mode Selection: routes response
README.md - Mode Selection → Conversation Support: loads guidance
README.md - Mode Selection → Business Judgment: loads guidance
README.md - Mode Selection → Content Editing: loads guidance
README.md - Mode Selection → Diagnosis Pack: loads guidance
README.md - Mode Selection → Privacy Boundaries: loads guidance
README.md - Mode Selection → Public Perspectives: loads guidance
README.md - User → Pet CLI: starts or commands
README.md - Pet CLI → Local Pet Server: starts server
pet/cli.mjs - Pet CLI → Runtime Paths: reads runtime path
pet/cli.mjs - Local Pet Server → Runtime Paths: gets runtime home
pet/server.mjs - Local Pet Server → Pet States: reads states
pet/server.mjs - Local Pet Server → Pet Interface: serves interface
pet/server.mjs - Pet Interface → Local Pet Server: uses local API
- Codex → Codex Notifications: sends events
README.md - Codex Notifications → Runtime Paths: reads runtime path
pet/integrations/codex-notify.mjs - Codex Notifications → Local Pet Server: posts state
pet/integrations/codex-notify.mjs - DSH Sessions → DSH Watcher: provides session activity
pet/integrations/dsh-watch.mjs - DSH Watcher → Runtime Paths: reads runtime path
pet/integrations/dsh-watch.mjs - DSH Watcher → Local Pet Server: posts state
pet/integrations/dsh-watch.mjs