Agent skill

Scorecard Matrix

by pnp in 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…

MITAuto-check passedBusiness, Finance & HR

Install Scorecard Matrix

skills CLI
$ npx skills add pnp/sharepoint-skills --skill scorecard-matrix -a claude-code

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

GitHub CLI
$ gh skill install pnp/sharepoint-skills scorecard-matrix --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/scorecard-matrix/scorecard-matrix .claude/skills/scorecard-matrix && 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
scorecard-matrix
GitHub stars
131
Token cost
~1.9k tokens
SKILL.md length
879 words
Files
4 (incl. references, assets)
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

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…

  • Works in 6 steps: Determine the Data Source → Interview the User → Normalize Weights → …
  • Asked to build a scorecard
  • SKILL.md covers Step 1: Determine the Data…, Step 2: Interview the User, Step 3: Normalize Weights and Step 4: Choose the Scoring Scale, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Scorecard Matrix is an agent skill from 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 winner highlight. Use when asked to build a scorecard, comparison matrix, decision matrix, vendor evaluation, tool assessment, candidate scoring grid, competitive analysis, site-readiness matrix, or any weighted multi-criteria ranking. Interviews the user if entities or criteria are missing, constructs a validated JSON…

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files and assets (for example `references/components.md` and `references/design-system.md`).

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

When your agent uses it

  • Asked to build a scorecard
  • Comparison matrix
  • Decision matrix
  • Vendor evaluation

Example prompts

  • “Use the scorecard-matrix skill to generate a polished, self-contained HTML heatmap scorecard — a weighted comparison matrix where entities (rows)…”
  • “/scorecard-matrix”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Determine the Data Source
  2. Interview the User
  3. Normalize Weights
  4. Choose the Scoring Scale
  5. Build and Validate the JSON Document
  6. Render the HTML

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

Scorecard Matrix loads about 1.9k tokens when it runs, and up to ~7.4k if it reads all its reference files. Until then it costs about 173 tokens; SKILL.md has 879 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~173
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.4k

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). 879 words, ~1,851 tokens.

Download SKILL.mdSave it as .claude/skills/scorecard-matrix/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
scorecard-matrix
description
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 winner highlight. Use when asked to build a scorecard, comparison matrix, decision matrix, vendor evaluation, tool assessment, candidate scoring grid, competitive analysis, site-readiness matrix, or any weighted multi-criteria ranking. Interviews the user if entities or criteria are missing, constructs a validated JSON document, then renders it into a sandbox-safe HTML file using the component library. No external dependencies — output runs inside a SharePoint sandboxed iframe.
metadata.author
zrosenfield

Scorecard Matrix

Generates a complete, self-contained HTML scorecard by (1) interviewing the user or parsing their data, (2) constructing and validating a JSON document, then (3) rendering that JSON into HTML using assets/scorecard-matrix-template.html. The JSON is the authoritative source of truth; the HTML is fully determined by it.


Step 1: Determine the Data Source

Check what the user has already provided before asking anything:

  • SharePoint list or table: Parse all rows. Identify entities (the things being compared) and scoring columns (the dimensions).
  • CSV or table pasted in chat: Extract entities, dimension names, and scores directly. Do not ask for data you already have.
  • Verbal description only: Proceed to Step 2.

Step 2: Interview the User

If the data or intent is not fully clear, ask these questions in a single message — not one at a time:

  1. What are you comparing? List the entities: vendors, tools, candidates, sites, products, options. (2–10 items.)
  2. What are the criteria? List the dimensions you are scoring against: features, cost, fit, support, risk, readiness, etc. (2–10 items.)
  3. Weights: How important is each dimension relative to the others? Can be given as percentages (must sum to 100%), ratios (e.g. 3:2:1), or plain priority ranking. The skill normalizes to decimals summing to 1.0.
  4. Scores: For each entity × dimension cell: what is the score? Use whichever scale feels natural — the skill will ask you to confirm the scale (1–5 or 1–10). If scores come from data, extract them. If from judgment, prompt the user to rate each combination.
  5. Cell notes: For any cell, is there a short phrase (under 6 words) that explains the score? Optional but valuable.
  6. Context sentence: One or two sentences describing the decision being made, the audience, and the date or period.
  7. Palette: Warm paper (cream/terra-cotta), deep ink (dark/gold), clean white (white/green), or slate (gray/blue)? Default to warm paper.

Confirm your understanding of the full matrix before building the JSON.


Step 3: Normalize Weights

Weights must sum to exactly 1.0. Apply these rules:

  • Percentages given: divide each by 100. Check sum = 1.0. If not, normalize: w_i = raw_i / sum(raw).
  • Ratios given (e.g. 3:2:2:1): w_i = ratio_i / sum(ratios).
  • Priority ranking only: assign equal weight: w_i = 1 / N where N = number of dimensions.
  • Weights already decimal: verify sum. If off by ≤ 0.01 due to rounding, adjust the largest weight to compensate.

Always document the normalized weights in the JSON and show the user before rendering.


Step 4: Choose the Scoring Scale

Default to 1–5 unless:

  • The user provides scores already on a 1–10 scale, or
  • There are 8+ dimensions and fine-grained differentiation matters.

When prompting the user to rate cells manually, describe each anchor:

  • 1–5 scale: 1 = very poor fit, 3 = adequate, 5 = exceptional.
  • 1–10 scale: 1 = unacceptable, 5 = meets minimum bar, 10 = best in class.

Step 5: Build and Validate the JSON Document

Construct the JSON object. Read references/components.md for the full schema and computation rules.

Top-level structure:

{
  "report": {
    "title": "CRM Platform Evaluation",
    "subtitle": "Q2 2026 · Vendor Selection",
    "context": "Evaluating five CRM platforms for the SMB sales team...",
    "palette": "warm-paper",
    "footer": "Generated May 28, 2026 · 5 vendors · 6 dimensions"
  },
  "scale": 5,
  "dimensions": [...],
  "entities": [...]
}

Computed fields (the skill must calculate these before rendering):

  • weighted_total per entity = sum(score_d × weight_d) for all dimensions d
  • rank per entity = 1-based position sorted by weighted_total descending; ties share the lower rank number
  • column_avg per dimension = average score across all entities (round to 1 decimal)
Show full SKILL.md (347 more words)Show less
Validation Checklist

Run every check before rendering. Fix any failure before proceeding.

Document level:

  • report.palette is one of: warm-paper, deep-ink, clean-white, slate
  • scale is 5 or 10
  • dimensions array has 2–10 items
  • entities array has 2–10 items
  • All dimension weight values are decimals; they sum to 1.0 (± 0.005 tolerance for rounding)
  • Every dimension has a unique id
  • Every entity has a unique id

Per entity:

  • scores object has a key for every dimension id
  • Every score value is a number in range [1, scale]
  • weighted_total has been computed and rounded to 2 decimal places
  • rank has been assigned (1 = best)

Per dimension:

  • column_avg has been computed
  • weight is a number in (0, 1]

Step 6: Render the HTML

  1. Read assets/scorecard-matrix-template.html.
  2. Replace {{REPORT_TITLE}} in <title> with a concise page title.
  3. Replace {{PALETTE_CLASS}} on <body> with palette- + the palette name.
  4. Generate the header HTML (.rpt-header + .sc-title-block) and replace {{HEADER}}.
  5. Generate the full matrix table HTML and replace {{MATRIX}}. See references/components.md for the matrix structure, heatmap cell style computation, rank badge HTML, and averages row.
  6. Generate the rankings callout HTML and replace {{RANKINGS}}.
  7. Generate the dimension weights note HTML and replace {{WEIGHTS_NOTE}}.
  8. Replace {{FOOTER}} with the footer text.
  9. Deliver the complete file as the response. No prose outside the file.
Heatmap Cell Style Computation

For each score cell, compute a background color based on the normalized score. Read references/design-system.md for the exact hex values per palette tier. The formula:

t = (score - 1) / (scale - 1)   // normalized 0.0–1.0
tier: t < 0.35  → low  (cool tint toward negative)
      t ≥ 0.65  → high (warm tint toward accent)
      else      → mid  (surface, neutral)

Emit the computed hex directly as an inline style="background:{{HEX}}" on each score cell. No JS is needed — the page is fully readable with scripts disabled.


Hard Constraints

  • No external URLs, CDN links, or web fonts in the output HTML.
  • No <script src> tags. All JavaScript must be inline.
  • All data values must be pre-rendered into the HTML — the page must be fully correct with JavaScript disabled.
  • Do not generate Python, PowerShell, or any other scripts — output is always the HTML file.
  • Do not render until the validation checklist passes.
  • Follow the no-Person-column-type rule for any accompanying SharePoint schema: use text columns only.

© 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

SKILL.md and 3 other files (references, assets) in Skills/scorecard-matrix/scorecard-matrix of pnp/sharepoint-skills.

  • SKILL.md
  • assets/scorecard-matrix-template.html
  • references/components.md
  • references/design-system.md

Open the folder on GitHubat commit aa9eb14

Compare with similar skills

Scorecard Matrix 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.

Scorecard Matrix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scorecard Matrix this skillpnp/sharepoint-skills131—~1.9kAutomated safety check: PassMIT
SVG DashboardSCStelz/security-investigator249—~5.7kAutomated safety check: PassMIT
aai-cli Microsoft 365aai-labs/agent-barn109—~1.2kAutomated safety check: PassApache-2.0
Anygen DocLeoYeAI/openclaw-master-skills2.2k—~4.3kAutomated safety check: PassMIT
Consultation Workflowh30190/HJPLUS_Taiwan_Architect_KB157—~2kAutomated safety check: PassCC-BY-SA-4.0
Regulation Currency Checkh30190/HJPLUS_Taiwan_Architect_KB157—~1.7kAutomated safety check: PassCC-BY-SA-4.0

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 2 days ago
    Data & AnalyticsAuto-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 yesterday
    Documents & OfficeAuto-check passed
  • Anygen Doc

    LeoYeAI/openclaw-master-skills

    Use this skill any time the user wants to create, draft, or generate a written document or report.

    2.2k GitHub stars~4.3k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Consultation Workflow

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when answering any Taiwan architecture consulting question — code compliance, FAR/area calculation, permits, fire safety, accessibility, procurement, structural checks — as…

    157 GitHub stars~2k tokensUpdated 3 days ago
    Business, Finance & HRAuto-check passed
  • Regulation Currency Check

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when about to quote any normative number (dimension, ratio, monetary threshold, penalty, vendor specification) from memory or from another skill in this knowledge base…

    157 GitHub stars~1.7k tokensUpdated 3 days ago
    Business, Finance & HRAuto-check passed
  • Add Excel

    microsoft/power-platform-skills

    Official

    Adds Excel Online (Business) connector to a Power Apps code app.

    972 GitHub stars~796 tokensUpdated yesterday
    Documents & OfficeAuto-check: notes

More from pnp/sharepoint-skills

All 51 skills in this repo
  • 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 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.

    131 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…

    131 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.

    131 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.

    131 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed
  • File Classifier

    pnp/sharepoint-skills

    Classifies files in a SharePoint document library by reading their content and matching them to known content types (Contracts, Invoices, Purchase Orders).

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

Questions about Scorecard Matrix

What does Scorecard Matrix do?

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…. Scorecard Matrix is an agent skill from 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 winner highlight.

When should I use Scorecard Matrix?

Scorecard Matrix fits situations like: asked to build a scorecard; comparison matrix; decision matrix; vendor evaluation.

How do I install Scorecard Matrix in Claude Code?

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

How do I install Scorecard Matrix in Codex?

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

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

What does Scorecard Matrix need to run?

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

Does Scorecard Matrix 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 Scorecard Matrix 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 Scorecard Matrix use?

Scorecard Matrix 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 Scorecard Matrix use?

About 1.9k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.

What are the alternatives to Scorecard Matrix?

Skills that share tags, products or a category with Scorecard Matrix: SVG Dashboard (SCStelz/security-investigator, 249 stars), aai-cli Microsoft 365 (aai-labs/agent-barn, 109 stars), Anygen Doc (LeoYeAI/openclaw-master-skills, 2.2k stars) and Consultation Workflow (h30190/HJPLUS_Taiwan_Architect_KB, 157 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scorecard Matrix?

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.