guest-access-reviewer
Skill by pnp
Audits guest and external user access on the current SharePoint site. It flags accounts with no activity in 90+ days and saves an HTML report for site owners and governance teams.
Install guest-access-reviewer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pnp/sharepoint-skills /tmp/sharepoint-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sharepoint-skills/Skills/guest-access-reviewer/guest-access-reviewer ~/.claude/skills/guest-access-reviewerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pnp/sharepoint-skills /tmp/sharepoint-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sharepoint-skills/Skills/guest-access-reviewer/guest-access-reviewer ~/.gemini/antigravity-cli/skills/guest-access-reviewerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install guest-access-reviewer in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Guest Access Reviewer is an agent skill for SharePoint sites. It lists every guest and external user with access to the current site, including access through SharePoint groups, direct role assignments, or sharing links. For each guest it records the external domain, groups, permission level, and last activity date where available.
Each guest is classed as Active, Stale (no activity in 90+ days), or Unknown when no activity data exists. The skill saves a self-contained HTML report to a Guest Access Reports folder on the site. The report includes a summary band, status breakdown, domain table, guest details, recommendations, and limitations. It is read-only and never removes users or changes permissions. It is aimed at site owners and governance teams.
Written from the project's SKILL.md and checked against it.
What it can do
- Enumerate guest usersLists all guest and external users with access through groups, direct grants, or sharing links.
- Classify guest statusMarks each guest as Active, Stale (90+ days), or Unknown based on last activity data.
- Map permissionsShows each guest's SharePoint groups and effective permission level on the site.
- Summarize by domainCounts guests and highest permission level for each external domain.
- Build HTML reportCreates a self-contained HTML report with inline CSS, no scripts, and recommendations.
- Save report to librarySaves the timestamped report to a Guest Access Reports folder on the current site.
What you need
- Read access to site user and permission data on the SharePoint site
Try asking
- Run a guest access review on this site.
- Find stale guests who have not been active in 90+ days.
- Audit external users on the Marketing Hub and save the report.
Good to know
- Strictly read-only: never removes users or changes permissions or content.
- Last activity data may be unavailable, in which case guests are marked Unknown.
- Scans only the current site unless the user names another site.
- Report is a single HTML file with no scripts or external resources.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Skills/guest-access-reviewer/guest-access-reviewer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to guest-access-reviewer
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
guest-access-reviewer: common questions
Does the guest access reviewer remove guest users?
No. The skill is strictly read-only. It never removes users, changes permission levels, or edits site content. Its only write is the HTML report file.
How does it decide a guest is stale?
A guest is Stale when the last activity date is more than 90 days ago. If no activity data is available, the guest is marked Unknown instead of Stale.
How does it identify external accounts?
It checks for #EXT# in the UPN, the _spo_ guest account format, email domains outside the host organization, and users shown as Guest in SharePoint.
How do I install guest-access-reviewer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is guest-access-reviewer free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is guest-access-reviewer safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to guest-access-reviewer?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
