Ha Upgradeのロゴ

Ha Upgrade

コミュニティ
ESJavadex
ha-upgrade

Modernise a Home Assistant config to current syntax — legacy template entities, removed light color_temp/kelvin, renamed purpose-specific triggers, service→action, platform→trigger, plural keys, call-service→perform-action, layout_options→grid_options, lovelace mode yaml. Use when the user asks to upgrade, migrate, modernise or clean up old YAML, or after a release removed something they use.

概要

公開者ESJavadex
リポジトリclaude-homeassistant-plugins
スキル名ha-upgrade
スター
28
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ESJavadexがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ha Upgrade」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ESJavadex/claude-homeassistant-plugins/tree/main/homeassistant-config/skills/ha-upgrade
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ESJavadex/claude-homeassistant-plugins.git /tmp/claude-homeassistant-plugins
mkdir -p .claude/skills
cp -r /tmp/claude-homeassistant-plugins/homeassistant-config/skills/ha-upgrade .claude/skills/ha-upgrade
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHa Upgradeを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHa Upgradeを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ha Upgradeは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Upgrade Home Assistant YAML to current syntax

Target: $ARGUMENTS, or /config.

  1. Inventory. Run python3 "${CLAUDE_PLUGIN_ROOT}/skills/homeassistant-config/scripts/validate_yaml.py" <target> --quiet and, for dashboards, lovelace_validator.py. Get the HA version (cat /config/.HA_VERSION, ha core info) so you never write syntax newer than the install. Before an update: ha core info shows version_latest; re-run the validator with --ha-version=<that release> to list what the update will break, and fix that first.
  2. Plan. Show the user a short table: file, how many findings per level, what you would change. Order by risk:
    • errors first (things that already do not work: legacy platform: template, color_temp/kelvin, removed trigger IDs, mixed old/new keys);
    • then warnings (deprecated, ignored, about to break);
    • info last (service: → action:, platform: → trigger:, plural keys): purely cosmetic, only if the user wants it. Imported blueprints (the validator counts them under imported_blueprints, they have a source_url) are left alone: they are updated by re-importing a newer version (Settings > Blueprints > Re-import), and an edit would be lost on the next re-import. Mention them, don't edit them, unless the user asks. The user's own blueprints are upgraded like any other file. Ask which levels to apply. Stop here until they answer.
  3. Back up every file you will edit, without leaving copies where they get picked up:
    • If the config folder is a git repository (git -C /config rev-parse --is-inside-work-tree), git is the backup: check git -C /config status --short. If the files you will touch have uncommitted changes, ask the user to commit them first. Make no .bak files there: a nightly git add . would commit them.
    • Otherwise copy them to one folder outside the files Home Assistant reads: mkdir -p /config/.claude-backups/$(date +%Y%m%d-%H%M) and cp each file there, keeping its relative path.
  4. Migrate with the Edit tool: targeted edits, keeping comments, order and formatting. Never rewrite a file through a script (yaml.safe_load + yaml.dump, sed over the whole file): that drops comments and !include / !secret tags, and a script that fails halfway leaves the file empty. Read references/templates.md (legacy → modern template table) and references/patterns.md (renamed triggers) from the homeassistant-config skill first. Rules:
    • Legacy template entity: move it to template:, keep the entity ID with default_entity_id: sensor.<old_object_id> and add a unique_id.
    • color_temp (mireds) → color_temp_kelvin = round(1000000 / mireds).
    • Never mix old and new keys in one block; convert the whole block.
    • UI-managed automations.yaml / scripts.yaml: editing is fine, keep ids.
    • Do not touch .storage/ files while HA is running; for UI dashboards, tell the user what to change in the editor instead, or edit the JSON only if they stop Home Assistant first. Name the dashboard and copy the finding's where (view title and tab, section heading, card number and type), not just views[1].sections[1].cards[0]: the JSON has no line numbers and the editor shows titles, not indexes.
  5. Verify. Re-run the validator (the error and warning counts must drop to zero for the levels you applied), then ha core check if available, then reload (automation.reload, script.reload, template.reload) or ask the user to restart when templates moved between domains.
  6. Report what changed per file, where the backups are (or the git commit to go back to), and which imported blueprints were left alone.

よくある質問

AIスキル「Ha Upgrade」では何ができますか?

Modernise a Home Assistant config to current syntax — legacy template entities, removed light color_temp/kelvin, renamed purpose-specific triggers, service→action, platform→trigger, plural keys, call-service→perform-action, layout_options→grid_options, lovelace mode yaml. Use when the user asks to upgrade, migrate, modernise or clean up old YAML, or after a release removed something they use.

TypingMindでHa Upgradeを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ha Upgradeはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHa Upgradeをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ESJavadex/claude-homeassistant-plugins/tree/main/homeassistant-config/skills/ha-upgradeを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Ha Upgradeを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ha Upgradeで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHa Upgradeを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ha Upgrade」は無料ですか?

はい。ESJavadexがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇