token_usage SKILL.md skillC
token_usage from espressif/esp-claw-skills-lab is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add espressif/esp-claw-skills-lab/token_usage@git:20261014.4631425Pins git:20261014.4631425 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- C, 15 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- espressif/esp-claw-skills-lab
- Path
skills/token_usage/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261014.4631425, committed Oct 14, 2026
- First version recorded
- Jun 18, 2026
- Size
- 5,573 bytes
- Repository stars
- 37
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Token Usage
在用户要求查看 Cursor/Codex 工作状态、DeepSeek 用量、天气或久坐提醒时使用。打开面板与安装自动化是两个独立操作;仅打开界面不运行安装器。
## 前提
- 设备具有显示屏;触摸由 LVGL 自动接入。
- 实时工作状态、余额和天气需要同一网络内运行 Token Usage HTTP 服务的 PC,提供 `host` 或 `pc_ip` 与 `port`(默认 8080)。访问目标必须在 HTTP allowlist 中。
- 环境传感器和 LED 灯带为可选硬件,缺失时记录错误并保持其他功能。
- 定时问候依赖已同步的本地时间、PC 提供的模型配置及已建立的 IM 会话。
## 打开面板
调用 `lua_run_script_async`:
```json
{
"path": "{CUR_SKILL_DIR}/scripts/token_usage.lua",
"name": "token_usage",
"exclusive": "display",
"replace": false,
"timeout_ms": 0,
"args": { "host": "192.168.1.20", "port": 8080 }
}
```
不知道 PC 地址而只想查看本地界面时可用空 `args`。同名任务已运行时先查看状态;只有用户明确要求重启或替换占用显示的任务时才使用 `replace: true`。
- 查询状态:`lua_get_async_job`,参数 `{"name":"token_usage"}`。
- 查看日志:`lua_tail_async_job`,使用返回的游标增量读取。
- 关闭面板:`lua_stop_async_job`,参数 `{"name":"token_usage","wait_ms":3000}`。
可选脚本参数:
| 参数 | 默认值 | 用途 |
| --- | --- | --- |
| `status_poll_ms` / `cursor_poll_ms` | 1000 | 工作状态轮询,500–60000 ms |
| `token_poll_ms` | 30000 | 用量轮询,1000–600000 ms |
| `aux_poll_ms` | 30000 | 余额等数据轮询,1000–600000 ms |
| `weather_poll_ms` | 600000 | 天气轮询,1000–3600000 ms |
| `weather_retry_ms` | 10000 | 天气重试间隔,1000–600000 ms |
…Read the whole file at its exact version.
How to install
mdr add espressif/esp-claw-skills-lab/token_usage@sha256:a8bd67833f0a058dThe line at the top of this page pins the label git:20261014.4631425, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_kdidpzny2zswgdcm)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jun 18, 2026 and Oct 14, 2026, about one every 118 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261014.4631425 latest | 2026-10-14 | 4631425 | 5,573 B | C | view · diff |
| git:20260618.25b228f | 2026-06-18 | 25b228f | 10,017 B | C | view |
Audit of the latest version
- fail: Frontmatter declares a name
- fail: Frontmatter declares a description
- pass: Frontmatter block present
- pass: Size between 200 bytes and 200 KB (5573 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
espressif/esp-claw-skills-lab · 37 stars · license MIT · pushed 2026-10-31 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_kdidpzny2zswgdcm GET https://markdownregistry.com/api/v1/resolve?ref=espressif/esp-claw-skills-lab/token_usage GET https://markdownregistry.com/api/v1/blob/a8bd67833f0a058d52515d0e5b86488be6016d6f19ac5427b719bf52380fc43a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.