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.
npx skills add pnp/sharepoint-skills --skill library-roastgit clone --depth 1 https://github.com/pnp/sharepoint-skillsWrote 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.
[](https://agentmods.dev/skills/pnp/sharepoint-skills/library-roast)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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
Reportsonly 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.jsfinds the library and prepares the rows,references/analyze.jsapplies every detection rule, count, severity, the Roast-o-meter, and the cleanup plan, andassets/roast-template.htmldraws the roast stage. Read them withtools.files.readinside 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.
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.
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.
- 3d ago First seen · 81 lines · 193 tokens per session scan A 6fe2e0fb1003
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.
library-roast compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| library-roastpnp/sharepoint-skills | Skill | 171 | 2d ago | MIT | A | 193 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| skill-doc-deliverynyldn/claude-octopus | Skill | 4.5k | today | MIT | A | 29 | Claude Code |
| go-testingGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 26 | Claude Code, Codex |
| bf-to-agents-sdk-dotnet-migrationmicrosoft/Agents | Skill | 1.1k | 6d ago | MIT | A | 56 | Claude Code |
| threejs-texturescalesthio/OpenMontage | Skill | 84k | 15d ago | AGPL-3.0 | A | 41 | Claude Code, Codex |
| hyperframes-animationcalesthio/OpenMontage | Skill | 84k | 15d ago | AGPL-3.0 | A | 119 | Claude Code, Codex |