Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

startup-perf

Skill by microsoft

Measures Aspire startup performance by capturing CLI self-profile traces with the hidden --capture-profile flag. It is for developers who need to measure, validate, or investigate Aspire startup timing.

  • Score 83
  • 6.5k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install startup-perf

Built from the published package, never by AI.

git clone --depth 1 https://github.com/microsoft/aspire /tmp/aspire && mkdir -p ~/.claude/skills && cp -r /tmp/aspire/.agents/skills/startup-perf ~/.claude/skills/startup-perf

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install startup-perf in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Startup-perf is a skill for measuring and investigating Aspire startup performance. It uses the hidden --capture-profile CLI flag, which starts a private standalone dashboard collector, enables profiling-only OTEL instrumentation for the command and child AppHost processes, and exports a trace archive. The command then exits with the wrapped command's exit code.

Profiling is opt-in through ASPIRE_PROFILING_ENABLED and keeps profiling data separate from reported telemetry. The output is a zip containing traces/profile.json, which can be inspected for CLI, Hosting, and dcp.startup spans. It suits developers comparing startup timings before and after changes, using separate worktrees. It produces artifacts only and is not a statistical benchmark runner by itself.

Written from the project's SKILL.md and checked against it.

What it can do

  • Self-profile captureWraps any Aspire command with --capture-profile and writes a trace zip.
  • Startup trace exportExports traces/profile.json from a private dashboard collector.
  • Before and after comparisonCompares span names, durations and trace correlation across separate worktrees.
  • Span inspectionLists scope and span names with jq to check CLI, Hosting and DCP spans.
  • Capture optionsSets the output path and warmup delay with --capture-profile-output and --capture-profile-delay.

What you need

  • An Aspire CLI build that contains --capture-profile
  • A repo checkout with ./restore.sh and ./dotnet.sh for local builds
  • unzip and jq to inspect the exported trace

Try asking

  • Capture a startup profile for my AppHost and save it to artifacts/tmp.
  • Compare startup spans between my baseline and feature worktrees.
  • Check whether my startup trace contains Aspire.Hosting.Profiling spans.

Good to know

  • Uses a hidden CLI flag, --capture-profile.
  • Produces artifacts only, not a statistical benchmark runner.
  • Parallel runs can conflict on AppHost ports pinned in launch profiles.
  • Requires a CLI build that includes --capture-profile.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/startup-perf/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to startup-perf

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

startup-perf: common questions

How do I turn on Aspire startup profiling?

Profiling is opt-in and is enabled with ASPIRE_PROFILING_ENABLED set to true or 1. The capture then runs through the --capture-profile flag.

Does profiling data show up in reported telemetry?

No. The source says reported telemetry must not carry profiling session IDs, high-cardinality profiling tags, or profiling spans.

Can I run several Aspire profile captures at once?

Yes, each capture allocates its own collector ports and profiling session ID. Each run still needs a distinct output path, and AppHost ports may conflict.

How do I install startup-perf?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is startup-perf free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is startup-perf safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to startup-perf?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

startup-perf Install

Add to stack

Loading.