Custom Image Taggerのロゴ

Custom Image Tagger

組織
pnp
custom-image-tagger

選択した建設現場の画像を分析し、不足しているオブジェクトメタデータ列を作成して、画像分析、リストスキーマ、リスト更新、リスト構成の各ツールを明示的に使い、簡潔な視覚メタデータをSharePointの列に書き込みます。次のような依頼で使用します。 - 「これらの画像にタグを付けて」 - 「この建設現場の画像にタグを付けて」 - 「これらの画像を分析して、オブジェクト列を更新して」 - 「これらの写真のPrimary ObjectsとBackground Objectsに情報を入力して」 - 「選択した建設現場の写真に写っている物体を特定して」

Add to TypingMind

概要

公開者pnp
リポジトリsharepoint-skills
スキル名custom-image-tagger
スター
141
フォーク
60
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Custom Image Tagger

When to use

Use this skill when the user wants selected construction images analyzed and tagged in the current SharePoint image library. It supports one or more selected image files and writes concise metadata into library columns for primary objects, background objects, scene content, and description.

Use it for image metadata tagging in construction image libraries, not for general document tagging or non-image files.

Inputs

  • One or more selected image files in the current SharePoint document library.
  • Current site, library URL, library path, and list ID from SharePoint context.
  • Target columns, resolved from schema when present:
    • Primary Objects / primaryObjects
    • Background Objects / backgroundObjects
    • Scene content / sceneContent
    • Description / _ExtendedDescription

Steps

  1. Confirm selected files are images by extension or file metadata. If no selected image is available, say so plainly and stop.
  2. Use analyze_image({listFullUrl, relativePaths, question}) once for all selected images. Ask for per-image output with:
    • primary objects as a single comma-delimited line
    • background objects as a single comma-delimited line
    • scene content as one concise sentence
    • optional tags as a concise comma-delimited line
  3. Use get_list_schema({listId, webUrl, includeFields: true, includeContentTypes: false, includeHidden: false, includeReadOnly: false}) to resolve available target columns and exact internal names.
  4. If Primary Objects / primaryObjects or Background Objects / backgroundObjects is missing, use create_or_update_list on the current library before updating items:
    • Keep the existing library settings.
    • Add a single-line text column titled Primary Objects with internal name primaryObjects when missing.
    • Add a single-line text column titled Background Objects with internal name backgroundObjects when missing.
    • Do not recreate or modify these columns if they already exist.
    • After creating columns, use the expected internal names primaryObjects and backgroundObjects; re-read schema only if the create/update result does not confirm the fields.
  5. Use list_items({listId, webUrl, filter, viewFields: ["ID", "FileLeafRef"], itemType: "files", recursive: true}) to find the list item IDs for the selected file names. Use FileLeafRef in CAML filters, not Title.
  6. Build one update_list_items_v2({items, listUrl, webUrl}) call for all matched images. Update only target columns that exist or were just created:
    • primaryObjects = primary objects line
    • backgroundObjects = background objects line
    • sceneContent = concise scene sentence, only when the column exists
    • _ExtendedDescription = Tags: <tag line> or a concise description if tags are not requested, only when the column exists
  7. Keep each value under 255 characters for single-line text columns. Prefer fewer, high-confidence terms over long tag lists.
  8. If image analysis returns empty or uncertain content for an image, write Not found only when appropriate and do not invent objects.
  9. Return a concise per-image summary and confirm how many SharePoint items were updated. If object columns were created, mention that once. If any selected file could not be matched to a list item, name it in the response.

Output format

Return a concise result:

markdown
Updated <N> image(s). Created missing columns: <Primary Objects, Background Objects | none>.

- <filename>: Primary: <comma-delimited objects>; Background: <comma-delimited objects>; Scene: <sentence>

If an update fails, include the plain-language failure and do not claim the item was updated.

Example

User: "Tag these images"

Expected behavior:

  1. Analyze all selected images with analyze_image.
  2. Resolve columns with get_list_schema.
  3. Create Primary Objects and/or Background Objects as single-line text columns if missing.
  4. Find selected files with list_items using FileLeafRef.
  5. Batch update metadata with update_list_items_v2.
  6. Report the updated filenames, extracted metadata, and whether columns were created.

よくある質問

AIスキル「Custom Image Tagger」では何ができますか?

選択した建設現場の画像を分析し、不足しているオブジェクトメタデータ列を作成して、画像分析、リストスキーマ、リスト更新、リスト構成の各ツールを明示的に使い、簡潔な視覚メタデータをSharePointの列に書き込みます。次のような依頼で使用します。 - 「これらの画像にタグを付けて」 - 「この建設現場の画像にタグを付けて」 - 「これらの画像を分析して、オブジェクト列を更新して」 - 「これらの写真のPrimary ObjectsとBackground Objectsに情報を入力して」 - 「選択した建設現場の写真に写っている物体を特定して」

TypingMindでCustom Image Taggerを使うメリットは何ですか?

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

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

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

Custom Image Taggerを使えるAIモデルはどれですか?

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

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

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

AIスキル「Custom Image Tagger」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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