document-browser

document-browser is a skill for Claude Code, Codex from pnp/sharepoint-skills. It costs 110 tokens per session (1,695 once invoked), scanned A, original, MIT.

A live dashboard for browsing documents in a SharePoint library, which is an online storage area for an organisation's files. It shows documents as searchable cards with metadata, filters, and links to open or download them.

In plain words
What is it for?
Use it to create a document browser for a SharePoint library or folder, with search, filters, document ownership, approval visibility, and reliable Open and Download links.
Why use it?
It makes a large document library easier to search and scan than a basic file view. It can use real library fields so titles, owners, approval status, and dates are shown accurately.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/pnp/sharepoint-skills/document-browser
Any agent
npx skills add pnp/sharepoint-skills --skill document-browser
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 document-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/sharepoint-skills/document-browser.svg)](https://agentmods.dev/skills/pnp/sharepoint-skills/document-browser)
Your own site
<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/document-browser"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/document-browser.svg" alt="Measured on agentmods" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00110 $0.01695
Opus 5 $0.00055 $0.00847
Sonnet 5 $0.00022 $0.00339
Haiku 4.5 $0.00011 $0.00169

Measured 4d ago against content hash 274fa878931f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

document-browser 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 4d 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.

Skills/document-browser/document-browser/SKILL.md · 123 lines

How it starts

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

Document Browser

When to use

Use this skill when the user wants a professional document browser dashboard for a SharePoint document library or folder. The dashboard must browse documents using real metadata, search, filters, cards, read-only Open links, Download links, and live-linked data whenever supported.

Inputs

  • Target SharePoint document library URL, list ID, or selected/current library.
  • Optional folder path inside the library.
  • Optional approval rule, default: show approved documents only when content approval is enabled.
  • Optional dashboard file name and destination folder.
  • Optional requested filters.

Steps

  1. Resolve and inspect

    • Resolve the target library ID and web URL.
    • Retrieve the full schema and use internal field names only.
    • Identify approval status, Document Title, name/path fields, description/abstract, metadata filters, Document Owner, contacts, author/editor, created/modified dates.
  2. Title and owner rules

    • Prefer Document Title for card titles. Match Document Title, documentTitle, and Document_x0020_Title.
    • Fall back to Title, then file name.
    • Show Document Owner name directly below the card title. Match documentOwner / Document Owner; fall back to Author only if no owner exists.
  3. Live-linked build

    • Use LiveData/list binding for supported library roots or list sources.
    • Include ka-livedata-manifest and runtime code that reads window.__LD_RESULTS__.
    • Include a visible Refresh live data button wired to refresh().
    • Don't claim live-linked unless newly added/updated source documents appear after refresh without regenerating HTML.
  4. Design requirements Use this exact visual system:

    Color palette

    • Navy: #03274A
    • Blue: #164C80
    • Yellow accent: #FFD633
    • Pale blue: #CAD8E5
    • Line / border: #D7E2EC
    • Sand background: #F7F5F3
    • Text: #161616
    • Muted text: #5A5A57

    Typography

    • Primary font stack: Aptos, "Segoe UI", Arial, sans-serif

Read the full file on GitHub · 123 lines

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. 4d ago First seen · 123 lines · 110 tokens per session scan A 274fa878931f

Subscribe to this mod's changes

document-browser is a skill published in the GitHub repository pnp/sharepoint-skills (107 stars, last pushed yesterday), licensed MIT. It adds 110 tokens to every session and 1,695 once invoked, about $0.0006 per session on Opus 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-08-30.

Related

Other skills, from other repositories

ui-ux-pro-max

UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local…

nextlevelbuilder/ui-ux-pro-max-skill · 114 tokens

design

Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro)…

nextlevelbuilder/ui-ux-pro-max-skill · 148 tokens

skill-extract

Reverse-engineer design systems, tokens, and components from live products or screenshots.

nyldn/claude-octopus · 19 tokens

macos-swiftui-patterns

Build macOS SwiftUI scenes and components with desktop patterns. Use when shaping windows, commands, toolbars, settings, split views, or inspectors.

robinebers/openusage · 38 tokens

liquid-glass

Implement, refactor, or review modern macOS SwiftUI UI for the new design system and Liquid Glass. Use when adopting Liquid Glass, updating NavigationSplitView, toolbars, search, sheets, and controls, removing custom backgrounds that fight system materials, or building custom glass surfaces with glassEffect…

robinebers/openusage · 74 tokens

macos-window-management

Customize macOS SwiftUI windows and scene behavior. Use when tuning window chrome, drag regions, placement, restoration, launch behavior, or borderless windows.

robinebers/openusage · 36 tokens