Install
$ agentstack add skill-baizeagent-baize-file ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
文件操作技能
功能说明
提供文件系统操作能力,包括:
| 操作 | 说明 | 风险等级 | |-----|------|---------| | read | 读取文件内容 | 低 | | write | 写入文件(覆盖已有内容) | 中 | | create | 创建新文件(如存在则覆盖) | 中 | | delete | 删除文件 | 高 | | exists | 检查文件是否存在 | 低 |
使用示例
创建文件
{
"action": "create",
"path": "G:/test.txt",
"content": "Hello World"
}
读取文件
{
"action": "read",
"path": "G:/test.txt"
}
写入文件
{
"action": "write",
"path": "G:/test.txt",
"content": "新的内容"
}
删除文件
{
"action": "delete",
"path": "G:/test.txt"
}
检查文件是否存在
{
"action": "exists",
"path": "G:/test.txt"
}
注意事项
- 路径格式:支持绝对路径(如
G:/test.txt)和相对路径 - 自动创建目录:write和create操作会自动创建不存在的父目录
- 删除警告:delete操作不可恢复,请谨慎使用
- 编码支持:默认使用UTF-8编码
错误处理
| 错误 | 原因 | 解决方案 | |-----|------|---------| | 文件不存在 | read/delete时文件不存在 | 先使用exists检查 | | 权限不足 | 没有读写权限 | 检查文件权限 | | 路径无效 | 路径格式错误 | 使用正确的路径格式 |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: BaiZeAgent
- Source: BaiZeAgent/Baize
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.