Add App Iconのロゴ

Add App Icon

コミュニティ人気
amir20
add-app-icon

Use when adding a bundled app icon to Dozzle for a container image that shows no logo, or when an image resolves to the wrong icon

概要

公開者amir20
リポジトリdozzle
スキル名add-app-icon
スター
14.6K
フォーク
634
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Add App Icon

Icons live in assets/icons/apps/<slug>.svg (or .webp). The filename without the extension is the slug. assets/utils/appIcons.ts resolves an image reference to a slug.

Procedure

  1. Find how the image resolves today. The resolver drops registry, tag and digest, then tries the image name and falls back to the namespace (linuxserver/sonarr tries sonarr). Distributor namespaces (DISTRIBUTORS) and generic names (GENERIC, e.g. server, app) are skipped. Suffixes like -server, -app, -alpine are stripped.

  2. Get the icon from dashboard-icons. Prefer SVG, use WebP only when no SVG exists. Never use PNG (it is not globbed). Check the upstream tree rather than guessing URLs, since variants can exist in one format and not another:

    bash
    gh api 'repos/homarr-labs/dashboard-icons/git/trees/main?recursive=1' \
      --jq '.tree[].path' | grep -E '^(svg|webp)/<slug>(-light|-dark)?\.'
    bash
    slug=<slug>
    curl -fsSL -o assets/icons/apps/$slug.svg \
      https://raw.githubusercontent.com/homarr-labs/dashboard-icons/main/svg/$slug.svg

    If the SVG is over 20KB (wc -c < assets/icons/apps/$slug.svg), delete it and use the WebP below instead. An SVG that large is almost always a traced raster made of thousands of paths, not real vector artwork.

    Upstream WebPs are 128-4096px and often 20-180KB. Downscale to 64px tall, lossy, like every other WebP in the folder (they land around 1-3KB). cwebp and webpinfo ship in the webp package (brew install webp, apt install webp):

    bash
    curl -fsSL -o /tmp/$slug.webp \
      https://raw.githubusercontent.com/homarr-labs/dashboard-icons/main/webp/$slug.webp
    cwebp -quiet -resize 0 64 -q 80 -m 6 /tmp/$slug.webp -o assets/icons/apps/$slug.webp

    Look at the result before committing. Do not substitute the app's own favicon.svg when upstream has no SVG: those are often a PNG wrapped in an <image> tag, not vector artwork.

    If upstream has themed variants, add them too: <slug>-light.svg is artwork for dark backgrounds, <slug>-dark.svg is for light backgrounds. The base <slug>.svg is still required, since it is what the resolver checks for.

    Use the upstream slug as the filename. Do not rename it to match the image.

  3. If the image name does not match the slug after step 1, add an entry to ALIASES in assets/utils/appIcons.ts, keyed by the lowercased image name or namespace:

    ts
    "signal-cli-rest-api": "signal",

    Do not alias a generic word or a distributor namespace. If a new distributor repackages other people's software, add it to DISTRIBUTORS instead.

  4. Add a case to the iconSlugForImage test.each table in assets/utils/appIcons.spec.ts for every alias you added:

    ts
    ["bbernhard/signal-cli-rest-api:latest", "signal"],
  5. Verify:

    bash
    TZ=UTC bun run test assets/utils/appIcons.spec.ts
    bunx prettier --write assets/utils/appIcons.ts assets/utils/appIcons.spec.ts

    Then check every icon in the folder, not only yours. This should print nothing; any WebP taller than 64px, any file that is not really a WebP, or any SVG over 20KB needs step 2 redone:

    bash
    sh -c 'for f in assets/icons/apps/*.webp; do
      h=$(webpinfo "$f" 2>/dev/null | awk "/Height:/{print \$2; exit}")
      [ "${h:-0}" -gt 0 ] || { echo "not a webp: $f"; continue; }
      [ "$h" -gt 64 ] && echo "${h}px tall: $f"
    done
    find assets/icons/apps -name "*.svg" -size +20k'

Rules

  • One commit per batch, titled feat(icons): add icons for <apps>.
  • Only well-known, publicly available images. No logos for private or internal images; users can already pick an existing icon with the dev.dozzle.icon=<slug> label, or hide a wrong guess with dev.dozzle.icon=none.
  • Do not hand-edit upstream artwork beyond what the file needs to load. The WebP downscale in step 2 is the one exception.
  • When the batch comes from GitHub issues, one PR per issue is fine; end each PR body with Closes #<issue>.

よくある質問

AIスキル「Add App Icon」では何ができますか?

Use when adding a bundled app icon to Dozzle for a container image that shows no logo, or when an image resolves to the wrong icon

TypingMindでAdd App Iconを使うメリットは何ですか?

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

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

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

Add App Iconを使えるAIモデルはどれですか?

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

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

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

AIスキル「Add App Icon」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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