← 返回
数据分析 Key 中文

Holocube Emotes

Control a GeekMagic holocube display as an AI emote system. Generate holographic sprite kits with Gemini, upload to device, and swap expressions based on agent state (idle, working, error, etc.). Use when the user has a GeekMagic holocube (HelloCubic-Lite or similar) and wants their AI assistant to have a physical face that reacts to conversation context.
控制GeekMagic全息方块显示作为AI表情系统。使用Gemini生成全息精灵素材包,上传至设备,根据代理状态(空闲、工作、出错等)切换表情。适用于用户拥有GeekMagic全息方块(HelloCubic-Lite或类似设备),希望AI助手拥有实体面部并根据对话情境做出反应的场景。
thrive-spencerj
数据分析 clawhub v1.0.0 1 版本 99676.6 Key: 需要
★ 0
Stars
📥 1,541
下载
💾 16
安装
1
版本
#latest

概述

Holocube Emotes

Turn a GeekMagic holocube into your AI's face. Generate holographic character sprites, upload them to the device, then swap expressions in real-time based on agent/session state.

First-Time Setup

0. Find the device

Auto-discover holocubes on your network:

python3 scripts/holocube.py --discover

Output: FOUND: 192.168.0.245 — HelloCubic-Lite V7.0.22

If discovery fails, find the IP on the device's screen or your router's client list.

1. Generate sprites

Create a full emote sprite kit (requires nano-banana-pro skill with GEMINI_API_KEY):

python3 scripts/generate_sprites.py --output-dir ./sprites

Custom character:

python3 scripts/generate_sprites.py --output-dir ./sprites \
  --character "A glowing holographic cat floating in pure black void. Neon purple wireframe style."

This generates 7 emotes (neutral, happy, thinking, surprised, concerned, laughing, sleeping) as both static JPG and animated GIF, sized for the 240x240 display.

2. Upload to device

python3 scripts/setup_device.py --sprites-dir ./sprites --clear --backup-dir ./backup

Flags:

  • --clear removes existing images (recommended — device has ~3MB storage)
  • --backup-dir saves existing files before clearing
  • --ip auto-discovers if not provided, or specify manually

3. Configure TOOLS.md

Add the holocube IP and emote mappings to your workspace TOOLS.md for reference. See references/tools-example.md.

Daily Usage

Set emote directly

python3 scripts/holocube.py happy
python3 scripts/holocube.py thinking --static   # Use JPG instead of GIF

Set by agent state

python3 scripts/holocube.py working    # → thinking
python3 scripts/holocube.py complete   # → happy
python3 scripts/holocube.py error      # → concerned
python3 scripts/holocube.py opus       # → thinking (heavy model)
python3 scripts/holocube.py haiku      # → neutral (light model)

Auto-select by time of day

python3 scripts/holocube.py --auto
  • 11pm–7am → sleeping
  • 7am–9am → happy
  • Rest of day → neutral

Check status

python3 scripts/holocube.py --status
python3 scripts/holocube.py --list

Heartbeat Integration

Add to HEARTBEAT.md to auto-manage the emote:

## Holocube Emote Check
- Run `python3 scripts/holocube.py --auto` to set time-appropriate emote

When to Set Emotes

Use these during normal agent operations:

ContextCommandEmote
---------
Idle, waiting for inputneutral🤖
Processing, running toolsthinking or working🔧
Task completedhappy or complete😊
Error occurrederror (→ surprised)😮
Funny momentlaughing or funny😂
Unexpected inputsurprised or unexpected😮
Night/inactivesleeping or night😴
Spawning sub-agentspawning (→ thinking)🔧
On-demand customcustom

Custom Slot

A reserved file adam-custom.gif on the device can be overwritten at any time for on-demand or one-off animations. Generate a GIF, upload as adam-custom.gif, then python3 holocube.py custom. Switch back to a standard emote when done.

Device Notes

  • Model: GeekMagic HelloCubic-Lite (240x240px glass display)
  • Format: GIF (animated) or JFIF JPEG. Use Pillow for JPEG (ffmpeg lacks JFIF headers).
  • Storage: ~3MB total. 6 animated GIFs use ~1.5MB, leaving ~500KB for custom slot.
  • Art style: Dark/black backgrounds make glass disappear. Use glowing, holographic, neon elements.
  • ⚠️ NEVER send /set?reset=1 — that's factory reset, wipes WiFi config.

Requirements

  • GeekMagic HelloCubic-Lite (or compatible) on local network
  • Python 3 with Pillow (pip install Pillow)
  • nano-banana-pro skill with GEMINI_API_KEY (for sprite generation only)
  • uv (brew install uv) (for sprite generation only)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 23:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,899
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,032
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,893