oc-update

oc-update is a skill for Claude Code from asfbay-bit/opchain-skills. It costs 65 tokens per session (3,705 once invoked), scanned A, original, Apache-2.0.

A repository-local updater for installed Opchain skills, which are reusable instructions for a coding agent.

In plain words
What is it for?
It helps check, download, verify, and install Opchain skill updates while preserving telemetry consent, usage history, and checkpoints.
Why use it?
It distinguishes updating an existing installation from first-time setup and avoids changing application dependencies or unrelated plugins.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the opchain plugin — 36 skills, 16 commands, 4 hooks shipped together

Good fit It helps check, download, verify, and install Opchain skill updates while preserving telemetry consent, usage history, and checkpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asfbay-bit/opchain-skills/oc-update
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 asfbay-bit/opchain-skills --skill oc-update
Clone the repo
git clone --depth 1 https://github.com/asfbay-bit/opchain-skills

Made for: Claude Code.

Or install opchain, the plugin that ships this one along with the rest of its 36 skills, 16 commands, 4 hooks.

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 oc-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-update/github.svg)](https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-update)
Your own site
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-update"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-update/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 oc-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-update"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,705 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.00065 $0.03705
Opus 5.5 $0.00026 $0.01482
Sonnet 5.5 $0.00013 $0.00741
Haiku 4.5 $0.00006 $0.00370

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

Security

Grade A, and why

oc-update 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 2d ago.

The scan reads SKILL.md. This mod also ships 20 executable files (scripts/opchain.mjs, scripts/runtime/scripts/checkpoint.mjs, scripts/runtime/scripts/lib/release-evidence.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/opchain/skills/oc-update/SKILL.md · 258 lines

How it starts

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

Update Opchain

On first invocation, read references/orchestrator.md and follow its welcome protocol.

Use the bundled updater for all version checks, downloads, installation, and verification. It needs Node.js 22.13+; consumer updates also need access to https://opchain.dev. Source checkout updates work offline. Resolve scripts/update.mjs relative to this loaded skill's directory; run it with the consuming repository as the working directory. Do not assume the user's repository contains Opchain's development scripts or package commands.

Commands

First distinguish an update from a first installation. Check the consuming repo's .claude/skills, .agents/skills, and legacy .codex/skills for Opchain files. First recognize an Opchain source checkout: a Git root with skills/orchestrator.md, skills/oc-checkpoint-protocol/SKILL.md, and both scripts/sync-skill-bundles.mjs and scripts/sync-plugin-skills.mjs. The updater auto-detects this layout, including when the local skill links have not been created yet. Run it normally; source links are supported through this path. If an update/check request has no repo-local installation, report that fact and identify the host's plugin manager as the route for a global/plugin update. Do not run the updater's fresh-install default and silently create a duplicate local copy. This no-local-install rule excludes the source checkout just described. An explicit request to install in this repo authorizes the fresh install commands below.

Request Run
/oc-update, "update Opchain" node <skill-dir>/scripts/update.mjs
/oc-update check, "is an update available?" Same command with --check (read-only)
/oc-update doctor, "which Opchain is this session loading?", "why are there two copies?" node <skill-dir>/scripts/update.mjs doctor (read-only; --json for machine output; see below)
Update only this repo's Opchain plugins node <skill-dir>/scripts/update.mjs plugins (--check for read-only)
"Add the Opchain plugin to this repo", "use the plugin instead of local skills" node <skill-dir>/scripts/update.mjs --with-plugins (=ow-tools or =opchain,ow-tools only when named; see Adding plugins)
Refresh this Opchain source checkout Same command; --source explicitly requires source mode
Install specifically for Claude or Codex Add --target=claude or --target=codex
Install for both Add --target=both
User specifies another repo Add --root=<absolute-repo-path>
Update without touching AGENTS.md Add --no-agents-md
Create AGENTS.md in a repository that is not enrolled Add --agents-md

Read the full file on GitHub · 258 lines

Files

What ships with it

31 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. 2d ago Changed d64b21c7dac8
  2. 24d ago Changed · +35 lines 15b915318256
  3. 27d ago Changed 86552c0d9679
  4. 1mo ago Changed · +112 lines db8b6b16461a
  5. 2mo ago Changed a85ebcce6288
  6. 2mo ago Changed 33789ea11533
  7. 2mo ago First seen · 111 lines · 65 tokens per session scan A 891c557e4ba6

Subscribe to this mod's changes

oc-update is a skill published in the GitHub repository asfbay-bit/opchain-skills (0 stars, last pushed 3d ago), licensed Apache-2.0. It adds 65 tokens to every session and 3,705 once invoked, about $0.0003 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-09-15.

Related

oc-update compared with skills from other repositories

oc-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oc-updateasfbay-bit/opchain-skillsSkill03d agoApache-2.0A65Claude Code
orbit-notionnexu-io/open-designSkill111kyesterdayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill119ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k16d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex