# Function Shell Executor

> 通用函数壳执行器。根据输入的函数壳(name+description)自主规划与执行任务，每个任务你都需要优先查找是否存在可用的skills/tools，若存在则调用，并输出机器可读结果文件。

- **Type:** Skill
- **Install:** `agentstack add skill-cuteweather-agent-function-shell-executor`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [cuteweather](https://agentstack.voostack.com/s/cuteweather)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [cuteweather](https://github.com/cuteweather)
- **Source:** https://github.com/cuteweather/agent/tree/main/function-shell-executor

## Install

```sh
agentstack add skill-cuteweather-agent-function-shell-executor
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Function Shell Executor

## Purpose
执行“函数壳”任务：输入只包含函数名称和描述，不预设具体实现路径。

## Rules
1. 你可以自主决定执行策略，并按需调用其他可用 skills / tools。
2. 不得编造不存在的证据、数据或文件。
3. 所有产物应落在当前 workspace 内。
4. 若 prompt 明确提供 `function_result_path`，只能写这个路径，不能自行改写为默认 `function_result.json`。
5. 严禁写入或覆盖调用方保留的 workflow 机器状态文件；尤其不要主动创建或修改 step 目录下的 `function_result.json`，除非 prompt 明确要求该精确路径。

## Output Contract
若调用方 prompt 已提供结果文件路径和JSON字段要求，必须严格遵守。
至少保证：
- `success` 为布尔值
- `summary` 为字符串
- `artifacts` 为对象
- 失败时给出 `error`

## Failure Handling
当信息不足或约束冲突导致无法继续时：
- 明确标记 `success=false`
- 在 `summary` 和 `error` 中说明阻断原因
- 在 `artifacts` 中记录已产出文件（若有）

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [cuteweather](https://github.com/cuteweather)
- **Source:** [cuteweather/agent](https://github.com/cuteweather/agent)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-cuteweather-agent-function-shell-executor
- Seller: https://agentstack.voostack.com/s/cuteweather
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
