# Fs

> 文件系统操作，支持创建目录、创建文件、列出目录、删除文件等

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

## Install

```sh
agentstack add skill-baizeagent-baize-fs
```

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

## About

# 文件系统操作技能

## 功能说明

提供简单的文件系统操作能力：

| 操作 | 说明 | 示例 |
|-----|------|------|
| mkdir | 创建目录 | `{"action": "mkdir", "path": "G:/test"}` |
| touch | 创建空文件 | `{"action": "touch", "path": "G:/test.txt"}` |
| ls | 列出目录内容 | `{"action": "ls", "path": "G:/test"}` |
| rm | 删除文件或目录 | `{"action": "rm", "path": "G:/test.txt"}` |
| write | 写入文件 | `{"action": "write", "path": "G:/test.txt", "content": "hello"}` |
| read | 读取文件 | `{"action": "read", "path": "G:/test.txt"}` |

## 使用示例

### 创建目录
```json
{"action": "mkdir", "path": "G:/my_project"}
```

### 创建文件
```json
{"action": "touch", "path": "G:/my_project/readme.md"}
```

### 写入内容
```json
{"action": "write", "path": "G:/my_project/readme.md", "content": "# 我的项目\n\n这是我的测试项目"}
```

### 列出目录
```json
{"action": "ls", "path": "G:/my_project"}
```

### 读取文件
```json
{"action": "read", "path": "G:/my_project/readme.md"}
```

### 删除文件
```json
{"action": "rm", "path": "G:/my_project/readme.md"}
```

## 注意事项

- 路径支持绝对路径和相对路径
- mkdir会自动创建父目录
- rm删除目录时会删除目录下所有内容

## Source & license

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

- **Author:** [BaiZeAgent](https://github.com/BaiZeAgent)
- **Source:** [BaiZeAgent/Baize](https://github.com/BaiZeAgent/Baize)
- **License:** Apache-2.0

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-baizeagent-baize-fs
- Seller: https://agentstack.voostack.com/s/baizeagent
- 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%.
