upgrade

upgrade is a command for Claude Code from dork-labs/dorkos. It costs 13 tokens per session (4,222 once invoked), scanned A, original, MIT.

A guided command for updating an application's software packages and checking them for security problems. It can inspect outdated packages, create an upgrade plan, or carry out upgrades by version range.

In plain words
What is it for?
Use it to check, audit, plan, or interactively perform patch, minor, major, or security-only dependency upgrades.
Why use it?
It brings package checks, security review, prioritization, and validation into one workflow. This reduces the chance of missing an outdated or risky dependency.

Command for Claude Code

Part of the flow plugin — 33 skills, 42 commands, 5 agents, 4 hooks, 5 plugins shipped together

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.

agentmods
npx agentmods add commands/dork-labs/dorkos/upgrade
Clone the repo
git clone --depth 1 https://github.com/dork-labs/dorkos

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 42 commands, 5 agents, 4 hooks, 5 plugins.

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 upgrade

README.md
[![agentmods](https://agentmods.dev/badge/commands/dork-labs/dorkos/upgrade.svg)](https://agentmods.dev/commands/dork-labs/dorkos/upgrade)
Your own site
<a href="https://agentmods.dev/commands/dork-labs/dorkos/upgrade"><img src="https://agentmods.dev/badge/commands/dork-labs/dorkos/upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,222 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00013 $0.04222
Opus 5 $0.00006 $0.02111
Sonnet 5 $0.00003 $0.00844
Haiku 4.5 $0.00001 $0.00422

Measured yesterday against content hash 66def9cf9d9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

upgrade 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 yesterday.

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.

- [ ] `curl localhost:6242/api/health` responds ok
.claude/commands/app/upgrade.md · 599 lines

How it starts

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

Application Upgrade

Comprehensive dependency upgrade management with security auditing, intelligent prioritization, documentation lookup, and validation.

Arguments

Parse $ARGUMENTS for these options:

Modes (mutually exclusive, default: interactive)

Mode Description
check Show outdated packages only, no changes
audit Security audit only, suggest fixes
plan Generate prioritized upgrade plan, no changes
interactive Full guided upgrade workflow (default)

Flags

Flag Effect
--patch Only patch version upgrades (x.x.PATCH)
--minor Patch + minor version upgrades (x.MINOR.x)
--major All versions including major (default for plan/interactive)
--security Only security-related upgrades
--no-cooldown Skip 21-day cooldown check for new releases
[package...] Specific packages to upgrade

Examples

/app:upgrade                        # Full interactive upgrade
/app:upgrade check                  # Just show outdated packages
/app:upgrade audit                  # Security audit only
/app:upgrade plan                   # Generate upgrade plan
/app:upgrade react --major          # Upgrade React cluster
/app:upgrade --security             # Only security patches
/app:upgrade --patch                # Only patch updates (safest)

Task

Execute phases based on the selected mode.


Phase 1: Discovery & Analysis

Step 1.1: Check Outdated Packages

pnpm outdated

Step 1.2: Security Audit

pnpm audit

Read the full file on GitHub · 599 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. yesterday Changed 66def9cf9d9f
  2. 4d ago First seen · 599 lines · 13 tokens per session scan A b1635653f77a

Subscribe to this mod's changes

upgrade is a command published in the GitHub repository dork-labs/dorkos (9 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 4,222 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.