wqytommy666/cuktech-screen-controller/cuktech-ap01-screen-kit
Claude Code and agent skill by wqytommy666/cuktech-screen-controller
- community
Checking that the SKILL.md file is still in the repository.
Create, customize, validate, deploy, and operate Wi-Fi-updated screens for the CUKTECH AP01 detachable display. Use for first-device setup, custom images, Claude/Codex or Antigravity/Codex quota dashboards, verified 1.0.2_0031 Loader installation, and LAN refresh troubleshooting.
Install
npx vskill@latest install wqytommy666/cuktech-screen-controller/cuktech-ap01-screen-kitSKILL.md
CUKTECH Screen Controller
Build a reusable AP01 project, choose the smallest applicable workflow, and validate both the rendered asset and the device request path.
Bootstrap a project
For a new computer + stock AP01, clone the full public repository and follow `docs/agent-first-install.md`. It includes OS setup, Mi Home login constraints, shared-relay commands, explicit installation confirmation and device delivery checks. The small content template below is not a substitute for full first-install tooling. Codex and WorkBuddy can read these Markdown instructions directly; native Skill installation is optional.
Use an existing AP01 project when present. Otherwise copy the bundled template:
On Windows, run the same script with py -3; it automatically uses .venv\Scripts\python.exe. This repository ships a native SwiftUI controller for macOS and a PySide6 controller for Windows; the project template, image converter and LAN Bridge also support both systems.
Do not copy firmware, cookies, tokens, signed URLs, device IDs, or generated artifacts into a shareable project.
Choose the workflow
- Replace artwork on an already-patched display: read
references/custom-content.md. Convert the asset, atomically replace the served GIF, and avoid OTA.
- Create or restyle a Claude/Codex or Antigravity/Codex quota panel: read
references/quota-dashboard.md. Fetch the signed-in official accounts on macOS or Windows, edit render_master(), run tests, and serve the lightweight GIF. macOS uses Keychain for Claude Safe Storage; Windows uses current-user DPAPI for Claude's Electron profile.
- Install real-time loading for the first time: read
references/realtime-firmware.md. Verify the exact firmware version before touching binary offsets. When the owner has no FDS-capable gateway, prefer the Controller's restricted shared-relay package flow; do not ask them to buy a gateway or share Xiaomi credentials.
- Fix connectivity, IP changes, or persistent service operation: read
references/network-operations.md.
Preserve device invariants
- Emit exactly 320x240 GIF89a with at least two frames.
- Keep animation bounded and prefer less than 90 KB for smooth decoding; still
images use two slow frames, while source GIFs may retain up to eight frames.
- Keep rows
0..39empty when retaining the stock clock/date overlay. - Keep the Bridge computer and AP01 on the same non-isolated LAN and reserve
the computer's IP.
- Treat Wi-Fi/LAN as the content path; do not ask the user to prepare a USB
data cable or rely on the charging-base contacts.
- For first-loader work, require stable AP01 power, Mi Home pairing/online
status, internet access, and the owner's Xiaomi account. For ordinary local artwork, internet is optional after the loader is installed. Automatic quota mode still needs internet access on its host computer.
- Ensure macOS or Windows firewall/VPN settings allow inbound LAN access to
TCP 8765. Windows should allow the packaged runtime (or Python when running from source) on Private networks only.
- Treat the firmware patch as specific to model
njcuk.enstor.ap01, firmware
1.0.2_0031; do not reuse its offsets on another build.
- Treat
1.0.2_0041as unsupported. It rejects the current unsigned Loader and
retains the known OTA downgrade block; an FDS relay or gateway cannot bypass the signature gate.
- Start the bridge before installing and require a logged AP01
GET /screen.gif after reboot.
- Install the real-time firmware once. Perform later screen updates through
/tmp/.ap01q*.gif RAM slots instead of OTA.
- Never pass an already real-time-patched image through
ap01_custom_ota.py; that would overwrite the injected payload area.
- A shared relay may accept only the private Bridge URL, fixed model/version
and refresh interval. It must reject arbitrary firmware uploads, pin the reviewed stock SHA-256, omit signed URLs from logs, and never receive the AP01 owner's Xiaomi credentials or DID.
- Quota dashboards must expose freshness: include the last successful refresh
time, replace failed/stale collection with an explicit disconnected screen, and keep the final non-looping GIF frame as a seven-minute offline fallback. Custom artwork should not self-expire.
Validate before delivery
Choose checks for the changed workflow. For artwork, inspect the 2x preview and validate dimensions, GIF version, frame count, trailer, and byte size. For rendering or bridge-code changes, run the affected available tests. For a firmware build, retain the patcher's manifest, CRC, MD5, payload readback, hook-target checks, and zero-relocation result. Reuse evidence when the relevant code, inputs, and environment have not changed.
When deployment is requested, confirm the bridge health and device request:
On Windows use Invoke-RestMethod http://127.0.0.1:8765/health.
Report separately:
- design-master size;
- device-GIF dimensions, frames, and bytes;
- refresh interval and latest AP01 request time;
- whether OTA was required;
- that recurring updates use RAM rather than Flash.
Bundled resources
scripts/create_project.py: create a clean working project from the template.assets/project-template/: renderer, bridges, firmware builder, exact-image
installer, payload source, icons, tests, and dependency list.
references/: load only the workflow relevant to the user's request.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cuktech-ap01-screen-kit/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 16
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wqytommy666/cuktech-screen-controller/cuktech-ap01-screen-kit)