Model interpretability toolkit using SHAP values to explain predictions, rank features, and audit bias across model types.
- CCM score
- 63 of 100
- skills.sh installs
- 375
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers global feature importance, per-prediction explanations, debugging, fairness analysis, and production explanation services
- Includes explainer selection guidance for tree, deep, linear, and black-box models, plus six plot types from waterfall to heatmap
- Explains SHAP values as additive contributions that sum from a baseline to the model's output, with signed direction and magnitude
- Designed for data scientists explaining XGBoost, LightGBM, neural network, or other black-box predictions to stakeholders
Install
$ npx -y skills add davila7/claude-code-templates --skill shap -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SHAP (SHapley Additive exPlanations)
Overview
SHAP is a unified approach to explain machine learning model outputs using Shapley values from cooperative game theory. This skill provides comprehensive guidance for:
- Computing SHAP values for any model type
- Creating visualizations to understand feature importance
- Debugging and validating model behavior
- Analyzing fairness and bias
- Implementing explainable AI in production
SHAP works with all model types: tree-based models (XGBoost, LightGBM, CatBoost, Random Forest), deep learning models (TensorFlow, PyTorch, Keras), linear models, and black-box models.
When to Use This Skill
Details
- Repository
- github.com/davila7/claude-code-templates
- Category
- Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the shap skill do for machine learning models?
The shap skill explains machine learning model predictions using SHAP (SHapley Additive exPlanations) values. It computes feature importance and generates plots such as waterfall, beeswarm, bar, scatter, force and heatmap charts, and helps with debugging, bias analysis and model comparison.
Which models does the shap skill work with?
The skill works with tree-based models such as XGBoost, LightGBM and Random Forest, deep learning models such as TensorFlow and PyTorch, linear models, and any black-box model. It picks an explainer type suited to the model, with TreeExplainer for tree-based models and KernelExplainer for other models.
How do I install the shap skill?
Run npx -y skills add davila7/claude-code-templates --skill shap -y in your project. Once installed, the agent can explain model predictions, compute feature importance and generate SHAP plots for your code.
Which category does the shap skill belong to, and what sets it apart?
The shap skill is in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It focuses on model interpretability, covering SHAP value computation, plot generation and fairness analysis for machine learning models.
More from davila7/claude-code-templates
All 398- Github Workflow Automation374
- Schema Markup373
- Drugbank Database372
- Bun Development369
- Figma Implement Design368
- Pymatgen368
- Codex Review365
- Behavioral Modes364
- Accessibility362
- Networkx362
- Analytics Tracking361
- Python Patterns361
- Production Code Audit359
- Biorxiv Database358
- Plan Writing358
- Risk Management Specialist358
- Javascript Mastery357
- Ab Test Setup356
- Biopython354
- Deslop354
- Fda Consultant Specialist352
- Voice Ai Development352
- Voice Agents351
- Geo Database350
Similar to Shap
More Data Science & AnalyticsML Model ExplanationSkillaj-geddes/useful-ai-prompts438 installsInterpretability toolkit covering SHAP, LIME, feature importance, partial dependence, and attention maps for model explanations.
data-exploration-visualizationSkillliangdabiao/claude-data-analysis-ultra-main160 installsAutomated EDA toolkit that runs data diagnosis, charting, modeling, and HTML report generation for data work.
hypothesis-generationSkilldavila7/claude-code-templates396 installsStructured hypothesis-generation workflow that turns observations into competing, testable explanations with predictions and experimental designs.
mechanistic-interpretabilityPluginOrchestra-Research/AI-Research-SKILLs14.8K starsNeural network interpretability tools including TransformerLens, SAELens, NNSight, and pyvene. Use when analyzing model internals, finding circuits, or understa
statsmodelsSkilldavila7/claude-code-templates426 installsComprehensive statistical modeling toolkit covering regression, GLMs, discrete choice, and time series with diagnostics.
tensorboardSkillorchestra-research/ai-research-skills1.1K installsVisualization toolkit for training metrics, model debugging, experiment comparison, and performance profiling with TensorBoard.