custom-image-tagger

Analyze selected construction images, create missing object metadata columns, and write concise visual metadata into SharePoint columns using explicit image analysis, list schema, list update, and list configuration tools. Invoked by user phrases such as “tag these images” or “identify visible objects in the selected construction photos.”

Last repository push
GitHub Stars
169
Forks
67
Issues / PRs
3

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "custom-image-tagger" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2921f9d17bbd436c7796ce719df61fbe0e9c2c26917b5a935007b270cacbbb49. Verify the upstream source and version against https://github.com/pnp/sharepoint-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Analyze selected construction images, create missing object metadata columns, and write concise visual metadata into SharePoint columns using explicit image analysis, list schema, list update, and list configuration tools. Invoked by user phrases such as “tag these images” or “identify visible objects in the selected construction photos.”

0 Downloads

Introduction source: third_party · pnp · 0.0.1 Reference

SkillPi interpretation

Tasks
|-
Audience
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 and outputs
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`
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: custom-image-tagger
description: |-
  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"

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:

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.

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决施工图像元数据自动标记的具体业务痛点
  • 提供端到端工作流包括列创建、批量更新和错误处理
  • 显著提升施工文档管理效率
Trigger Precision88/100

Highlights

  • 触发词覆盖多种自然表达变体
  • 边界清晰避免误触发
  • 与技能功能高度匹配
Structure and Standards95/100

Highlights

  • Phase划分清晰完整
  • 包含详细输入输出定义和端到端示例
  • frontmatter完整规范
Execution Reliability92/100

Highlights

  • 输入验证确保只处理图像文件
  • 自动处理缺失列的创建
  • 批量更新优化性能
  • 字符长度限制保护
  • 空结果和错误情况的适当处理
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.