用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/a5c-ai/babysitter --skill lime-explainer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | lime-explainer |
| description | LIME-based local explanation skill for individual predictions across tabular, text, and image data. |
| 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-explainability-testing"],"roles":["role:data-scientist","role:ml-engineer"],"workflows":["workflow:ml-model-lifecycle"]} |
LIME-based local explanation skill for individual predictions across tabular, text, and image data using Local Interpretable Model-agnostic Explanations.
{
"type": "object",
"required": ["modelPath", "dataType", "instancePath"],
"properties": {
"modelPath": {
"type": "string",
"description": "Path to the trained model or prediction function"
},
"dataType": {
"type": "string",
"enum": ["tabular", "text", "image"],
"description": "Type of data to explain"
},
"instancePath": {
"type": "string",
"description": "Path to instance(s) to explain"
},
"tabularConfig": {
"type": "object",
"properties": {
"trainingDataPath": { "type": "string" },
"featureNames": { "type": "array", "items": { "type": "string" } },
"categoricalFeatures": { "type": "array", "items": { "type": "integer" } },
"classNames": { "type": "array", "items": { "type": "string" } }
}
},
"textConfig": {
"type": "object",
"properties": {
"classNames": { "type": "array", "items": { "type": "string" } },
"splitExpression": { "type": "string" }
}
},
"imageConfig": {
"type": "object",
"properties": {
"segmenter": { "type": "string", "enum": ["quickshift", "slic", "felzenszwalb"] },
"hideColor": { "type": "string" },
"numSamples": { "type": "integer" }
}
},
"explainerConfig": {
"type": "object",
"properties": {
"numFeatures": { "type": "integer" },
"numSamples": { "type": "integer" },
"kernelWidth": { "type": "number" }
}
}
}
}
{
"type": "object",
"required": ["status", "explanations"],
"properties": {
"status": {
"type": "string",
"enum": ["success", "error"]
},
"explanations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"instanceId": { "type": "string" },
"predictedClass"
{
kind: 'skill',
title: 'Generate LIME explanations for predictions',
skill: {
name: 'lime-explainer',
context: {
modelPath: 'models/classifier.pkl',
dataType: 'tabular',
instancePath: 'data/instances_to_explain.csv',
tabularConfig: {
trainingDataPath: 'data/train.csv',
featureNames: ['age', 'income', 'credit_score'],
categoricalFeatures: [0, 2],
classNames: ['reject', 'approve']
},
explainerConfig: {
numFeatures: 10,
numSamples: 5000
}
}
}
}