ClawUsage Windows Hardlock
简介
ClawUsage Windows Hardlock
原始描述
Run local clawusage monitoring commands from chat (Telegram/Feishu). Use when user types `/clawusage ...` or asks to check Codex usage, enable/disable auto i...
通过你的 Agent 添加
安装目录:clawusage/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: clawusage
description: Run local clawusage monitoring commands from chat. Use when user types /clawusage ... or asks to check Codex usage, enable/disable auto idle alerts, set idle reminder threshold, or switch language with lang english|chinese.
user-invocable: false
disable-model-invocation: true
ClawUsage Chat Command
Use local clawusage commands and return a compact, easy-to-read summary in the active clawusage language.
Command source:
clawusage.cmdfromPATH
Supported arguments:
nowusagestatushelplanglang englishlang chineseauto on [minutes]auto offauto set <minutes>auto statusdoctor-help
Execution rules:
- Parse user input after
/clawusage. - If no argument is provided, default to
usage. - Run exactly one local command via shell:
& clawusage.cmd <args>
- Do not run unrelated commands.
- Do not dump placeholders. If a field is missing, either omit that line or write
not available. - Input normalization:
- map
helpto-help - allow
10mstyle minutes forauto on/auto set(strip trailingm) - map
now/statustousage(single-command UX)
- map
Formatting rules (important):
- Use short lines and match active language:
lang english=> Englishlang chinese=> Simplified Chinese
- Do not output a single long pipe-separated sentence.
- Prefer compact blocks; avoid long prose.
- If quota label is
Daybut reset is far beyond 24h, add one short note that it is provider-defined.
Output templates:
- For
now/status/usage, use:
ClawUsage
Action: <resolved action>
Status: ok
Session:
- Model: <...>
- Tokens: <...>
- Context: <...>
- Time: <...>
Quota:
- 5h: <used/left/reset/time-left>
- Day: <used/left/reset/time-left>
- Note: Day label is provider-defined.
Local:
- Today: <...>
- 7d: <...>
- For
auto on/off/set/status,help,lang,doctor, use:
ClawUsage
Action: <resolved action>
Status: ok
Result:
- <key outcome 1>
- <key outcome 2>
- On errors:
ClawUsage
Action: <resolved action>
Status: error
Details:
<short actionable error>
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。