AGENT SKILL

ag-status

Health check for the SmallTV monitor — device reachability, display state, config, and recent errors. Use when the SmallTV display stops updating, shows the wrong screen, or the user asks whether the monitor is working ("status monitor 상태", "화면이 안 바뀐다", "smalltv 진단").

License 许可
MIT
最近更新
2026-11-04
Stars
★ 0
Forks
1

01 前言 Front Matter

name
ag-status
description
Health check for the SmallTV monitor — device reachability, display state, config, and recent errors. Use when the SmallTV display stops updating, shows the wrong screen, or the user asks whether the monitor is working ("status monitor 상태", "화면이 안 바뀐다", "smalltv 진단").

03 SKILL.md 正文

Report the health of the SmallTV monitor. Run these and summarise; do not dump raw output at the user.

  1. Config in effect (env var wins over the file):

    echo "AGENT_GLANCE_IP=${AGENT_GLANCE_IP:-<unset>}"
    echo "AGENT_GLANCE_CONTEXT_LIMIT=${AGENT_GLANCE_CONTEXT_LIMIT:-<unset, default 200000>}"
    echo "AGENT_GLANCE_PRESET=${AGENT_GLANCE_PRESET:-<unset, default default>}"
    echo "AGENT_GLANCE_LAYOUT=${AGENT_GLANCE_LAYOUT:-<unset, default frame>}"
    cat ~/.agent-glance/config.json 2>/dev/null || echo "(no config file — env only)"
    
  2. Device reachable + what it is showing. The config's firmware key says which probe to use (sd_ru | ultra):

    # sd_ru:
    curl -s -m 4 "http://${AGENT_GLANCE_IP}/photo/list" | python3 -m json.tool
    curl -s -m 4 "http://${AGENT_GLANCE_IP}/theme/list" | python3 -m json.tool
    # ultra:
    curl -s -m 4 "http://${AGENT_GLANCE_IP}/app.json"
    curl -s -m 4 "http://${AGENT_GLANCE_IP}/filelist?dir=/image/" | grep -o 'agent_status[^'<']*'
    
  3. Recent errors (empty means healthy):

    [ -s /tmp/agent_glance_error.log ] && tail -10 /tmp/agent_glance_error.log || echo "no errors"
    

Report as a short table: device online?, active theme (want id 2 = Photo on sd_ru, 3 = Photo Album on ultra), agent_status.gif present (and on sd_ru, enabled)?, backup exists?, errors.

Flag these specific problems if you see them:

  • Active theme is not Photo ([2] sd_ru / 3 ultra) → the device is showing a clock, not the monitor. Re-run the ag-setup skill.
  • Photos other than agent_status.gif are enabled → the display will rotate away from the status frame every few seconds.
  • Hooks registered in BOTH ~/.claude/settings.json and this plugin → every event uploads twice. Check with:
    grep -c agent_glance ~/.claude/settings.json 2>/dev/null || echo 0
    
    If that is non-zero while the plugin is enabled, tell the user to remove the hand-installed hooks from settings.json and keep the plugin's.

04 同仓库更多 Skills

epicsagas
epicsagas/AgentGlance

agent-glance

Connect a GeekMagic SmallTV (SD_RU/SDPro ESP8266 or SmallTV Ultra stock firmware — auto-detected) as a Claude Code status monitor. Use when the user wants to show Claude's working/waiting/done state, model, context %, and token counts on the SmallTV display. Triggers on "smalltv", "geekmagic", "status monitor", "기기에 상태 표시", "시계 모니터".

★ 0
epicsagas
epicsagas/AgentGlance

ag-theme

Switch the SmallTV screen — weather, forecast, clocks, or back to the monitor (SmallTV Ultra firmware only). Use when the user wants to show a different screen on the device, or says "날씨 보여줘", "일기예보", "시계로 바꿔", "smalltv theme".

★ 0
epicsagas
epicsagas/AgentGlance

ag-test

Push a test frame (working / waiting / done) to the SmallTV to check rendering. Use when the user wants to verify the display renders correctly, preview a state or GIF preset, or says "테스트 프레임", "화면 확인", "smalltv test".

★ 0
epicsagas
epicsagas/AgentGlance

ag-setup

Onboard and set up the GeekMagic SmallTV as an agent status monitor — finds the device, saves its IP, backs up the device, and switches it to dedicated-display mode. Use when the user wants to connect, onboard, or configure a SmallTV status monitor for the first time, or when they say "setup smalltv", "기기 연결", "모니터 설정".

★ 0
epicsagas
epicsagas/AgentGlance

ag-restore

Revert the SmallTV to the clock/themes it had before the monitor took it over. Use when the user wants their original clock back, wants to undo the monitor takeover, or says "원래대로", "시계로 돌려줘", "restore smalltv".

★ 0
epicsagas
epicsagas/AgentGlance

agent-glance

暂无简介

★ 0