Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
rtgs2017 avatar

File Manager

  • 636 installs
  • 1.5k repo stars
  • Updated July 16, 2026
  • rtgs2017/nagaagent

file-manager is an AI agent skill that safely creates, organizes, moves, copies, renames, and deletes project files and folders for developers who need structured filesystem operations with confirmation guardrails.

About

file-manager is version 1.0.0 of the Naga Team file-management skill for coding agents, covering file and folder create, copy, move, rename, delete, directory listing, recursive folder deletion, batch rename, duplicate detection, and download-folder organization by extension. Safety rules block system paths like /System and /usr, require explicit confirmation before deletes and overwrites, and preview batch operations before execution. Developers reach for file-manager when an agent must scaffold directories, sort Downloads into Documents/Images/Videos/Archives buckets, or batch-rename assets without risking unreviewed destructive commands. Example flows include mkdir category folders and mv by extension for PDFs and images.

  • Core file operations: create, copy, move, rename, delete
  • Folder operations: create, list contents, recursive delete, copy
  • Batch processing: classify by type, bulk rename, find duplicates, organize downloads
  • Strict safety rules: blocks system directories and unconfirmed deletions
  • Always shows preview with exact counts before any destructive action

File Manager by the numbers

  • 636 all-time installs (skills.sh)
  • +4 installs in the week ending Jul 26, 2026 (Skillselion tracking)
  • Ranked #374 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rtgs2017/nagaagent --skill file-manager

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs636
repo stars1.5k
Security audit3 / 3 scanners passed
Last updatedJuly 16, 2026
Repositoryrtgs2017/nagaagent

How do agents safely manage project files?

Let their coding agent safely create, organize, move, copy, rename and delete project files and folders.

Who is it for?

Developers delegating directory scaffolding, download cleanup, or batch file organization to a coding agent that must avoid system paths and unconfirmed deletes.

Skip if: Developers who only need git-tracked changes, cloud storage sync, or production deployment file orchestration outside a local project workspace.

When should I use this skill?

The user asks to organize folders, batch rename files, clean Downloads, create directory structures, or move/copy/delete project files.

What you get

Created or reorganized directories, moved or renamed files, duplicate-find reports, and previewed delete lists awaiting confirmation.

  • Reorganized directory tree
  • Batch rename results

By the numbers

  • Version 1.0.0 from Naga Team
  • Organizes downloads into 5 category folders: Documents, Images, Videos, Archives, Others

Files

SKILL.mdMarkdownGitHub ↗

文件管理技能

本技能提供文件和文件夹管理能力。

核心功能

1. 文件操作

  • 创建文件
  • 复制/移动文件
  • 重命名文件
  • 删除文件

2. 文件夹操作

  • 创建文件夹
  • 列出目录内容
  • 删除文件夹(递归)
  • 复制文件夹

3. 批量处理

  • 按类型分类
  • 批量重命名
  • 查找重复文件
  • 整理下载文件夹

安全规则

禁止操作

  • 系统目录(/System, /usr, /bin 等)
  • 其他用户的文件
  • 没有明确确认的删除操作

需要确认

  • 删除文件前列出将被删除的内容
  • 覆盖已存在的文件前提醒
  • 批量操作前显示预览

常用操作示例

整理下载文件夹

# 1. 创建分类目录
mkdir -p ~/Downloads/{Documents,Images,Videos,Archives,Others}

# 2. 按扩展名移动
mv ~/Downloads/*.pdf ~/Downloads/Documents/
mv ~/Downloads/*.{jpg,png,gif} ~/Downloads/Images/
mv ~/Downloads/*.{mp4,mov,avi} ~/Downloads/Videos/
mv ~/Downloads/*.{zip,rar,7z} ~/Downloads/Archives/

批量重命名

import os
from pathlib import Path

def batch_rename(directory, pattern, replacement):
    for file in Path(directory).iterdir():
        if pattern in file.name:
            new_name = file.name.replace(pattern, replacement)
            file.rename(file.parent / new_name)

输出格式

操作前显示预览:

即将执行以下操作:
- 移动 15 个 PDF 文件到 Documents/
- 移动 23 个图片文件到 Images/
- 跳过 3 个未知类型文件

确认执行?

操作后显示结果:

✓ 操作完成
  - 移动: 38 个文件
  - 跳过: 3 个文件
  - 错误: 0 个

Related skills

FAQ

What file operations does file-manager support?

The file-manager skill supports creating, copying, moving, renaming, and deleting files and folders, listing directories, recursive folder deletion, batch rename, duplicate detection, and extension-based download-folder sorting.

What safety rules does file-manager enforce?

The file-manager skill blocks system paths such as /System and /usr, requires listing files before deletes, warns before overwrites, and shows batch-operation previews so agents cannot silently wipe user data.

Automation & Workflowsintegrationsdevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.