Agent skill

Aspire Upgrade

by CommunityToolkit in CommunityToolkit/Aspire

Update the Aspire version in the repository to the latest nightly build.

MITAuto-check passed

Install Aspire Upgrade

skills CLI
$ npx skills add CommunityToolkit/Aspire --skill aspire-upgrade -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CommunityToolkit/Aspire aspire-upgrade --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CommunityToolkit/Aspire.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/aspire-upgrade .claude/skills/aspire-upgrade && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aspire-upgrade
GitHub stars
629
Token cost
~817 tokens
SKILL.md length
385 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Update the Aspire version in the repository to the latest nightly build.

  • Works in 5 steps: Update Directory.Build.props → Configure the AppHost SDK version in… → Update TypeScript AppHost… → …
  • SKILL.md covers Step 1: Update…, Step 2: Configure the AppHost…, Step 3: Update TypeScript… and Step 4: Validate the changes, plus 1 more section
  • Calls dotnet; reaches pkgs.dev.azure.com

What it does

Aspire Upgrade is an agent skill from CommunityToolkit/Aspire. Update the Aspire version in the repository to the latest nightly build.

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with .NET. The repository describes itself as: A community project with additional components and extensions for Aspire. The licence is MIT.

Example prompts

  • “/aspire-upgrade”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Update Directory.Build.props
  2. Configure the AppHost SDK version in global.json
  3. Update TypeScript AppHost aspire.config.json files
  4. Validate the changes
  5. Create a pull request

What it can do on your machine

Read from SKILL.md and the folder at commit 69a155d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • pkgs.dev.azure.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aspire Upgrade loads about 817 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 385 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~817

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from CommunityToolkit/Aspire at commit 69a155d, republished under its MIT licence (© CommunityToolkit). 385 words, ~817 tokens.

Download SKILL.mdSave it as .claude/skills/aspire-upgrade/SKILL.md (or your agent's skills folder).
name
aspire-upgrade
description
Update the Aspire version in the repository to the latest nightly build.

aspire-upgrade

The target version prefix is 13.6.

aspire-upgrade

You are responsible for updating the Aspire version in our repo to the latest nightly build.

You are to use the NuGet feed https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json

Look for the latest nightly version that starts with the target version prefix above. To do this, you will need to use the .NET CLI package search feature with the --prerelease and --exact-match flags (and probably best to specify the feed with --source to avoid confusion with any stable versions from nuget.org). Query for the Aspire.AppHost.Sdk package as it is a dependency of all our AppHost projects and will be the most reliable way to find the correct version string.

Here is an example command to find the latest version:

bash
dotnet package search Aspire.AppHost.Sdk --prerelease --exact-match --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json --format json

Parse the result for the latest version that matches the target version prefix. This will be the version you update to in the next steps.

Step 1: Update Directory.Build.props

Update the following values in the root Directory.Build.props file:

xml
<AspireMajorVersion>MAJOR_VERSION</AspireMajorVersion>
<AspireVersion>$(AspireMajorVersion).MINOR_VERSION.PATCH_VERSION-PREVIEW_VERSION</AspireVersion>
<AspirePreviewSuffix></AspirePreviewSuffix>

Where MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION, and PREVIEW_VERSION are the respective parts of the version you found.

When using a nightly build, we want to blank out the AspirePreviewSuffix to avoid confusion with the actual preview versions.

Step 2: Configure the AppHost SDK version in global.json

Set the Aspire.AppHost.Sdk version in the root global.json under msbuild-sdks. This keeps the SDK package version in one place while preserving the standard project SDK reference.

json
"msbuild-sdks": {
  "Aspire.AppHost.Sdk": "VERSION"
}

Search the repository for all .csproj files that reference Aspire.AppHost.Sdk. Each AppHost project should use the standard SDK reference with no version in the project file:

xml
<Project Sdk="Aspire.AppHost.Sdk">
Show full SKILL.md (129 more words)Show less

Step 3: Update TypeScript AppHost aspire.config.json files

Search the entire repository for all aspire.config.json files (typically under examples/ in directories ending with .AppHost.TypeScript). Each file has an sdk.version field that must be updated to the new version.

The sdk.version value should be the full version string (e.g., 13.6.0-preview.1.26475.12).

Use a command like find . -name "aspire.config.json" to locate all files, then update the "version" value inside the "sdk" object in each one.

Step 4: Validate the changes

Run dotnet restore at the repository root to verify the new version resolves correctly. Fix any errors before proceeding.

Step 5: Create a pull request

After all changes are made and validated, create a pull request with the title "Update Aspire version to X.Y.Z" where X.Y.Z is the full version you updated to.

© CommunityToolkit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/aspire-upgrade of CommunityToolkit/Aspire.

Open the folder on GitHubat commit 69a155d

Compare with similar skills

Aspire Upgrade next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aspire Upgrade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aspire Upgrade this skillCommunityToolkit/Aspire629—~817Automated safety check: PassMIT
Minimax DOCXpoco-ai/poco-claw1.4k7 repos~3.9kAutomated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0
Speckit ConstitutionWeihanLi/WeihanLi.Common24211 repos~2.1kAutomated safety check: PassApache-2.0
Copilot Session Failure Analysisdotnet/maui23k—~3.4kAutomated safety check: PassMIT
Microsoft Code ReferenceMicrosoftDocs/mcp1.9k4 repos~1.1kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Minimax DOCX

    poco-ai/poco-claw

    Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).

    1.4k GitHub starsUsed in 7 repos~3.9k tokens
    Documents & OfficeAuto-check passed
  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Speckit Constitution

    WeihanLi/WeihanLi.Common

    Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.

    242 GitHub starsUsed in 11 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals.

    23k GitHub stars~3.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Microsoft Code Reference

    MicrosoftDocs/mcp

    Official

    Find working code samples, verify API signatures, and fix Microsoft SDK errors using official docs.

    1.9k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Audits and updates os-packages.json files listing the Linux packages each .NET release needs per distro, then regenerates the Markdown from the JSON.

    22k GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from CommunityToolkit/Aspire

All 8 skills in this repo
  • Dotnet Inspect

    CommunityToolkit/Aspire

    Query .NET APIs across NuGet packages, platform libraries, and local files.

    629 GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Aspire Monitoring

    CommunityToolkit/Aspire

    ANALYSIS SKILL - Observe Aspire apps: logs, traces, metrics, resource state, telemetry export, browser telemetry, and the standalone dashboard.

    629 GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Aspireify

    CommunityToolkit/Aspire

    WORKFLOW SKILL - Wire Aspire AppHosts or repair TypeScript AppHost toolchains.

    629 GitHub stars~5.3k tokensUpdated yesterday
    Auto-check: notes
  • Aspire Deployment

    CommunityToolkit/Aspire

    WORKFLOW SKILL — Deploy Aspire apps from AppHost models to Docker Compose, Kubernetes, Azure, AWS, or preview Radius.

    629 GitHub stars~4.5k tokensUpdated yesterday
    Auto-check: notes
  • Aspire Project V2 Migration

    CommunityToolkit/Aspire

    WORKFLOW SKILL - Safely migrates eligible Aspire 13.6+ AppHosts from legacy ProjectResource APIs to experimental DotnetProjectResource APIs after a per-resource assessment and explicit approval of…

    629 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Aspire Typescript Apphost

    CommunityToolkit/Aspire

    Generate a TypeScript AppHost from an existing C example AppHost, then add a TypeScriptAppHostTest-based integration test.

    629 GitHub stars~739 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Aspire Upgrade

What does Aspire Upgrade do?

Update the Aspire version in the repository to the latest nightly build. Aspire Upgrade is an agent skill from CommunityToolkit/Aspire. Update the Aspire version in the repository to the latest nightly build.

How do I install Aspire Upgrade in Claude Code?

Run `npx skills add CommunityToolkit/Aspire --skill aspire-upgrade -a claude-code`. Or copy the skill folder (.agents/skills/aspire-upgrade in CommunityToolkit/Aspire) into .claude/skills/aspire-upgrade in your project. Claude Code loads it when a task matches its description.

How do I install Aspire Upgrade in Codex?

Run `npx skills add CommunityToolkit/Aspire --skill aspire-upgrade -a codex`. Or copy the skill folder (.agents/skills/aspire-upgrade in CommunityToolkit/Aspire) into .agents/skills/aspire-upgrade in your project. Codex loads it when a task matches its description.

Can I use Aspire Upgrade in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CommunityToolkit/Aspire --skill aspire-upgrade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aspire-upgrade, .gemini/skills/aspire-upgrade, .github/skills/aspire-upgrade and .opencode/skills/aspire-upgrade in your project.

What does Aspire Upgrade need to run?

Going by SKILL.md and its folder, Aspire Upgrade needs the command-line tools its instructions call (dotnet).

Does Aspire Upgrade access the network?

SKILL.md names 1 domain. In commands or code: pkgs.dev.azure.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Aspire Upgrade safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Aspire Upgrade use?

Aspire Upgrade is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aspire Upgrade use?

About 817 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Aspire Upgrade?

Skills that share tags, products or a category with Aspire Upgrade: Minimax DOCX (poco-ai/poco-claw, 1.4k stars), Microsoft Skill Creator (MicrosoftDocs/mcp, 1.9k stars), Speckit Constitution (WeihanLi/WeihanLi.Common, 242 stars) and Copilot Session Failure Analysis (dotnet/maui, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aspire Upgrade?

CommunityToolkit (a GitHub organization) maintains it in CommunityToolkit/Aspire, which has 629 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.

Source: CommunityToolkit/Aspire on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.