oc-update

oc-update is a skill for Claude Code from asfbay-bit/opchain-skills. It costs 65 tokens per session (3,170 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 Code; reads ~/.codex paths.

Part of the opchain plugin — 36 skills, 16 commands, 3 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, 3 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,170 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.03170
Opus 5.5 $0.00026 $0.01268
Sonnet 5.5 $0.00013 $0.00634
Haiku 4.5 $0.00006 $0.00317

Measured 2d ago against content hash db8b6b16461a, 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 · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 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>

Read the full file on GitHub · 223 lines

Files

What ships with it

29 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 · +112 lines db8b6b16461a
  2. 26d ago Changed a85ebcce6288
  3. 29d ago Changed 33789ea11533
  4. 1mo 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 yesterday), licensed Apache-2.0. It adds 65 tokens to every session and 3,170 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

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.

paperclipai/paperclip · 30 tokens

rowboat-spaces

How to work as a member of Rowboat Spaces, the team chat where people and agents work together. Load it once per session, before acting on any request that reaches you from Rowboat; it covers your setup, mentions and hand-offs, the tools, and files.

rowboatlabs/rowboat · 60 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens