aspire-init

aspire-init is a skill for Claude Code from thangchung/agent-engineering-experiment. It costs 210 tokens per session (1,995 once invoked), scanned C, original, MIT.

A first-run setup workflow for Aspire, Microsoft’s tool for coordinating distributed .NET applications and their supporting services. It creates the initial AppHost, the project that describes and runs those application resources.

In plain words
What is it for?
Adding Aspire to a new or existing repository, choosing between a new project and initialising an existing one, checking prerequisites, and preparing the AppHost for resource wiring.
Why use it?
It determines whether the repository needs a new Aspire setup and creates the appropriate starting structure before other resources are connected.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`aspireify`](../aspireify/SKILL.md) for the actual resource wiring..

Good fit Adding Aspire to a new or existing repository, choosing between a new project and initialising an existing one, checking prerequisites, and preparing the AppHost for resource wiring.

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/thangchung/agent-engineering-experiment
agentmods
npx agentmods add skills/thangchung/agent-engineering-experiment/aspire-init

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 aspire-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/thangchung/agent-engineering-experiment/aspire-init/github.svg)](https://agentmods.dev/skills/thangchung/agent-engineering-experiment/aspire-init)
Your own site
<a href="https://agentmods.dev/skills/thangchung/agent-engineering-experiment/aspire-init"><img src="https://agentmods.dev/badge/skills/thangchung/agent-engineering-experiment/aspire-init/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 aspire-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/thangchung/agent-engineering-experiment/aspire-init"><img src="https://agentmods.dev/badge/skills/thangchung/agent-engineering-experiment/aspire-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,995 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00210 $0.01995
Opus 5.5 $0.00084 $0.00798
Sonnet 5.5 $0.00042 $0.00399
Haiku 4.5 $0.00021 $0.00199

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

Security

Grade C, and why

aspire-init scanned grade C with 2 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 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| Aspire CLI (curl installer) | `curl -sSL https://aspire.dev/install.sh \| bash` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Aspire CLI (curl installer) | `curl -sSL https://aspire.dev/install.sh \| bash` |
agentgateway-entraid-obo/.claude/skills/aspire-init/SKILL.md · 147 lines

How it starts

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

Aspire Init

First-run only. This skill owns the skeleton drop and template choice for repositories that do not yet have an Aspire AppHost. Once the skeleton is in place, hand off to aspireify for the actual resource wiring.

Prerequisites

Requirement Install
.NET 10.0 SDK https://dotnet.microsoft.com/download
Aspire CLI (curl installer) curl -sSL https://aspire.dev/install.sh | bash
Aspire CLI (NativeAOT global tool) dotnet tool install -g Aspire.Cli (.NET 10 required)
Diagnose missing prerequisites aspire doctor

Aspire ships the CLI as a NativeAOT .NET global tool — instant startup, no JIT warmup. The curl/PowerShell installer remains supported for environments without .NET 10.

Detection

Activate only when adding Aspire to a workspace that does not yet have one. Confirm ALL of the following before running aspire init:

Signal How to Detect Meaning
No C# AppHost No .csproj containing Aspire.AppHost.Sdk OK to init
No file-based AppHost No apphost.cs with #:sdk Aspire.AppHost.Sdk OK to init
No TypeScript AppHost No apphost.ts in repo root OK to init
No Aspire config No aspire.config.json in repo root OK to init
User intent Explicit "add Aspire", "scaffold Aspire", "aspire init" OK to init

If any AppHost signal is already present, do not run aspire init. Route to aspireify (re-wire) or aspire-orchestration (lifecycle).

Decision: aspire new vs aspire init

Situation Command Why
Empty directory or brand-new project aspire new <template> Generates a full starter solution
Existing repo with services to model aspire init Drops minimal skeleton + aspire.config.json next to existing code
User wants a sample to learn from aspire new aspire-starter Includes ApiService + Web + ServiceDefaults
User wants the smallest possible scaffold aspire new aspire-empty (C#) or aspire new aspire-ts-empty (TS) No resources pre-wired
User wants Python services aspire new aspire-py-starter (TypeScript AppHost drives Python) Not dotnet new — that template was removed in 13.3

Read the full file on GitHub · 147 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 · 147 lines · 210 tokens per session scan C 8ed5dd0709d9

Subscribe to this mod's changes

aspire-init is a skill published in the GitHub repository thangchung/agent-engineering-experiment (27 stars, last pushed 13d ago), licensed MIT. It adds 210 tokens to every session and 1,995 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

aspire-init compared with skills from other repositories

aspire-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aspire-initthangchung/agent-engineering-experimentSkill2713d agoMITC210Claude Code
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code