About file-tools
file-tools provides examples of basic shell commands for a skill workspace. An assistant can run them and return results and files, including listings, a sample file, and an archive.
Key features
- 01List workspace files
- 02Write a sample text file
- 03Create a tar.gz archive
Use cases
- 01Inspect skill workspace contents
- 02Generate a sample file for later steps
- 03Package the out/ folder
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ trpc-group/ trpc-agent-go --skill file-toolsAfter installing, type/file-toolsin Claude Code to confirm it loaded.
Bundled filesscripts/write_sample.shUSAGE.md
Details
From the project READMEOverview
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
Command:
tar -czf out/sample.tgz -C out .
Output Files
- out/sample.txt
- out/sample.tgz
Comments
Markdown supported