model-risk-evidence-matrix
Use when an ML model release is up for promotion and someone must decide which fairness and explainability evidence is required, or check the evidence against the model's risk tier. Assigns a low, medium or high tier, lists required artifacts and returns promote, needs-work or block.
Install model-risk-evidence-matrix
npx skills add testland/qa --skill model-risk-evidence-matrix -a claude-codeInstalls into .claude/skills/ in your project. Add -g to install it for all your projects, in ~/.claude/skills/.
SKILL.md
Shown as published, under the repository's MIT license.
---
name: model-risk-evidence-matrix
description: "Use when an ML model release is up for promotion and someone must decide which fairness and explainability evidence is required, or check the evidence against the model's risk tier. Assigns a low, medium or high tier, lists required artifacts and returns promote, needs-work or block."
---# model-risk-evidence-matrix
This is a decision matrix for one question: **given what a model decides, what
fairness and explainability evidence must exist before anyone can reason about
it?** It converts a risk tier into a required-artifact list, and converts a
missing or self-contradicting artifact into a named evidence rule.
## What this owns, and what it does not
**Owns:** the risk-tiering scheme, the evidence-required-per-tier matrix, the
conventional verdict bands on a group fairness metric, the per-vulnerability
category blocking table, and the evidence rules that mark a bundle incomplete.
**Does not own:**
- **Training or mitigation.** Nothing here retrains a model, reweights data, or
applies a fairness constraint. When a disparity exceeds a band, this matrix
says the bundle needs mitigation provenance. It does not produce the
mitigation.
- **Certifying a model as fair.** A complete bundle means the evidence exists
and is internally consistent. It does not mean the model is fair. Fairness is
contested: "different people may have different ideas of what is fair in a
particular scenario", and mathematical metrics "fail to capture all relevant
aspects" ([Fairlearn, fairness in machine learning](https://fairlearn.org/main/user_guide/fairness_in_machine_learning.html)).
- **The release decision.** Whoever owns release accepts or rejects. This matrix
supplies the evidence status they act on.
## Step 1 - Assign the risk tier
Tier on what the prediction *decides*, not on model architecture, accuracy, or
how the team feels about the use case.
| Tier | What puts a model here | Reversible by the affected person? | Example |
|---|---|:-:|---|
| Low | Internal recommendation consumed by staff; no decision about an identified individual | Yes | ranking an internal triage queue |
| Medium | External recommendation that shapes a user's experience; still no decision about the individual | Yes | storefront product recommender |
| High | Decides about an individual in credit, employment, healthcare, insurance, justice, or education | Usually not | consumer credit approval scoring |
Three external tests escalate a model to **high** regardless of where the team
first placed it. Read each at its source before relying on it:
1. **Solely automated decisions with legal or similarly significant effect.**
GDPR Article 22(1): "The data subject shall have the right not to be subject
to a decision based solely on automated processing, including profiling,
which produces legal effects concerning him or her or similarly
significantly affects him or her"
([Regulation (EU) 2016/679, EUR-Lex](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32016R0679)).
2. **Listed high-risk uses under the EU AI Act.** Regulation (EU) 2024/1689
classifies certain systems as high-risk via Article 6(2) and Annex III. The
authoritative area list lives in the Annex itself, not in this table: read it
at the [official EUR-Lex entry for Regulation (EU) 2024/1689](https://eur-lex.europa.eu/eli/reg/2024/1689/oj)
rather than reproducing a remembered version of it.
3. **US credit decisions.** Regulation B implementing the Equal Credit
Opportunity Act requires that "the statement of reasons for adverse action
... must be specific and indicate the principal reason(s) for the adverse
action", and treats a statement that the applicant failed to reach a
qualifying score as insufficient
([12 CFR 1002.9, CFPB](https://www.consumerfinance.gov/rules-policy/regulations/1002/9/)).
A model that drives credit denials therefore needs per-prediction reasons as
evidence, not a claim that the model class is interpretable.
None of these three is a complete legal analysis. They are escalation triggers
that force the high tier and send the question to counsel.
## Step 2 - Read the required evidence for that tier
| Evidence artifact | Low | Medium | High |
|---|:-:|:-:|:-:|
| Performance metrics (aggregate) | required | required | required |
| Group fairness metrics per declared sensitive feature | - | required | required |
| Intersectional fairness across 2+ sensitive features | - | required | required |
| Model vulnerability scan | required | required | required |
| Drift monitoring plan with a declared reference dataset | - | required | required |
| Per-prediction (local) explanation logging | - | - | required |
| Mitigation provenance when any measured disparity is non-zero | - | required | required |
A `-` means the tier does not compel the artifact. It never means the artifact
is unwelcome.
The declared sensitive-feature list is the spine of rows 2, 3, and 7. A model
card that lists no sensitive features can only satisfy the low tier.
## Step 3 - Name the fairness metric precisely
These three metrics are commonly used interchangeably in review conversations.
They are not interchangeable. Each is defined below from
[Fairlearn's common fairness metrics guide](https://fairlearn.org/main/user_guide/assessment/common_fairness_metrics.html).
| Metric | Fairlearn's definition | What it equalizes across groups |
|---|---|---|
| Demographic parity | "ensure a machine learning model's predictions are independent of membership in a sensitive group" | selection rate |
| Equalized odds | "ensure a machine learning model performs equally well for different groups" | true positive rate **and** false positive rate |
| Equal opportunity | "a relaxed version of equalized odds that only considers conditional expectations with respect to positive labels (Y=1)" | true positive rate only |
The conditions Fairlearn states for a classifier `h` with sensitive feature `A`
and label `Y`, from the same guide:
```text
demographic parity: E[h(X) | A=a] = E[h(X)] for all a
equalized odds: E[h(X) | A=a, Y=y] = E[h(X) | Y=y] for all a, y
equal opportunity: the equalized-odds condition restricted to Y=1
```
The scalar reported against demographic parity is
`demographic_parity_difference`, "defined as the difference between the largest
and the smallest group-level selection rate", where a value of 0 "means that all
groups have the same selection rate"
([Fairlearn API reference](https://fairlearn.org/main/api_reference/generated/fairlearn.metrics.demographic_parity_difference.html)).
This document abbreviates it **DPD**. Note the shape: DPD is a **difference**
between rates. `demographic_parity_ratio` is a different quantity. Do not
compare a difference against a threshold written for a ratio.
Which metric a bundle should carry depends on the harm being guarded against.
Fairlearn's guidance: demographic parity where input biases are known;
equalized odds where the historical data lacks measurement bias and both error
types matter equally; equal opportunity where false positives cause less harm
than missed true positives
([Fairlearn, common fairness metrics](https://fairlearn.org/main/user_guide/assessment/common_fairness_metrics.html)).
Record the choice and its reason in the model card. An unexplained metric choice
is a gap in the bundle, because the metric can be picked after the fact to
flatter the result.
## Step 4 - Accept that the metrics conflict
Do not ask a bundle to satisfy every fairness criterion at once. It is a proven
result, not a tooling limitation, that common criteria conflict:
- Kleinberg, Mullainathan and Raghavan prove that "except in highly constrained
special cases, there is no method that can satisfy these three conditions
simultaneously", and that satisfying them even approximately requires the data
to lie near one of those special cases
([Inherent Trade-Offs in the Fair Determination of Risk Scores](https://arxiv.org/abs/1609.05807)).
- Chouldechova shows the same tension turns on base rates: adherence to the
criteria "may lead to considerable disparate impact when recidivism prevalence
differs across groups"
([Fair prediction with disparate impact](https://arxiv.org/abs/1610.07524)).
- Fairlearn states it directly: "In some scenarios, fairness metrics such as
demographic parity and equalized odds cannot be satisfied at the same time"
([Fairlearn, fairness in machine learning](https://fairlearn.org/main/user_guide/fairness_in_machine_learning.html)).
**Evidence consequence:** a bundle claiming to satisfy demographic parity *and*
equalized odds *and* calibration across groups, on data with differing base
rates, is making a claim the literature says is unavailable. Treat it as a
reporting error to investigate, not as an unusually good result.
## Step 5 - Apply the verdict bands, and label them as convention
| DPD on the declared sensitive feature | Band | What the bundle must then contain |
|---|---|---|
| DPD <= 0.05 | PASS | the measurement itself |
| 0.05 < DPD <= 0.10 | REVIEW | a written justification plus a monitoring plan |
| DPD > 0.10 | BLOCK | mitigation provenance, or a signed waiver |
**These three numbers are a practitioner convention, not a standard and not a
legal threshold.** No standards body publishes 0.05 or 0.10 as a fairness limit.
They are a starting policy for teams that have none, deliberately set tighter
than any enforcement heuristic so that the review happens before a regulator's
does.
The nearest well-known regulatory heuristic is the four-fifths rule, and even
that is expressly not a legal test: the EEOC states the "'4/5ths' or '80%' rule
of thumb is not intended as a legal definition, but is a practical means of
keeping the attention of the enforcement agencies on serious discrepancies in
rates of hiring, promotion and other selection decisions"
([EEOC Q&A on the Uniform Guidelines](https://www.eeoc.gov/laws/guidance/questions-and-answers-clarify-and-provide-common-interpretation-uniform-guidelines)).
It is also a **ratio** between selection rates, so it does not translate into a
DPD difference threshold.
**Who owns the numbers.** Not the person running the metrics, and not this
matrix. The band belongs to a named accountable owner recorded in the model
card: legal counsel for a regulated decision, otherwise the risk or product
owner who accepts the consequence. Fairlearn frames fairness assessment as
requiring stakeholder identification and human judgment in context rather than a
technical fix ([Fairlearn, fairness in machine learning](https://fairlearn.org/main/user_guide/fairness_in_machine_learning.html)),
and the NIST AI Risk Management Framework is "intended for voluntary use"
rather than as a prescriptive threshold source
([NIST AI RMF](https://www.nist.gov/itl/ai-risk-management-framework)).
A band with no named owner is an unowned band: record that as a gap.
A waiver, where used, carries four fields and no fewer: `Reason:`,
`Approved-by:`, `Re-review-date:`, `expires:`. A waiver without an expiry is a
silent permanent exemption.
## Step 6 - Require intersectional evidence with counts
For medium and high tiers, single-attribute fairness is not sufficient evidence.
Disparities that cancel out within `sex` and within `race` separately can still
be severe at `sex x race`.
Fairlearn supports this by accepting multiple sensitive features, after which
"the `MetricFrame.by_group` property then holds the intersections of these
groups". The same guide warns that "some of the intersections may have very few
members (or even be empty)", that an empty intersection shows as `NaN`, and that
"random noise has a greater effect on smaller groups". It recommends including
`count()` as a metric alongside the fairness metrics
([Fairlearn, intersecting groups](https://fairlearn.org/main/user_guide/assessment/intersecting_groups.html)).
**Evidence rule:** an intersectional table without a per-cell count column is
not intersectional evidence. Its small cells cannot be distinguished from noise,
and its `NaN` cells cannot be distinguished from unmeasured ones.
## Step 7 - Triage vulnerability scan categories
A scan of the model surfaces categories of vulnerability rather than a single
score. Giskard's scan reports performance bias, unrobustness, overconfidence,
underconfidence, unethical behaviour, data leakage, stochasticity, and spurious
correlation
([Giskard tabular scan](https://legacy-docs.giskard.ai/en/stable/open_source/scan/scan_tabular/index.html)).
This matrix assigns a blocking rule to six of them:
| Scan category | Blocks the bundle? | Why |
|---|---|---|
| Performance bias on a sensitive feature | YES | same disparity as Step 5, found on a different path |
| Data leakage | YES | training contamination invalidates every metric in the bundle |
| Unethical behaviour | YES | needs a human review record, not an automated pass |
| Unrobustness | Depends on input source: block when the input is user-controlled | an adversary can reach a user-controlled input |
| Underconfidence | NO | advisory; record it, do not gate on it |
| Stochasticity | NO when reproducible runs are configured; otherwise treat as unresolved | non-reproducible runs make every other finding unrepeatable |
Overconfidence and spurious correlation carry no blocking rule here. Record them
and route them to whoever owns model quality.
## Step 8 - Check the evidence rules
Each rule below marks a bundle **incomplete** (a required artifact is absent) or
**contradicted** (the bundle asserts something its own artifacts do not
support).
| Rule | Trigger | Status |
|---|---|---|
| R1 | Tier is medium or high and the declared sensitive-feature list is empty or `["none"]` | incomplete: rows 2, 3 and 7 of the Step 2 matrix cannot be evaluated at all |
| R2 | Tier is high and no per-prediction explanation logs exist | incomplete: the artifact Step 2 marks required for high is absent |
| R3 | Any DPD exceeds 0.10 with no mitigation provenance and no waiver carrying all four fields | incomplete: the Step 5 BLOCK band names an artifact that is missing |
| R4 | The model card claims production drift monitoring but no schedule, reference dataset, or alert route exists | contradicted: a claim without its artifact |
| R5 | The vulnerability scan reports data leakage | contradicted: every performance and fairness number in the bundle is computed on compromised data |
| R6 | Tier is medium or high and no intersectional table exists, or it exists without per-cell counts | incomplete: see Step 6 |
R4 depends on a real reference dataset, not a nominal one. Evidently's drift
preset requires both datasets to be supplied: "You must always pass both: the
current one will be compared to the reference"
([Evidently data drift preset](https://docs.evidentlyai.com/metrics/preset_data_drift)).
A monitoring plan naming no reference dataset cannot run.
R2 depends on **local** explanations, meaning explanations of individual
predictions. Explainability insights divide into local and global, where local
insights concern individual predictions; Anchors finds "which set of features of
a given instance are sufficient to ensure the prediction stays the same" and
counterfactuals find "what minimal change to features is required to reclassify
the current prediction"
([Alibi Explain](https://docs.seldon.ai/alibi-explain/)).
A global feature-importance chart does not satisfy R2, because the ECOA
requirement in Step 1 is a reason for *this* applicant's decision. Producing
the explanation records themselves - explainer selection, the fit/explain
interface, and audit-log persistence - is covered in
[references/alibi-explainability.md](references/alibi-explainability.md).
## Step 9 - Gate a promotion on the matrix (fairness gating)
The matrix doubles as a promotion gate. Given a release candidate's model card
(risk tier, sensitive features, training data source, intended use) and its
evidence bundle (Fairlearn `MetricFrame.by_group` numbers, vulnerability scan
JSON, drift monitoring plan, explanation samples), walk the steps above in
order and return one verdict: **promote**, **needs-work**, or **block**.
1. **Re-tier the model** (Step 1), including the three escalation triggers.
Gate against the re-derived tier, never the declared one.
2. **Check the sensitive-feature declaration.** `jq '.sensitive_features'
model_card.json` - present, non-empty, and not `["none"]` for medium/high
(rule R1).
3. **Read the group fairness numbers.** Name the metric precisely (Step 3) and
apply the DPD verdict bands, the band-owner requirement, and the four-field
waiver rule (Step 5).
4. **Verify intersectional evidence with per-cell counts** (Step 6, rule R6).
5. **Triage the vulnerability scan** against the blocking table (Step 7).
6. **Check the drift monitoring plan** names a reference dataset, a schedule,
and an alert route (rule R4).
7. **For high tier, verify per-prediction explanation logs** exist for at least
one positive and one negative prediction class, with non-empty data and
metadata (rule R2).
8. **Emit the verdict**: the Step 2 coverage matrix with a status per artifact,
the rules that fired, the unowned decisions, and the list of artifacts that
would close the bundle.
**Refuse-to-promote rules.** Never emit **promote** while any of these holds:
- Tier is medium/high and `sensitive_features` is missing or `["none"]` (R1).
- Tier is high and per-prediction explanation logging is absent (R2).
- Any DPD > 0.10 with neither mitigation provenance nor a waiver carrying all
four required fields (R3).
- The model card claims production drift monitoring but no schedule, reference
dataset, or alert route exists (R4).
- The vulnerability scan reports data leakage (R5).
- Intersectional analysis is missing, or lacks per-cell counts, for a
medium/high tier (R6).
The gate verdict is about the evidence, not the model: **promote** means the
bundle is complete and internally consistent for the tier. The release decision
itself stays with the accountable owner named in Step 5.
## Worked example
A full walk-through - a credit model mis-declared as medium, re-tiered to high,
with rules R2, R4, and R6 firing and the emitted evidence-coverage report - is
in [references/worked-example.md](references/worked-example.md).
## Anti-patterns
| Anti-pattern | Why it fails | Instead |
|---|---|---|
| Tier on model architecture or accuracy | Tier is set by what the prediction decides about a person, not by how the model works | Step 1 |
| Treat aggregate accuracy as fairness evidence | Aggregates hide per-group disparity by construction | require the Step 2 group rows |
| Use "demographic parity" and "equalized odds" as synonyms | They equalize different quantities and can conflict | Step 3 definitions |
| Demand every fairness criterion at once | Proven unavailable outside constrained special cases | Step 4 |
| Present 0.05 / 0.10 as a legal or standards threshold | No standards body publishes them; the nearest heuristic is explicitly not a legal definition | label as convention, name an owner (Step 5) |
| Compare a difference metric against the 80% ratio rule | Difference and ratio are different quantities | pick one shape and state it (Step 3) |
| Single sensitive attribute only | Cancels out intersectional disparity | Step 6 |
| Intersectional table without counts | Small cells are indistinguishable from noise | Step 6 |
| Skip explanation logging because the model class is "interpretable" | Adverse-action rules require a reason for the individual decision, not a model property | Step 8, R2 |
| Waiver with no expiry | Becomes a permanent silent exemption | four-field waiver (Step 5) |
## Limitations
- **Proxy features are out of range.** A bundle can pass every rule here while
the model discriminates through a correlated proxy such as postcode. Group
metrics computed on declared sensitive features do not detect that. Pair this
matrix with feature-correlation analysis and domain review.
- **Unmeasured groups stay unmeasured.** Every rule keys off the declared
sensitive-feature list. If a relevant attribute was never collected, no rule
fires, and the bundle can be complete and blind at the same time.
- **The tiers are coarse.** Three tiers cannot express every regulated context.
Where a specific regime applies, the regime's own classification governs and
this table is the fallback.
- **Evidence completeness is not fairness.** A complete bundle means the
artifacts exist and agree with each other. Judging whether the outcome is
acceptable is a human decision made in context.0 errors · 1 warning · 0 tips · 57 checks passed
SKILL.md body: 336 lines, about 5,105 tokens · description: 284 characters · 4 files in the folder
- SpecificationA
Fields and format the Agent Skills specification requires
15 of 15 passed - DescriptionA
Whether an agent can tell when to use the skill
6 of 6 passed - Structure and contentA
How the body and the bundled files are laid out
15 of 16 passed - SecurityA
Secrets, hidden instructions, shell commands and side effects
21 of 21 passed
All checks
Body is about 5,105 tokens, over about 5,000warning
After compaction Claude Code keeps only the first 5,000 tokens.
Fix: Split detail into files that load on demand. The token count shown in the report is an estimate: characters divided by four.
Rule: Body stays under about 5,000 tokens →Starts with a frontmatter blockspecification
SKILL.md has to open with a
Rule: Starts with a frontmatter block →---block that holds at leastnameanddescription.Frontmatter is valid YAMLspecification
The text between the
Rule: Frontmatter is valid YAML →---lines has to parse as a YAML map.No byte order mark before the frontmatterspecification
Finds the invisible UTF-8 byte order mark (U+FEFF) that some Windows editors put at the start of a file.
Rule: No byte order mark before the frontmatter →Has a namespecification
The spec requires a
Rule: Has a name →namefield.Name uses lowercase letters, digits and hyphensspecification
1 to 64 characters of
Rule: Name uses lowercase letters, digits and hyphens →a-z,0-9and-, not starting or ending with a hyphen, with no double hyphens.Name avoids the words anthropic and claudespecification
The name must not contain
Rule: Name avoids the words anthropic and claude →anthropicorclaude.Name matches its folderspecification
The
Rule: Name matches its folder →namemust equal the name of the folder that holds SKILL.md.Has a descriptionspecification
The spec requires a non-empty
Rule: Has a description →description.Description fits in 1,024 charactersspecification
The spec caps
Rule: Description fits in 1,024 characters →descriptionat 1,024 characters.No angle brackets in name or descriptionspecification
Rule: No angle brackets in name or description →nameanddescriptionmust not contain<or>, so no XML-style tags such as<example>either.Compatibility note fits in 500 charactersspecification
When
Rule: Compatibility note fits in 500 characters →compatibilityis set it must be 1 to 500 characters.Frontmatter sticks to the spec's fieldsspecification
Fields other than
Rule: Frontmatter sticks to the spec's fields →name,description,license,compatibility,metadataandallowed-tools.metadata maps keys to plain valuesspecification
Rule: metadata maps keys to plain values →metadatamust be a map whose values are strings, not lists or nested maps.Frontmatter keys are plain textspecification
Finds unquoted keys such as
Rule: Frontmatter keys are plain text →true:,no:,123:or2026-01-01:in the frontmatter, including keys undermetadata.Uses paths, not the legacy globs fieldspecification
The frontmatter sets
Rule: Uses paths, not the legacy globs field →globs, which Cursor keeps only for older skills.Description says when to use the skilldescription
The description should contain a trigger such as
Rule: Description says when to use the skill →Use when ....Description is written in the third persondescription
Avoid openers like
Rule: Description is written in the third person →You are,I help,I canorYou can.Description names the tool and the resultdescription
Flags short descriptions with no trigger that lean on vague verbs (
Rule: Description names the tool and the result →helps with,handles,manages), and descriptions that repeat the name.Description is long enough to matchdescription
Descriptions under 60 characters rarely carry both the job and the trigger.
Rule: Description is long enough to match →Description and when_to_use fit in 1,536 charactersdescription
Claude Code cuts the combined
Rule: Description and when_to_use fit in 1,536 characters →descriptionandwhen_to_usetext at 1,536 characters.Description says when to use it earlydescription
The first trigger phrase, such as
Rule: Description says when to use it early →Use when, starts after character 400.Body has instructionsstructure and content
The Markdown after the frontmatter should hold the instructions the agent follows, not be empty or a stray word.
Rule: Body has instructions →SKILL.md stays under 500 linesstructure and content
The spec and Anthropic both recommend keeping SKILL.md under 500 lines.
Rule: SKILL.md stays under 500 lines →Long skills keep detail in reference filesstructure and content
A body over 250 lines that never points to a bundled file, by link or by path.
Rule: Long skills keep detail in reference files →Body gives numbered stepsstructure and content
No numbered list and no
Rule: Body gives numbered steps →Stepheadings.Body shows an examplestructure and content
No code block and no heading named Example.
Rule: Body shows an example →Paths use forward slashesstructure and content
Finds backslash paths such as
Rule: Paths use forward slashes →scripts\helper.py.No wording that goes out of datestructure and content
Finds dated phrases like
Rule: No wording that goes out of date →as of 2025,before March 2026orcoming soon.Every linked file existsstructure and content
A relative link in SKILL.md points to a file that is not in the skill's folder.
Rule: Every linked file exists →Reference files are linked from SKILL.mdstructure and content
A file linked from SKILL.md links on to further bundled files that SKILL.md does not link.
Rule: Reference files are linked from SKILL.md →Long reference files start with a contents liststructure and content
A bundled Markdown reference file over 100 lines with no contents list near the top. Files under
Rule: Long reference files start with a contents list →assets/ortemplates/, templates and test data are skipped.Explains rules instead of shouting themstructure and content
Five or more all-caps
Rule: Explains rules instead of shouting them →MUST,NEVERorALWAYSin the body.Bundled files have descriptive namesstructure and content
Files named like
Rule: Bundled files have descriptive names →doc2.md,file1.mdornotes3.txt.No READMEs or changelogs inside the skillstructure and content
A
Rule: No READMEs or changelogs inside the skill →README.md,CHANGELOG.md,INSTALLATION_GUIDE.mdorQUICK_REFERENCE.mdat the root of the skill folder.Scripts never wait for typed inputstructure and content
A bundled script calls
Rule: Scripts never wait for typed input →input(),getpass(),read -p,Read-Hostor a prompt library such as inquirer. Files named as templates are skipped, since a person runs the copy.Placeholders work in every agentstructure and content
Finds
Rule: Placeholders work in every agent →$ARGUMENTS,${CLAUDE_SKILL_DIR}and${CLAUDE_PROJECT_DIR}in SKILL.md.No real secretssecurity
Finds API keys, tokens, private keys and literal passwords in SKILL.md and its bundled files. Files under
Rule: No real secrets →evals/,fixtures/,__fixtures__/or test data folders are checked by the test data rule instead.Test data uses obvious placeholderssecurity
Finds secret-looking values in
Rule: Test data uses obvious placeholders →evals/,fixtures/,__fixtures__/and test data folders. These are usually fakes, so they cost a warning; the same value anywhere else fails the secrets rule.No piping downloads into a shellsecurity
Finds
Rule: No piping downloads into a shell →curl ... | sh,wget ... | bash,curl ... | python,bash <(curl ...),curl ... | source,source <(curl ...)andiwr ... | iex.Commands that run before loading are reviewedsecurity
Finds
Rule: Commands that run before loading are reviewed →!command blocks that Claude Code runs before the skill reaches the model.allowed-tools stays narrowsecurity
Rule: allowed-tools stays narrow →allowed-toolspre-approves unrestrictedBash(orShell) or every tool.Skills with side effects wait to be askedsecurity
The name or description is about deploying, publishing, sending or deleting, and automatic invocation is not turned off.
Rule: Skills with side effects wait to be asked →No hidden characterssecurity
Finds Unicode tag characters and bidirectional controls in SKILL.md and the bundled files, and runs of two or more zero-width characters on one line of a Markdown, text or YAML file.
Rule: No hidden characters →Frontmatter has no code-running YAML tagssecurity
Finds language tags such as
Rule: Frontmatter has no code-running YAML tags →!!python/object,!!python/apply,!!js/functionor!!ruby/objectin the frontmatter.No instructions to hide actions or override safeguardssecurity
Finds wording such as "ignore previous instructions", "override all system prompts", "don't tell the user." or "without telling the user." Quoted examples, lines that tell the agent to resist such text, tests and test data are skipped.
Rule: No instructions to hide actions or override safeguards →Doesn't turn off permission promptssecurity
Finds
Rule: Doesn't turn off permission prompts →--dangerously-skip-permissions,--dangerously-bypass-approvals-and-sandbox,danger-full-access,--yoloandbypassPermissionson a line that runs an agent CLI or sets a permission mode, unless the same file says it runs in a container or VM.Doesn't read credentials and call the networksecurity
One file names a file that holds secrets, such as an SSH private key,
Rule: Doesn't read credentials and call the network →~/.aws/credentials,.netrcor browserLogin Data, and also makes network calls withcurl,fetch,requestsor similar.No encoded or obfuscated codesecurity
Finds decode-then-run code (
Rule: No encoded or obfuscated code →base64 -d | sh,eval(atob(...)),exec(base64...)), long chains of hex escapes orString.fromCharCode, base64 strings over 200 characters outsideassets/and data files, and password-protected archives (unzip -P,7z x -p).Downloads use HTTPSsecurity
Finds
Rule: Downloads use HTTPS →curl,wgetand PowerShell downloads fromhttp://URLs. Local and private addresses such aslocalhost,127.0.0.1,10.x,192.168.xand169.254.169.254are skipped.Hooks in the frontmatter are reviewedsecurity
The frontmatter has a
Rule: Hooks in the frontmatter are reviewed →hooksfield, which Claude Code turns into commands that run on later tool calls.Credential files are reviewedsecurity
Names files that hold credentials:
Rule: Credential files are reviewed →~/.sshand SSH private keys,~/.aws/credentials,.netrc,.pypirc,~/.kube/config,~/.docker/config.json,~/.config/gh,/etc/shadow, browserLogin Dataand cookies, wallet files and macOS keychain lookups.Changes outside the project are reviewedsecurity
Finds recursive deletes of
Rule: Changes outside the project are reviewed →/,~or$HOME,chmod 777and setuid, writes to shell startup files and agent settings, scheduled jobs and services (crontab,launchctl load,systemctl enable,schtasks),mkfsanddd if=.Downloads are pinned to a versionsecurity
Finds downloads from
Rule: Downloads are pinned to a version →releases/latestand from a branch such asmainormasteron raw.githubusercontent.com, of scripts and binaries that the skill then runs.Instructions ship with the skillsecurity
Finds a skill that tells the agent to fetch an instruction file from a URL (
Rule: Instructions ship with the skill →SKILL.md,AGENTS.md,CLAUDE.md,instructions.md,prompt.md,.cursorrules) or to follow the steps or commands on a web page.Links show where they gosecurity
Finds links through URL shorteners such as bit.ly or tinyurl.com, links to public IP addresses instead of domain names, and downloads from paste sites or anonymous file hosts such as pastebin.com or transfer.sh.
Rule: Links show where they go →Network callssecurity
Lists the first network call:
Rule: Network calls →curl,wget,fetch(,requests,urllib,axios,Invoke-WebRequestand similar. A note, not a fault: it costs no points.Binary filessecurity
Lists compiled or packaged files in the skill folder, such as
Rule: Binary files →.exe,.dll,.so,.jar,.pycor.wasm. A note, not a fault: it costs no points.
To fix these in your copy of the skill, let your agent do it: the skillland-fix skill for Claude Code, Codex and Cursor edits the SKILL.md and runs these checks again until it scores A. Get the skills
The validator checks how the SKILL.md is written. It doesn't run the skill, so a high score doesn't mean the skill is useful, correct or safe. What the score covers
Compared with the index
Score
92 scores higher than 46% of 4,462 skills.
Body size
About 5,105 tokens, loaded each time the skill runs. The median is 1,651.
Files (4)
A tick marks the 4 of 4 files the validator read. It reads text files under 200 KB.
More testing & qa skills
maziyarpanahi/openmed
Verify OpenMed de-identified output against all 18 HIPAA Safe Harbor identifier categories and report residual re-identification risk. Use when the user must confirm a note meets HIPAA Safe Harbor (45 CFR 164.514(b)(2)), needs a coverage checklist mapping detected entities to the 18 categories, wants to flag gaps like ages over 89, rare geography, fax vs phone, or biometrics, or asks whether masking was complete. Maps OpenMed CANONICAL_LABELS to the 18 HIPAA classes and uses extract_pii / deidentify to check coverage. Pairs with OpenMed deidentifying-clinical-text and auditing-deidentification-runs.
npx skills add maziyarpanahi/openmed --skill auditing-safe-harbor-checklist5.8k
replica-diff
A·100Jakeschincariol/replica-skill
Compares an app clone against the original: a feature parity score from the feature matrix (weighted by must, should, could) with the missing list in build order, plus a screenshot layout diff that ignores colour so a rebrand does not count against you. Two standard-library Python tools. Use when the user says "how close is my clone", "compare it to the original", "what's missing", "parity check", "diff the screens", "is it ready", or after /replica-test.
npx skills add Jakeschincariol/replica-skill --skill replica-diff10.7k
evaluate
A·98Q00/ouroboros
Use when the user wants proof that finished work meets its acceptance criteria, not just that tests pass: 'verify it is actually done', 'check it against the spec', 'evaluate the run'. Runs mechanical checks, a semantic review per criterion, and multi-model consensus when uncertain. With execution.auto_evolve on (the default), a rejected result with a Seed continues into a Ralph fix loop; pass auto_evolve: false to verify only.
npx skills add Q00/ouroboros --skill evaluate6.4k
More from testland/qa
- a11y-violation-gate
- ab-test-validity-checklist
- add-to-homescreen-flow-tests
- ai-spec-coverage-mapper
- ai-test-generator
- allure-reports
- api-chaos-runner
- apollo-server-tests
- appium-testing
- aria-authoring-patterns
- async-ordering-tests
- atlas-migrations
- attack-surface-test-checklist
- audit-trail-test-author
- auth0-tests
- aws-sam-local-testing
- axe-a11y
- azure-functions-tests
- bats-testing
- bdd-step-library-curator
- behave-testing
- boundary-value-generator
- browser-matrix-strategy-reference
- buf-cli-lint-breaking-build
- bug-bash-facilitator
- bug-report-template
- bug-tracker-workflow
- bullmq-tests
- cache-key-discriminator-audit
- cdn-cache-purge-tests
- ceedling-build-runner
- celery-tests
- chaos-drill-protocol
- chaos-experiment-author
- chaos-mesh
- chart-render-tests
- checkov-policy
- chromatic-visual-regression-testing
- chrome-extension-messaging-tests
- ci-failure-triage
- ci-test-job-conventions
- cli-output-conventions
- cloud-grid-e2e
- cloudflare-workers-miniflare
- codeql-queries
- compliance-coverage-scoring
- confirmation-testing-workflow
- contract-compatibility-gate
- coverage-diff-reporter
- coverage-guided-fuzzing
- coverage-py-analysis
- cron-job-test-author
- cross-tenant-data-leak-tests
- cucumber-testing
- currents-integration
- cve-exploitability-triage
- cypress-testing
- data-contract-extractor
- data-quality-conventions
- data-quality-gate
- db-query-plan-analyzer
- dbt-testing
- deadlock-detection-harness
- decision-table-test-design
- deepchecks-tests
- deepeval-evaluation
- defect-escape-taxonomy
- definition-of-done
- dependabot-config
- dependency-vulnerability-scanning
- desktop-test-strategy-reference
- detox-testing
- docker-compose-tests
- dotnet-unit-tests
- dr-drill-runner
- dst-transition-reference
- e2e-suite-budget
- elasticsearch-relevance-tests
- electron-playwright
- embedded-coverage-strategy-reference
- error-budget-tests
- espresso-suite
- event-sourcing-tests
- evidently-monitoring
- exec-quality-narrative
- experiment-results-interpreter
- experiment-sdk-testing
- exploratory-charter-author
- exploratory-testing
- failure-injection-test-author
- fairlearn-fairness
- fake-clock-testing
- faker-data
- fast-check-testing
- feature-flag-test-harness
- flake-axis-bisection
- flake-dashboard-author
- flake-pattern-reference
- flaky-test-quarantine
- flame-graph-analyzer
- flaui-tests
- flutter-testing
- flyway-migrations
- framework-choice-advisor
- game-perf-profiling
- gameplay-recording-replay
- gdpr-test-patterns
- gherkin-from-stories
- ghz-load
- giskard-llm
- giskard-tests
- github-actions-test-jobs
- gitlab-ci-test-jobs
- gitleaks-scanning
- go-unit-tests
- godot-gut-tests
- golden-file-conventions
- googletest-embedded-arm
- graphql-complexity-limit-tester
- graphql-n-plus-one-remediation
- graphql-schema-regression
- graphql-subscription-test-author
- graphql-yoga-tests
- great-expectations
- grpc-mock
- grpc-streaming-test-author
- grpcurl-cli
- hardware-in-loop-reference
- hasura-tests
- helm-chart-tester
- hipaa-test-patterns
- hybrid-search-eval-author
- hypothesis-testing
- i18n-string-coverage
- idempotency-test-author
- jacoco-analysis
- jaeger-trace-tests
- jenkinsfile-test-stages
- jmeter-load-testing
- jqwik-testing
- js-unit-tests
- judgment-list-author
- junit-xml-analysis
- jvm-unit-tests
- k-anonymity-verifier
- k6-load-testing
- kafka-consumer-tests
- karate-testing
- keycloak-tests
- knip-dead-code
- langfuse-tracing
- language-native-sast
- launchdarkly-testing
- lcov-analysis
- lighthouse-perf
- liquibase-migrations
- living-documentation-publisher
- lizard-complexity
- llm-eval-anti-patterns
- llm-regression-suite-author
- load-testing-overview
- locale-format-validator
- madge-deps
- maestro-flows
- mailpit-testing
- malicious-payload-bank
- manual-test-script-author
- mfa-flow-test-author
- migration-operation-taxonomy
- mobile-a11y-test-author
- mobile-device-matrix-toolkit
- model-based-test-graph-author
- model-performance-regression-gate
- mqtt-tests
- msw-handlers
- mull-mutation
- multi-tool-finding-triage
- multiplayer-state-machine-coverage
- mutant-survival-triage
- mutmut-mutation
- mvcc-isolation-tests
- negative-test-generator
- non-functional-requirement-extractor
- notebook-ci-pipeline-author
- nuclei-dast
- oauth-flow-test-author
- object-model-patterns
- offline-fallback-tests
- okta-tests
- openapi-contract-diff
- openfeature-sdk-testing
- opentelemetry-trace-assertions
- otel-collector-config-tester
- outbox-pattern-test-author
- pact-contract-testing
- pairwise-test-case-generator
- payment-flow-test-author
- payment-gateway-sandboxes
- pci-dss-control-test-author
- pdf-accessibility-checker
- pdf-snapshot-tester
- percy-visual-regression-testing
- perf-budget-gate
- pester-cli-testing
- pii-masking-pipeline-builder
- pitest-mutation
- platform-cert-overview-reference
- playwright-agents
- playwright-extension-fixtures
- playwright-fixture-builder
- playwright-snapshots
- playwright-testing
- policy-as-code-runner
- post-mortem-author
- postman-collections
- presidio-pii-detection
- print-stylesheet-tests
- prod-canary-validator
- promptfoo-evaluation
- proptest-testing
- protobuf-compat-checking
- pseudo-localization-runner
- push-notification-test-author
- pytest-asyncio-patterns
- python-unit-tests
- qa-hiring-kit
- qemu-system-test-runner
- qt-test-framework
- quality-status-digest
- rabbitmq-tests
- race-condition-test-author
- ragas-evaluation
- reachability-analyzer
- red-green-refactor
- redis-cache-tests
- regression-suite-selector
- release-runbook-author
- renovate-config
- reqnroll-testing
- restassured-testing
- restler-fuzzing
- risk-matrix
- rtl-rendering-tester
- rust-unit-tests
- saga-transaction-tests
- schemathesis-fuzzing
- screen-reader-test-author
- secrets-rotation-runner
- seed-data-curator
- selenium-grid-4-runner
- selenium-testing
- semgrep-rules
- server-sent-events-tests
- serverless-integration-test-builder
- service-worker-lifecycle-tests
- session-management-test-author
- sidekiq-tests
- skill-matrix-author
- slo-load-test-plan
- smoke-suite-gate
- sms-test-author
- soc2-evidence-collector
- soda-checks
- sonarqube-maintainability-gate
- sonarqube-rules
- spec-testability-heuristics
- sqs-tests
- state-transition-test-design
- storybook-visual-regression-testing
- stride-threat-modeling
- stripe-subscription-billing-test-author
- stripe-test-cards-and-webhooks
- stryker-mutation
- stryker-net-mutation
- syft-generation
- synthea-healthcare-data
- synthetic-data-toolkit
- synthetic-monitor-author
- synthetic-pii-generator
- tcm-case-management
- tenant-onboarding-test-author
- test-case-anatomy-reference
- test-case-from-live-feature
- test-case-ideation-from-story
- test-code-conventions
- test-coverage-targeter
- test-data-patterns
- test-design-scorecard
- test-effort-estimation
- test-framework-architecture-audit
- test-framework-blueprint
- test-isolation-patterns
- test-management-sync
- test-pyramid-balancer
- test-removal-criteria
- test-run-summary-author
- test-strategy-author
- test-suite-health-audit
- testcontainers
- timezone-test-matrix-builder
- toxiproxy-chaos
- trace-spec-author
- traceability-matrix-builder
- trivy-config
- trivy-image
- tui-snapshot-tester
- unity-test-framework
- unity-test-framework-c
- unreal-automation-system
- varnish-test-vtc-syntax
- vector-search-recall-tests
- vex-author
- visual-baseline-conventions
- visual-baseline-gate
- wcag-color-contrast
- wcag-compliance-reporter
- wcag-keyboard-navigation
- web-e2e-overview
- web-push-tests
- web-vitals-inp-deep
- webdriverio-testing
- webhook-delivery-tester
- websocket-tests
- winappdriver
- wiremock-stubs
- workbox-tests
- xcuitest-suite
- zap-baseline