Custom Image Tagger logo

Custom Image Tagger

Organization
pnp
custom-image-tagger

Analyze selected construction images, create missing object metadata columns, and write concise visual metadata back to SharePoint columns using explicit image-analysis, list-schema, list-update, and list-configuration tools. Use when the user says: - "Tag these images" - "Tag this construction image" - "Analyze these images and update the object columns" - "Populate Primary Objects and Background Objects for these photos" - "Identify visible objects in the selected construction photos"

Overview

Publisherpnp
Repositorysharepoint-skills
Skill namecustom-image-tagger
Stars
141
Forks
60
Bundled files
Instructions only
LicenseMIT
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Custom Image Tagger 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/pnp/sharepoint-skills/tree/main/Skills/custom-image-tagger/custom-image-tagger
  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/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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Custom Image Tagger 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 Custom Image Tagger 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 Custom Image Tagger 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.

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.

Frequently asked questions

What does the Custom Image Tagger AI skill do?

Analyze selected construction images, create missing object metadata columns, and write concise visual metadata back to SharePoint columns using explicit image-analysis, list-schema, list-update, and list-configuration tools. Use when the user says: - "Tag these images" - "Tag this construction image" - "Analyze these images and update the object columns" - "Populate Primary Objects and Background Objects for these photos" - "Identify visible objects in the selected construction photos"

Why use Custom Image Tagger on TypingMind?

Because you install it once and use it with any model. Custom Image Tagger 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 Custom Image Tagger in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/pnp/sharepoint-skills/tree/main/Skills/custom-image-tagger/custom-image-tagger. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Custom Image Tagger?

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 Custom Image Tagger?

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

Is the Custom Image Tagger AI skill free?

Yes. It is published on GitHub by pnp under the MIT license. 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 👇