Infrahub Planning Upgrades logo

Infrahub Planning Upgrades

Organization
opsmill
infrahub-planning-upgrades

Plans a version-by-version Infrahub upgrade path and scores each release's breaking changes against the user's repository and instance, producing UPGRADE_PLAN.md. TRIGGER when: planning an Infrahub upgrade, asking what breaks between two versions, checking upgrade impact before a maintenance window, asked to "just run the upgrade", updating or extending an existing UPGRADE_PLAN.md after the target release or the repository moved, debugging a plan that missed a breaking change. DO NOT TRIGGER when: auditing a repo against best practices, querying live data, designing schemas, collecting diagnostics after a failed upgrade, switching between the Community and Enterprise editions. ALWAYS pass the user's request verbatim as args, versions, pasted schema, deployment, and edition included: this skill runs in a forked context and cannot see the parent conversation.

Overview

Publisheropsmill
Repositoryinfrahub-skills
Skill nameinfrahub-planning-upgrades
Stars
27
Forks
0
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by opsmill on GitHub. Read the source before you install it.

Installation

Install the Infrahub Planning Upgrades AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/opsmill/infrahub-skills/tree/main/skills/infrahub-planning-upgrades
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opsmill/infrahub-skills.git /tmp/infrahub-skills
mkdir -p .claude/skills
cp -r /tmp/infrahub-skills/skills/infrahub-planning-upgrades .claude/skills/infrahub-planning-upgrades
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Infrahub Planning Upgrades in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Infrahub Planning Upgrades on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Infrahub Planning Upgrades is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Infrahub Upgrade Path Planner

Overview

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.

Project Context

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.

Workflow

  1. Fix the endpoints and the hops. Infrahub supports upgrades only from the previous minor version (N-1), so 1.6.3 to 1.9.0 is three hops: 1.6 to 1.7, 1.7 to 1.8, 1.8 to 1.9. Never plan a jump across minors, even when the user asks for "one go". Patches are different: one upgrade applies every pending migration in order, so 1.9.1 to 1.9.6 is a single hop, and a minor hop can start from any patch of the previous minor (1.9.1 to 1.10.0). Rolling up patches within the current minor first (1.10.8 to 1.10.10) is fine as its own section, not a requirement.
  2. Enumerate every release in the range, patches included, and read each one's notes. Read rules/sources-enumerate-every-hop.md before fetching anything: breaking changes ship in patch releases, and no machine-readable flag marks them.
  3. Inventory the repository. Schema YAML, .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.
  4. Give every finding a verdict and back it. Read rules/impact-verdict-needs-evidence.md before filling the Affected and Evidence columns.
  5. Probe, read-only. Read rules/safety-read-only-probes.md before running or showing any command, and again if the user asks you to run the upgrade.
  6. Write 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:

Plan Format

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:

ChangeReleaseKindSeverityWhenAffectedEvidenceActionSource
ColumnValues
Releaseone version, X.Y.Z, never a range
Kindbreaking or preparation
Severitycritical, warning, or info
Whenbefore, during, or after the hop
Affectedyes, no, or unknown

What each value means, and a worked example, are in reference.md. Read it before writing the first row.

Rule Categories

CategoryPrefixRules
Sourcessources-sources-enumerate-every-hop
Impactimpact-impact-verdict-needs-evidence
Safetysafety-safety-read-only-probes

Supporting References

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Infrahub Planning Upgrades AI skill do?

Plans a version-by-version Infrahub upgrade path and scores each release's breaking changes against the user's repository and instance, producing UPGRADE_PLAN.md. TRIGGER when: planning an Infrahub upgrade, asking what breaks between two versions, checking upgrade impact before a maintenance window, asked to "just run the upgrade", updating or extending an existing UPGRADE_PLAN.md after the target release or the repository moved, debugging a plan that missed a breaking change. DO NOT TRIGGER when: auditing a repo against best practices, querying live data, designing schemas, collecting diag...

Why use Infrahub Planning Upgrades on TypingMind?

Because you install it once and use it with any model. Infrahub Planning Upgrades is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Infrahub Planning Upgrades in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/opsmill/infrahub-skills/tree/main/skills/infrahub-planning-upgrades. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Infrahub Planning Upgrades?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Infrahub Planning Upgrades?

As many as you like. As long as a model supports skills, you can use Infrahub Planning Upgrades with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Infrahub Planning Upgrades AI skill free?

It is published on GitHub by opsmill. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇