file-compress

Create, extract, and list ZIP and tar.gz archives with Python.

2|1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/dalehurley/phpbot --skill file-compress
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-compress
Source: https://github.com/dalehurley/phpbot/tree/main/skills/file-compress
Command: npx skills add https://github.com/dalehurley/phpbot --skill file-compress

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Create and extract ZIP and tar.gz archives to simplify bundling, sharing, and archival of files.

Core Features & Use Cases

  • Create ZIP or tar.gz archives from files and folders
  • Extract archives to a target directory
  • List contents and verify archive structure for backups and transfers

Quick Start

Compress a folder or set of files into a ZIP or tar.gz archive with a single command.

Frequently Asked Questions about file-compress

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

FAQPage Schema
How do I create a ZIP or tar.gz archive from files and folders?

You can compress files and folders into a ZIP or tar.gz archive with a single command, leveraging Python's standard library to validate inputs and handle errors gracefully during the bundling process.

How do I extract a ZIP or tar.gz archive to a target directory?

You can extract ZIP and tar.gz archives to a specific target directory using Python's standard library, which validates the archive structure and provides status updates during the extraction process.

Can I list and verify the contents of a tar.gz or ZIP archive?

Yes, the Skill lists archive contents and verifies the structure of ZIP and tar.gz files using Python's standard library, ensuring backups and data transfers are correctly packaged before extraction.

Do I need external dependencies to manage ZIP and tar.gz archives in Python?

No external dependencies are required; the Skill uses Python's standard library exclusively to create, extract, and list ZIP and tar.gz archives, handling errors gracefully without additional packages.

What is the best way to automate file compression for backup workflows?

The best way is using Python's standard library to bundle files and folders into ZIP or tar.gz archives, validating inputs and handling errors gracefully to automate backup and data transfer workflows.

Why does my file compression fail when archiving folders?

File compression failures are mitigated by the Skill's input validation and graceful error handling, which detects formats and provides status updates to prevent issues when archiving folders into ZIP or tar.gz files.