auto-update

auto-update is a skill for Claude Code from Jerry0022/dotclaude. It costs 70 tokens per session (1,235 once invoked), scanned A, original, MIT.

A manually triggered updater for a development-operations plugin. It pulls the latest version from GitHub, rebuilds its local cache, updates the plugin registry, and reports the result.

In plain words
What is it for?
Checking the installed version and channel, running an explicit plugin update, and producing a changelog and verification report.
Why use it?
It lets you update the plugin and see what changed without repeating the update and verification steps yourself.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions .claude-plugin.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the devops plugin — 18 skills, 12 agents, 9 hooks, 1 MCP server shipped together

Good fit Checking the installed version and channel, running an explicit plugin update, and producing a changelog and verification report.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Jerry0022/dotclaude
Claude Code
/plugin install devops

Made for: Claude Code.

Or install devops, the plugin that ships this one along with the rest of its 18 skills, 12 agents, 9 hooks, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerry0022/dotclaude/auto-update"><img src="https://agentmods.dev/badge/skills/jerry0022/dotclaude/auto-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,235 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.00070 $0.01235
Opus 5.5 $0.00028 $0.00494
Sonnet 5.5 $0.00014 $0.00247
Haiku 4.5 $0.00007 $0.00123

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

Security

Grade A, and why

auto-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 15d 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.

plugins/devops/skills/auto-update/SKILL.md · 113 lines

How it starts

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

Plugin Update

Manually trigger a plugin update with user-facing reporting. The update logic lives in ss.plugin.update.js (SessionStart hook) — the single source of truth; this skill captures the state before, runs the hook, and reports.

Constants

PLUGIN_ROOT = {PLUGIN_ROOT} (literal path from the session context; $CLAUDE_PLUGIN_ROOT is empty in the Bash tool)
MARKETPLACE_DIR = ~/.claude/plugins/marketplaces/dotclaude
PLUGIN_SUBDIR = plugins/devops
HOOK_SCRIPT = ${PLUGIN_ROOT}/hooks/session-start/ss.plugin.update.js

Step 0 — Capture current state + channel

  1. Current version from <MARKETPLACE_DIR>/<PLUGIN_SUBDIR>/.claude-plugin/plugin.json and SHA from git -C MARKETPLACE_DIR rev-parse --short HEAD.
  2. Channel pin from ~/.claude/plugins/.channels.json (key = marketplace name, missing/invalid → stable). One channel per MARKETPLACE — a single clone cannot serve two plugins on different channels.
  3. --channel <alpha|beta|stable> flag: re-pin by writing the sidecar ({"dotclaude": "beta"} merged into the existing JSON), then continue with the update so the new pin takes effect immediately.
  4. Drift: latest version visible to the pin vs. latest alpha (git -C MARKETPLACE_DIR ls-remote --tags origin, numeric compare on alpha/vX.Y.Z / beta/vX.Y.Z / stable/vX.Y.Z / bare vX.Y.Z).
  5. Report: Currently installed: v{version} ({sha}) — Channel: {channel}, latest visible: v{N} and, when alpha is ahead: (alpha has v{M} available).

Step 1 — Run update hook

node HOOK_SCRIPT --force

--force is required: at SessionStart the hook is throttled by a 6 h cooldown (#324) and defers cache repairs to a detached child; --force skips both so the result is complete when this step returns.

The hook does the channel-aware checkout of every marketplace clone, the cache rebuild, the installed_plugins.json update, a silent verification, and the Quiet output style refresh. Show its stdout.

Step 2 — Changelog

Read the full file on GitHub · 113 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. 15d ago Changed d4759c8f2c77
  2. 1mo ago Changed · -62 lines 53afa2c1113c
  3. 1mo ago Changed 6f329299e2be
  4. 1mo ago Changed · +17 lines b324d2db3a92
  5. 2mo ago Changed · +7 lines f0a33840d59d
  6. 2mo ago First seen · 151 lines · 70 tokens per session scan A efb5f4178742

Subscribe to this mod's changes

auto-update is a skill published in the GitHub repository Jerry0022/dotclaude (6 stars, last pushed 11d ago), licensed MIT. It adds 70 tokens to every session and 1,235 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-08-31.

Related

auto-update compared with skills from other repositories

auto-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auto-updateJerry0022/dotclaudeSkill611d agoMITA70Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code