update-to-latest

update-to-latest is a skill for Claude Code, Codex from EZotoff/ez-omo-config. It costs 33 tokens per session (7,276 once invoked), scanned A, a copy of update-to-latest, MIT.

A guided process for checking and updating OpenCode or OMO, with a human approval step before changes are made.

In plain words
What is it for?
Use it to inspect versions and configuration, review available updates, preserve patches, approve an update, and roll back when needed.
Why use it?
It reduces the risk of updating the wrong installation, losing custom patches, or claiming success without evidence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions OpenCode.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/smoke-boot-check.sh.

Good fit Use it to inspect versions and configuration, review available updates, preserve patches, approve an update, and roll back when needed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/EZotoff/ez-omo-config
agentmods
npx agentmods add skills/ezotoff/ez-omo-config/update-to-latest.tmp

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 update-to-latest

README.md
[![agentmods](https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/update-to-latest.tmp/github.svg)](https://agentmods.dev/skills/ezotoff/ez-omo-config/update-to-latest.tmp)
Your own site
<a href="https://agentmods.dev/skills/ezotoff/ez-omo-config/update-to-latest.tmp"><img src="https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/update-to-latest.tmp/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 update-to-latest

Your own site · 80×15
<a href="https://agentmods.dev/skills/ezotoff/ez-omo-config/update-to-latest.tmp"><img src="https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/update-to-latest.tmp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod 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.00033 $0.07276
Opus 5.5 $0.00013 $0.02910
Sonnet 5.5 $0.00007 $0.01455
Haiku 4.5 $0.00003 $0.00728

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

Security

Grade A, and why

update-to-latest scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **NEVER redirect command output into a live runtime artifact** (`~/oh-my-openagent-v4.19.2/dist/*`, `~/.opencode/bin/*`, `~/.opencode/plugin/*`, `~/.config/opencode/*` live configs). Diagnostic reads (`git show`, `cat`
Origin

This is a copy

94% identical to update-to-latest — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/update-to-latest/update-to-latest.tmp/SKILL.md · 439 lines

How it starts

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

Update to Latest

Role and Purpose

This skill is a guided operational pipeline for future agents, NOT an automatic updater. It analyzes the current state, discovers available updates, produces a recommendation, and only executes after receiving explicit human approval. Future agents invoking this skill must follow every phase in order. No phase may be skipped.

Non-Goals

  • This skill does NOT automatically update OpenCode or OMO.
  • We do not run package manager or update commands before the approval gate.
  • This skill does NOT delete patch registry entries.
  • This skill does NOT claim runtime success without evidence.

13 Mandatory Workflow Phases

Phase 1: Preflight / Current-State Inventory

Before any update analysis, capture the complete current state:

  1. Git cleanliness in the config repo: run git status --short and record whether the working tree is clean.
  2. OpenCode version: run opencode --version and record the output.
  3. OMO configured source vs runtime source: discover OMO path candidates (see OMO Path Discovery below), then distinguish these evidence levels explicitly:
    • active_config_registered: a live OpenCode config contains a file://...oh-my-openagent or file://...oh-my-opencode path.
    • live_file_installed: that path exists on disk and contains valid OMO source.
    • runtime_loaded: a currently running OpenCode process has actually loaded that path. Do not claim this from config alone. Record the current Git branch, upstream, commit hash, package name/version, and dirty state for every valid local source candidate.
  4. NPM / package versions: record the installed versions of opencode-ai, oh-my-opencode, and oh-my-openagent where discoverable.
  5. Live symlink targets: verify the four symlinked configs (opencode.json, oh-my-openagent.json, provider-connect-retry.mjs, retry-errors.json) point into this repo.
  6. Copied plugin / skill / script inventory: list all artifacts installed by install.sh that are NOT symlinks (e.g. plugins under ~/.opencode/plugin/, scripts under ~/.opencode/scripts/ and ~/.sisyphus/scripts/).
  7. Active patch list: run ls .sisyphus/patches/*.md and record every patch entry.
  8. Dirty state in OMO source clone: run git status --short in the discovered OMO directory.

Read the full file on GitHub · 439 lines

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 · 439 lines · 33 tokens per session scan A 4ef98580d8eb

Subscribe to this mod's changes

update-to-latest is a skill published in the GitHub repository EZotoff/ez-omo-config (6 stars, last pushed 2d ago), licensed MIT. It adds 33 tokens to every session and 7,276 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 94% identical to update-to-latest, differing in 0 lines, and is treated as a copy.