permission-report

Create a read-only permission and shared-access review report, save it as a standalone HTML file, and store it to SharePoint. Use when users ask questions like “who has access,” “permission report,” or “create permission report.”

Last repository push
GitHub Stars
169
Forks
67
Issues / PRs
3

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "permission-report" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d1616bc4a8f33f52faec41505821488e903aec8193d2e9815a639ac448910add. Verify the upstream source and version against https://github.com/pnp/sharepoint-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Create a read-only permission and shared-access review report, save it as a standalone HTML file, and store it to SharePoint. Use when users ask questions like “who has access,” “permission report,” or “create permission report.”

0 Downloads

Introduction source: third_party · pnp · 0.0.1 Reference

SkillPi interpretation

Tasks
|-
Audience
Use this skill when the user wants a read-only review of who has access to SharePoint files, folders, libraries, lists, or a site, especially requests such as “who has access,” “permission report,” “sharing report,” “access review,” or “review permissions.”
Inputs and outputs
Use the current SharePoint context by default. Determine the reporting scope from the user’s request and available context: Selected files or folders, if the user has selected items or says “these/this.” A named library or list, if the user names one. The whole current site, if no narrower scope is provided. Only report content and permission details the current user can already see. Never invent access data.
Software, accounts and paid services
The saved file must be a complete HTML document:
Limits and differences
Strictly read-only for permissions and sharing. Never grant, revoke, share, unshare, create sharing links, or change inheritance. Never invent users, groups, permission levels, links, or inheritance status. If access data is unavailable, say so plainly in the report. HTML must be self-contained and must not include scripts or external resources.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: permission-report
description: |-
  Create a read-only permission and sharing access review report as a self-contained HTML file saved to SharePoint.

  Use when the user says:
    - "who has access"
    - "permission report"
    - "sharing report"
    - "access review"
    - "review permissions"
    - "create a Permission Report"

Permission Report

When to use

Use this skill when the user wants a read-only review of who has access to SharePoint files, folders, libraries, lists, or a site, especially requests such as “who has access,” “permission report,” “sharing report,” “access review,” or “review permissions.”

Inputs

Use the current SharePoint context by default. Determine the reporting scope from the user’s request and available context:

  • Selected files or folders, if the user has selected items or says “these/this.”
  • A named library or list, if the user names one.
  • The whole current site, if no narrower scope is provided.

Only report content and permission details the current user can already see. Never invent access data.

Steps

  1. Stay strictly read-only on permissions.

    • Never grant, revoke, change, break, restore, or otherwise modify sharing or permissions.
    • Do not create sharing links or invite users.
    • Use only discovery, listing, permission-checking, and file-creation tools needed to produce the report.
  2. Resolve the scope.

    • If items are selected, report on those selected files or folders.
    • If a list or library is named, resolve it from the current site and report on that list/library and representative or included items as supported by available permission tools.
    • If no narrower scope is clear, report across accessible user-created lists and libraries on the current site.
    • If a scope cannot be resolved, state that plainly in the report and do not guess.
  3. Collect access information. For each scoped site/list/library/file/folder where available, read:

    • Who has access: users, groups, sharing principals, and links.
    • Permission level: normalize to Full Control, Edit, Read, or Other/Unknown.
    • Whether access is inherited or uniquely set.
    • Any sharing links, especially Anyone links.
    • External or guest users. If a tool fails or returns partial/empty permission data, record that limitation plainly; do not fill gaps from assumptions.
  4. Flag risks. Mark rows and findings for:

    • Anyone links.
    • External or guest access.
    • Broad groups such as Everyone, Everyone except external users, All users, or similar tenant-wide groups.
    • Broken inheritance / unique permissions.
    • Individual users with Full Control.
  5. Draft a single self-contained HTML report.

    • No scripts.
    • No external CSS, fonts, images, or resources.
    • Use inline CSS only.
    • Include a summary band with totals such as scoped objects reviewed, principals found, Full Control/Edit/Read counts, external/guest count, sharing link count, and flagged risk count.
    • Include a color-coded access table: red for Full Control/high risk, amber for Edit or caution, green for Read/low risk, gray for unknown. Highlight flagged rows.
    • Include a plain-English findings list explaining the main risks and safe observations.
    • Include a limitations section if permission details were unavailable or partial.
  6. Save the report.

    • Save the HTML file in an Access Reports folder in an appropriate document library on the current site.
    • If the folder does not exist, create only that report folder and only if needed for saving the report.
    • Use a clear filename such as Permission-Report-YYYY-MM-DD-HHMM.html.
  7. Respond to the user.

    • Provide the report link.
    • Give a short summary of the highest-risk findings.
    • Do not claim permissions were changed.

Output format

After saving the report, respond:

# Permission report created

[Open the report](<link>)

- Scope: <selected items, named list/library, or whole site>
- Reviewed: <count or brief description>
- Key findings: <1 concise sentence with highest-risk issues, or “No high-risk access was found in the data available.”>

HTML report requirements

The saved file must be a complete HTML document:

<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Permission Report</title>
  <style>
    /* inline CSS only */
  </style>
</head>
<body>
  <h1>Permission Report</h1>
  <section><!-- summary band --></section>
  <section><!-- findings --></section>
  <section><!-- access table --></section>
  <section><!-- limitations, if any --></section>
</body>
</html>

Constraints

  • Strictly read-only for permissions and sharing.
  • Never grant, revoke, share, unshare, create sharing links, or change inheritance.
  • Never invent users, groups, permission levels, links, or inheritance status.
  • If access data is unavailable, say so plainly in the report.
  • HTML must be self-contained and must not include scripts or external resources.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决企业用户高频刚需的SharePoint权限审计场景
  • 提供端到端权限报告生成与存储解决方案
  • 直接对应"谁有访问权限"等明确用户请求
Trigger Precision95/100

Highlights

  • 触发词覆盖6种常见变体,边界清晰
  • 精准匹配权限审查相关用户请求
Structure and Standards95/100

Areas to improve

  • 缺少When to Use章节 Reported severity: Minor

    文档结构完整但缺少显式的When to Use章节标题

    Recommendation: 建议在文档开头添加显式的When to Use章节

Execution Reliability90/100

Areas to improve

  • 缺少错误处理细节 Reported severity: Minor

    虽然提到了权限数据不可用的情况,但缺少具体的错误处理机制说明

    Recommendation: 建议补充具体的错误处理策略和用户反馈机制

Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

The saved file must be a complete HTML document:

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.