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 document-expiry-renewal-trackergit 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/document-expiry-renewal-tracker)<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/document-expiry-renewal-tracker"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/document-expiry-renewal-tracker/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/document-expiry-renewal-tracker"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/document-expiry-renewal-tracker.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.00114 | $0.02523 |
| Opus 5.5 | $0.00046 | $0.01009 |
| Sonnet 5.5 | $0.00023 | $0.00505 |
| Haiku 4.5 | $0.00011 | $0.00252 |
Grade A, and why
document-expiry-renewal-tracker 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 — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Document Expiry & Renewal Tracker
Purpose
Contracts, certificates, insurance policies, and compliance documents usually carry an expiry or renewal date buried in the text, and nobody finds out until it has passed. This skill reads the documents in a SharePoint library, extracts each document's expiry, renewal, and notice-period dates, and produces a self-contained HTML report that shows what is overdue or coming due, along with the evidence for every date. It is strictly read-only: it never edits documents, changes metadata, or sends reminders. The only thing it writes is the final report.
Trigger Phrases
Activate this skill when the user says any of the following (or close variations):
- "what contracts are expiring" / "which contracts expire soon"
- "track document expiry dates" / "check document expiry"
- "which renewals are coming up" / "upcoming renewals"
- "find expiring certificates" / "which certificates are about to expire"
- "check notice periods" / "when do I need to cancel"
- "renewal and expiry report"
Inputs & Scope
Determine the scope from the user's request:
- Library (default) — the current document library or folder.
- Named library or folder — if the user names one, scope to that instead.
- Document types (default) — contracts and agreements, certificates, insurance documents, and policies. If the user names other types (licenses, warranties, permits, leases), include those. Skip files that are clearly unrelated and note how many were skipped.
- Look-ahead window (optional) — default is 90 days. Use a different positive whole number of days only if the user states one. If it is not a positive whole number, ask for clarification before generating the report.
If the library holds more than about 200 documents, say in the report which folders were read fully and which were sampled rather than silently truncating results.
Steps
Step 1 — Resolve scope and today's date
Confirm the library, folder, document types, and look-ahead window. Establish today's date and use it for every urgency calculation. State the scope and the date used at the top of the report.
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 · 164 lines · 114 tokens per session scan A 5ccf9b3ad51b
document-expiry-renewal-tracker is a skill published in the GitHub repository pnp/sharepoint-skills (171 stars, last pushed 2d ago), licensed MIT. It adds 114 tokens to every session and 2,523 once invoked, about $0.0005 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.
document-expiry-renewal-tracker compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| document-expiry-renewal-trackerpnp/sharepoint-skills | Skill | 171 | 2d ago | MIT | A | 114 | Claude Code, Codex |
| innblikknavikt/copilot | Skill | 65 | yesterday | MIT | A | 110 | Claude Code, Codex |
| purview-customer-keyvinayaklatthe/microsoft-security-skills | Skill | 183 | 1mo ago | MIT | A | 235 | Claude Code, Codex |
| compliance-managervinayaklatthe/microsoft-security-skills | Skill | 183 | 1mo ago | MIT | A | 239 | Claude Code, Codex |
| microsoft-privavinayaklatthe/microsoft-security-skills | Skill | 183 | 1mo ago | MIT | A | 159 | Claude Code, Codex |
| purview-generalvinayaklatthe/microsoft-security-skills | Skill | 183 | 1mo ago | MIT | A | 139 | Claude Code, Codex |
| purview-insider-risk-managementvinayaklatthe/microsoft-security-skills | Skill | 183 | 1mo ago | MIT | A | 245 | Claude Code, Codex |