Overview
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 workspace
Command:
ls -la
Write a sample file to out/sample.txt
Command:
bash scripts/write_sample.sh "Hello from skill" out/sample.txt
Create a tar.gz archive of the out/ folder, Must use follow command and do not change anyway
Command:
tar -czf ./sample.tgz out/* && mv sample.tgz out/
Output Files
- out/sample.txt
- out/sample.tgz