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 code-implementgit 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/code-implement)<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/code-implement"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/code-implement/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/code-implement"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/code-implement.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.00054 | $0.02711 |
| Opus 5.5 | $0.00022 | $0.01084 |
| Sonnet 5.5 | $0.00011 | $0.00542 |
| Haiku 4.5 | $0.00005 | $0.00271 |
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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
代码实现
本技能是流程指引,不是逐条打勾清单:按场景判断使用,遇不适用情况保持裁量,不机械执行。 流程骨架的顺序真值常驻于消费方提示词(code_writer 等编码执行者);本文件是骨架各步的细节展开,按需读取对应节,不另立骨架顺序。
执行流程
第 1 步:确认需要(编码前必做)
进入编码前,先确认输入和目标就绪,缺则停下追问,不靠猜测推进。
- 确认功能目标:逐条过验收标准(AC),确认每条都理解且可执行;有 state_machine 时确认要覆盖所有状态和转换
- 确认涉及范围:本任务要改哪些模块/文件,各自职责是什么
- 确认技术栈与约束:前端/后端/全栈;前端任务的设计系统约束;接口契约变更预期
- 上下文获取按需自定:读什么、读多少由你按任务性质决定——新代码任务的 API 契约由测试定义(见第 4 步);存量代码改动按定位需要读取
- 信息不全的处理:影响验收判据理解的关键缺口通过 human_interaction 向上追问;仅影响实现细节的不必等待——按最合理形态实现并在注释标注"假设"
第 2 步:调研现有实现(防重复实现、防破坏架构)
读多少由任务性质决定:
- 新代码任务(新建模块/插件/文件为主体):契约由你的测试定义,可直接进入测试设计
- 存量改动任务(修改既有模块/跨模块交互):核对上下游接口与可复用项,到"能安全落笔"为止
- 深度自定:单文件小改通常无需深挖;拿不准是否复用时倾向读一眼接口签名而非整链路
第 3 步:模块边界设计
按 coding_domain_rules.md §5.2 执行模块边界设计。
新增文件前先更新所在模块的「结构 > 文件清单」,改接口前先更新模块级/项目级文档(文档不存在先创建)。
迁移/重构任务(强制门禁):涉及迁移旧代码、大规模重构、修改多个模块交互方式时,必须先执行架构审查:
- 使用 file_read 读取涉及的旧代码/现有架构,梳理模块结构、依赖关系、数据流向,产出架构摘要
- 标注现有架构中的耦合点和内聚性问题
- 将架构审查报告写入
docs/working/architecture_review_report.md,必须包含:(1) 现有架构概述 (2) 计划变更范围 (3) 接口契约变更清单 (4) 风险评估 - 调用 task_evaluate 标记架构审查完成,通过 human_interaction 向用户确认后再编码;禁止未经确认就开始修改架构
新建任务跳过此步。
第 4 步:测试设计(Red 阶段,先写失败测试)
这一步就是设计动作:新代码的 API 契约由你的测试定义——函数名/签名/返回结构按你的设计写,不确定的外部依赖用最小桩;修改存量代码时,以既有测试与接口签名为准。
测试分工裁定(任务书携带签发验收测试时):
| 测试类别 | 产出方 | 编码方权限 |
|---|---|---|
| 辅助单测 | 编码方随实现同步编写 | 可写可改——断言与覆盖随设计迭代调整 |
| 签发验收测试 | 独立起草方起草、签发方签发冻结 | 只读执行——原样运行,不改断言、不跳过用例 |
签发验收测试是验收证据的来源,编码方改动它等于自产验收证据。发现签发验收测试与实现冲突时,回退给起草方与签发方重签,不在本次实现中改测试。起草方按 skills/skill-acceptance-test-authoring/SKILL.md 的可渲染约定书写,编码方按本裁定执行。
已有测试可复用时自行判断(已覆盖场景跳过、只补缺失)。
场景覆盖清单(补缺失部分):
- 正常场景:标准输入,预期成功
- 边界场景:最小/最大值、空值、临界值
- 异常场景:错误输入、异常处理路径
- 状态机:有 state_machine 时,覆盖所有状态和转换(state_coverage=100%,transition_coverage=100%)
测试类型选择:
- 单元测试:单函数/方法,隔离外部依赖
- 集成测试:多组件协作,验证模块间交互
- API 端点测试(后端/全栈任务必做):每端点覆盖 2xx 成功 + 4xx 客户端错误 + 5xx 服务端错误,校验响应 Schema
- 前端 E2E(前端任务必做):用 bash 跑
npx playwright test做浏览器级测试,不能只用 Jest 组件测试代替
防拟合要求(测试怎么写,实现才无法靠硬编码期望值/路径刷绿):按 coding_domain_rules §6.5 执行——同一行为 ≥2 组有区分度输入、关键行为配性质断言、可枚举输入 parametrize、关键路径走真实依赖断言,禁止单点输入拟合/全 mock。
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.
- 12d ago Changed 58c66b7f457e
- 17d ago Changed · +11 lines 1cd0c83ccdf6
- 2mo ago Changed · +14 lines d2552666eec9
- 3mo ago First seen · 116 lines · 54 tokens per session scan A b6ade87b3884
代码实现 is a skill published in the GitHub repository jianchen08/Agent-os-open (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 54 tokens to every session and 2,711 once invoked, about $0.0002 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-08-31.
代码实现 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 代码实现jianchen08/Agent-os-open | Skill | 8 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| agent-toolvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | today | MIT | A | 66 | Claude Code |
| background-taskvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | today | MIT | A | 62 | Claude Code |
| rag-knowledgevstorm-co/full-stack-ai-agent-template | Skill | 2.0k | today | MIT | A | 76 | Claude Code |
| alembic-migrationvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | today | MIT | A | 56 | Claude Code |
| channel-botvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | today | MIT | A | 53 | Claude Code |
| frontend-featurevstorm-co/full-stack-ai-agent-template | Skill | 2.0k | today | MIT | A | 64 | Claude Code |