Skip to content
Back to skills

Actions

ASecurity

执行选定的 skill。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmentjavascriptjava

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill actions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Actions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Actions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-actions-meta-skill-evloving/badge)](https://www.skillsdirectory.com/skills/david-li0406-actions-meta-skill-evloving)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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.md1.1 KB
  • 02-match-local-skills.md1.5 KB
  • 03-search-skills.sh.md1.5 KB
  • 04-present-options.md2.7 KB
  • 05-execute-skill.md1.5 KB
  • 06-install-skill.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…