ds-upgrade

ds-upgrade is a skill for Claude Code from harshii0509/designStack. It costs 67 tokens per session (1,730 once invoked), scanned A, original, MIT.

An updater for designStack that finds the standard installation and runs its update process. It can check whether a newer version is available and show what changed.

In plain words
What is it for?
Use it when you want to update designStack or run the /ds-upgrade or /ds-update command.
Why use it?
It helps keep designStack current without manually finding its installation or update commands.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; positional $N argument.

Good fit Use it when you want to update designStack or run the /ds-upgrade or /ds-update command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harshii0509/designstack/upgrade
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 harshii0509/designStack --skill upgrade
Clone the repo
git clone --depth 1 https://github.com/harshii0509/designStack

Made for: Claude Code.

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 ds-upgrade

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/harshii0509/designstack/upgrade"><img src="https://agentmods.dev/badge/skills/harshii0509/designstack/upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,730 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 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.00067 $0.01730
Opus 5.5 $0.00027 $0.00692
Sonnet 5.5 $0.00013 $0.00346
Haiku 4.5 $0.00007 $0.00173

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

Security

Grade A, and why

ds-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 3mo 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.

echo "ERROR: No git install at $INSTALL_DIR — reinstall with the curl command from the README."
upgrade/SKILL.md · 168 lines

How it starts

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

/ds-upgrade — Update designStack

Keep users on the latest designStack with the same flow as the root skill’s update check.

Inline upgrade flow (from root /ds preamble)

When root SKILL.md printed UPGRADE_AVAILABLE <old> <new> from ds-update-check, read this file and run Step 1 before continuing to the sub-skill the user asked for.

Step 1: Auto-upgrade or ask

Resolve auto-upgrade:

_AUTO=""
[ "${DS_AUTO_UPGRADE:-}" = "1" ] && _AUTO="true"
if [ -z "$_AUTO" ] && [ -f "$HOME/.dstack/config.yaml" ]; then
  if grep -qiE '^[[:space:]]*auto_upgrade:[[:space:]]*true' "$HOME/.dstack/config.yaml" 2>/dev/null; then
    _AUTO="true"
  fi
fi
echo "AUTO_UPGRADE=${_AUTO:-false}"

If AUTO_UPGRADE=true: Skip AskUserQuestion. Tell the user you're auto-upgrading designStack v{old} → v{new}, then go to Step 2. If the update script fails, say auto-upgrade failed and suggest running /ds-upgrade manually.

Else use AskUserQuestion:

  • Question: "designStack v{new} is available (you're on v{old}). Upgrade now?"
  • Options: ["Yes, upgrade now", "Always keep me up to date", "Not now", "Never ask again"]

"Yes, upgrade now" → Step 2

"Always keep me up to date":

mkdir -p "$HOME/.dstack"
_CFG="$HOME/.dstack/config.yaml"
if [ ! -f "$_CFG" ]; then
  echo "update_check: true" > "$_CFG"
  echo "auto_upgrade: true" >> "$_CFG"
else
  if grep -qiE '^[[:space:]]*auto_upgrade:' "$_CFG" 2>/dev/null; then
    sed -i.bak 's/^[[:space:]]*auto_upgrade:.*/auto_upgrade: true/' "$_CFG" 2>/dev/null || \
      perl -i -pe 's/^\s*auto_upgrade:.*/auto_upgrade: true/' "$_CFG" 2>/dev/null || true
  else
    echo "auto_upgrade: true" >> "$_CFG"
  fi
  rm -f "$_CFG.bak" 2>/dev/null || true
fi

Say: "Auto-upgrade is on — future releases will install without asking." Then Step 2.

"Not now": Write snooze (same version escalation as gstack):

_SNOOZE_FILE="$HOME/.dstack/update-snoozed"
_REMOTE_VER="{new}"
_CUR_LEVEL=0
if [ -f "$_SNOOZE_FILE" ]; then
  _SNOOZED_VER=$(awk '{print $1}' "$_SNOOZE_FILE")
  if [ "$_SNOOZED_VER" = "$_REMOTE_VER" ]; then
    _CUR_LEVEL=$(awk '{print $2}' "$_SNOOZE_FILE")
    case "$_CUR_LEVEL" in *[!0-9]*) _CUR_LEVEL=0 ;; esac
  fi
fi
_NEW_LEVEL=$((_CUR_LEVEL + 1))
[ "$_NEW_LEVEL" -gt 3 ] && _NEW_LEVEL=3
echo "$_REMOTE_VER $_NEW_LEVEL $(date +%s)" > "$_SNOOZE_FILE"

Read the full file on GitHub · 168 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. 3mo ago First seen · 168 lines · 67 tokens per session scan A eb525caa18b3

Subscribe to this mod's changes

ds-upgrade is a skill published in the GitHub repository harshii0509/designStack (13 stars, last pushed 6mo ago), licensed MIT. It adds 67 tokens to every session and 1,730 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

ds-upgrade compared with skills from other repositories

ds-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ds-upgradeharshii0509/designStackSkill136mo agoMITA67Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code