baseline: Skill for Claude Code

.claude/skills/upgrade-project/SKILL.md

upgrade-project is a skill for Claude Code from friedbotstudio/baseline. It costs 122 tokens per session (3,259 once invoked), scanned C, original, Apache-2.0.

A guided procedure for reconciling project files after a baseline upgrade finds local customisations. It compares the old version, the new version, and the project's current file before producing a reconciled result.

In plain words
What is it for?
Use it after a baseline upgrade pauses for manual merging of customised configuration, instructions, or workflow files.
Why use it?
It helps preserve intentional local changes while incorporating updates from the newer baseline.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is friedbotstudio/baseline's own configuration. It tells Claude Code how to work on baseline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything baseline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to friedbotstudio/baseline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/friedbotstudio/baseline/main/.claude/skills/upgrade-project/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/friedbotstudio/baseline

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/friedbotstudio/baseline/upgrade-project"><img src="https://agentmods.dev/badge/skills/friedbotstudio/baseline/upgrade-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00122 $0.03259
Opus 5.5 $0.00049 $0.01304
Sonnet 5.5 $0.00024 $0.00652
Haiku 4.5 $0.00012 $0.00326

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

Security

Grade C, and why

upgrade-project scanned grade C 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (marker.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

6. **Finalize the stage.** When every entry's status is `RECONCILED`, delete the stage directory (`rm -rf .claude/state/upgrade/<ts>/`). Report per-file status to the user.
.claude/skills/upgrade-project/SKILL.md · 159 lines

How it starts

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

/upgrade-project — semantic-merge reconciliation for baseline files

You are reconciling files that create-baseline upgrade decided required semantic merge rather than mechanical merge. The CLI has already detected per-file customization, classified each file as tier 3 (SEMANTIC) at build time, and staged the three states (BASE / INCOMING / LOCAL) for you to reason about in main context. This skill is the only sanctioned way to drive that staged state to RECONCILED.

This skill is maintenance work, not a workflow phase. It is invoked reactively whenever the upgrade CLI prints the "run /upgrade-project to reconcile" pointer. It does not appear in .claude/state/workflow.json, does not require /triage, and does not trigger consent gates.

When to use

  • The user just ran npx @friedbotstudio/create-baseline upgrade <target> and the CLI exited 5 with a "Pending semantic-merge stage at " message.
  • The user types /upgrade-project or asks "reconcile the staged files".
  • A previous /upgrade-project invocation hit a NEEDS_USER_INPUT fallback, the user provided direction, and you re-invoke to pick up where you left off.

Inputs (read from disk)

For each stage directory under .claude/state/upgrade/:

  • manifest.json — the stage manifest the CLI wrote. Schema:
    {
      "stage_version": 1,
      "slug": "upgrade-flow-rework",
      "created_at": "2026-05-20T14:49:00.000Z",
      "baseline_version_from": "0.4.0",
      "baseline_version_to": "0.5.0",
      "files": [
        {
          "rel": "docs/init/seed.md",
          "base_sha256": "<hex>" | null,
          "incoming_sha256": "<hex>",
          "local_sha256": "<hex>",
          "status": "PENDING"
        }
      ]
    }
    
    base_sha256 is the per-entry classification discriminator: a 64-hex string means the CLI staged a recoverable BASE (three-way reconciliation); the JSON value null means BASE was unrecoverable when the user picked Merge on the tier-1 prompt (two-way reconciliation). See tier1-merge-option spec §Design pick 1A.
  • For each entry, the staged artifacts are:
    • <rel>.baseline-incoming — the INCOMING content. Always present.
    • <rel>.baseline-base — the BASE content. Present iff base_sha256 is a string; absent for BASE-less entries.
    • The LOCAL file remains at its real path inside the target tree (untouched by the CLI).

Read the full file on GitHub · 159 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 159 lines · 122 tokens per session scan C 884e47dd265e

Subscribe to this mod's changes

upgrade-project is a skill published in the GitHub repository friedbotstudio/baseline (14 stars, last pushed 13d ago), licensed Apache-2.0. It adds 122 tokens to every session and 3,259 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

starting-a-new-project

Use when the workspace is empty, has no code, and the user brings a raw project idea. Normally reached via setting-up-a-project; not for an existing project.

JetBrains/thinkrail · 39 tokens

customer-success

Support workflows, ticketing systems (Zendesk, Intercom), knowledge base design, chatbot design, and metrics (CSAT, NPS). Use when building support infrastructure, designing help centers, or optimizing customer experience.

travisjneuman/.claude · 47 tokens

event-planner

Event planning with timelines, budgets, vendor coordination, logistics checklists, and post-event evaluation. Use when organizing conferences, workshops, galas, or corporate events.

travisjneuman/.claude · 37 tokens

operations

Operations excellence expertise for supply chain optimization, process improvement (Lean, Six Sigma), capacity planning, vendor management, quality assurance, and operational efficiency. Use when optimizing processes, managing supply chains, or improving operational performance.

travisjneuman/.claude · 45 tokens

hr-talent

HR and talent management expertise for talent acquisition, performance management, compensation strategy, organizational design, culture building, succession planning, and D&I programs. Use when hiring, managing performance, designing organizations, or building culture.

travisjneuman/.claude · 47 tokens

innovation

Innovation management expertise for innovation frameworks (Design Thinking, Stage-Gate), ideation processes, innovation portfolio management, venture capital, open innovation, and IP strategy. Use when driving innovation, managing R&D portfolios, or building innovation programs.

travisjneuman/.claude · 49 tokens