Logo Metadata Completeness Auditor

Metadata Completeness Auditor

Tổ chức
pnp
metadata-completeness-auditor

Audits the metadata quality of a SharePoint document library or list. Scans every item against its required columns, flags missing, blank, or placeholder values, computes a completeness score per item and per column, and saves a self-contained HTML gap-report dashboard to the site. It is strictly read-only — it never changes the list or its items. Use when the user says: - "metadata audit" - "metadata completeness" - "metadata health" - "missing metadata" - "audit metadata" - "metadata quality" - "check metadata" - "metadata gap report" - "which items are missing metadata" - "find blank columns"

Add to TypingMind

Tổng quan

Nhà phát hànhpnp
Kho mãsharepoint-skills
Tên kỹ năngmetadata-completeness-auditor
Sao
141
Bản fork
60
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được pnp công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Metadata Completeness Auditor trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/pnp/sharepoint-skills/tree/main/Skills/metadata-completeness-auditor/metadata-completeness-auditor
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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/metadata-completeness-auditor/metadata-completeness-auditor .claude/skills/metadata-completeness-auditor
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Metadata Completeness Auditor trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Metadata Completeness Auditor ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Metadata Completeness Auditor với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Metadata Completeness Auditor

Purpose

Missing or inconsistent metadata is the single most common reason SharePoint search, filtering, views, and retention stop working. This skill measures the metadata quality of a library (or list), flags every item with gaps, and produces a color-coded HTML dashboard the team can act on. It is strictly read-only: it inspects the schema and reads items, but never creates columns, writes to items, or changes the list in any way.

Trigger Phrases

Activate this skill when the user says any of the following (or close variations):

  • "metadata audit" / "audit metadata"
  • "metadata completeness" / "metadata health" / "metadata quality"
  • "missing metadata" / "which items are missing metadata"
  • "check metadata" / "metadata gap report"
  • "find blank columns" / "find empty fields"

Inputs & Scope

Determine the reporting scope from the user's request and the current context, in this order:

  1. Selected items — if the user has items selected or says "these/this", audit the library that contains the selection.
  2. Named library or list — if the user names one (e.g., "audit the Contracts library"), resolve it on the current site.
  3. Current library — if the user is in a library and gives no other scope, audit it.
  4. If no scope can be resolved, ask the user which library or list to audit. Do not guess.

Only audit content the current user can already see. Never invent items or values.

Steps

Step 1 — Resolve the target list and read its schema

Use get_list_schema on the resolved library/list to enumerate its columns. Record for each column: internal name, display name, type (text, choice, number, date, person, managed metadata, multi-value, etc.), and whether it is marked required.

Step 2 — Decide the "required set" of columns to audit

Choose which columns count toward completeness, in this order of preference:

  1. Explicit user request — if the user names specific columns (e.g., "check Owner and Review Date"), audit exactly those.
  2. Columns marked required in the schema — if any exist, default to auditing those.
  3. All user-created content columns — if nothing is marked required, audit every non-system content column.

Always exclude system/internal and label columns from the audit and from gap counts, e.g.: ID, Title, LinkTitle, FileLeafRef (Name), ContentType, Modified, Created, Author, Editor, _ModerationStatus, FileSizeDisplay, thumbnail/compliance/checkout columns, and other underscore-prefixed system fields. (You still read Editor/Author for owner grouping and FileLeafRef/Title as the item label — just don't score them.)

Do not count Title/Name toward completeness: it is the item's label, is almost always populated, and scoring it inflates the completeness % and hides truly-empty items. Only audit it if the user explicitly asks to include it.

Briefly tell the user which columns you are auditing before proceeding. If the required set is ambiguous and the user gave no guidance, state the set you selected and continue; only pause to ask if the schema is unreadable.

Step 3 — Read every item

Use list_items with field projection limited to the audited columns plus Editor/Author (for owner grouping) and FileLeafRef/Title (for item labels). Page through the whole library — do not stop at the first page. For very large libraries, process in batches and keep running totals. If a read fails or returns partial data, record that plainly in the report's limitations section rather than filling gaps with assumptions.

Step 4 — Evaluate each item

For each item, evaluate each audited column and classify the value as Missing when it is:

  • empty or null,
  • whitespace-only,
  • an empty multi-value / empty person / empty managed-metadata field, or
  • a placeholder value (case-insensitive), including: N/A, NA, TBD, TBC, -, --, ., none, null, n\a, pending, choose an option, select..., enter value, xxx, test, and the column's own default choice when it clearly means "not set".

If the user provides their own placeholder list, use it instead of (or in addition to) the defaults, and note that in the report.

Then compute:

  • Per-item completeness % = present columns / audited columns.
  • Item verdict: Complete (all audited columns present), Partial (some present), or Empty (none present).
  • Per-column fill rate = items with a present value / total items, tracked across the run.
  • Overall completeness % = total present values across every audited cell ÷ (number of items × number of audited columns). This is a cell-level fill rate — not the share of Complete items and not the average of the per-item percentages. Report it as a whole number.
  • Per-owner rollup = completeness grouped by Editor (fallback Author).

Step 5 — Build a self-contained HTML dashboard

Draft a single self-contained HTML file:

  • No scripts. No external CSS, fonts, images, or resources. Inline CSS only.
  • Summary band with: items scanned, overall completeness %, counts of Complete / Partial / Empty, number of columns audited, and the 3 worst-filled columns.
  • Per-column gap chart — one row per audited column showing its fill-rate as a horizontal bar drawn with inline-CSS width (e.g., a colored <div> at width: 72%). Color by health: green ≥ 90%, amber 50–89%, red < 50%.
  • Item table — color-coded rows (green = Complete, amber = Partial, red = Empty) listing the item name, completeness %, health verdict, and its missing fields.
  • Owner breakdown — completeness % grouped by last editor, so gaps can be routed to the right people.
  • Remediation list — a short, prioritized, plain-English list ("Fill Review Date on 14 items", "Replace TBD in Owner on 6 items").
  • Limitations section — only if any data was unavailable or partial.

Step 6 — Save the report

  • Save the HTML file in a Metadata Reports folder in an appropriate document library on the current site. Create that folder only if it does not exist and only for saving the report.
  • Use a clear filename: Metadata-Audit-<Library>-YYYY-MM-DD-HHMM.html.

Step 7 — Respond to the user

After saving, reply with a compact Markdown summary and the report link:

markdown
# Metadata audit complete

[Open the report](<link>)

- Scope: <library/list audited>
- Items scanned: <n>
- Overall completeness: <n>%  (Complete <n> · Partial <n> · Empty <n>)
- Worst columns: <col> (<x>%), <col> (<y>%), <col> (<z>%)

Example

User: "Run a metadata audit on the Contracts library."

Agent response after processing:

I audited the Contracts library (128 items) against its 5 required columns: Owner, Contract Type, Effective Date, Review Date, Department.

MetricResult
Overall completeness71%
Complete / Partial / Empty74 / 41 / 13
Worst columnsReview Date (48%), Department (63%)

I saved the dashboard to Metadata Reports/Metadata-Audit-Contracts-2026-07-03-1042.html. Top fix: 66 items are missing Review Date.

Constraints

  • Strictly read-only. Never create, rename, or modify columns, never write to items, and never change the list, its views, or its settings. The only thing this skill writes is the HTML report file (and, if needed, the Metadata Reports folder to hold it).
  • Never fabricate items, columns, or values — everything comes from the actual list.
  • Always inspect the real schema with get_list_schema first and adapt to the actual column names and types (text, choice, number, date, person, managed metadata, multi-value).
  • Exclude system/internal and label columns from scoring; in particular never count Title/Name unless the user explicitly asks — it is almost always filled and inflates the result. Do not count excluded columns as gaps.
  • Page through the entire library; report partial results plainly if a tool fails.
  • The HTML report must be fully self-contained: no scripts, no external resources, inline CSS only.
  • Show completeness percentages as whole numbers and be consistent across the report.

Câu hỏi thường gặp

Kỹ năng AI Metadata Completeness Auditor làm được gì?

Audits the metadata quality of a SharePoint document library or list. Scans every item against its required columns, flags missing, blank, or placeholder values, computes a completeness score per item and per column, and saves a self-contained HTML gap-report dashboard to the site. It is strictly read-only — it never changes the list or its items. Use when the user says: - "metadata audit" - "metadata completeness" - "metadata health" - "missing metadata" - "audit metadata" - "metadata quality" - "check metadata" - "metadata gap report" - "which items are missing metadata" - "find blank col...

Vì sao nên dùng Metadata Completeness Auditor trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Metadata Completeness Auditor là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Metadata Completeness Auditor trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/pnp/sharepoint-skills/tree/main/Skills/metadata-completeness-auditor/metadata-completeness-auditor. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Metadata Completeness Auditor?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Metadata Completeness Auditor với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Metadata Completeness Auditor với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Metadata Completeness Auditor có miễn phí không?

Có. Kỹ năng này được pnp phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇