/infrahub:infrahub-planning-upgrades [the user's upgrade request, verbatim]from infrahub
Plans a version-by-version Infrahub upgrade path, scoring breaking changes against the user's repository and instance, producing UPGRADE_PLAN.md.
Ships in infrahub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produces UPGRADE_PLAN.md: the route from the running
Infrahub version to the target, one hop per minor
version, with every breaking change in that range
checked against this repository and, when reachable,
this instance.
The plan describes how to upgrade; it does not upgrade. It never runs the upgrade, a schema load, or a branch write, and it never hands the user the upgrade command. It may run and show read-only probes. The user's deployment method (Docker Compose, Helm, Enterprise, Community) decides the exact commands, and the upgrade guide for that deployment owns them.
Versions, not editions. The plan covers a move to a later version within one edition. Switching between Community and Enterprise, in either direction, is not a version upgrade and the release notes do not cover it. Say so and point at https://docs.infrahub.app/overview/community-vs-enterprise#migration-path instead of planning it. A request that does both plans the version upgrade only and names the edition change as out of scope.
Write is granted for UPGRADE_PLAN.md only. Bash is
granted for reading release notes with gh and for the
read-only probes.
This skill runs in a forked context and has no view of
the parent conversation, so the user's request arrives
verbatim as the arguments: the versions, and everything
else the plan depends on, such as a pasted schema, the
deployment method (step 6 picks the upgrade guide from
it), the edition, and any pressure to "just run it".
For example:
/infrahub:planning-upgrades We run 1.9.2 on Docker Compose, Community, and want 1.10.0. Here is our schema: ...
With no target, ask for one. With no current version,
read it from infrahubctl info (Infrahub Version:),
and ask if the server is unreachable.
.infrahub.yml, GraphQL queries, and the Python
checks, generators, and transforms. If an instance
is reachable, confirm it with infrahubctl info
(connectivity-server-check)
and read live data through the MCP read tools
(mcp-tools).
The instance is optional; the repository is not.Affected and Evidence
columns.UPGRADE_PLAN.md in the shape below.
Each hop's steps are prose: take a backup, clear
the before findings, upgrade to the hop's target
following the upgrade guide, clear the during and
after findings. Link the guide rather than
transcribing it, picking the edition page when you
know the edition:
One ## section per hop, in ascending order, with the
hop's two versions in the heading (## 1.9 -> 1.10).
Each hop carries one findings table with these nine
columns, in this order:
| Change | Release | Kind | Severity | When | Affected | Evidence | Action | Source |
|---|
| Column | Values |
|---|---|
Release | one version, X.Y.Z, never a range |
Kind | breaking or preparation |
Severity | critical, warning, or info |
When | before, during, or after the hop |
Affected | yes, no, or unknown |
What each value means, and a worked example, are in reference.md. Read it before writing the first row.
| Category | Prefix | Rules |
|---|---|---|
| Sources | sources- | sources-enumerate-every-hop |
| Impact | impact- | impact-verdict-needs-evidence |
| Safety | safety- | safety-read-only-probes |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
infrahub@opsmill is listed by opsmill/claude-marketplace — review the source before installing
npx claudepluginhub opsmill/claude-marketplace --plugin infrahub18 skills in this plugin
/infrahub-analyzing-dataAnalyzes and correlates live Infrahub data via the MCP server — answers operational questions, detects drift, and investigates impact. TRIGGER when: querying infrastructure data, checking compliance, investigating change impact, producing ad-hoc reports. DO NOT TRIGGER when: writing automated checks, building transforms, designing schemas, populating data files, planning an Infrahub version upgrade (use infrahub-planning-upgrades). ALWAYS pass the user's question verbatim as args — this skill runs in a forked context and cannot see the parent conversation. Invoking without args will fail./infrahub-analyzing-diagnosticsAnalyze an already-collected infrahub-collect diagnostic bundle — traceback and failure triage across service logs, incident correlation, and known-issue matching against opsmill/infrahub GitHub issues. TRIGGER when: the user says they collected a diagnostic bundle, gives you a bundle path, or pastes bundle contents — and asks what's wrong, wants the logs or tracebacks analyzed, asks "what does this bundle say", wants errors triaged/correlated, or asks whether a crash is a known issue. DO NOT TRIGGER when: no bundle exists yet — collect one first (use infrahub-collecting-diagnostics), filing the issue itself (use infrahub-reporting-issues), or querying live data (use infrahub-analyzing-data)./infrahub-auditing-repoAudits an Infrahub repository against best practices and rules, producing a structured compliance report. TRIGGER when: reviewing repo for compliance, onboarding to existing project, pre-deployment validation, catching issues. DO NOT TRIGGER when: creating schemas, writing checks/generators, querying live data, populating objects, planning an Infrahub version upgrade (use infrahub-planning-upgrades). ALWAYS pass the user's request verbatim as args, with any scope, path, or focus they named. This skill runs in a forked context and cannot see the parent conversation./infrahub-collecting-diagnosticsCollect a redacted local diagnostic bundle (logs, config, version, state) for an OpsMill expert hand-off. TRIGGER when: Infrahub is broken/failing/erroring, the user asks for help debugging, wants to collect logs/diagnostics, prepares a hand-off for OpsMill support, or reports a crash/timeout/connection issue (upgrade failure, stuck branch, container CrashLoopBackOff, 500s, OOM). DO NOT TRIGGER when: debugging a check, transform, generator, menu, or schema in the repository (use the infrahub-managing-* skills), a bundle has already been collected and the user wants it analyzed (use infrahub-analyzing-diagnostics), filing a public GitHub issue (use infrahub-reporting-issues), running operational queries (use infrahub-analyzing-data), or planning an upgrade that has not run yet (use infrahub-planning-upgrades)./infrahub-commonShared references and cross-cutting rules for all Infrahub skills — GraphQL syntax, .infrahub.yml format, and common patterns. DO NOT TRIGGER directly — loaded automatically by other Infrahub skills when they need shared references./infrahub-converting-netbox-device-typesConverts NetBox device-type and module-type definitions (the netbox-community devicetype-library format, also published via the NetBox Data Exchange / NDX) into Infrahub object templates as Infrahub object YAML, using a bundled Python converter driven by a schema mapping profile. TRIGGER when: importing NetBox device types or module types, exporting device types from a running NetBox instance, building object templates from vendor device models, converting line cards / PSUs / transceivers from NetBox module types into Template* objects, re-running a conversion after changing the mapping profile, debugging a wrong or failed conversion. DO NOT TRIGGER when: importing CSV/TSV data (use infrahub-importing-data), authoring schemas from scratch (use infrahub-managing-schemas), writing ordinary object data files (use infrahub-managing-objects), or setting up continuous two-way replication with a live NetBox (that is infrahub-sync, a separate product; a one-off export of device types is in scope here).Other plugins' skills for the same job