file-tools

Automate file management tasks using Node.js filesystem APIs with permission checks.

3|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/dgriffin831/clawhub-skills --skill file-tools-dgriffin831
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: file-tools
Source: https://github.com/dgriffin831/clawhub-skills/tree/main/skill-scan/test-fixtures/evasive-05-alias-chain
Command: npx skills add https://github.com/dgriffin831/clawhub-skills --skill file-tools-dgriffin831

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

File management is error-prone and time-consuming for agents when handling numerous files across diverse environments. This skill automates common operations to ensure consistency and safety.

Core Features & Use Cases

  • List directory contents and read file metadata to quickly assess workspace state.
  • Read and write small text files, move or copy files between locations, and safely delete files with confirmations.
  • Use Case: An agent needs to organize logs daily by moving them from /workspace/logs to /archive/logs, while keeping a simple audit trail.

Quick Start

Install the skill into your agent runtime and use the following example commands:

  • file-tools list /path/to/dir
  • file-tools read /path/to/file.txt
  • file-tools move /path/from /path/to --dry-run

Frequently Asked Questions about file-tools

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

FAQPage Schema
How do I automate file management tasks for agents in a Node.js workspace?β–Ό

You can automate file management for agents by applying Node.js filesystem APIs to list, read, move, copy, and delete files in local or containerized workspaces. It performs these operations with permission checks and an optional dry-run mode for safe experimentation.

What is the safest way to move or delete files using automated scripts?β–Ό

The safest way to automate file operations is to use a dry-run mode. This lets agents simulate moving or deleting files and audit the steps before applying actual changes to the directory structure.

Can I use Node.js filesystem automation to organize files in a containerized workspace?β–Ό

Yes, filesystem automation works in containerized workspaces. It enables agents to list directory contents, read file metadata, and relocate files between paths while maintaining an auditable trail of operations.

How do I keep an audit trail when moving files between directories?β–Ό

To keep an audit trail when moving files, use an automated file management skill that records each operation. This ensures consistency and provides a log of all reads, writes, and relocations executed by the agent.

Does file management automation require manual confirmation before deleting files?β–Ό

Automated file management can require manual confirmation before deleting files. The skill safely deletes files with confirmations and applies permission checks to prevent unauthorized or accidental removal in the workspace.