file-compression

file-compression is a skill for Claude Code from guyoung/boxagnts. It costs 40 tokens per session (6,435 once invoked), scanned A, original, MIT.

A file utility for compressing and decompressing common archives, including ZIP, GZIP, TAR, TAR.GZ, and TGZ files.

In plain words
What is it for?
Use it to create archives, unpack downloaded or submitted files, and work with compressed files in scripts.
Why use it?
It handles archive formats in JavaScript without relying on separate command-line programs, whose availability can vary between systems.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to create archives, unpack downloaded or submitted files, and work with compressed files in scripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guyoung/boxagnts/file-compression
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add guyoung/boxagnts --skill file-compression
Clone the repo
git clone --depth 1 https://github.com/guyoung/boxagnts

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for file-compression

README.md
[![agentmods](https://agentmods.dev/badge/skills/guyoung/boxagnts/file-compression/github.svg)](https://agentmods.dev/skills/guyoung/boxagnts/file-compression)
Your own site
<a href="https://agentmods.dev/skills/guyoung/boxagnts/file-compression"><img src="https://agentmods.dev/badge/skills/guyoung/boxagnts/file-compression/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for file-compression

Your own site · 80×15
<a href="https://agentmods.dev/skills/guyoung/boxagnts/file-compression"><img src="https://agentmods.dev/badge/skills/guyoung/boxagnts/file-compression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,435 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.06435
Opus 5.5 $0.00016 $0.02574
Sonnet 5.5 $0.00008 $0.01287
Haiku 4.5 $0.00004 $0.00643

Measured 2mo ago against content hash 397d85e6b3af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

file-compression scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

app/extensions/skills/file-compression/SKILL.md · 514 lines

How it starts

The opening of the file, as written. The whole thing — 514 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CODE SKILL — VERBATIM REQUIRED This skill targets multiple archive formats (TAR, GZIP, ZIP) with manual binary parsing. The Runnable Entry Point is the sole implementation. Adaptation is prohibited per C2-A Rule 3.

CRITICAL: Execution Constraints

The code below is the SOLE IMPLEMENTATION — it MUST NOT be replaced, simplified, or reimplemented.

Prohibited deviations:

  • Do NOT write your own crc32() — use ONLY the one in Runnable Entry Point
  • Do NOT write your own TAR header parser or builder — use ONLY the ones in Runnable Entry Point
  • Do NOT write your own ZIP EOCD scanner or central directory parser — use ONLY the ones in Runnable Entry Point
  • Do NOT skip any format-specific handling (.tar, .tar.gz, .tgz, .zip, .gz)
  • Do NOT use shell tools (tar, gzip, unzip) — all operations are pure JavaScript in jsexec
  • Do NOT alter the entry point dispatch logic (action === 'compress' / action === 'decompress')

Correct Invocation Pattern

  1. Copy the complete script from ## Runnable Entry Point below
  2. Replace ONLY {{action}}, {{input}}, {{output}}, {{format}} with actual values
  3. Since the IIFE is large (370+ lines), persist to a temp file and execute via jsexec --file_path <file> — do NOT embed the entire IIFE inside another JS string
  4. Execute with NO modifications to core logic

Argument Details

Arg Type Required Default Description
action string yes — compress or decompress
input string yes — Source file/directory (compress) or archive path (decompress)
output string no auto Output archive path (compress) or extract directory (decompress)
format string no auto tar / tar.gz / tgz / zip / gz (compress only). When both output and format are provided, format takes priority. When output is auto-generated, format determines the suffix.

⚠️ format vs output extension: When format is explicitly set, it overrides format detection from the output file extension. For example, format=zip + output=archive.tar still produces a valid ZIP. Without format, the extension determines the archive type.

Read the full file on GitHub · 514 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 514 lines · 40 tokens per session scan A 397d85e6b3af

Subscribe to this mod's changes

file-compression is a skill published in the GitHub repository guyoung/boxagnts (11 stars, last pushed 3mo ago), licensed MIT. It adds 40 tokens to every session and 6,435 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

file-compression compared with skills from other repositories

file-compression next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
file-compressionguyoung/boxagntsSkill113mo agoMITA40Claude Code
frontend-specialistglincker/claude-code-marketplaceSkill381mo agoApache-2.0A20Claude Code
featurepierreb-devkit/VueSkill20yesterdaynoneA123Claude Code
pull-requestpierreb-devkit/VueSkill20yesterdaynoneA114Claude Code
uipierreb-devkit/VueSkill20yesterdaynoneA80Claude Code
create-modulepierreb-devkit/VueSkill20yesterdaynoneA90Claude Code
namingpierreb-devkit/VueSkill20yesterdaynoneA104Claude Code