Agent skill

Advanced File Management

by MassLab-SII in MassLab-SII/open-agent-skills

Advanced file management tools. An agent skill from MassLab-SII/open-agent-skills.

Apache-2.0Auto-check passedProductivity & Automation

Install Advanced File Management

skills CLI
$ npx skills add MassLab-SII/open-agent-skills --skill advanced-file-management -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MassLab-SII/open-agent-skills advanced-file-management --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MassLab-SII/open-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/portable-skills/advanced_file_operations .claude/skills/advanced-file-management && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
advanced-file-management
GitHub stars
133
Token cost
~1.6k tokens
SKILL.md length
545 words
Files
8 (incl. scripts)
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Advanced file management tools. An agent skill from MassLab-SII/open-agent-skills.

  • Works in 4 steps: Create Multiple Folders → Move Multiple Files → List All Files → …
  • Tasks that involve File organization
  • SKILL.md covers Important Notes, I. Skills and II. Basic Tools…
  • Runs Python scripts from its folder; calls python

What it does

Advanced File Management is an agent skill from MassLab-SII/open-agent-skills. Advanced file management tools. Includes batch folder creation, batch file moving, file listing, and HTML author extraction.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts (for example `scripts/create_folders.py`, `scripts/extract_authors.py` and `scripts/list_all_files.py`).

It sits in Productivity & Automation, covering File organization. The repository describes itself as: We are dedicated to building a set of open agent skills that deliver superior performance, higher determinism, and greater consistency on targeted tasks, while operating at a… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve File organization

Example prompts

  • “/advanced-file-management”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Create Multiple Folders
  2. Move Multiple Files
  3. List All Files
  4. Extract Authors

What it can do on your machine

Read from SKILL.md and the folder at commit ece5fab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Advanced File Management loads about 1.6k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 545 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from MassLab-SII/open-agent-skills at commit ece5fab, republished under its Apache-2.0 licence (© MassLab-SII). 545 words, ~1,624 tokens.

Download SKILL.mdSave it as .claude/skills/advanced-file-management/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
advanced-file-management
description
Advanced file management tools. Includes batch folder creation, batch file moving, file listing, and HTML author extraction.

Advanced File Management Skill

This skill provides tools for desktop file management:

  1. Folder creation: Create multiple folders under a target directory
  2. Move files: Move multiple files to a target directory
  3. List all files: Recursively list all files under a directory
  4. Extract authors: Extract authors from HTML papers

Important Notes

  • Do not use other bash commands: Do not attempt to use general bash commands or shell operations like cat, ls.
  • Use relative paths: Use paths relative to the working directory (e.g., ./folder/file.txt or folder/file.txt).
  • Do not create scripts: Do not use write_file to create any scripts.

I. Skills

1. Create Multiple Folders

Creates multiple folders under a target directory.

Features
  • Creates multiple folders with specified names
  • Supports any number of folder names as arguments
Example
bash
# Create 3 folders
python create_folders.py . folder1 folder2 folder3

# Create folders with specific names
python create_folders.py ./projects experiments learning personal
2. Move Multiple Files

Move multiple files to a target directory in a single operation.

Features
  • Move multiple files at once
  • Supports files from different directories
  • Reports success and failure for each file
Example
bash
# Move 3 files to archive folder
python move_files.py ./archive file1.txt file2.txt file3.txt

# Move files from different directories
python move_files.py ./backup ./data/log1.txt ./data/log2.txt ./temp/cache.dat
3. List All Files

Recursively list all files under a given directory path. Useful for quickly understanding project directory structure.

Features
  • Recursively traverse all subdirectories
  • Option to exclude hidden files (like .DS_Store)
  • Output one file path per line, including both path and filename (relative to input directory)
Example
bash
# List all files (excluding hidden)
python list_all_files.py .

# Include hidden files
python list_all_files.py ./data --include-hidden

4. Extract Authors

Extract authors from all HTML papers in a directory using <meta name="citation_author"> tags.

Features
  • Automatically scan all HTML files in directory
  • Extract author names from citation_author meta tags
  • Support multiple authors per paper
  • Returns list of dicts with filename and authors
Example
bash
# Extract and print authors from all HTML files
python extract_authors.py ./papers

# Save to file
python extract_authors.py ./papers --output authors.txt

II. Basic Tools (FileSystemTools)

Below are the basic tool functions. These are atomic operations for flexible combination.

Prefer Skills over Basic Tools: When a task matches one of the Skills above (e.g., creating multiple folders), use the corresponding Skill instead of Basic Tools. Skills are more efficient because they can perform batch operations in a single call.

Prefer List All Files over list_directory/list_files: When you need to list files in a directory, prefer using the list_all_files.py skill instead of list_directory or list_files basic tools. The skill provides recursive listing with better output formatting.

Note: Code should be written without line breaks.

Show full SKILL.md (189 more words)Show less
How to Run
bash
# Standard format
python run_fs_ops.py -c "await fs.read_text_file('./file.txt')"

File Reading Tools
read_text_file(path, head=None, tail=None)

Use Cases:

  • Read complete file contents
  • Read first N lines (head) or last N lines (tail)

Example:

bash
python run_fs_ops.py -c "await fs.read_text_file('./data/file.txt')"

read_multiple_files(paths)

Use Cases:

  • Read multiple files simultaneously
  • Use when reading a large number of files (e.g., multiple paper html pages)

Example:

bash
python run_fs_ops.py -c "await fs.read_multiple_files(['./a.txt', './b.txt'])"

File Writing Tools
write_file(path, content)

Use Cases:

  • Create new files
  • Overwrite existing files

⚠️ Warning: Do NOT include triple backticks (```) in the content, as this will break command parsing. Example:

bash
python run_fs_ops.py -c "await fs.write_file('./new.txt', 'Hello World')"

edit_file(path, edits)

Use Cases:

  • Make line-based edits to existing files

Example:

bash
python run_fs_ops.py -c "await fs.edit_file('./file.txt', [{'oldText': 'foo', 'newText': 'bar'}])"

Directory Tools
create_directory(path)

Use Cases:

  • Create new directories (supports recursive creation)

Example:

bash
python run_fs_ops.py -c "await fs.create_directory('./new/nested/dir')"

list_directory(path)

Use Cases:

  • List all files and directories in a path

Example:

bash
python run_fs_ops.py -c "await fs.list_directory('.')"

list_files(path=None, exclude_hidden=True)

Use Cases:

  • List only files in a directory

Example:

bash
python run_fs_ops.py -c "await fs.list_files('./data')"

File Operations
move_file(source, destination)

Use Cases:

  • Move or rename files/directories

Example:

bash
python run_fs_ops.py -c "await fs.move_file('./old.txt', './new.txt')"

search_files(pattern, base_path=None)

Use Cases:

  • Search for files matching a glob pattern

Example:

bash
python run_fs_ops.py -c "await fs.search_files('*.txt')"

File Information
get_file_info(path)

Use Cases:

  • Get detailed metadata (size, created, modified, etc.)

Example:

bash
python run_fs_ops.py -c "await fs.get_file_info('./file.txt')"

get_file_size(path)

Use Cases:

  • Get file size in bytes

Example:

bash
python run_fs_ops.py -c "await fs.get_file_size('./file.txt')"

get_file_ctime(path) / get_file_mtime(path)

Use Cases:

  • Get file creation/modification time

Example:

bash
python run_fs_ops.py -c "await fs.get_file_mtime('./file.txt')"

get_files_info_batch(filenames, base_path=None)

Use Cases:

  • Get file information for multiple files in parallel

Example:

bash
python run_fs_ops.py -c "await fs.get_files_info_batch(['a.txt', 'b.txt'], './data')"

© MassLab-SII, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts) in portable-skills/advanced_file_operations of MassLab-SII/open-agent-skills.

  • SKILL.md
  • scripts/create_folders.py
  • scripts/extract_authors.py
  • scripts/list_all_files.py
  • scripts/move_files.py
  • scripts/run_fs_ops.py
  • scripts/utils.py
  • scripts/verify_skills.py

Open the folder on GitHubat commit ece5fab

Compare with similar skills

Advanced File Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Advanced File Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Advanced File Management this skillMassLab-SII/open-agent-skills133—~1.6kAutomated safety check: PassApache-2.0
Abp App Nolayersabpframework/abp14k—~575Automated safety check: PassLGPL-3.0
Feishu Driveraucvr/Group-Goki1123 repos~587Automated safety check: PassMIT
Azldev Comp Tomlmicrosoft/azurelinux5.3k—~1.8kAutomated safety check: PassMIT
Answer Me With HTMLOWWZO/ai-agent1891 repos~4.1kAutomated safety check: PassMIT
PikpakBengerthelorf/pikpaktui121—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Abp App Nolayers

    abpframework/abp

    ABP Single-Layer (No-Layers / nolayers) application template - single project structure, feature-based file organization, no separate Domain/Application.Contracts projects.

    14k GitHub stars~575 tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Feishu Drive

    raucvr/Group-Goki

    Feishu cloud storage file management. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~587 tokens
    Productivity & AutomationAuto-check passed
  • Azldev Comp Toml

    microsoft/azurelinux

    Official

    Read this before authoring, editing, or reviewing a .comp.toml file; do not work from memory.

    5.3k GitHub stars~1.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Answer Me With HTML

    OWWZO/ai-agent

    Turns an answer into a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled CLI builds one page.

    189 GitHub starsUsed in 1 repo~4.1k tokens
    Productivity & AutomationAuto-check passed
  • Pikpak

    Bengerthelorf/pikpaktui

    Manage PikPak cloud storage — browse, upload, download, stream, share, and organize files via CLI.

    121 GitHub stars~1.2k tokensUpdated 3 days ago
    Productivity & AutomationAuto-check passed
  • File Organizer

    alibaba/skill-up

    Triggered when the user needs to organize project files, analyze directory structure, or generate a project report.

    1.2k GitHub stars~374 tokensUpdated yesterday
    Productivity & AutomationAuto-check passed

More from MassLab-SII/open-agent-skills

  • Desktop Analysis

    MassLab-SII/open-agent-skills

    Desktop analysis and reporting tools. An agent skill from MassLab-SII/open-agent-skills.

    133 GitHub stars~1.6k tokensUpdated 9 mo ago
    Auto-check passed
  • Reddit Browser Automation

    MassLab-SII/open-agent-skills

    This skill provides tools and techniques for Postmill/Reddit-like forum automation.

    133 GitHub stars~1.6k tokensUpdated 9 mo ago
    Auto-check passed
  • Shopping Admin Browser Automation

    MassLab-SII/open-agent-skills

    This skill provides tools and techniques for Magento Admin panel automation.

    133 GitHub stars~1.4k tokensUpdated 9 mo ago
    Auto-check passed
  • Shopping Browser Automation

    MassLab-SII/open-agent-skills

    This skill provides tools and techniques for e-commerce website automation.

    133 GitHub stars~2.3k tokensUpdated 9 mo ago
    Auto-check passed
  • Student Database

    MassLab-SII/open-agent-skills

    Student database processing tools. An agent skill from MassLab-SII/open-agent-skills.

    133 GitHub stars~1.6k tokensUpdated 9 mo ago
    Auto-check passed
  • GitHub

    MassLab-SII/open-agent-skills

    Comprehensive GitHub repository management toolkit. An agent skill from MassLab-SII/open-agent-skills.

    133 GitHub stars~7.1k tokensUpdated 9 mo ago
    Auto-check passed

Questions about Advanced File Management

What does Advanced File Management do?

Advanced file management tools. An agent skill from MassLab-SII/open-agent-skills. Advanced File Management is an agent skill from MassLab-SII/open-agent-skills. Advanced file management tools.

When should I use Advanced File Management?

Advanced File Management fits situations like: tasks that involve File organization.

How do I install Advanced File Management in Claude Code?

Run `npx skills add MassLab-SII/open-agent-skills --skill advanced-file-management -a claude-code`. Or copy the skill folder (portable-skills/advanced_file_operations in MassLab-SII/open-agent-skills) into .claude/skills/advanced-file-management in your project. Claude Code loads it when a task matches its description.

How do I install Advanced File Management in Codex?

Run `npx skills add MassLab-SII/open-agent-skills --skill advanced-file-management -a codex`. Or copy the skill folder (portable-skills/advanced_file_operations in MassLab-SII/open-agent-skills) into .agents/skills/advanced-file-management in your project. Codex loads it when a task matches its description.

Can I use Advanced File Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MassLab-SII/open-agent-skills --skill advanced-file-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/advanced-file-management, .gemini/skills/advanced-file-management, .github/skills/advanced-file-management and .opencode/skills/advanced-file-management in your project.

What does Advanced File Management need to run?

Going by SKILL.md and its folder, Advanced File Management needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Advanced File Management access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Advanced File Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Advanced File Management use?

Advanced File Management is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Advanced File Management use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Advanced File Management?

Skills that share tags, products or a category with Advanced File Management: Abp App Nolayers (abpframework/abp, 14k stars), Feishu Drive (raucvr/Group-Goki, 112 stars), Azldev Comp Toml (microsoft/azurelinux, 5.3k stars) and Answer Me With HTML (OWWZO/ai-agent, 189 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Advanced File Management?

MassLab-SII (a GitHub organization) maintains it in MassLab-SII/open-agent-skills, which has 133 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on December 29, 2025.

Source: MassLab-SII/open-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.