360 Secure SkillHub
360 安全技能中心

Butler

为本地项目托管 Claude 用量估算与 GPU 预算:可用 gate/gpu-gate 预览准入,按幂等键原子预留 GPU 容量,对账实际终端用量,并通过本地回环仪表盘查看账本与项目花费;预算与策略变更需用户显式授权,不启动计算,也不变更供应商账单。

antreasantoniou
antreasantoniou
热度 14.52
最近更新 2026-09-06 02:42:34
分类:数据依赖:代码执行 / 读写文件应用场景:财务 / 报告撰写 / 数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add butler-agent-skill
Metadata
name
butler
description
Track per-project Claude usage estimates and local GPU budgets, preview admission, atomically reserve capacity, and reconcile actual usage with a local dashboard.

Butler

Use the bundled runtime for local project-budget custody. Read README.md for installation and references/accounting.md before GPU work.

Resolve the user's explicit BUTLER_ROOT and project. A fresh install has no accounts, projects, reservations or usage. Do not invent a budget or scan transcripts automatically. Configure limits only from the user's authority. Registration and policy changes write state.

For a budget check, use scripts/butler.py gate --project SLUG or gpu-gate: a preview does not reserve GPU capacity. When compute launch is separately authorized, use gpu-reserve with a stable idempotency key before launch; reconcile actual terminal usage afterwards. No command here launches compute, bills a provider, changes provider authentication, or deletes provider disks. A disk-release entry is evidence recording, not cleanup.

The local Claude weighted-token proxy is not actual Codex quota. Optional cached Claude utilization is dated provider evidence, not a fresh quota query. Report unavailable evidence as unavailable. Gate results are advisory unless the actual execution path obeys them. Missing GPU limits are not a cap; verify policy explicitly. Never clear limits through --unlimited without explicit budget-owner authorization.

Use session-log for an authorized run summary and artifact paths. Keep ledgers and transcripts out of the public package. Open the dashboard only on loopback. Remote SSH collection and local process inspection are optional opt-ins, never implicit task steps.