shap SKILL.md skillA

shap from k-dense-ai/scientific-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add k-dense-ai/scientific-agent-skills/shap@v2.3

Pins v2.3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
k-dense-ai/scientific-agent-skills
Path
skills/shap/SKILL.md
Versions recorded
6
Latest version
v2.3, committed Oct 1, 2026
First version recorded
May 27, 2026
Size
16,530 bytes
Repository stars
56,497
License
MIT

Explain and audit machine-learning predictions with SHAP. Use for selecting SHAP explainers and maskers, computing and validating feature attributions, handling multi-output explanations, and producing local or global SHAP visualizations.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# SHAP

Use SHAP to describe how a fitted predictive model maps inputs to outputs. Work from the modern `shap.Explanation` API, make the explained output and background distribution explicit, and validate every explanation before interpreting it.

This skill is aligned with **SHAP 0.52.0** (released 2026-05-28). That release requires Python 3.12 or newer.

The maintained examples were checked on Python 3.12.10 with SHAP 0.52.0, NumPy 2.5.3, pandas 3.0.6, scikit-learn 1.9.1, and matplotlib 3.11.2. Native tests cover small tree, exact, permutation, partition, linear, additive, kernel, text, and constant-image games; additional numeric XGBoost 3.4.1 smoke checks cover raw, probability, loss, and interaction outputs. Reference snippets that require a project model, framework, or data are adaptation templates; optional pretrained/deep, GPU, and distributed integrations remain illustrative and require their own runtime validation.

## Operating Rules

1. Explain a fixed, evaluated model; do not use SHAP as a substitute for predictive validation.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add k-dense-ai/scientific-agent-skills/shap@sha256:9c395662e608accd

The line at the top of this page pins the label v2.3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_syezc44txu277toj.svg)](https://markdownregistry.com/a/art_syezc44txu277toj)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between May 27, 2026 and Oct 1, 2026, about one every 25 days.

versioncommittedcommitsizeaudit
v2.3 latest2026-10-01 a92663a 16,530 BA view · diff
v2.22026-09-30 ce9e6e9 14,165 BA view · diff
v2.12026-09-02 1e5eeff 13,844 BA view · diff
v2.02026-07-23 53c5897 12,886 BA view · diff
git:20260611.1b8fae32026-06-11 1b8fae3 18,433 BA view · diff
v1.02026-05-27 0936740 18,428 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (16530 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

k-dense-ai/scientific-agent-skills · 56,497 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_syezc44txu277toj
GET https://markdownregistry.com/api/v1/resolve?ref=k-dense-ai/scientific-agent-skills/shap
GET https://markdownregistry.com/api/v1/blob/9c395662e608accd60acb62158f1d25299b12ec0e40f9f94b70a46ec527d52c1

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from k-dense-ai/scientific-agent-skills

AGENTS.md AGENTS.md file
k-dense-ai/scientific-agent-skills · AGENTS.md
git:20261001.f7a50ed · audit A · 56,497 stars
13c-metabolic-flux SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/13c-metabolic-flux/SKILL.md · Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom…
v1.2 · audit A · 56,497 stars
adaptyv SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/adaptyv/SKILL.md · Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit…
v1.5 · audit A · 56,497 stars
aeon SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/aeon/SKILL.md · This skill should be used for time series machine learning tasks including classification, regression, clustering…
v1.3 · audit A · 56,497 stars
alphagenome SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/alphagenome/SKILL.md · Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18…
v1.2 · audit A · 56,497 stars
analytical-method-validation SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/analytical-method-validation/SKILL.md · Plans, executes, and documents validation, verification, and transfer of analytical procedures under the governing…
v2.0 · audit A · 56,497 stars
anndata SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/anndata/SKILL.md · Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem…
v1.4 · audit A · 56,497 stars
arbor SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arbor/SKILL.md · Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators, including model training…
v1.6 · audit A · 56,497 stars
arboreto SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arboreto/SKILL.md · Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2…
v1.3 · audit A · 56,497 stars
astropy SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/astropy/SKILL.md · Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities…
v1.5 · audit A · 56,497 stars
autoskill SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/autoskill/SKILL.md · Analyzes user-requested Screenpipe history windows to detect repeated research workflows, match existing scientific…
v1.6 · audit A · 56,497 stars
benchling-integration SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/benchling-integration/SKILL.md · Benchling Python SDK and REST API integration for registry entities, inventory, ELN entries, workflows, Benchling Apps…
v1.7 · audit A · 56,497 stars

Every file in k-dense-ai/scientific-agent-skills

Other files named shap

shap SKILL.md skill
sandbaseai/sandbase-skills · marketing/shap/SKILL.md · Apply shap in reproducible local data workflows with version-aware APIs, explicit assumptions, and validation. Use when…
git:20260908.a887321 · audit A · 206 stars
shap SKILL.md skill
marielynneblock/arcanum-artifex · skills/data-science/shap/SKILL.md · Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining…
git:20260710.0115f49 · audit A · 4 stars

Browse by kind, by grade A, or by owner.