Agent skill · AI & Agents

model-explainer

Model interpretability and explainability using SHAP, LIME, feature importance, and partial dependence plots. Activates for "explain model", "model interpretability", "SHAP", "LIME", "feature importance", "why prediction", "model explanation". Generates human-readable explanations for model predictions, critical for trust, debugging, and regulatory compliance.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill model-explainer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/ai-ml/model-explainer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Model Explainer ## Overview Makes black-box models interpretable. Explains why models make specific predictions, which features matter most, and how features interact. Critical for trust, debugging, and regulatory compliance. ## Why Explainability Matters - **Trust**: Stakeholders trust models they understand - **Debugging**: Find model weaknesses and biases - **Compliance**: GDPR, fair lending laws require explanations - **Improvement**: Understand what to improve - **Safety**: Detect when model might fail ## Explanation Types ### 1. Global Explanations (Model-Level) **Feature Importance**: ```python from specweave import explain_model explainer = explain_model( model=trained_model, X_train=X_train, increment="0042" ) # Global feature importance importance = explainer.feature_importance() ``` Output: ``` Top Features (Global): 1. transaction_amount (importance: 0.35) 2. user_history_days (importance: 0.22) 3. merchant_reputation (importance: 0.18) 4. time_since_last_transaction (importance: 0.15) 5. device_type (importance: 0.10) ``` **Partial Dependence Plots**: ```python # How does feature affect prediction? explainer.partial_dependence(feature="transaction_amount") ``` ### 2.

What's inside
Steps it walks through
  1. Overview
  2. Why Explainability Matters
  3. Explanation Types
  4. 1. Global Explanations (Model-Level)
  5. 2. Local Explanations (Prediction-Level)
  6. Usage in SpecWeave
  7. Real-World Examples
  8. Example 1: Fraud Detection
  9. Example 2: Loan Approval
  10. Regulatory Compliance
  11. GDPR "Right to Explanation"
  12. Fair Lending Act
  13. Visualization Types
  14. Integration with SpecWeave
Ships with 1 file
  • metadata.json
Commands it runs
Generate all explainability artifacts
Explain specific prediction
Check for bias
More from claude-skill-registry
All skills →
About this skill
What does the model-explainer skill do?

Model interpretability and explainability using SHAP, LIME, feature importance, and partial dependence plots. Activates for "explain model", "model interpretability", "SHAP", "LIME", "feature importance", "why prediction", "model explanation". Generates human-readable explanations for model predictions, critical for trust, debugging, and regulatory compliance.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill model-explainer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going