framework-upgrade

framework-upgrade is a skill for Claude Code from joris887/exosuit. It costs 18 tokens per session (2,661 once invoked), scanned B, original, MIT.

A workflow for upgrading the Exosuit framework to a newer version while keeping project-specific additions. It compares the current and new framework versions before applying the upgrade.

In plain words
What is it for?
Use it to obtain a newer framework version from a repository or local folder, validate it, compare versions, and check that the project is ready for the upgrade.
Why use it?
It reduces the risk of losing local skills, rules, hooks, settings, or other customizations during an upgrade. It also stops when the project has uncommitted changes that could be overwritten or confused.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is "command": "cd \"$(git rev-parse --show-toplevel 2>/dev/null || echo .)\" && sh .claude/hooks/pre-tool-use.sh".

Part of the exosuit plugin — 46 skills, 1 command, 9 agents, 10 hooks shipped together

Good fit Use it to obtain a newer framework version from a repository or local folder, validate it, compare versions, and check that the project is ready for the upgrade.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/joris887/exosuit
agentmods
npx agentmods add skills/joris887/exosuit/framework-upgrade

Made for: Claude Code.

Or install exosuit, the plugin that ships this one along with the rest of its 46 skills, 1 command, 9 agents, 10 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 framework-upgrade

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/joris887/exosuit/framework-upgrade"><img src="https://agentmods.dev/badge/skills/joris887/exosuit/framework-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,661 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00018 $0.02661
Opus 5.5 $0.00007 $0.01064
Sonnet 5.5 $0.00004 $0.00532
Haiku 4.5 $0.00002 $0.00266

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

Security

Grade B, and why

framework-upgrade scanned grade B 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat project-safety-rules.txt >> .claude/hooks/rules/safety.patterns
.claude/skills/framework-upgrade/SKILL.md · 247 lines

How it starts

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


framework-upgrade

Upgrades the Exosuit framework to a newer version while preserving all project-specific customizations (skills, rules, hooks, settings).

Phase 0: Validate & Discover

  1. Fetch new framework version:

    • Default (no argument or --branch <branch>): Clone the framework repo from GitHub into a temp directory. Use main branch unless --branch specifies otherwise.
      FRAMEWORK_REPO="https://github.com/joris887/exosuit.git"
      TEMP_DIR=$(mktemp -d)
      git clone --depth 1 [--branch <branch>] "$FRAMEWORK_REPO" "$TEMP_DIR"
      
    • Local path override: If $ARGUMENTS is a directory path, use it directly (for testing local changes before pushing).
    • Validate: The source (cloned or local) must contain .claude/skills/, .claude/hooks/, CLAUDE.md.
  2. Current version — Read SKILLS_INVENTORY.md, extract Framework Version: line. Record as CURRENT_VERSION.

  3. New version — Read <source>/CHANGELOG.md or <source>/.claude/skills/SKILLS_INVENTORY.md for version. Record as NEW_VERSION.

  4. Git safety — Verify working tree is clean (git status --porcelain). If dirty, HALT: "Commit or stash changes before upgrading."

  5. Report: "Upgrading framework: v{CURRENT} → v{NEW}. Source: {GitHub main | GitHub branch | local path}. Branch: {branch}."

  6. Parse Version Log:

    Read CHANGELOG.md from the new framework version. Find all version entries between CURRENT_VERSION and NEW_VERSION.

    For each version entry, collect:

    • CORE_REPLACE files — will be replaced automatically
    • CORE_MERGE files — will be merged (preserve project-specific sections)
    • PROJECT_UPDATE_INSTRUCTIONS — manual steps for project-specific files

    Also read core/MANIFEST.md from the new framework version for file classification reference.

    Present a targeted upgrade plan based on the changelog:

    ## Targeted Upgrade: v{CURRENT} → v{NEW}
    
    ### Automatic (CORE files to replace/add)
    - [file]: [new/changed] (from version X.Y.Z)
    
    ### Merge Required (CORE files with project sections)
    - [file]: [what to merge] (from version X.Y.Z)
    
    ### Manual Steps (project-specific updates)
    - [instruction from PROJECT_UPDATE_INSTRUCTIONS] (from version X.Y.Z)
    

Read the full file on GitHub · 247 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. 3mo ago First seen · 247 lines · 18 tokens per session scan B ed3d3d5e96f7

Subscribe to this mod's changes

framework-upgrade is a skill published in the GitHub repository joris887/exosuit (12 stars, last pushed 28d ago), licensed MIT. It adds 18 tokens to every session and 2,661 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

framework-upgrade compared with skills from other repositories

framework-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
framework-upgradejoris887/exosuitSkill1228d agoMITB18Claude Code
build-teaql-appteaql/teaql-agent-kitSkill2.8k21d agoMITA112Codex
context-exclusionteaql/teaql-agent-kitSkill2.8k21d agoMITA41Claude Code
eval-agentsFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A80Claude Code
land-and-deployFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A41Claude Code
source-command-methodology-advisorFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A27Claude Code, Codex
methodology-advisorFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A61Claude Code