Agent skill

Netdaemon Nuget Upgrade

by net-daemon in net-daemon/netdaemon

Upgrade all or selected NuGet packages in net-daemon/netdaemon with dotnet-outdated, validate the full solution, and optionally publish a dependency-update PR with gh-axi.

MITAuto-check passedDevelopment

Install Netdaemon Nuget Upgrade

skills CLI
$ npx skills add net-daemon/netdaemon --skill netdaemon-nuget-upgrade -a claude-code

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

GitHub CLI
$ gh skill install net-daemon/netdaemon netdaemon-nuget-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/net-daemon/netdaemon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/netdaemon-nuget-upgrade .claude/skills/netdaemon-nuget-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
netdaemon-nuget-upgrade
GitHub stars
312
Token cost
~1.4k tokens
SKILL.md length
535 words
Files
2
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Upgrade all or selected NuGet packages in net-daemon/netdaemon with dotnet-outdated, validate the full solution, and optionally publish a dependency-update PR with gh-axi.

  • Works in 12 steps: Fetch origin, confirm that the worktree… → Check the tool → Run the dry-run exactly → …
  • Routine NuGet refreshes
  • SKILL.md covers Purpose, Ground Rules, Workflow and PR Body
  • Calls dotnet and git

What it does

Netdaemon Nuget Upgrade is an agent skill from net-daemon/netdaemon. Upgrade all or selected NuGet packages in net-daemon/netdaemon with dotnet-outdated, validate the full solution, and optionally publish a dependency-update PR with gh-axi. Use for routine NuGet refreshes, consolidated Dependabot replacements, and package-upgrade branches in the NetDaemon repository.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Dependency management. It works with .NET and Home Assistant. The repository describes itself as: An application daemon for Home Assistant written in .NET. The licence is MIT.

When your agent uses it

  • Routine NuGet refreshes
  • Consolidated Dependabot replacements
  • Package-upgrade branches in the NetDaemon repository

Example prompts

  • “/netdaemon-nuget-upgrade”

Requirements

  • Docker

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Fetch origin, confirm that the worktree is clean, update local main with a fast-forward only, and create a branch such as…
  2. Check the tool
  3. Run the dry-run exactly
  4. Apply the update only after the dry-run is clean
  5. Verify the package diff before testing
  6. Run the full test command
  7. If Docker blocks local integration tests, still run the CI unit-test projects explicitly
  8. Re-run the dry-run and require this result before publishing
  9. Stage only intended project-file changes and any user-requested process files. Do not stage TestResults or other generated outputs. Then…
  10. Commit with a plain message such as
  11. Push the branch and create the PR with gh-axi
  12. Check initial CI

What it can do on your machine

Read from SKILL.md and the folder at commit 7fe0582. 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
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Netdaemon Nuget Upgrade loads about 1.4k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 535 words of instructions outside code blocks.

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

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 net-daemon/netdaemon at commit 7fe0582, republished under its MIT licence (© net-daemon). 535 words, ~1,352 tokens.

Download SKILL.mdSave it as .claude/skills/netdaemon-nuget-upgrade/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
netdaemon-nuget-upgrade
description
Upgrade all or selected NuGet packages in net-daemon/netdaemon with dotnet-outdated, validate the full solution, and optionally publish a dependency-update PR with gh-axi. Use for routine NuGet refreshes, consolidated Dependabot replacements, and package-upgrade branches in the NetDaemon repository.

NetDaemon NuGet Upgrade

Purpose

Use this project-local workflow to upgrade NetDaemon NuGet packages and prove the resulting dependency set before publishing it.

Ground Rules

  • Work from the NetDaemon repo root unless the user gives another checkout.
  • Inspect git status first and preserve unrelated work. When the user requests a branch without a worktree, work directly in the checkout and keep the dependency change on its own branch.
  • Follow AGENTS.md: use gh-axi for GitHub work and never add an agent co-author.
  • Use the existing repo label pr: dependency-update with the space after the colon. Do not create a duplicate no-space label.
  • Upgrade every package reported by the dry-run when the user asks for all packages. Do not silently exclude MQTT or other package families. Call out major-version updates before applying them.
  • Only commit, push, or open a PR when the user authorizes those actions.
  • If the task includes merging a PR, ask the user immediately before each merge.

Workflow

  1. Fetch origin, confirm that the worktree is clean, update local main with a fast-forward only, and create a branch such as codex/upgrade-nuget-packages. Use a date or short suffix if that branch already exists.
  2. Check the tool:
    bash
    dotnet outdated --version
    If dotnet-outdated is missing, install or restore it only after confirming the appropriate project-local/global approach. If .NET first-run output mentions dotnet workload update, treat that as informational; do not upgrade the SDK or workloads unless the user requests it. If an isolated execution environment fails while the user's CLI works, retry with normal local .NET/NuGet access before changing global.json, the SDK, or project files.
  3. Run the dry-run exactly:
    bash
    dotnet outdated
    Review the proposed package IDs and highlight major-version changes.
  4. Apply the update only after the dry-run is clean:
    bash
    dotnet outdated -u
  5. Verify the package diff before testing:
    bash
    git diff --stat
    git diff --check
    Confirm that only intended project files and package versions changed.
  6. Run the full test command:
    bash
    dotnet test NetDaemon.sln --configuration Release --logger "trx;LogFileName=netdaemon-tests.trx" --verbosity quiet
    If the only failure is the Docker-backed integration project reporting DockerUnavailableException, inactive Docker, or an unreachable Docker socket, treat it as a local environment limitation. The owner will handle Docker; do not block the dependency-update PR solely on that local Docker failure.
  7. If Docker blocks local integration tests, still run the CI unit-test projects explicitly:
    bash
    dotnet test src/HassModel/NetDaemon.HassModel.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-hassmodel.trx" --verbosity quiet
    dotnet test src/Extensions/NetDaemon.Extensions.Scheduling.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-scheduling.trx" --verbosity quiet
    dotnet test src/Client/NetDaemon.HassClient.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-hassclient.trx" --verbosity quiet
    dotnet test src/AppModel/NetDaemon.AppModel.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-appmodel.trx" --verbosity quiet
    dotnet test src/Runtime/NetDaemon.Runtime.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-runtime.trx" --verbosity quiet
    Fix any non-Docker test, build, lint, or diff-check failure before publishing.
  8. Re-run the dry-run and require this result before publishing:
    bash
    dotnet outdated
    Confirm that it reports No outdated dependencies were detected.
  9. Stage only intended project-file changes and any user-requested process files. Do not stage TestResults or other generated outputs. Then verify the staged diff:
    bash
    git diff --cached --check
    git diff --cached --stat
  10. Commit with a plain message such as:
Show full SKILL.md (110 more words)Show less
bash
git commit -m "Upgrade NuGet packages"

Preserve repository signing behavior and verify the resulting commit signature and clean worktree before pushing. 11. Push the branch and create the PR with gh-axi:

bash
git push -u origin <branch>
gh-axi pr create --title "Upgrade NuGet packages" --body-file <body-file> --base main --head <branch> --label "pr: dependency-update"

Make the PR ready for review unless the user asks for a draft or a non-Docker validation issue remains. 12. Check initial CI: bash gh-axi pr checks <number>

PR Body

Include:

  • dotnet outdated dry-run completed successfully.
  • dotnet outdated -u applied the upgrades.
  • Test commands and outcomes.
  • The post-upgrade dotnet outdated result.
  • Any build warnings, even when they are in unchanged files and do not fail validation.
  • A short note if local Docker prevented the integration project from running, while CI is expected to cover it.

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

Files

SKILL.md and 1 other file in .codex/skills/netdaemon-nuget-upgrade of net-daemon/netdaemon.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 7fe0582

Compare with similar skills

Netdaemon Nuget 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.

Netdaemon Nuget Upgrade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Netdaemon Nuget Upgrade this skillnet-daemon/netdaemon312—~1.4kAutomated safety check: PassMIT
Update .NET OS Packagesdotnet/core22k—~2.3kAutomated safety check: PassMIT
GitVersion .NET DevelopmentGitTools/GitVersion3.1k—~1.7kAutomated safety check: PassMIT
Dependency UpdaterAsvarox/allkaraoke2614 repos~3.5kAutomated safety check: PassMIT
Update .NET Distro Packagesdotnet/core22k—~4.3kAutomated safety check: NotesMIT
Bundle Dependency PRsmicrosoft/vs-validation1431 repos~588Automated safety check: PassCustom licence

Similar skills

  • 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
  • GitVersion .NET Development

    GitTools/GitVersion

    Gives repository-specific .NET guidance for GitVersion: build and test commands, central package management, project layout and coding conventions.

    3.1k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dependency Updater

    Asvarox/allkaraoke

    Smart dependency management for any language. An agent skill from Asvarox/allkaraoke.

    261 GitHub starsUsed in 4 repos~3.5k tokens
    DevelopmentAuto-check passed
  • Official

    Creates and maintains the per-distro JSON files that list the native packages .NET needs on each Linux distribution, scoped to one .NET version.

    22k GitHub stars~4.3k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Bundle Dependency PRs

    microsoft/vs-validation

    Official

    Fix broken dependency update PRs and aggregate the ones that work into one PR.

    143 GitHub starsUsed in 1 repo~588 tokens
    DevelopmentAuto-check passed
  • Update Dotty Docs

    newrelic/newrelic-dotnet-agent

    A skill your agent uses when the user mentions a Dotty PR, dotty (package/dependency) updates, or asks to update the .NET agent compatibility docs / net-agent-compatibility-requirements after tested…

    117 GitHub stars~2.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

Categories

Questions about Netdaemon Nuget Upgrade

What does Netdaemon Nuget Upgrade do?

Upgrade all or selected NuGet packages in net-daemon/netdaemon with dotnet-outdated, validate the full solution, and optionally publish a dependency-update PR with gh-axi. Netdaemon Nuget Upgrade is an agent skill from net-daemon/netdaemon. Upgrade all or selected NuGet packages in net-daemon/netdaemon with dotnet-outdated, validate the full solution, and optionally publish a dependency-update PR with gh-axi.

When should I use Netdaemon Nuget Upgrade?

Netdaemon Nuget Upgrade fits situations like: routine NuGet refreshes; consolidated Dependabot replacements; package-upgrade branches in the NetDaemon repository.

How do I install Netdaemon Nuget Upgrade in Claude Code?

Run `npx skills add net-daemon/netdaemon --skill netdaemon-nuget-upgrade -a claude-code`. Or copy the skill folder (.codex/skills/netdaemon-nuget-upgrade in net-daemon/netdaemon) into .claude/skills/netdaemon-nuget-upgrade in your project. Claude Code loads it when a task matches its description.

How do I install Netdaemon Nuget Upgrade in Codex?

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

Can I use Netdaemon Nuget 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 net-daemon/netdaemon --skill netdaemon-nuget-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/netdaemon-nuget-upgrade, .gemini/skills/netdaemon-nuget-upgrade, .github/skills/netdaemon-nuget-upgrade and .opencode/skills/netdaemon-nuget-upgrade in your project.

What does Netdaemon Nuget Upgrade need to run?

Going by SKILL.md and its folder, Netdaemon Nuget Upgrade needs the command-line tools its instructions call (dotnet and git). Our summary lists: Docker.

Does Netdaemon Nuget Upgrade access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Netdaemon Nuget 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 Netdaemon Nuget Upgrade use?

Netdaemon Nuget 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 Netdaemon Nuget Upgrade use?

About 1.4k tokens (SKILL.md is roughly 5.4k 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 Netdaemon Nuget Upgrade?

Skills that share tags, products or a category with Netdaemon Nuget Upgrade: Update .NET OS Packages (dotnet/core, 22k stars), GitVersion .NET Development (GitTools/GitVersion, 3.1k stars), Dependency Updater (Asvarox/allkaraoke, 261 stars) and Update .NET Distro Packages (dotnet/core, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Netdaemon Nuget Upgrade?

net-daemon (a GitHub organization) maintains it in net-daemon/netdaemon, which has 312 GitHub stars. The repository was last updated on October 8, 2026.

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