upgrade

upgrade is a skill for Claude Code from Skyfox-io/Memex. It costs 58 tokens per session (2,289 once invoked), scanned A, original, MIT.

An upgrade command for Memex workspaces, which are folders managed with structured notes and indexes. It detects the workspace’s current version and runs the needed update steps.

In plain words
What is it for?
Use it to update old Memex summaries and indexes, check whether an upgrade is needed, run a dry run, or stop when the workspace is not managed by Memex.
Why use it?
It avoids manually guessing which maintenance operations are required and makes repeated upgrades safe and efficient.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions .claude-plugin.

Part of the memex plugin — 17 skills shipped together

Good fit Use it to update old Memex summaries and indexes, check whether an upgrade is needed, run a dry run, or stop when the workspace is not managed by Memex.

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

Made for: Claude Code.

Or install memex, the plugin that ships this one along with the rest of its 17 skills.

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/skills/skyfox-io/memex/upgrade/github.svg)](https://agentmods.dev/skills/skyfox-io/memex/upgrade)
Your own site
<a href="https://agentmods.dev/skills/skyfox-io/memex/upgrade"><img src="https://agentmods.dev/badge/skills/skyfox-io/memex/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 upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/skyfox-io/memex/upgrade"><img src="https://agentmods.dev/badge/skills/skyfox-io/memex/upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,289 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.00058 $0.02289
Opus 5.5 $0.00023 $0.00916
Sonnet 5.5 $0.00012 $0.00458
Haiku 4.5 $0.00006 $0.00229

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

Security

Grade A, and why

upgrade 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 2mo 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.

memex/skills/upgrade/SKILL.md · 171 lines

How it starts

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

Memex - Upgrade

Wikilink rule: When referencing files in any markdown you write, use [[filename]] format.

Bring a workspace from any older Memex layout to the current one in a single, idempotent pass. The skill is a thin orchestrator over /memex:resummarize and /memex:reindex; it adds state detection (so re-runs are cheap) and sequencing (resummarize before reindex so closets entries inherit the v2 summary rules).

For the v1 → v2 upgrade specifically, see references/v1-to-v2.md. For the v2.0 → v2.1 increment, see references/v2-to-v2_1.md. Future major versions add their own playbooks under references/.


Step 0: Detect workspace, parse arguments

Run WORKSPACE_ROOT=$(pwd) && echo "$WORKSPACE_ROOT" via Bash.

Read _MANIFEST.md. If the file is missing or has no <!-- memex-managed marker, tell the user "Memex isn't managing this workspace yet. Run /memex:init to set up." and stop.

Acquire memory/.upgrade.lock and check the 24-hour cooldown in memory/.upgrade-runs.log. Both follow the shared bulk-write convention. See ../consolidate/references/locking.md.

Parse $ARGUMENTS:

  • --dry-run. Detect state and print the upgrade plan, but do not execute. Skip the lock acquisition.
  • --force. Re-run every step regardless of state. Useful after a closets format change, or to verify cleanliness.

Step 1: Detect state

Read five signals from the workspace:

  1. Manifest version marker. <!-- memex-managed:N.N.N --> from _MANIFEST.md. Compare to the current Memex VERSION. If older or missing, the workspace was scaffolded by an earlier Memex release.
  2. Summary format version. <!-- summary-format-version:N --> from _MANIFEST.md. If missing or < 2, summaries follow pre-v2 conventions and need /memex:resummarize.
  3. Closets coverage. For each row in the Hub Map, check whether <hub>/_CLOSETS.md exists. Count hubs with coverage vs hubs without.
  4. Closets format version. For each existing _CLOSETS.md, read the <!-- memex-closets:N.N --> marker. If < 1.1 and the hub has > 30 files, pagination needs to engage.
  5. Memory closets (2.1+). Check whether memory/_CLOSETS.md exists. If missing on a manifest version < 2.1.0, this signals a v2.0 → v2.1 migration step.

Read the full file on GitHub · 171 lines

Files

What ships with it

2 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. 2mo ago First seen · 171 lines · 58 tokens per session scan A f9f459d24ea8

Subscribe to this mod's changes

upgrade is a skill published in the GitHub repository Skyfox-io/Memex (17 stars, last pushed 4mo ago), licensed MIT. It adds 58 tokens to every session and 2,289 once invoked, about $0.0002 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-30.

Related

upgrade compared with skills from other repositories

upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upgradeSkyfox-io/MemexSkill174mo agoMITA58Claude Code
setup-brainmycelium-hq/ai-brain-starterSkill50yesterdayMITA66Claude Code
second-brain-mappingmycelium-hq/ai-brain-starterSkill50yesterdayMITA116Claude Code
evolvemycelium-hq/ai-brain-starterSkill50yesterdayMITA100Claude Code
closewrg32786/aigent-osSkill24yesterdayMITA15Claude Code
dreamwrg32786/aigent-osSkill24yesterdayMITA25Claude Code
Promotewrg32786/aigent-osSkill24yesterdayMITA68Claude Code, Codex