Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jianchen08/Agent-os-open --skill credit-delegationgit clone --depth 1 https://github.com/jianchen08/Agent-os-openWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jianchen08/agent-os-open/credit-delegation)<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/credit-delegation"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/credit-delegation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/credit-delegation"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/credit-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.01280 |
| Opus 5.5 | $0.00039 | $0.00512 |
| Sonnet 5.5 | $0.00020 | $0.00256 |
| Haiku 4.5 | $0.00010 | $0.00128 |
Grade A, and why
额度代理方法论 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
额度代理方法论(Credit Delegation)
本技能是流程指引,不是逐条打勾清单:按场景判断使用,遇不适用情况保持裁量,不机械执行。
目标:**派发成本固定且低,等待成本为零,收割只读一次。**凡是能用文件和触发器替代的视觉调用,一律替代。
接口优先级(决策树,computer use 永远是最后手段)
- 原生接口:CLI / IPC / URL scheme / 本地 API —— 有就直接用(一次 bash 调用 vs 十几次视觉调用)。
- 文件投递:目标工具支持打开文件/监听目录(如拖拽区、自动导入)→ 写文件触发。
- computer use 派发:以上皆无的闭源工具,走本方法论三阶段。
三阶段协议
阶段一:一次性派发(成本固定,≈10-20 次工具调用)
- 任务简报自足:目标+验收标准+约束+产出落盘路径一次写全。目标工具在它的额度里自主干活——不发碎对话,不做交互式来回(每次来回都是一轮 AgentOS token)。
- 产出落文件(本方法论的核心杠杆):简报末尾必须约定"完成后把结果摘要/产物写入
<投递目录>/<约定文件名>"。这把后续的"读屏"降级成"读文件"——读屏一次几千 token,读文件几乎免费。 - 投递目录约定:
%USERPROFILE%\agentos_dispatch\(两方都能写的共享路径,按任务名建文件)。 - 派发动作本身按应用档案(见下)执行:聚焦 → 定位输入框 → 输入 → 发送 → 回读确认。
阶段二:失聪等待(零 token,时长无关)
派发确认后 LLM 立即收工——向用户报告"已派发,预计 X 分钟,完成后我会汇报",然后结束本轮。等待由非 LLM 机制承担,按廉价程度选信号:
| 信号 | 检查方式 | 成本 |
|---|---|---|
| 结果文件出现 | 触发器定时 file_read/bash 查文件 | ≈0 |
| 进程/窗口标题变化 | bash 查进程名或窗口标题 | ≈0 |
| 剪辑板/剪贴目录 | 同上 | ≈0 |
| UIA 文本标记 | Snapshot(限 region,避免视觉) | 低,仅醒检时 |
用 trigger_setup 注册定时触发(间隔=任务预估时长的 1/2,不小于 2 分钟)唤醒自己;每次唤醒先查廉价信号,信号未出现就直接结束轮次等下次触发(不 Snapshot、不等待、不占用上下文)。
阶段三:一次收割
完成信号出现后:读结果文件(首选)→ 提炼回用户。仅当目标工具不产文件时,才做一次最终 Snapshot/截图读屏收割。收割后主动清理投递文件(防下次误读旧结果)。
应用档案(App Profile)
每个目标工具一份档案(技能目录),内容五要素:窗口匹配规则 / 输入定位方式 / 发送动作 / 完成信号 / 结果契约。档案里未记录的 UI 细节以首跑 Snapshot 实测为准并把实测锚点沉淀回档案。现有档案:
skills/zcode-dispatch/SKILL.md(ZCode)skills/workbuddy-dispatch/SKILL.md(WorkBuddy)
新增目标工具 = 照五要素写一份档案,不改方法论。
失败与安全
- 派发前回读输入内容(防误发);剪贴板粘贴先告知覆盖。
- 目标工具忙/排队:确认入队后直接进入失聪等待——不要在它排队期间反复 Snapshot。
- 目标工具的审批卡/危险按钮:不代批,回报告知。
- 触发器多次唤醒信号仍未出现(超过任务预估 3 倍时长):停止等待,如实报告"目标工具未在预期时间完成",不编造结果。
Token 经济学
| 模式 | 派发 | 等待 20 分钟 | 收割 | 总计 |
|---|---|---|---|---|
| 裸 computer use 轮询 | ≈15k | 每 30s 一次快照树/视觉 ≈3-8k/次 ≈ 120-320k | ≈5k | ≈140-340k |
| 本方法论 | ≈15k | 0(触发器+文件信号) | ≈5k | ≈20k |
凡是能用文件和触发器替代的视觉调用,一律替代。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago Changed · -2 lines db34a8f76e40
- 2mo ago First seen · 69 lines · 98 tokens per session scan A f9abc3e6dee9
额度代理方法论 is a skill published in the GitHub repository jianchen08/Agent-os-open (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 98 tokens to every session and 1,280 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
额度代理方法论 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 额度代理方法论jianchen08/Agent-os-open | Skill | 8 | 2d ago | Apache-2.0 | A | 98 | Claude Code, Codex |
| background-taskvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 62 | Claude Code |
| agent-toolvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 66 | Claude Code |
| frontend-featurevstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 64 | Claude Code |
| rag-knowledgevstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 76 | Claude Code |
| alembic-migrationvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 56 | Claude Code |
| channel-botvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 53 | Claude Code |