file-management
Organize, back up, compress, split, and merge files/folders using rule-driven plans; use when you need safe previews, conflict handling, and verification before executing file operations.
Install / Use
npx skills add aipoch/medical-research-skills --skill file-managementInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of file-management
file-management scores 92/100 on our quality scale, 867th of 2,780 Automation skills we index (top 32%).
Its SKILL.md is 6.3 KB long, well organised into 20 sections with 4 code examples: a thorough specification that gives an agent plenty to work with.
With 1,916 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so file-management is actively maintained.
- Our last check on 2026-10-27 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-03. Automated pattern scan on 2026-10-03. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
file-management compared with similar skills
All 4 of these similar skills score higher than file-management; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| file-management (this skill)by aipoch | 92 | 1.9k | 2mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 9d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 81.9k | today | CLAUDE.md |
| Claude-Code-Game-Studiosby Donchitos | 100 | 39.7k | 7d ago | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 103.6k | 2d ago | MCP Server |
Frequently asked questions
- How do I install file-management?
- Run
npx skills add aipoch/medical-research-skills --skill file-management. The install tabs above show the steps for each supported agent. - Which AI agents does file-management work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is file-management safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is file-management still maintained?
- The repository was last updated about 2 months ago, so file-management is actively maintained.
Skill content
View source on GitHubname: file-management description: Organize, back up, compress, split, and merge files/folders using rule-driven plans; use when you need safe previews, conflict handling, and verification before executing file operations. license: MIT author: AIPOCH
File Management
When to Use
- You need to reorganize a directory (move/copy/rename) based on include/exclude patterns and a target folder structure.
- You want a repeatable backup workflow (copy or archive) with optional retention rules and verification manifests.
- You need to compress a folder or a set of files to reduce size or package deliverables.
- You must split very large files into fixed-size parts for transfer/storage limits (binary-safe).
- You need to merge previously split parts back into the original file reliably (binary-safe).
Key Features
- Safety-first planning: generate a preview/manifest of intended actions before writing changes.
- Rule-driven scope control: root path + include/exclude patterns + thresholds + target structure (see
references/rule-schema.md). - Conflict handling: default to skip/rename on collisions; overwrite only with explicit confirmation.
- Non-destructive defaults: avoid deletion unless explicitly requested.
- Verification support: compare counts/sizes and optionally generate hashes for critical backups.
- Binary-safe split/merge: split by fixed size and merge parts without corrupting binary data (
scripts/).
Dependencies
- PowerShell 5.1+ (Windows PowerShell) or PowerShell 7+
- Cmdlets used:
Get-ChildItem,Copy-Item,Move-Item,Compress-Archive,Get-FileHash
- Cmdlets used:
- Python 3.8+ (for split/merge scripts)
scripts/split_file.pyscripts/merge_parts.py
Example Usage
1) Organize files with a preview plan (PowerShell)
# Inputs (adjust to your case)
$Root = "D:\Inbox"
$Target = "D:\Organized"
$Include = @("*.pdf","*.docx")
$ExcludeDirs = @("node_modules",".git")
$WhatIf = $true # set to $false to execute
# Build a manifest (preview plan)
$files = Get-ChildItem -Path $Root -Recurse -File |
Where-Object {
($Include | ForEach-Object { $_ }) -contains $_.Extension -eq $false
}
# Practical include filter (simple example)
$files = Get-ChildItem -Path $Root -Recurse -File -Include $Include
# Exclude directories by path segment
$files = $files | Where-Object {
$p = $_.FullName
-not ($ExcludeDirs | Where-Object { $p -match [regex]::Escape("\$_\") })
}
$plan = foreach ($f in $files) {
# Example target structure: by extension
$ext = $f.Extension.TrimStart(".").ToLower()
$destDir = Join-Path $Target $ext
$destPath = Join-Path $destDir $f.Name
[pscustomobject]@{
Source = $f.FullName
Destination = $destPath
Action = "Copy" # start with Copy; switch to Move after verification
}
}
# Preview
$plan | Format-Table -AutoSize
# Execute (safe defaults: create dirs; do not overwrite unless you decide to)
foreach ($item in $plan) {
$destDir = Split-Path $item.Destination -Parent
if (-not (Test-Path $destDir)) { New-Item -ItemType Directory -Path $destDir | Out-Null }
if (Test-Path $item.Destination) {
# Default conflict strategy: rename
$base = [IO.Path]::GetFileNameWithoutExtension($item.Destination)
$ext = [IO.Path]::GetExtension($item.Destination)
$dir = Split-Path $item.Destination -Parent
$item.Destination = Join-Path $dir ("{0}_{1}{2}" -f $base, (Get-Date -Format "yyyyMMddHHmmss"), $ext)
}
if ($item.Action -eq "Copy") {
Copy-Item -LiteralPath $item.Source -Destination $item.Destination -WhatIf:$WhatIf
} else {
Move-Item -LiteralPath $item.Source -Destination $item.Destination -WhatIf:$WhatIf
}
}
2) Backup + hash manifest (PowerShell)
$Source = "D:\Project"
$BackupRoot = "E:\Backups"
$Stamp = Get-Date -Format "yyyyMMdd_HHmmss"
$BackupDir = Join-Path $BackupRoot ("Project_{0}" -f $Stamp)
# Copy backup
Copy-Item -Path $Source -Destination $BackupDir -Recurse
# Create a hash manifest for verification
$manifestPath = Join-Path $BackupDir "hash-manifest.sha256.txt"
Get-ChildItem -Path $BackupDir -Recurse -File |
ForEach-Object {
$h = Get-FileHash -Algorithm SHA256 -LiteralPath $_.FullName
"{0} {1}" -f $h.Hash, ($_.FullName.Substring($BackupDir.Length + 1))
} | Set-Content -Encoding UTF8 $manifestPath
3) Compress a folder (PowerShell)
$SourceDir = "D:\Project"
$ZipPath = "E:\Archives\Project.zip"
Compress-Archive -Path (Join-Path $SourceDir "*") -DestinationPath $ZipPath -Force
4) Split and merge a large file (Python)
# Split into 100MB parts (binary-safe)
python scripts/split_file.py --input "E:\ISO\big.iso" --part-size 100MB --output-dir "E:\ISO\parts"
# Merge parts back (binary-safe)
python scripts/merge_parts.py --input-dir "E:\ISO\parts" --output "E:\ISO\big.iso"
Note: CLI flags may vary depending on the scripts’ implementation. If the scripts do not expose flags, adapt the commands to match their actual parameters.
Implementation Details
-
Rule schema and planning
- Prefer structured rules to define:
rootPath- include/exclude patterns (glob-like)
- optional size thresholds (e.g., split if
> N MB) - target structure mapping (e.g., by extension/date/project)
- conflict strategy (
skip,rename,overwrite)
- Use
references/rule-schema.mdas the canonical format for describing these rules.
- Prefer structured rules to define:
-
Preview-first execution
- Generate a manifest/plan listing
(source, destination, action)before any write operation. - Use PowerShell
-WhatIf(or an explicit “dry run” mode) to validate the plan.
- Generate a manifest/plan listing
-
Conflict handling
- Default behavior should be non-destructive:
- If destination exists: rename (append timestamp or counter) or skip
- Only overwrite after explicit user confirmation
- Default behavior should be non-destructive:
-
Verification
- Basic checks: file counts and total sizes before/after.
- Strong checks for critical backups:
SHA256viaGet-FileHash, stored as a manifest for later validation.
-
Binary-safe splitting/merging
- Splitting should read/write raw bytes in fixed-size chunks (no text encoding).
- Merging should concatenate parts in deterministic order (e.g., numeric suffix ordering) to reproduce the original byte stream exactly.
Related Skills
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
81.9k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Claude-Code-Game-Studios
39.7kTurn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.
Scrapling
103.6k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
