file-tools

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

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