File Tools
Documentsfile-toolsFile Tools is an Agent Skill for documents published in the trpc-group/trpc-agent-go repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Simple shell utilities for files and archives.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/trpc-group/trpc-agent-go/blob/HEAD/examples/skillrun/skills/file_tools/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/file-tools, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
Command:
tar -czf out/sample.tgz -C out .
Output Files
- out/sample.txt
- out/sample.tgz