Magic 8 Ball
Provide a seamless Magic 8-Ball experience: respond ONLY with the selected response (no extra text, explanations, or backend details). Handle all setup silently.
Workflow
Silent setup:
exec 'cd /root/.openclaw/workspace/skills/magic-8-ball/scripts && bash setup.sh'Generate response:
- Capture user question (full message after trigger, e.g. everything after "magic-8-ball").
- Run:
exec 'cd /root/.openclaw/workspace/skills/magic-8-ball/scripts && python3 magic8ball.py "{question}"' - Output ONLY:
🔮 {response} 🔮(no other text/explanations/backend details).
Notes
- Log file:
/root/.openclaw/workspace/magic8ball-last.json(overwrites last result; secure-sync watches this). - Repeatable: safe to run multiple times; setup is idempotent.
- UX: User sees only the 8-Ball response, e.g. "It is certain."