Yuanbao ASCII Pet
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_93297afa/yuanbao-pet.
About this skill
Problem
Many chat pet or check-in systems feel arbitrary: pet assignment lacks an auditable basis, and state changes are scattered across conversations, making growth hard to track. This skill turns the pet into a deterministic system for chat scenes: the same user_id with a fixed salt always produces the same pet, avoiding repeated rerolls, manual corrections, or state drift. It fits terminal-style play with rarity collection, light battles, and group rankings.
How it works
- Deterministic generation:
user_id + salt xiaobai-xxp-2025is hashed withFNV-1aand seeded intoMulberry32PRNG for species, rarity, stats, and sparkle checks. - ASCII presentation: each pet is rendered as terminal art with rarity,
✨sparkle markers, and current status. - RPG stats: smart, strength, luck, charm, and calm affect chat flavor, battle odds, random events, social interactions, and decay resistance.
- Growth loop: commands such as
feed,train,battle, andphotoupdate satiety, mood, and growth, while passive or social events can add small state changes. - Persistence: data is written to
skills/pet/pets.json, so a host agent or moderator can read, validate, and continue updating state.
Notes
This is not a full game server; it relies on the chat host to parse commands and apply state transitions. Rarity, sparkle, and exclusive mythic pets depend on the defined probability rules and scene context. Cross-platform sync, account migration, or richer leaderboards require additional service and permission integration.
Use Cases
- Set deterministic pet assignment in Yuanbao group chats so repeated adoption yields the same species, rarity, and stats.
- Parse adopt, feed, train, and battle commands for a chat host, then update satiety, mood, and growth in `pets.json`.
- Show terminal-style ASCII pet panels with rarity, sparkle markers, and RPG stats for sign-in or collection events.
- Let growth-stage pets battle using strength and luck odds, then output ASCII battle reports to keep group chat active.
Best For
- Chat moderators: need stable commands and `pets.json` state for adoption, status changes, and battle results.
- Community operators: need fixed assignment, rarity leaderboards, and sparkle collection events for group chats.
- Terminal tool fans: like ASCII art, deterministic PRNG, and lightweight RPG stats.
- Agent developers: need pet state as a readable and updatable JSON source for chatbots.
Related Skills
Interprets 7-day, 3-hourly city weather for travel, covering outdoor risks, scenic-area comfort, packing, and transportation planning.
A set of six actionable skills for identity-level change, anti-vision, mindset stage, feedback iteration, one-day reset, and gamified follow-through.
Combines AMAP POI coordinates, enforced parameter checks, and site insights to produce a Python-rendered HTML store-location report.
Cast an I Ching coin hexagram with true random numbers and interpret it using Zhu Xi or Shi-Ying methods.