file-archiver

Create and extract ZIP, TAR, and GZIP archives with optional password protection.

84|15|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/AIDotNet/MoYuCode --skill file-archiver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-archiver
Source: https://github.com/AIDotNet/MoYuCode/tree/main/skills/tools/file-archiver
Command: npx skills add https://github.com/AIDotNet/MoYuCode --skill file-archiver

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of creating and extracting compressed archives, saving time and disk space.

Core Features & Use Cases

  • Archive Creation: Supports ZIP, TAR, GZIP, TAR.GZ, TAR.BZ2, and TAR.XZ formats.
  • Extraction: Extracts various archive formats to a specified directory.
  • Password Protection: Secure ZIP archives with optional password encryption.
  • Listing Contents: View the files within an archive without extracting.
  • Use Case: You need to send a folder containing many files to a colleague. Use this Skill to create a single, compressed ZIP file for easy transfer.

Quick Start

Use the file-archiver skill to create a zip archive named 'my_project.zip' from the folder 'project_files'.

Frequently Asked Questions about file-archiver

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

FAQPage Schema
How do I create a password protected ZIP file in Python?

Create password protected ZIP archives by utilizing Python scripts with the pyzipper library to enable optional encryption during compression. This secures your files within the archive before transfer or storage.

Can I extract TAR.GZ and TAR.BZ2 archives using Python?

Extract TAR.GZ and TAR.BZ2 archives to a specified directory using Python scripts with the tarfile library. The extraction process handles various formats and compression types natively.

How do I list archive contents without extracting files?

List archive contents directly by executing Python scripts that read the archive metadata, allowing you to view files within ZIP or TAR archives without extracting them to disk.

What's the best way to compress a folder into a single ZIP file for transfer?

Compress a folder into a single ZIP file by running a Python script utilizing the zipfile library, reducing disk space and simplifying file transfer to colleagues.

Does this archive extraction support GZIP and TAR.XZ formats?

Archive extraction supports GZIP and TAR.XZ formats along with ZIP and TAR through Python scripts. Various compression levels and types are handled during the process.

Do I need pyzipper to create encrypted ZIP archives?

Install the pyzipper dependency to create encrypted ZIP archives with password protection. Standard zipfile and tarfile libraries handle non-encrypted compression and extraction tasks.