file-compression

file-compression is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/guyoung/boxagnts/file-compression
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00040 $0.06435
Opus 5 $0.00020 $0.03217
Sonnet 5 $0.00008 $0.01287
Haiku 4.5 $0.00004 $0.00643

Measured 4d ago against content hash 397d85e6b3af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 1mo ago), licensed MIT. It adds 40 tokens to every session and 6,435 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

feature

Use this whenever the user asks to "implement", "add", "build", "create", or "modify" a feature, page, view, component, or module in this Vue project. Three phases: Phase 0 scope analysis (flows + edge cases + UI needs + plan validation, STOP for user), Phase 1 implementation (layered UI → Store → API, Vue 3…

pierreb-devkit/Vue · 123 tokens

pull-request

Use this whenever the user asks to "open a PR", "ship this", "create the pull request", "make a PR", or once a Vue feature/fix is verified and ready to push. Full lifecycle: branch → commit (commitizen) → issue → draft PR → CI → ready → autonomous monitor loop (fix comments, resolve threads, iterate until CI green +…

pierreb-devkit/Vue · 114 tokens

naming

Use this whenever a new file/folder is created or renamed in this Vue project, when reviewing a module for consistency, or when the right path for a file is unclear. Also triggers on "what should I name this?", "is this file named correctly?", "audit module naming". Enforces kebab-case folders, dot-prefixed…

pierreb-devkit/Vue · 104 tokens

ui

Design system reference for the Devkit Vue stack (Vuetify 4 + custom theme helpers). Use when asked about styling, theming, layout, design system, Vuetify components, visual verification, or UI patterns. Automatically consumed by /feature when the task has a visual component. Can also be invoked directly for…

pierreb-devkit/Vue · 80 tokens

create-module

Use this whenever the user asks to "create a module", "scaffold a feature", "add a Vue domain", "new module called X", or starts work on a brand-new vertical (views + components + store + router entry + tests). Duplicates the canonical src/modules/tasks template, applies kebab/Pascal/camel/ UPPER renames, and wires…

pierreb-devkit/Vue · 90 tokens

verify

Run this after every code change in this Vue project, before committing, before opening a PR, or whenever the user says "verify", "check", "lint", "run tests", "build", "audit". Diff audit (router guards, store boundaries, UX, /ui consistency, error handling) → lint → tests + coverage gate → build. Coverage drops →…

pierreb-devkit/Vue · 102 tokens