Attribution and shap

From VectorSpaceLab/AREX-Skill · View interactive version

Attribution and shap is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Routes Alibi requests for KernelShap, TreeShap, and IntegratedGradients, including optional-backend selection and attribution troubleshooting.

How to use this skill

Skill file

Attribution and SHAP

Use this sub-skill when a user wants to explain predictions with SHAP-style or gradient-based attribution methods.

Trigger phrases

Open this sub-skill when the user mentions:

What this sub-skill owns

What it does not own

Read next

Typical flow

  1. Decide whether the user needs SHAP-style attribution or gradient attribution.
  2. Check whether the chosen export is a real class or a MissingDependency placeholder.
  3. If SHAP is required, install the SHAP extra before trying to use KernelShap or TreeShap.
  4. If IntegratedGradients is required, install the TensorFlow extra and confirm the model and baseline shapes.
  5. Use the diagnostic script on a base install to make the missing-backend status explicit.

Good fits

Common failure signals

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.