Agent skill

Find Relevant Skill

by pnp in pnp/sharepoint-skills

Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills…

MITAuto-check passedDocuments & Office

Install Find Relevant Skill

skills CLI
$ npx skills add pnp/sharepoint-skills --skill find-relevant-skill -a claude-code

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

GitHub CLI
$ gh skill install pnp/sharepoint-skills find-relevant-skill --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/find-relevant-skill/find-relevant-skill .claude/skills/find-relevant-skill && 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
find-relevant-skill
GitHub stars
132
Token cost
~2.7k tokens
SKILL.md length
1,027 words
Files
1
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills…

  • Works in 10 steps: Restate the task in one short phrase. → Check known skills first. → If no known local skill clearly applies,… → …
  • Site-specific task comes up and no loaded
  • 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

Find Relevant Skill is an agent skill from pnp/sharepoint-skills. Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills, then recommend using, installing, adapting, or proceeding without one. Use when the user says: - "Do we have a skill for this?" - "Check site skills first" - "Find a relevant skill" - "Is there a local skill for this?" - When a recurring or site-specific task comes up and no loaded or local skill obviously covers it

Its SKILL.md is about 2.7k 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 Documents & Office, covering Cloud office suites. It works with Microsoft SharePoint. The repository describes itself as: Skills for Copilot in SharePoint. The licence is MIT.

When your agent uses it

  • Site-specific task comes up and no loaded
  • Local skill obviously covers it

Example prompts

  • “Do we have a skill for this?”
  • “Check site skills first”
  • “Find a relevant skill”
  • “/find-relevant-skill”

Workflow steps

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

  1. Restate the task in one short phrase.
  2. Check known skills first.
  3. If no known local skill clearly applies, inspect this site's skills.
  4. If no local skill matches, ask before checking the PnP SharePoint Skills repo.
  5. Evaluate PnP repo results in this order.
  6. Check risks in any PnP skills or patterns before recommending installation or reuse.
  7. Avoid reinventing the wheel.
  8. Decide the best path.
  9. If the user wants a new, supporting, or imported skill, create or adapt it directly.
  10. If tool checks fail or return empty, say so plainly.

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 (its code samples are markdown).

    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

Find Relevant Skill loads about 2.7k tokens when it runs. Until then it costs about 137 tokens; SKILL.md has 1,027 words of instructions outside code blocks.

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

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). 1,027 words, ~2,658 tokens.

Download SKILL.mdSave it as .claude/skills/find-relevant-skill/SKILL.md (or your agent's skills folder).
name
find-relevant-skill
description
Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills, then recommend using, installing, adapting, or proceeding without one. Use when the user says: - "Do we have a skill for this?" - "Check site skills first" - "Find a relevant skill" - "Is there a local skill for this?" - When a recurring or site-specific task comes up and no loaded or local skill obviously covers it

find-relevant-skill

When to use

Use this skill when the user asks whether this site has a skill for a task, or when the agent is about to handle a recurring or site-specific procedure and no loaded or listed local skill obviously covers it. Don't use it for one-off questions or small talk that don't call for a reusable procedure — the check adds a step that only pays off when a skill could plausibly exist.

This skill helps avoid missing reusable site-specific procedures before doing work directly.

Inputs

Use or infer:

  • The user's current task or request
  • The current site context
  • Any skills already listed in the conversation context
  • Site skills stored wherever this site keeps its local skill library (commonly AgentAssets/Skills, but confirm the actual location for this site rather than assuming), when available
  • Optional external reference: PnP SharePoint Skills repo at https://github.com/pnp/sharepoint-skills/tree/main/Skills

Steps

  1. Restate the task in one short phrase.

  2. Check known skills first.

    • Review loaded skills and site skills already present in context.
    • If a clearly relevant skill exists, activate it (however this environment loads a skill) and follow it.
  3. If no known local skill clearly applies, inspect this site's skills.

    • Look for skill folders or SKILL.md files in this site's local skill library.
    • Read candidate skill descriptions or SKILL.md files as needed.
    • Don't guess skill names or claim a skill exists without finding it.
  4. If no local skill matches, ask before checking the PnP SharePoint Skills repo.

    • Use the repo as a known external source for possible reusable skill patterns: https://github.com/pnp/sharepoint-skills/tree/main/Skills.
    • Always ask the user before searching or accessing the PnP repo, even if they previously approved web search in another turn.
    • Ask exactly: "Want me to search the PnP SharePoint Skills repo for a matching skill?"
    • Do not search or access the public web unless the user explicitly confirms for this specific check.
    • If the user confirms, search the web for the task plus the repo URL.
    • Don't claim an external skill exists unless it was found through an allowed web search or already provided in conversation.
  5. Evaluate PnP repo results in this order.

    • Direct match: a PnP skill clearly solves the user's task. Recommend creating a local site version before using it.
    • Supporting match: no direct PnP skill solves the task, but one or more skills provide useful capabilities, safety rules, formats, patterns, or reusable guidance. Recommend installing those supporting skills locally when they'll be reused.
    • Reference pattern: no supporting skill should be installed, but a PnP skill contains a useful pattern. Apply the relevant pattern while creating a new local skill or proceeding with tools.
    • No match: nothing useful was found. Recommend creating a new skill from scratch or proceeding directly.
  6. Check risks in any PnP skills or patterns before recommending installation or reuse.

    • Review the skill content, description, examples, and tool guidance when available.
    • Flag risks clearly for the user before creating or installing anything.
    • Look for these risk types:
      • Over-broad triggers that may fire on unrelated requests.
      • Instructions that bypass local site checks or ignore site context.
      • Instructions that encourage public web access without explicit user confirmation.
      • Tool names that don't exist in this environment or look mismatched.
      • Destructive or high-impact actions without confirmation, such as delete, overwrite, permissions changes, approvals, bulk edits, sharing, or publishing.
      • Guidance that could fabricate SharePoint IDs, URLs, paths, fields, list names, or file names.
      • Large or vague instructions that may inflate token usage or reduce reliability.
      • Duplicate or overlapping intent with existing local skills.
      • Unsafe HTML, external scripts, external CSS, remote images, or content that may not render under SharePoint CSP.
      • Missing output format, verification steps, or error handling.
    • Classify risk as Low, Medium, or High.
    • If risk is High, recommend adapting only the safe parts or not installing the skill.
    • If risk is Medium, recommend installing only after tightening triggers, adding confirmations, or removing risky instructions.
    • If risk is Low, mention any minor caveats and proceed with the recommendation.
  7. Avoid reinventing the wheel.

    • Prefer installing/adapting relevant supporting skills from PnP over writing all guidance from scratch.
    • If creating a new local skill from scratch, include any relevant PnP-derived patterns in the instructions and cite them in the recommendation summary.
    • If multiple PnP skills are useful, separate them as: direct skill, supporting skill, and reference pattern.
    • Don't install broad or unrelated skills just because they sound similar.
  8. Decide the best path.

    • If a relevant local skill exists, recommend it and activate it.
    • If a nearby local skill exists but doesn't fully cover the task, say what it covers and what's missing.
    • If a direct PnP skill exists, recommend creating a local site skill from it.
    • If supporting PnP skills exist, recommend installing/adapting them locally before creating the task-specific skill.
    • If only reference patterns exist, recommend applying those patterns to the new skill or direct work.
    • If risks are identified, include the risk rating and mitigation in the recommendation.
    • If no relevant skill or pattern exists, recommend creating a new skill from scratch or proceeding directly with tools.
  9. If the user wants a new, supporting, or imported skill, create or adapt it directly.

    • If this site has its own dedicated skill-creation process already loaded or listed, use that; otherwise build the skill yourself following this site's normal skill format (frontmatter with name and description, then instructions).
    • Confirm purpose, triggers, output format, and verifiability before creating it.
    • If adapting a PnP skill, generalize it for this site and preserve only the relevant safe instructions.
    • If installing a supporting skill, keep its scope reusable and don't overfit it to the current task.
    • Remove or rewrite risky instructions before saving locally.
  10. If tool checks fail or return empty, say so plainly.

Show full SKILL.md (76 more words)Show less
  • Don't invent site skills, paths, tool results, PnP skill names, repository contents, or risk findings.

Output format

markdown
## Skill check
- Task: <short task summary>
- Local match: <skill name | no matching local skill found | partial match>
- PnP repo: <not checked | checked: direct match | checked: supporting skills found | checked: reference patterns found | checked: no match found | needs user confirmation>
- Recommendation: <load/use local skill | create local skill from PnP | install supporting skills | apply reference patterns | create new skill | proceed directly>
- Supporting skills: <skill names or none>
- Reference patterns: <skill names/patterns or none>
- Risks: <none found | Low | Medium | High - brief reason>
- Mitigation: <none | tighten triggers | remove risky instructions | require confirmation | adapt safe parts only | don't install>
- Notes: <brief reason>

If a skill is loaded, add:

markdown
Loaded `<skill-name>` and I'll use it for this request.

If PnP repo confirmation is needed, ask:

markdown
Want me to search the PnP SharePoint Skills repo for a matching skill?

Examples

User asks: "Do we have a skill for styling this list?"

Output:

markdown
## Skill check
- Task: Style a SharePoint list
- Local match: list-formatting
- PnP repo: not checked
- Recommendation: Load and use local skill
- Supporting skills: none
- Reference patterns: none
- Risks: none found
- Mitigation: none
- Notes: It covers list/library formatting, status indicators, progress bars, and dashboards.
User asks: "Can you help me build a release readiness checklist?"

If no local matching skill is found:

markdown
## Skill check
- Task: Build a release readiness checklist
- Local match: no matching local skill found
- PnP repo: needs user confirmation
- Recommendation: Check PnP repo or proceed directly
- Supporting skills: unknown until checked
- Reference patterns: unknown until checked
- Risks: unknown until checked
- Mitigation: unknown until checked
- Notes: I didn't find a local reusable procedure for this task.

Want me to search the PnP SharePoint Skills repo for a matching skill?
PnP repo has no direct skill but has useful patterns
markdown
## Skill check
- Task: Create a live HTML list report
- Local match: no matching local skill found
- PnP repo: checked: supporting skills found
- Recommendation: Install supporting skills and create a task-specific skill
- Supporting skills: sharepoint-safe-html, exec-report
- Reference patterns: safe HTML rendering, dashboard layout, KPI cards
- Risks: Medium - HTML guidance may include unsafe external assets or broad report-generation triggers
- Mitigation: adapt safe HTML-only patterns, remove external resources, and tighten triggers before saving locally
- Notes: No single PnP skill fully solves the task, but these skills avoid reinventing report and safe HTML guidance.
PnP skill has high-risk behavior
markdown
## Skill check
- Task: Automate bulk permission changes
- Local match: no matching local skill found
- PnP repo: checked: reference patterns found
- Recommendation: Apply reference patterns only
- Supporting skills: none
- Reference patterns: confirmation checklist, dry-run summary
- Risks: High - found guidance touches permissions and bulk changes without enough confirmation steps
- Mitigation: don't install as-is; adapt only the confirmation and audit pattern
- Notes: High-impact SharePoint changes need explicit confirmation and verifiable targets.

© 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/find-relevant-skill/find-relevant-skill of pnp/sharepoint-skills.

Open the folder on GitHubat commit aa9eb14

Compare with similar skills

Find Relevant Skill 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.

Find Relevant Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Find Relevant Skill this skillpnp/sharepoint-skills132—~2.7kAutomated safety check: PassMIT
Colleague DistillationZhixiangLuo/10xProductivity478—~2.1kAutomated safety check: NotesMIT
Msgraphcodemie-ai/codemie-code294—~4.1kAutomated safety check: PassApache-2.0
aai-cli Microsoft 365aai-labs/agent-barn109—~1.2kAutomated safety check: PassApache-2.0
Workiqmicrosoft/work-iq1k—~15kAutomated safety check: PassCustom licence
Workiq Previewmicrosoft/work-iq1k—~3.3kAutomated safety check: PassCustom licence

Similar skills

  • Colleague Distillation

    ZhixiangLuo/10xProductivity

    Distill a colleague into a reusable AI skill (work + persona) using tool connections — Slack, Slack AI, Jira, GHE, Bitbucket, Confluence, SharePoint, Teams, Outlook, Notion, Linear, Google Docs, and…

    478 GitHub stars~2.1k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • Msgraph

    codemie-ai/codemie-code

    Work with Microsoft 365 services via the Graph API — emails, calendar events, SharePoint sites (read and write), Teams chats and channel messages, OneDrive files, OneNote notebooks, Planner task…

    294 GitHub stars~4.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • aai-cli Microsoft 365

    aai-labs/agent-barn

    Guides work with Outlook, OneDrive, SharePoint, Teams, Excel, To Do and Planner through aai-cli's Microsoft Graph commands, starting from which service owns the data.

    109 GitHub stars~1.2k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Workiq

    microsoft/work-iq

    Official

    WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.

    1k GitHub stars~15k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Workiq Preview

    microsoft/work-iq

    Official

    WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.

    1k GitHub stars~3.3k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Hunt Ntlm Info

    sickn33/agentic-awesome-skills

    Hunt NTLM/Negotiate information disclosure on internet-reachable IIS/SharePoint/Exchange.

    47k GitHub starsUsed in 1 repo~4.7k tokens
    Documents & OfficeAuto-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…

    132 GitHub stars~1.9k tokensUpdated 2 days ago
    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.

    132 GitHub stars~899 tokensUpdated 2 days ago
    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.

    132 GitHub stars~2.5k tokensUpdated 2 days ago
    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…

    132 GitHub stars~1.2k tokensUpdated 2 days ago
    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.

    132 GitHub stars~1.9k tokensUpdated 2 days ago
    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.

    132 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed

Questions about Find Relevant Skill

What does Find Relevant Skill do?

Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills…. Find Relevant Skill is an agent skill from pnp/sharepoint-skills. Check this SharePoint site's local skills before handling a request when no obvious local skill exists; ask every time before searching the PnP SharePoint Skills repo, assess risks in found skills, then recommend using, installing, adapting, or proceeding without one.

When should I use Find Relevant Skill?

Find Relevant Skill fits situations like: site-specific task comes up and no loaded; local skill obviously covers it.

How do I install Find Relevant Skill in Claude Code?

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

How do I install Find Relevant Skill in Codex?

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

Can I use Find Relevant Skill 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 find-relevant-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/find-relevant-skill, .gemini/skills/find-relevant-skill, .github/skills/find-relevant-skill and .opencode/skills/find-relevant-skill in your project.

What does Find Relevant Skill need to run?

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

Does Find Relevant Skill 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 Find Relevant Skill 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 Find Relevant Skill use?

Find Relevant Skill 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 Find Relevant Skill use?

About 2.7k tokens (SKILL.md is roughly 11k 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 Find Relevant Skill?

Skills that share tags, products or a category with Find Relevant Skill: Colleague Distillation (ZhixiangLuo/10xProductivity, 478 stars), Msgraph (codemie-ai/codemie-code, 294 stars), aai-cli Microsoft 365 (aai-labs/agent-barn, 109 stars) and Workiq (microsoft/work-iq, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Find Relevant Skill?

pnp (a GitHub organization) maintains it in pnp/sharepoint-skills, which has 132 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.