Harnessweight — Development skill for Claude Code
给网关后面的每个 Agent harness 称重:输入 token、缓存命中、失败率、每轮重发的工具定义体积.
How to install Harnessweight
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open webkubor/harnessweight and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Harnessweight does
给网关后面的每个 Agent harness 称重:输入 token、缓存命中、失败率、每轮重发的工具定义体积。已收录 magpie 社区插件 · Weigh every agent harness behind your magpie gateway.
Alternatives in Development
- Reason Network — Reason Network: your team's coding agents, talking to each other 1.4k ★
- Waggle — Attributed, resolvable artifact references for agent handoffs — a ~30-byte token instead of pasted context 637 ★
- MiniCode Architecture — 简体中文 This document describes the lightweight architecture decisions behind mini-code 388 ★
README
HarnessWeight
给网关后面的每个 agent harness 称重:读了多少 token、命中多少缓存、失败多少次、每轮重发多重的工具定义。
中文 · English

https://github.com/user-attachments/assets/866f1b60-b5c6-4128-8828-15646b10a32e
▶ 30 秒演示:结论 → Agent 卡片 → 排序 → 详情 → 切 30 天 → 深色。
截图是作者本机 7 天的真实用量,在和 magpie 一样的沙箱框架里实拍,没有模拟数据。Agent 名字和图标与 magpie 自己显示的一致。卡片上的小图标是该 Agent 在这段时间实际用到的模型,超出排序的部分渐隐。
它回答什么问题
你同时用 Claude Code、Codex、zcode、DSH、Cursor……都接在同一个 magpie 网关上。magpie 自带的用量页按**模型**统计;HarnessWeight 按 **agent harness** 统计,回答四个问题:
- 谁在花你的 token:每个 Agent 读进模型的总 token,其中多少命中缓存、多少按原价。
- 谁每次读得最多:每次请求的平均输入。上下文越大,越贵。
- 谁最不稳:失败率、首字延迟和总耗时(p50)。失败的请求也可能消耗 token。
- 谁的工具清单最重:Agent 每轮都会把整份工具
Related Skills
Magpie Purge
Magpie gateway plugin that rewrites agent system prompts from your persona; native in-process extension for pi
Magpie Agent Office
我的 Agent 在干嘛:实时展示 Claude Code、Codex、DeepSeek Harness、Gemini CLI 等 Agent 的工作状态,3D/2D 太空站办公室、悬浮窗与列表。Live agent a
Hermes Codex Pool
Pool of ChatGPT (and Claude) subscriptions behind one local CLIProxyAPI gateway for Hermes Agent, Codex CLI an
Edgee
Official Edgee CLI to interract with Edgee's Agent Gateway. Route Claude Code, Codex, Cursor, VS Code + Copilo
Wollipog
Wollipog. Your whole fleet of coding agents behind a single pane of glass (POG). A meta-harness for Claude Cod
Harness Hub
Local multi-harness orchestrator: Codex, Claude Code and DeepSeek Harness behind one plan-approval, dispatch,
Related Agents
API Probe Subagent
Subagent that probes the corporate AI gateway during Phase 1.5 — verifies URL reachable, models catalog availa
Loop Auditor
Audits agent definitions (currently .energy format) for completeness, token efficiency, and harness quality.
Infra Base Scaffolder
Genera la infraestructura base del consumidor (8 modulos Terraform + esqueleto del entorno con outputs) en un