file_manager

Read, write, list, delete, and send files in the runtime file system.

3|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/glwlg/X-bot --skill file-manager-glwlg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file_manager
Source: https://github.com/glwlg/X-bot/tree/main/skills/builtin/file_manager
Command: npx skills add https://github.com/glwlg/X-bot --skill file-manager-glwlg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires aiofiles, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a local file management interface that lets you read, write, list, delete, and send files from the running environment without leaving the chat.

Core Features & Use Cases

  • List directory contents to quickly inventory files and folders.
  • Read file contents for inspection or debugging.
  • Write or overwrite files to store configuration or results.
  • Delete files to clean up artifacts.
  • Send files to users as documents for sharing or review.

Quick Start

Use the file_manager skill to list, read, write, delete, or send files in your environment. Examples:

  • List current directory: action=list, path="."
  • Read file: action=read, path="data/config.json"
  • Write file: action=write, path="notes.txt", content="Meeting at 3pm"
  • Delete file: action=delete, path="temp.log"
  • Send file: action=send, path="logs/app.log"

Frequently Asked Questions about file_manager

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

FAQPage Schema
How do I manage local files directly within a chat interface?

You can manage local files directly within a chat interface by using commands to perform read, write, list, delete, and send operations on the runtime file system without leaving the conversation.

How do I read and write configuration files in my runtime environment?

To read and write configuration files in your runtime environment, specify the read or write action along with the target file path and content, enabling you to inspect or overwrite local files seamlessly.

Can I use Python with aiofiles for asynchronous file management?

Yes, you can use Python with aiofiles for asynchronous file management, as the implementation uses async file I/O with aiofiles and standard Python libraries to handle local files efficiently.

What is the best way to list directory contents and clean up temporary files?

The best way to list directory contents and clean up temporary files is to use the list action on a target path to inventory files, followed by the delete action to remove unwanted artifacts.

How do I send local files as documents to other chat participants?

You can send local files as documents to other chat participants by using the send action with the specific file path, allowing you to share and review documents directly in the chat.

Does this file management approach support overwriting existing local files?

Yes, this file management approach supports overwriting existing local files, allowing you to use the write action to store new configuration data or results over previous file contents.