Back to skills
SKILL.md
Actions
ASecurity执行选定的 skill。
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 27, 2026
Security analysis
100/100Pro scans all 7 files and shows the line behind each finding
npx -y skills add David-Li0406/meta-skill-evloving --skill actions --agent claude-codeAre you the author of Actions?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-actions-meta-skill-evloving)# Action: execute-skill
执行选定的 skill。
## 输入
- `state.selected_skill`: 用户选择的skill
- `state.user_request`: 用户原始请求
## 处理逻辑
```javascript
const skillName = state.selected_skill;
// 1. 检查skill是否已安装
if (!isSkillInstalled(skillName)) {
throw new Error(`Skill ${skillName} 未安装`);
}
// 2. 使用 Skill tool 执行
try {
const result = await Skill({
skill: skillName,
args: state.user_request
});
state.execution_status = "completed";
return {
success: true,
skill: skillName,
result: result
};
} catch (error) {
state.error_count++;
return {
success: false,
error: error.message,
suggestion: "请手动尝试执行该skill"
};
}
```
## 执行流程
```
┌─────────────────────────────────────────────┐
│ 1. 验证skill存在 │
│ ↓ │
│ 2. 读取skill配置 │
│ ↓ │
│ 3. 调用 Skill tool │
│ ↓ │
│ 4. 返回结果给用户 │
└─────────────────────────────────────────────┘
```
## 输出
- `state.execution_status = "completed"`
- 返回执行结果给用户
## 终止
→ 任务完成
Files in this skill
- 01-analyze-request.md
- 02-match-local-skills.md
- 03-search-skills.sh.md
- 04-present-options.md
- 05-execute-skill.md
- 06-install-skill.md
Attribution
Comments
Loading comments…