Skip to content
Agentmart
Submit a tool

fs

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

Skill by BaiZeAgent

IndexedApache-2.0★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/baizeagent-fs

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/fs

What's inside

Skill name
fs
Description
文件系统操作,支持创建目录、创建文件、列出目录、删除文件等
License
Apache-2.0
Instructions
54 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • main.js

SKILL.md (first lines)

---
name: fs
version: 1.0.0
author: baize
description: 文件系统操作,支持创建目录、创建文件、列出目录、删除文件等
capabilities:
  - fs
  - filesystem
  - mkdir
  - touch
  - ls
  - rm
  - directory
risk_level: medium
step_by_step: false
auto_execute: true
timeout: 10000
input_schema:
  type: object
  properties:
    action:
      type: string
      enum: [mkdir, touch, ls, rm, write, read]
      description: 操作类型
    path:
      type: string
      description: 文件或目录路径
    content:
      type: string
      description: 文件内容(write时使用)
  required: [action, path]
output_schema:
  type: object
  properties:
    success:
      type: boolean
    message:
      type: string
    data:
      type: object
examples:
  - input:
      action: mkdir
      path: "G:/test_dir"
    output:
      success: true
      message: "目录已创建: G:/test_dir"
  - input:
      action: touch
      path: "G:/test_dir/hello.txt"
    output:
      success: true
      message: "文件已创建: G:/test_dir/hello.txt"
  - input:
      action: ls
      path: "G:/test_dir"
    output:
      success: true
      data:
        items: ["hello.txt"]
---

# 文件系统操作技能

## 功能说明

提供简单的文件系统操作能力:

| 操作 | 说明 | 示例 |
|-----|------|------|
| 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删除目录时会删除目录下所有内容

From BaiZeAgent/Baize, Apache-2.0.

More from BaiZeAgent/Baize

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Feb 26, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from BaiZeAgent

Cite this page

fs skill. Agent Mart. https://agentmart.dev/skills/baizeagent-fs (last updated 2026-10-24)