Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

analyze-document-library

Skill by pnp

Analyzes the current SharePoint document library in read-only mode and produces a structured summary. It is for people who want an overview of library contents, file types, recent activity, and naming issues.

  • Score 59
  • 168 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install analyze-document-library

Built from the published package, never by AI.

git clone --depth 1 https://github.com/pnp/sharepoint-skills /tmp/sharepoint-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sharepoint-skills/Skills/analyze-document-library/analyze-document-library ~/.claude/skills/analyze-document-library

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install analyze-document-library in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill reviews the SharePoint document library that is open in the current site context. It retrieves files and folders using SharePoint listing or search tools, then counts them, groups files by type, and lists recently modified documents. It also flags files with names that look generic, vague, system-generated, or duplicated.

The skill then gives observations about recent activity and practical organization recommendations based only on the library contents it found. It is read-only and does not rename, move, delete, or change permissions. It is intended for users who want a structured review of a document library's organization.

Written from the project's SKILL.md and checked against it.

What it can do

  • Count files and foldersReports the total number of files and folders in the current library.
  • Group files by typeGroups files by extension, such as Word, Excel, PowerPoint, PDF, image, or archive.
  • List recent activityIdentifies recently modified documents, usually the most recent 5 to 10.
  • Find non-meaningful namesFlags generic, vague, system-generated, or duplicated file names.
  • Suggest organization changesGives recommendations such as folder grouping, metadata columns, or archiving stale content.

What you need

  • An active SharePoint site and document library
  • SharePoint listing or search tools available to the assistant

Try asking

  • Analyze this document library and summarize its contents
  • Show me files, folders, file types, and recent activity
  • Find documents in this library without meaningful names

Good to know

  • Read-only: does not modify, rename, move, or delete files
  • Does not change permissions, columns, views, rules, or workflows
  • If the tools fail or return empty results, it reports that plainly without inventing content

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: Skills/analyze-document-library/analyze-document-library/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to analyze-document-library

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

analyze-document-library: common questions

Can this skill rename or delete files in my SharePoint library?

No. The skill is read-only and does not modify, rename, delete, or move content. If a user asks for changes, it explains that it only provides analysis and recommendations.

How does it decide a file name is not meaningful?

It treats names as potentially non-meaningful when they are generic, vague, system-generated, overly short, duplicated with numeric suffixes, or mostly dates, numbers, or random characters. Examples include Document.docx and Scan001.pdf.

Can I limit the analysis to one folder or time window?

The source says optional user constraints can include a folder scope, a time window for recent activity, or a specific naming pattern to review.

How do I install analyze-document-library?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is analyze-document-library free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is analyze-document-library safe to use?

It scores 59 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to analyze-document-library?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

analyze-document-library Install

Add to stack

Loading.