Metadata Completeness Auditor logo

Metadata Completeness Auditor

Organization
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"

Overview

Publisherpnp
Repositorysharepoint-skills
Skill namemetadata-completeness-auditor
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 Metadata Completeness Auditor 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/metadata-completeness-auditor/metadata-completeness-auditor
  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/metadata-completeness-auditor/metadata-completeness-auditor .claude/skills/metadata-completeness-auditor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Metadata Completeness Auditor 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 Metadata Completeness Auditor 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 Metadata Completeness Auditor 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.

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.

Frequently asked questions

What does the Metadata Completeness Auditor AI skill do?

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...

Why use Metadata Completeness Auditor on TypingMind?

Because you install it once and use it with any model. Metadata Completeness Auditor 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 Metadata Completeness Auditor in TypingMind?

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

Which AI models can use Metadata Completeness Auditor?

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 Metadata Completeness Auditor?

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

Is the Metadata Completeness Auditor 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 👇