Agent skill

Document Browser

by pnp in pnp/sharepoint-skills

Create or update a professional live-linked document browser dashboard for a SharePoint document library, using real metadata fields, a clean navy-and-yellow design system, visible refresh, reliable…

MITAuto-check passedFrontend & Design

Install Document Browser

skills CLI
$ npx skills add pnp/sharepoint-skills --skill document-browser -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pnp/sharepoint-skills document-browser --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pnp/sharepoint-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills/document-browser/document-browser .claude/skills/document-browser && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
document-browser
GitHub stars
131
Token cost
~1.8k tokens
SKILL.md length
820 words
Files
1
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

Create or update a professional live-linked document browser dashboard for a SharePoint document library, using real metadata fields, a clean navy-and-yellow design system, visible refresh, reliable…

  • Works in 8 steps: Resolve and inspect → Title and owner rules → Live-linked build → …
  • Tasks that involve Cloud office suites
  • SKILL.md covers When to use, Inputs, Steps and Output format, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Document Browser is an agent skill from pnp/sharepoint-skills. Create or update a professional live-linked document browser dashboard for a SharePoint document library, using real metadata fields, a clean navy-and-yellow design system, visible refresh, reliable SharePoint Open/Download links, and a 3-card desktop layout. Use when the user says: - "create a document browser" - "make a live dashboard for this document library" - "build a document library dashboard" - "use the document browser skill on this library" - "make sure the dashboard is live linked"

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Cloud office suites and Design systems. It works with Microsoft SharePoint. The repository describes itself as: Skills for Copilot in SharePoint. The licence is MIT.

When your agent uses it

  • Tasks that involve Cloud office suites
  • Tasks that involve Design systems

Example prompts

  • “create a document browser”
  • “make a live dashboard for this document library”
  • “build a document library dashboard”
  • “/document-browser”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Resolve and inspect
  2. Title and owner rules
  3. Live-linked build
  4. Design requirements
  5. Dashboard features
  6. Open and Download link rules — critical
  7. Validate before saving
  8. Save

What it can do on your machine

Read from SKILL.md and the folder at commit aa9eb14. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Document Browser loads about 1.8k tokens when it runs. Until then it costs about 132 tokens; SKILL.md has 820 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~132
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pnp/sharepoint-skills at commit aa9eb14, republished under its MIT licence (© pnp). 820 words, ~1,832 tokens.

Download SKILL.mdSave it as .claude/skills/document-browser/SKILL.md (or your agent's skills folder).
name
document-browser
description
Create or update a professional live-linked document browser dashboard for a SharePoint document library, using real metadata fields, a clean navy-and-yellow design system, visible refresh, reliable SharePoint Open/Download links, and a 3-card desktop layout. Use when the user says: - "create a document browser" - "make a live dashboard for this document library" - "build a document library dashboard" - "use the document browser skill on this library" - "make sure the dashboard is live linked"

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

    Hero header

    • Large rounded navy (or navy-to-blue gradient) hero banner
    • Soft yellow translucent circle accent in the upper-right
    • Short uppercase kicker in yellow with letter-spacing
    • Large white title
    • Pale lead text under the title
    • Optional simple flat-vector illustration on the right side of the hero

    Layout & cards

    • Exactly 3 document cards per desktop row (grid-template-columns: repeat(3, minmax(0, 1fr))), collapsing to 2 then 1 on smaller screens
    • White cards with subtle border (#D7E2EC), soft shadow, and large border-radius (~20–22px)
    • Left yellow accent bar on the card header area
    • Document title in navy, bold
    • Document Owner / contacts shown directly under the title in muted text
    • Abstract preview with hover/focus popup
    • Metadata shown as small rounded pills
    • Pill-shaped action buttons (primary = solid blue, secondary = outlined)

    Overall feel

    • Clean, modern, professional knowledge-browser aesthetic
    • Generous white space, soft shadows, clear hierarchy
    • Card-first design (avoid dense tables)
  5. Dashboard features

    • Search across Document Title/title, filename, abstract/description, metadata, Document Owner, contacts, author/editor.
    • Filter using real fields. Prefer Practice, Service Area, Industry Sectors, Market, Regions, Lead Office, Document Type, Year created when present.
    • Cards include title, Document Owner below title, abstract preview with hover/focus popup, metadata pills, dates, Open and Download actions.
  6. Open and Download link rules — critical

    • In SharePoint HTML preview the dashboard runs inside about:srcdoc; do not use location.origin for Open or Download because it may resolve to null.
    • Define a constant site URL from the resolved web URL, e.g. var SITE='https://tenant.sharepoint.com/sites/site';.
    • Do not render href="#". If no path is available, render a disabled text control instead.
    • Build links from a decoded server-relative SharePoint path.
    • Resolve path in this order: FileRef / File_x0020_Ref / ServerRelativeUrl / Path; then EncodedAbsUrl parsed to pathname; then FileDirRef + '/' + FileLeafRef.
    • Use safeDecode() repeatedly before encoding route parameters so Documents%2520Browser becomes Documents Browser, then re-encodes only once.
    • Verified working Open pattern: SITE + '/_layouts/15/Doc.aspx?sourcedoc=' + encodeURIComponent(serverRelativePath) + '&file=' + encodeURIComponent(fileName) + '&action=embedview&mobileredirect=true'.
    • The serverRelativePath must be decoded first, then encoded exactly once in the sourcedoc route parameter.
    • Do not replace this with the direct file URL ?web=1&action=embedview unless it has been manually tested in the target dashboard after saving.
    • Do not use download.aspx?SourceUrl=...&transform=pdf for Open; it can fail with File Not Found when spaces are double-encoded.
    • Download: SITE + '/_layouts/15/download.aspx?SourceUrl=' + encodeURIComponent(serverRelativePath).
    • Add target="_blank", rel="noopener", and data-interception="off".
    • Never use PDF transform links for Open; never append download=1; validate no %2520, no null/sites, no href="#", and no absolute URL inside SourceUrl.
  7. Validate before saving

    • Confirm live manifest/source exists.
    • Confirm visible refresh control exists and is wired.
    • Confirm 3-column desktop grid exists.
    • Confirm Document Title is first title source and Document Owner appears below title.
    • Confirm the navy / yellow / sand design system and hero structure are present.
    • Confirm Open uses the verified Doc.aspx?sourcedoc=...&file=...&action=embedview&mobileredirect=true pattern; confirm Download uses SITE, robust source-path fallback, and neither link renders #, null/sites, PDF transform, direct untested ?web=1&action=embedview, or double-encoded %2520.
  8. Save

    • Create or update an .html file in the requested destination.
    • Prefer saving HTML dashboards to a Reports library or the location requested by the user unless updating an explicitly selected existing file.
    • Provide the file link.
Show full SKILL.md (65 more words)Show less

Output format

Respond with:

  • Link to the dashboard.
  • Whether it is fully live-linked.
  • Note that it uses 3 desktop columns, Document Title, Document Owner below title, the navy-and-yellow design system, visible refresh, and robust decoded server-relative Open/Download links.
  • Any limitation or workaround.

Honesty

If live binding can't target the requested folder or view, say so and offer a workaround. Don't invent working links or data.

© pnp, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in Skills/document-browser/document-browser of pnp/sharepoint-skills.

Open the folder on GitHubat commit aa9eb14

Compare with similar skills

Document Browser next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Document Browser compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Document Browser this skillpnp/sharepoint-skills131—~1.8kAutomated safety check: PassMIT
SVG DashboardSCStelz/security-investigator249—~5.7kAutomated safety check: PassMIT
Superdesignsuperdesigndev/superdesign-skill628—~4.1kAutomated safety check: PassMIT
Visual Stylecalesthio/OpenMontage65k—~1.5kAutomated safety check: PassAGPL-3.0
UX WalkthroughXiaoMi/hiui877—~1.3kAutomated safety check: PassMIT
Using Docs Kitlobehub/lobe-ui2.2k—~2.8kAutomated safety check: PassMIT

Similar skills

  • SVG Dashboard

    SCStelz/security-investigator

    A skill your agent uses when asked to generate SVG data visualization dashboards from investigation data or skill reports.

    249 GitHub stars~5.7k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Superdesign

    superdesigndev/superdesign-skill

    Design or redesign frontend UI, presentations, and graphics on the Superdesign canvas with a choice of leading AI models.

    628 GitHub stars~4.1k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Visual Style

    calesthio/OpenMontage

    Create, extract, and apply portable visual design systems via visual-style.md files.

    65k GitHub stars~1.5k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • UX Walkthrough

    XiaoMi/hiui

    体验走查 skill。适用于代码库、URL、截图三种输入,输出结构化体验问题报告,并同步生成本地 docx 报告。触发词:体验走查、UX review、交互走查、界面审查、体验问题。

    877 GitHub stars~1.3k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Using Docs Kit

    lobehub/lobe-ui

    Set up and author a documentation site with @lobehub/docs-kit (the lobedocs CLI, React Router + Vite static docs used by ui.lobehub.com).

    2.2k GitHub stars~2.8k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Baoyu Design

    DejavuMoe/Smoji

    Create polished design artifacts as self-contained HTML: UI mockups, interactive prototypes, wireframes, landing pages, dashboards, app screens, mobile apps, slide decks (a.k.a.

    114 GitHub starsUsed in 1 repo~2.7k tokens
    Frontend & DesignAuto-check passed

More from pnp/sharepoint-skills

All 51 skills in this repo
  • Scorecard Matrix

    pnp/sharepoint-skills

    Generates a polished, self-contained HTML heatmap scorecard — a weighted comparison matrix where entities (rows) are scored across dimensions (columns), with computed totals, rank badges, and a…

    131 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Analyze Document Library

    pnp/sharepoint-skills

    Analyze the current SharePoint document library in read-only mode and produce a structured summary of files, folders, file types, recent activity, naming issues, and organization recommendations.

    131 GitHub stars~899 tokensUpdated yesterday
    Auto-check passed
  • Broken Link Auditor

    pnp/sharepoint-skills

    Audits SharePoint pages, news posts, and hyperlink fields for broken or risky links and saves a self-contained HTML link-health report to the site.

    131 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Custom Image Tagger

    pnp/sharepoint-skills

    Analyze selected construction images, create missing object metadata columns, and write concise visual metadata back to SharePoint columns using explicit image-analysis, list-schema, list-update…

    131 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Dossier

    pnp/sharepoint-skills

    Renders a polished, self-contained HTML briefing from any data source — SharePoint lists, uploaded documents, or a verbal description.

    131 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Exec Report

    pnp/sharepoint-skills

    Generates a polished, self-contained HTML executive report or dashboard from any data source — SharePoint lists, CSV exports, or a user description.

    131 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed

Questions about Document Browser

What does Document Browser do?

Create or update a professional live-linked document browser dashboard for a SharePoint document library, using real metadata fields, a clean navy-and-yellow design system, visible refresh, reliable…. Document Browser is an agent skill from pnp/sharepoint-skills. Create or update a professional live-linked document browser dashboard for a SharePoint document library, using real metadata fields, a clean navy-and-yellow design system, visible refresh, reliable SharePoint Open/Download links, and a 3-card desktop layout.

When should I use Document Browser?

Document Browser fits situations like: tasks that involve Cloud office suites; tasks that involve Design systems.

How do I install Document Browser in Claude Code?

Run `npx skills add pnp/sharepoint-skills --skill document-browser -a claude-code`. Or copy the skill folder (Skills/document-browser/document-browser in pnp/sharepoint-skills) into .claude/skills/document-browser in your project. Claude Code loads it when a task matches its description.

How do I install Document Browser in Codex?

Run `npx skills add pnp/sharepoint-skills --skill document-browser -a codex`. Or copy the skill folder (Skills/document-browser/document-browser in pnp/sharepoint-skills) into .agents/skills/document-browser in your project. Codex loads it when a task matches its description.

Can I use Document Browser in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pnp/sharepoint-skills --skill document-browser -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/document-browser, .gemini/skills/document-browser, .github/skills/document-browser and .opencode/skills/document-browser in your project.

What does Document Browser need to run?

SKILL.md names no scripts, command-line tools or credentials: Document Browser is instructions for the agent only.

Does Document Browser access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Document Browser safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Document Browser use?

Document Browser is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Document Browser use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Document Browser?

Skills that share tags, products or a category with Document Browser: SVG Dashboard (SCStelz/security-investigator, 249 stars), Superdesign (superdesigndev/superdesign-skill, 628 stars), Visual Style (calesthio/OpenMontage, 65k stars) and UX Walkthrough (XiaoMi/hiui, 877 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Document Browser?

pnp (a GitHub organization) maintains it in pnp/sharepoint-skills, which has 131 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on October 6, 2026.

Source: pnp/sharepoint-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.