files

List, read, write, and delete files within a sandboxed workspace.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/cutec-chris/PawLia --skill files
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: files
Source: https://github.com/cutec-chris/PawLia/tree/main/skills/files
Command: npx skills add https://github.com/cutec-chris/PawLia --skill files

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps users manage their files inside a private, sandboxed workspace by allowing them to read, write, list, and delete files without leaving the session context.

Core Features & Use Cases

  • List files in the workspace, showing type and size.
  • Read file contents securely from within the sandbox.
  • Write new or updated files, with content provided directly or from stdin.
  • Delete files safely, with path traversal protections.

Quick Start

Start by listing files in your session workspace and then read, write, or remove files as needed using the files.py script.

Frequently Asked Questions about files

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and write files in a sandboxed workspace without path traversal risks?

You can manage files in a sandboxed workspace by using a script that enforces a dedicated workdir at session/{user_id}/workspace. This setup prevents path traversal, allowing you to securely list, read, write, and delete files within the session.

What is the best way to list workspace files and check their size and type via CLI?

Listing workspace files via CLI is done by executing the file management script, which outputs JSON results. It lists files in the workspace, showing the type and size of each item within your sandboxed directory structure.

Can I write file contents from stdin into a session-based workspace?

Yes, you can write file contents from stdin into a session-based workspace. The script supports writing new or updated files, with content provided directly or from stdin, enforcing the dedicated workdir at session/{user_id}/workspace.

Does the workspace file management script support subdirectories?

Yes, the workspace file management script supports subdirectories. It manages files inside the user's sandboxed workspace at session/{user_id}/workspace, allowing you to organize, read, and delete files across nested directory structures.

Why are path traversal protections necessary when deleting files in a sandbox?

Path traversal protections are necessary when deleting files in a sandbox to prevent unauthorized access outside the workdir. By enforcing a dedicated workdir at session/{user_id}/workspace, the script ensures delete operations cannot target files outside the sandbox.