library-roast

library-roast is a skill for Claude Code, Codex from pnp/sharepoint-skills. It costs 193 tokens per session (3,030 once invoked), scanned A, original, MIT.

A measured, humorous report about the organisation of one SharePoint document library. It points out real patterns such as duplicate-looking names, old files, deep folders, empty folders, and inconsistent naming.

In plain words
What is it for?
It helps inspect a library's organisation and produce a practical cleanup plan without changing the library.
Why use it?
It makes structural problems easier to notice while keeping the findings tied to actual files and counts. It separates the review from cleanup actions such as renaming, moving, or deleting files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps inspect a library's organisation and produce a practical cleanup plan without changing the library.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pnp/sharepoint-skills/library-roast
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pnp/sharepoint-skills --skill library-roast
Clone the repo
git clone --depth 1 https://github.com/pnp/sharepoint-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for library-roast

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/sharepoint-skills/library-roast/github.svg)](https://agentmods.dev/skills/pnp/sharepoint-skills/library-roast)
Your own site
<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/library-roast"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/library-roast/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for library-roast

Your own site · 80×15
<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/library-roast"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/library-roast.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,030 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00193 $0.03030
Opus 5.5 $0.00077 $0.01212
Sonnet 5.5 $0.00039 $0.00606
Haiku 4.5 $0.00019 $0.00303

Measured 3d ago against content hash 6fe2e0fb1003, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

library-roast scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (references/analyze.js, references/collect.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Skills/library-roast/library-roast/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Library roast

When to use

Use this skill when the user wants a light-hearted but accurate look at how messy one document library is, followed by a real cleanup plan. It roasts files and structure, never people. Don't use it to change anything: renames, moves, and deletions belong to the skills named in the cleanup plan. For a plain, joke-free analysis use analyze-document-library; for sync problems use sync-blocker-auditor.

Inputs

  • Current SharePoint site URL and context.
  • The library to roast: the library the user names, otherwise the library the user is looking at. If neither is known, step 1 returns the site's document libraries; ask which one to roast. Roast one library per run.
  • Language: English by default. If the user writes in another language, or asks for one, roast in that language (see step 2).
  • Destination document library for the HTML file. Default to Reports only when the user doesn't name one.
  • Never roast system or asset libraries (AgentAssets, Site Assets, Style Library, Form Templates, preservation hold, _catalogs). If the user asks for one, say it isn't supported.

Hard constraints

  • Run the whole job in one turn without pausing for the user. The only allowed pauses are the questions in steps 1 and 3.
  • Three files in this skill do the mechanical work: references/collect.js finds the library and prepares the rows, references/analyze.js applies every detection rule, count, severity, the Roast-o-meter, and the cleanup plan, and assets/roast-template.html draws the roast stage. Read them with tools.files.read inside your plan and run them as they are. Never retype, shorten, rewrite, or reimplement them, never write your own detection or counting code, and never write your own roast HTML. Their server-relative URLs are <site server-relative URL>/AgentAssets/Skills/library-roast/references/collect.js, <site server-relative URL>/AgentAssets/Skills/library-roast/references/analyze.js, and <site server-relative URL>/AgentAssets/Skills/library-roast/assets/roast-template.html. If one can't be read or fails, stop and tell the user the exact error; don't produce findings any other way.
  • The saved roast is the template text with {{DATA_JSON}} replaced by the data, and nothing else.
  • Read-only. Don't rename, move, delete, tag, check out, or edit any file, folder, column, or view, and don't offer to. The only write is the roast HTML file in the destination library (and that library itself, only after the user agrees to create it).
  • Roast the files and the structure, never people. Don't request Author, Editor, or any other person field. Don't mention or hint at authors, editors, owners, teams, or departments as people. No "whoever", "someone", "your colleague", "the intern", or blame.
  • Never invent anything. Every number and every file or folder name in a joke comes from the analysis.

Read the full file on GitHub · 81 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 81 lines · 193 tokens per session scan A 6fe2e0fb1003

Subscribe to this mod's changes

library-roast is a skill published in the GitHub repository pnp/sharepoint-skills (171 stars, last pushed 2d ago), licensed MIT. It adds 193 tokens to every session and 3,030 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

library-roast compared with skills from other repositories

library-roast next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
library-roastpnp/sharepoint-skillsSkill1712d agoMITA193Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill110ktodayApache-2.0A53Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.5ktodayMITA29Claude Code
go-testingGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA26Claude Code, Codex
bf-to-agents-sdk-dotnet-migrationmicrosoft/AgentsSkill1.1k6d agoMITA56Claude Code
threejs-texturescalesthio/OpenMontageSkill84k15d agoAGPL-3.0A41Claude Code, Codex
hyperframes-animationcalesthio/OpenMontageSkill84k15d agoAGPL-3.0A119Claude Code, Codex