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.
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-libraryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install analyze-document-library in Claude Code
git clone --depth 1 https://github.com/pnp/sharepoint-skills /tmp/sharepoint-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sharepoint-skills/Skills/analyze-document-library/analyze-document-library ~/.gemini/antigravity-cli/skills/analyze-document-libraryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install analyze-document-library in Antigravity CLI
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
ANo 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 →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
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.
