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 ayukyo/icode-skill --skill icode-skillgit clone --depth 1 https://github.com/ayukyo/icode-skillWrote 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/ayukyo/icode-skill/icode-skill)<a href="https://agentmods.dev/skills/ayukyo/icode-skill/icode-skill"><img src="https://agentmods.dev/badge/skills/ayukyo/icode-skill/icode-skill/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/ayukyo/icode-skill/icode-skill"><img src="https://agentmods.dev/badge/skills/ayukyo/icode-skill/icode-skill.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.00193 | $0.14402 |
| Opus 5.5 | $0.00077 | $0.05761 |
| Sonnet 5.5 | $0.00039 | $0.02880 |
| Haiku 4.5 | $0.00019 | $0.01440 |
Grade A, and why
icode 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 3d 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 — 373 lines — stays where its author put it; the contents beside it link to each section on GitHub.
版本: v2.32.3
ICode 全流程编码工作流(步骤 0 + 1~6)
端到端编码工作流,将需求到交付拆解为严格步骤,每步可单独调用,方便你自行切换模型。本文档是路由器:内核规则内联,详细规则一律放 steps/*.md 与 references/*.md,需要时按路由表 Read(懒加载,省 token)。
先判适用性,再读流程:用户明确“不用 ICODE / Do not use ICODE”时,以下工作流不适用于本次请求;直接回答其普通问题,不套用 ICODE 专用术语、步骤或产物,也不附带工作流推荐。技能即使已被宿主加载,也不能覆盖用户退出意图;用户单独问 ICODE 概念时仅解释所问部分,不执行流程。
- 步骤 0(可选):需求初稿对话,落档为
00_init.md;init --guide派生新人指南 - 步骤 1~6:拟定计划 → 审查 → 定稿 → 编码 → 复检 → 终审
主流程步骤真源(防误用,唯一真源 =
steps/目录,启动强制 Read):步骤编号 / 产物文件名 /completed_steps合法值一律以steps/*.md实时清单为准(ls steps/*.md完整列出,含主流程与辅助入口 log / doc / docx / limit / status / install / list / bak / verify / learn / study / crosscheck,及精简全流程入口 fast)——本块仅示意,steps/ 演进后以目录为准,勿依赖写死。/icode start//icode fast//icode plan进入第一步先ls steps/*.md核对,不按"编码→测试→部署"直觉推断
- 当前主流程示意(以
ls steps/*.md为准):00_init → 01_plan → 02_review → 03_merge → 04_code → 05_deepcheck → 06_audit → 07_readme → 08_patch;不存在03_code/04_test/05_deploy(测试验证在 04_code 子段,部署/回归归 07_readme / 08_patch / verify)- 辅助独立步骤(doc / docx / log / limit / status / install / list / bak / verify / learn / study / crosscheck)不参与 1
6 推进;fast 为精简全流程(非辅助独立步骤)——参与 16 但各步缩略(见命令表 fast 行)- 强制:产物命名 +
completed_steps写号对照ls steps/*.md实时结果(如入口含log→ 可写"log"),不在清单 → 停下核对,禁止自造产物占位;steps/ 目录与本文档不一致时以 steps/ 目录为准
通用约定(对话语言)
AI 对用户的回复一律使用中文(提示 / 解释 / 报告 / 追问 / 总结 / 决策说明 / 输出行)。工程内容保持原样、不翻译:代码、标识符、产物文件名、命令、日志原文、报错原文、设备输出、配置字段值。仅当用户明确要求英文回复时切换。
适用所有
/icode命令的会话交互与步骤内对用户的询问/报告;产物文件正文遵循既有中文风格撰写。
Python 解释器解析(跨平台硬规则)
skill 内所有 python3 tools/... 形式的命令,执行前必须按平台解析解释器:Linux/macOS 用 python3;Windows 用 py -3(已设 ICODE_PYTHON_BIN 时以它为准)。本文档与 steps/*.md 中保留 python3 写法是跨平台通用形式,不逐处改写,执行时按本规则解析。
Windows 上裸 python / python3 常解析到 %LOCALAPPDATA%\Microsoft\WindowsApps 的应用执行别名(假 stub),表现为退出码 0、无任何输出。出现这种"静默成功"一律视为失败:改用 py -3 重跑同一命令,不得据此判定步骤完成,也不得把空输出当作通过证据。可用性判定:py -3 -c "import sys; print(sys.executable)" 有真实路径输出即可用。
What ships with it
59 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 395 B
- assets/icode-ticket-hex-128.png 4.9 KB
- assets/icode-ticket-hex-512.png 18 KB
- assets/icode-ticket-hex.manifest.json 657 B
- assets/icode-ticket-hex.svg 1020 B
- references/adversarial.md 32 KB
- references/anti_laziness.md 60 KB
- references/control_plane.md 31 KB
- references/crosscheck_mode.md 7.0 KB
- references/debug_mode.md 16 KB
- references/decision_anchors.md 7.3 KB
- references/dir_and_metadata.md 109 KB
- references/doc_snapshot_contract.md 11 KB
- references/doc_template.md 32 KB
- references/docx_authoring.md 10.0 KB
- references/docx_revision.md 3.7 KB
- references/escape_taxonomy.md 1.2 KB
- references/evidence_and_verification.md 13 KB
- references/execution_model.md 9.1 KB
- references/external_brief_contract.md 13 KB
- references/first_activation_path.md 3.0 KB
- references/guide_contract.md 11 KB
- references/host_adapters.md 11 KB
- references/inspection_evidence.md 6.9 KB
- references/inspection_worklist.md 13 KB
- references/mcp_integration.md 18 KB
- references/mcp_path_access.md 4.0 KB
- references/mcp_per_step.md 28 KB
- references/media_routing.md 6.7 KB
- references/natural_language_entry.md 20 KB
- references/necessity_check.md 8.6 KB
- references/project_intake.md 7.3 KB
- references/serial_evidence_stages.md 34 KB
- references/skill_routing.md 4.7 KB
- references/subagent_spawn_wait.md 8.6 KB
- references/thinking_core.md 29 KB
- references/thinking_detail.md 10 KB
- references/thinking.md 367 B
- references/worktree_isolation.md 56 KB
- references/wsl_build.md 7.8 KB
- schemas/crosscheck-manifest.schema.json 3.0 KB
- schemas/crosscheck-round.schema.json 2.6 KB
- schemas/embedded-baseline.schema.json 10 KB
- schemas/evidence-contract.schema.json 2.7 KB
- schemas/inspection-worklist.schema.json 6.5 KB
- schemas/stage-consolidation.schema.json 1.8 KB
- schemas/stage-program.schema.json 1.2 KB
- schemas/ticket-event.schema.json 1.9 KB
- schemas/ticket-index.schema.json 3.4 KB
- schemas/ticket-metadata.schema.json 69 KB
- schemas/verification-evidence.schema.json 2.9 KB
- scripts/check-docx-renderer-release.py 2.7 KB runs code
- scripts/submission_guard.py 66 KB runs code
- scripts/sync-to-global.sh 30 KB runs code
- templates/device_config.json.template 6.3 KB
- templates/embedded_baseline.json.template 1.8 KB
- templates/knowledge_config.json.template 85 B
- templates/media_policy.json.template 400 B
- templates/root_cause_tree_template.md 3.6 KB
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.
- 3d ago Changed · +6 lines f5d0a07e218f
- 5d ago Changed · +5 lines 149ccdb45001
- 7d ago Changed · +4 lines 49081f6a3eea
- 10d ago Changed 1436e5cd4d50
- 14d ago Changed 275dbb209ba9
- 17d ago Changed · +3 tokens per session 88eb636122b2
- 29d ago Changed · +2 lines cf0ecd5d36df
- 1mo ago Changed · +9 lines · +8 tokens per session 0af89c53aa6f
- 1mo ago Changed · +1 lines 1aa1fb34eb82
- 1mo ago First seen · 346 lines · 182 tokens per session scan A 6d6dbb907248
icode is a skill published in the GitHub repository ayukyo/icode-skill (5 stars, last pushed yesterday), licensed MIT. It adds 193 tokens to every session and 14,402 once invoked, about $0.0008 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.
Other skills, from other repositories
sentry-fix-issues
Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sentry. Methodically analyzes stack traces, breadcrumbs, traces, and context to identify root causes.
debugging
Systematic root-cause investigation for hard bugs.
patch-opencode
Patch the live OpenCode binary with a minimal fix. Use when fixing bugs in OpenCode's Go/TypeScript binary — checkout the exact live version, apply the fix, build, install, and test. NEVER build from dev branch to patch a stable release.
add-provider
MUST USE when adding or changing models/providers in this repo's OpenCode config: new provider blocks, new model entries, enabledproviders edits, fallback chains, smallmodel / agent.title.model / OMO agent model assignments, or provider auth wiring. Encodes the checklist that prevents the six recurring setup failure…
patch-opencode.tmp
Patch the live OpenCode binary with a minimal fix. Use when fixing bugs in OpenCode's Go/TypeScript binary — checkout the exact live version, apply the fix, build, install, and test. NEVER build from dev branch to patch a stable release.
register-retry-error
Register a new retryable error pattern in the error retry registry. Use when encountering errors that should trigger automatic retry.