icode

icode is a skill for Codex from ayukyo/icode-skill. It costs 193 tokens per session (14,807 once invoked), scanned A, original, MIT.

A Chinese-language, end-to-end coding workflow with separate steps for planning, review, approval, implementation, checking, and final audit. It also includes optional requirement drafting and log-based cause analysis.

In plain words
What is it for?
Use it to draft requirements, investigate logs, create a plan, review and implement changes, run checks, and prepare the final result.
Why use it?
It breaks a coding request into explicit stages so progress, decisions, and checks are easier to follow.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Use it to draft requirements, investigate logs, create a plan, review and implement changes, run checks, and prepare the final result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayukyo/icode-skill/icode-skill
Install

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.

Any agent
npx skills add ayukyo/icode-skill --skill icode-skill
Clone the repo
git clone --depth 1 https://github.com/ayukyo/icode-skill

Made for: Codex.

Wrote 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.

agentmods badge for icode

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayukyo/icode-skill/icode-skill/github.svg)](https://agentmods.dev/skills/ayukyo/icode-skill/icode-skill)
Your own site
<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.

agentmods 80×15 button for icode

Your own site · 80×15
<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>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00193 $0.14807
Opus 5.5 $0.00077 $0.05923
Sonnet 5.5 $0.00039 $0.02961
Haiku 4.5 $0.00019 $0.01481

Measured 3d ago against content hash 19e1744313e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

SKILL.md · 377 lines

How it starts

The opening of the file, as written. The whole thing — 377 lines — stays where its author put it; the contents beside it link to each section on GitHub.

版本: v2.47.0

ICode 全流程编码工作流(步骤 0 + 1~6)

端到端编码工作流,每步可单独调用与切换模型。本文是路由器:内核规则内联,按需 Read steps/*.md 与 references/*.md。

先判适用性,再读流程:用户明确“不用 ICODE / Do not use ICODE”时,以下工作流不适用于本次请求;直接回答其普通问题,不套用 ICODE 专用术语、步骤或产物,也不附带工作流推荐。技能即使已被宿主加载,也不能覆盖用户退出意图;用户单独问 ICODE 概念时仅解释所问部分,不执行流程。

  • 步骤 0(可选):需求初稿对话,落档为 00_init.md;init --guide 派生新人指南
  • 步骤 1~6:拟定计划 → 审查 → 定稿 → 编码 → 复检 → 终审

主流程步骤真源:/icode start / /icode fast / /icode plan 进入第一步先 ls steps/*.md,按实时清单核对步骤编号、产物文件名及 completed_steps;不在清单则停下核对,禁止自造占位,本文与目录不一致时以目录为准。

  • 主流程示意:00_init → 01_plan → 02_review → 03_merge → 04_code → 05_deepcheck → 06_audit → 07_readme → 08_patch;不存在 03_code / 04_test / 05_deploy。测试在 code,部署/回归按 readme / patch / verify。
  • 辅助独立步骤不参与 1~6 推进;fast 为精简全流程,参与全部六步(见命令表)。

lite 工作流

/icode lite 遵循 lite 合同 和 公共核心;审核须独立并绑定候选与证据,不用于 start/fast。

通用约定(对话语言)

DOCX/PPT 技术图可复用 SVG 图源;按对应步骤读取受限校验、PNG 兼容输出和实验双表示合同。PPT 使用 SVG 时同时准备同版本 DOCX 组件。生成、结构、消费者兼容和最终视觉验收分别记录,不因包内有 SVG 就报告原生矢量已验收。

AI 对用户的回复一律使用中文(提示 / 解释 / 报告 / 追问 / 总结 / 决策说明 / 输出行)。工程内容保持原样、不翻译:代码、标识符、产物文件名、命令、日志原文、报错原文、设备输出、配置字段值。仅当用户明确要求英文回复时切换。

适用所有 /icode 命令的会话交互与步骤内对用户的询问/报告;产物文件正文遵循既有中文风格撰写。

Python 解释器解析(跨平台硬规则)

控制面最低要求 Python 3.10。显式设置 ICODE_PYTHON_BIN 时必须核实该解释器,不可用或版本不足就停止;未设置时 Linux/macOS 按 python3.12、python3.11、python3.10、python3、python 顺序选择首个合格版本,Windows 先试 py -3,失败后按序探测 PATH。文档中的 python3 是占位写法,控制面和子进程使用同一已验证解释器;验证须输出真实路径与版本,WindowsApps 假 stub 的空输出视为失败。非 ASCII 文本优先使用文件入参,完整规则见 dir_and_metadata.md「跨平台 CLI 规则」。

自然语言入口

用户可直接说“使用 ICODE 给这个模块增加重试,先出方案,不改代码”或“用 ICODE 测设备现有版本,不编译、不部署”。由当前宿主 Agent理解意图,不新增模型调用或 Runtime 依赖;/icode <自然语言> 与原有 /icode <子命令> 并存。

自然语言请求、命令混合描述或上下文续接时,先读 references/natural_language_entry.md:区分咨询与执行 → 解析目标/工程工单/限制/停止点 → 回显简短路由 → 读取原步骤文件并执行原门禁。用户显式工单/路径优先于已绑定工单,均不得被“最新目录”覆盖;歧义先只读定位,仍不唯一才问。否定条件不得丢失,不因一句“继续”扩大已授权范围。

Read the full file on GitHub · 377 lines

Files

What ships with it

60 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.

Changes

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.

  1. 3d ago Changed 19e1744313e6
  2. 5d ago Changed · +8 lines d2ee4262a82e
  3. 15d ago Changed · -2 lines 648ddb62b788
  4. 16d ago Changed b98369b075e4
  5. 20d ago Changed 4d4a946e3328
  6. 21d ago Changed · -6 lines 80a151fd1cef
  7. 22d ago Changed b181184057e9
  8. 1mo ago Changed · +2 lines a943de2cd34e
  9. 1mo ago Changed 6022b0f663b1
  10. 1mo ago First seen · 375 lines · 193 tokens per session scan A b8f0a89722af

Subscribe to this mod's changes

icode is a skill published in the GitHub repository ayukyo/icode-skill (5 stars, last pushed 4d ago), licensed MIT. It adds 193 tokens to every session and 14,807 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.

Related

icode compared with skills from other repositories

icode next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
icodeayukyo/icode-skillSkill54d agoMITA193Codex
sentry-fix-issuesopenclaw/clawhubSkill9.6kyesterdayMITA58Claude Code
debuggingandreaswasita/copilot-agents-dojoSkill563mo agoMITA13Claude Code, Codex
patch-opencodeEZotoff/ez-omo-configSkill61mo agoMITA53Claude Code, Codex
patch-opencode.tmpEZotoff/ez-omo-configSkill61mo agoMITA53Claude Code, Codex
add-providerEZotoff/ez-omo-configSkill61mo agoMITA93OpenCode
register-retry-errorEZotoff/ez-omo-configSkill61mo agoMITA28Claude Code, Codex