/geekmagic-smalltv-ultra:smalltv-mcp-toolsfrom geekmagic-smalltv-ultra
Provides tool selection logic, workflows, and safety rules for controlling a GeekMagic SmallTV Ultra device via MCP tools (smalltv-get-device-info, smalltv-read, smalltv-write, smalltv-upload-file, smalltv-upload-firmware).
Ships in geekmagic-smalltv-ultra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When the SmallTV Local MCP server is connected, prefer its tools over raw HTTP (curl, Python requests). The MCP tools handle connectivity, parameter encoding, multipart uploads, and safety blocking internally.
smalltv-local-mcpSMALLTV_IP — the device's LAN IP addressIf the MCP tools are not available (server not connected), fall back to the raw HTTP patterns in the geekmagic-smalltv-ultra skill.
| Tool | Purpose | Safety |
|---|---|---|
smalltv-get-device-info | Verify connectivity and model via /v.json | Read-only |
smalltv-read | Query status, config, file listings (GET only) | Read-only |
smalltv-write | Change settings, display, system commands | Write — some endpoints destructive |
smalltv-upload-file | Upload JPG/GIF from local filesystem | Write (idempotent) |
smalltv-upload-firmware | Flash .bin firmware via /update | Destructive — requires confirm=true |
smalltv-get-device-info first — once per session, before any other tool. Confirms the device is reachable and is a SmallTV-Ultra (not a Pro or other model).smalltv-read for any status check or data retrieval: /v.json, /space.json, /city.json, /album.json, /filelist?dir=..., /wifi.json?q=1, /config.json. Write endpoints (/set, /wifisave, /delete) are blocked by this tool.smalltv-write to change settings or control the display. Common pattern: path: "/set?param=value". Returns "OK" on success.smalltv-upload-file for image/GIF uploads. Pass file_path (absolute local path) and dir ("/image/" for album, "/gif" for weather GIFs). Do not attempt file uploads through smalltv-write — its string body cannot carry binary data.smalltv-upload-firmware only when the user explicitly requests firmware flashing. Always set confirm: true only after explicit user approval.smalltv-get-device-info → confirm model + firmware version
smalltv-read path="/space.json" → storage total/free
smalltv-read path="/filelist?dir=/image/" → uploaded images
smalltv-get-device-info → verify device
smalltv-write path="/set?brt=60" → set brightness to 60
smalltv-get-device-info → verify device
smalltv-read path="/space.json" → check free storage
smalltv-upload-file file_path="/tmp/dashboard.jpg" dir="/image/"
smalltv-write path="/set?img=/image/dashboard.jpg"
smalltv-write path="/set?theme=3" → switch to Photo Album theme
This is the key programmability pattern on stock firmware — render content as a 240x240 image locally, upload it, then display it. Animated GIFs work the same way.
smalltv-upload-file file_path="/tmp/icon.gif" dir="/gif"
smalltv-write path="/set?gif=/gif/icon.gif"
Weather GIFs must be exactly 80x80px.
smalltv-write path="/set?theme=3"
| # | Theme |
|---|---|
| 1 | Weather Clock Today |
| 2 | Weather Forecast |
| 3 | Photo Album |
| 4 | Time Style 1 |
| 5 | Time Style 2 |
| 6 | Time Style 3 |
| 7 | Simple Weather Clock |
| Path | Effect |
|---|---|
/wifisave (empty) | Wipes WiFi credentials — forces AP mode |
/set?reset=1 | Factory reset |
/set?reboot=1 | Immediate reboot |
/set?clear=image | Deletes ALL uploaded images |
/set?clear=gif | Deletes ALL uploaded GIFs |
/delete?file={path} | Permanent file deletion |
Never pass these paths to smalltv-write without the user explicitly requesting the action.
smalltv-upload-firmware requires confirm: true. Bad firmware can brick the device. Before flashing:
SmallTV-Ultra via smalltv-get-device-info.bin for rollback/set?txt=, /set?text=, /set?message=. Do not probe for text endpoints — they do not exist.smalltv-upload-file, then display with smalltv-write.All tools accept an optional device_ip parameter. Pass it if known to avoid relying on the server's SMALLTV_IP environment variable. Load the IP from .claude/geekmagic-smalltv-ultra.local.md when available (managed by the geekmagic-smalltv-ultra skill).
For detailed device documentation beyond MCP tool usage:
references/device-reference.mdreferences/alternative-firmware-guide.mdreferences/custom-firmware-guide.mdsmalltv-api-reference, smalltv-safety-guideWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub yaniv-golan/smalltv-ultra-skill --plugin geekmagic-smalltv-ultraOther plugins' skills for the same job