custom-image-tagger

分析选定的施工图像,创建缺失的对象元数据列,并使用显式图像分析、列表架构、列表更新和列表配置工具将简明的视觉元数据写入 SharePoint 列。按用户的指令(例如“为这些图像打标签”、“识别选定施工照片中可见的对象”等)运行。

仓库最近推送
GitHub Stars
169
Forks
67
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "custom-image-tagger":https://skillpi.com/zh/skills/deepskill-2921f9d17bbd436c7796ce719df61fbe0e9c2c26917b5a935007b270cacbbb49。安装前核对上游来源和版本:https://github.com/pnp/sharepoint-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

分析选定的施工图像,创建缺失的对象元数据列,并使用显式图像分析、列表架构、列表更新和列表配置工具将简明的视觉元数据写入 SharePoint 列。按用户的指令(例如“为这些图像打标签”、“识别选定施工照片中可见的对象”等)运行。

0 下载

介绍来源: third_party · pnp · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

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

亮点

  • 触发词覆盖多种自然表达变体
  • 边界清晰避免误触发
  • 与技能功能高度匹配
结构规范95/100

亮点

  • Phase划分清晰完整
  • 包含详细输入输出定义和端到端示例
  • frontmatter完整规范
执行可靠92/100

亮点

  • 输入验证确保只处理图像文件
  • 自动处理缺失列的创建
  • 批量更新优化性能
  • 字符长度限制保护
  • 空结果和错误情况的适当处理
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。