用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/a5c-ai/babysitter --skill alibi-explainer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | alibi-explainer |
| description | Alibi explainability skill for counterfactual explanations, anchors, and trust scores. |
| allowed-tools | ["Read","Write","Bash","Glob","Grep"] |
| graph | {"domains":["domain:data-science"],"specializations":["specialization:data-science-ml"],"skillAreas":["skill-area:explainability-interpretation","skill-area:model-robustness-testing"],"roles":["role:data-scientist","role:ml-engineer"],"workflows":["workflow:ml-model-lifecycle"]} |
Alibi explainability skill for counterfactual explanations, anchors, trust scores, and advanced model interpretation techniques.
{
"type": "object",
"required": ["modelPath", "explainerType", "instancePath"],
"properties": {
"modelPath": {
"type": "string",
"description": "Path to the trained model"
},
"explainerType": {
"type": "string",
"enum": ["counterfactual", "anchor", "integrated_gradients", "cem", "trust_score", "prototype"],
"description": "Type of Alibi explainer to use"
},
"instancePath": {
"type": "string",
"description": "Path to instance(s) to explain"
},
"counterfactualConfig": {
"type": "object",
"properties": {
"targetClass": { "type": "integer" },
"maxIterations": { "type": "integer" },
"lambda": { "type": "number" },
"featureRange": { "type": "object" }
}
},
"anchorConfig": {
"type": "object",
"properties": {
"threshold": { "type": "number" },
"coverageSamples": { "type": "integer" },
"beamSize": { "type": "integer" }
}
},
"cemConfig": {
"type": "object",
"properties": {
"mode": { "type": "string", "enum": ["PP", "PN"] },
"kappaMin": { "type": "number" },
"kappaMax": { "type": "number" }
}
},
"trainingDataPath": {
"type": "string",
"description": "Path to training data (required for some explainers)"
}
}
}
{
"type": "object",
"required": ["status", "explanations"],
"properties": {
"status": {
"type": "string",
"enum": ["success", "error"]
},
"explanations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"instanceId": { "type": "string" },
"originalPrediction"
{
kind: 'skill',
title: 'Generate counterfactual explanations',
skill: {
name: 'alibi-explainer',
context: {
modelPath: 'models/loan_classifier.pkl',
explainerType: 'counterfactual',
instancePath: 'data/rejected_applications.csv',
counterfactualConfig: {
targetClass: 1,
maxIterations: 1000,
lambda: 0.1
},
trainingDataPath: 'data/train.csv'
}
}
}