aipoch/medical-research-skills/file-management
Claude Code and agent skill by aipoch/medical-research-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
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
npx vskill@latest install aipoch/medical-research-skills/file-managementSKILL.md
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 - Python 3.8+ (for split/merge scripts)
scripts/split_file.pyscripts/merge_parts.py
Example Usage
1) Organize files with a preview plan (PowerShell)
2) Backup + hash manifest (PowerShell)
3) Compress a folder (PowerShell)
4) Split and merge a large file (Python)
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.
- 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.
- Conflict handling
- Default behavior should be non-destructive:
- If destination exists: rename (append timestamp or counter) or skip
- Only overwrite after explicit user confirmation
- 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.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingscientific-skills/Other/file-management/SKILL.md
Popularity
- Repository stars
- 1,557
- Repository forks
- 152
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aipoch/medical-research-skills/file-management)