Skills

Openloomi Pet

OpenLoomi Pet sprite & state helper for Claude Code.

Install

npx skills add melandlabs/openloomi --skill openloomi-pet -g -a claude-code -y
Category
AI and agents
Updated
1mo ago
License
Apache-2.0
Context cost
Mediumabout 1,756 tokens
Runs scripts
No, instructions only

What it does

OpenLoomi Pet sprite & state helper for Claude Code. Use when the user wants to change their Loomi Pet state, switch theme, drop in a custom character, override individual sprites, or ask Claude to mirror its lifecycle onto the pet. Triggers: pet state, /openloomi:pet, set pet, loomi pet, pet to happy, pet to working, pet to thinking, fox sprite, capybara sprite, custom pet theme, pet-custom, pet-config, override pet sprite.

OpenLoomi Pet Sub-skill

The Loomi Pet has 9 universal state names. The plugin ships the fox (loomi-*) sprite set for branding; the OpenLoomi runtime's state-resolution watcher renders the matching sprite for whichever theme you have active (fox or capybara, or any folder under ~/.openloomi/pet-custom/). State set:

StateWhen to use
happyA task just completed successfully
idleLoomi is waiting for the next loop tick (watcher-only, do not set from Claude)
jugglingMultiple sub-agents are running
needsinputPermission prompt / elicitation dialog visible
presentingFresh decision requires the user's review (watcher-only, do not set from Claude)
sleepingLocal hour outside 6, 22 with no pending work (watcher-only, do not set from Claude)
sweepingUser dismissed a card just now (watcher-only)
thinkingBetween steps, awaiting LLM response
workingA tool call is in progress (PreToolUse hook fires this)

Available commands

  • node ${CLAUDE_PLUGIN_ROOT}/scripts/loomi-bridge.mjs pet <state>, synchronous, returns JSON; use only when the user explicitly asks.
  • Hooks call state <name> automatically (fire-and-forget, 2s timeout).

Sprite set is hardcoded in the bridge, invalid state names are rejected before any HTTP call. The endpoint POST /api/pet/state may not yet exist in the target OpenLoomi runtime; the bridge falls back to "would have set state to X, pending OpenLoomi endpoint" without raising an error.


Help the user customize their pet's appearance

The bridge only drives the state, sprite overrides and theme folders are file-based and live outside the plugin. When the user asks to "change the pet's look" or "add a custom character", walk them through the file system. Do not try to write pet-config.json from the bridge; the bridge has no such command and the runtime's file watcher does the work.

Decision tree

Read the whole SKILL.md on GitHub

More in AI and agents