file-tools
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOverview
Use these examples to explore basic shell commands inside a skill
workspace. The assistant can run them and return results and files.
Examples
-
List files in the workspaceCommand:ls -la
-
Write a sample file to out/sample.txtCommand:bash scripts/write_sample.sh "Hello from skill" out/sample.txt
-
Create a tar.gz archive of the out/ folderCommand:tar -czf out/sample.tgz -C out .
Output Files
- out/sample.txt
- out/sample.tgz
概述
使用这些示例来探索skill工作区内的基础Shell命令。助手可以运行这些命令并返回结果和文件。
示例
-
列出工作区内的文件命令:ls -la
-
将示例文件写入out/sample.txt命令:bash scripts/write_sample.sh "Hello from skill" out/sample.txt
-
创建out/文件夹的tar.gz归档文件命令:tar -czf out/sample.tgz -C out .
输出文件
- out/sample.txt
- out/sample.tgz