omd-iterate

omd-iterate is a skill for Claude Code, Codex from AbyssCN/oh-my-dag. It costs 69 tokens per session (404 once invoked), scanned A, original, MIT.

A repeat-and-check workflow for tasks that are not correct after one attempt. It runs the task, evaluates the result against the goal, records concrete failures, and starts another targeted round up to a fixed limit.

In plain words
What is it for?
Use it to refine a medium-sized implementation or plan when tests, requirements, or review show specific remaining problems.
Why use it?
It prevents an incomplete result from being treated as finished and avoids endless retries by stopping after the allowed number of rounds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to refine a medium-sized implementation or plan when tests, requirements, or review show specific remaining problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abysscn/oh-my-dag/omd-iterate
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 AbyssCN/oh-my-dag --skill omd-iterate
Clone the repo
git clone --depth 1 https://github.com/AbyssCN/oh-my-dag

Made for: Claude Code, 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 omd-iterate

README.md
[![agentmods](https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-iterate/github.svg)](https://agentmods.dev/skills/abysscn/oh-my-dag/omd-iterate)
Your own site
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-iterate"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-iterate/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 omd-iterate

Your own site · 80×15
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-iterate"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-iterate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 404 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.00404
Opus 5 $0.00034 $0.00202
Sonnet 5 $0.00014 $0.00081
Haiku 4.5 $0.00007 $0.00040

Measured 11d ago against content hash b05f192ca9b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

omd-iterate 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 11d 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.

client-skills/omd-iterate/SKILL.md · 20 lines

What it actually says

/omd-iterate — fixpoint 迭代(跑→评→重画)

对应 pi TUI 的 /omd-iterate。在 MCP 世界里 fixpoint 的"评"由你(runtime 模型)担任——这正是原设计意图:judge 要有全上下文。

流程

  1. run(omd MCP;未加载先 ToolSearch "run")执行任务,dag_status/dag_result 拿本轮产物。
  2. 你当收敛 judge:对照任务目标逐项评估本轮结果——达标即收敛,报告并停;未达标则写出具体失败原因(哪个节点产物不合格、缺什么)。
  3. 未收敛 → 重画:新一轮 run,task = 原任务 + [上一轮未收敛] <失败原因>\n请针对性重新分解修复
  4. 默认最多 3 轮;到上限仍未收敛 → 停下向 owner 报告卡点和建议(升级模型/改任务/人工介入),不要无限烧。

与 /omd-execute 的分工

/omd-execute 是"SDD → 一次执行 → 验收四选一"的交接协议;/omd-iterate 是验收选了"迭代"之后的定点收敛循环,或没有 SDD 的中型任务直接迭代。

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. 11d ago First seen · 20 lines · 69 tokens per session scan A b05f192ca9b1

Subscribe to this mod's changes

omd-iterate is a skill published in the GitHub repository AbyssCN/oh-my-dag (39 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 404 once invoked, about $0.0003 per session on Opus 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-30.

Related

Other skills, from other repositories

optimization

Use when improving performance, latency, throughput, memory usage, or general efficiency. Start by defining target metrics, measuring comprehensively, attributing bottlenecks, validating with static analysis, and prioritizing macro-optimizations before micro-optimizations.

1jehuang/jcode · 52 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

neuron-debugger

Debug and monitor Neuron AI applications with Inspector APM, event observability, logging, and performance analysis. Use this skill whenever the user mentions debugging, monitoring, observability, performance analysis, tracing, Inspector, or needs to understand why an agent is behaving a certain way. Also trigger for…

neuron-core/neuron-ai · 90 tokens

agent-identity

Verify an agent's live address and billing account before sharing a chat link, diagnosing a deploy mismatch, or deciding why two hosts share an identity.

openonion/connectonion · 33 tokens

data-fetching

Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, axios, React Query, SWR, error handling, caching strategies, offline support.

Intelligent-Internet/ii-agent · 41 tokens

gini-bug-report

File a locally-captured, already-redacted Gini crash report as a GitHub issue, with the user's consent. Reads the pending crash queue and delegates the actual filing to the github-issues skill.

Open-Curiosity/gini-agent · 47 tokens