Provides parallel compression of markdown and text files using LLM-based reduction.

Install

mkdir -p .claude/skills/iceage-batch && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11756" && unzip -o skill.zip -d .claude/skills/iceage-batch && rm skill.zip

Installs to .claude/skills/iceage-batch

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Batch compress all natural language files in a directory using iceage compression. Parallel workers, progress tracking, dry-run mode. Use when user says "compress all files", "batch compress", "compress this directory", or invokes /iceage-batch.
245 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Batch compress natural language files in a directory
  • Use parallel workers for compression
  • Track compression progress
  • Perform a dry-run to list files that would be compressed
  • Skip creating backup files

How it works

This skill compresses all natural language files within a specified directory using the Claude API per file. It supports parallel processing and can operate in a dry-run mode.

Inputs & outputs

You give it
Directory path containing compressible files
You get back
Compressed files in the directory and a compression summary

When to use iceage-batch

  • Compressing documentation folders
  • Batch reducing project text files
  • Optimizing context size for AI consumption

About this skill

Compress all compressible files in a directory. Uses Claude API per file.

Usage

go run ./iceage-batch/go <directory> [flags]

Flags:

  • --dry-run — list files that would be compressed, no API calls
  • --no-backup — skip creating .original.md backups (good for version-controlled dirs)
  • --workers N — parallel compression (default 1, increase carefully — API rate limits apply)
  • --recursive=false — top-level only, no subdirectories

Examples

go run ./iceage-batch/go docs/
go run ./iceage-batch/go docs/ --dry-run
go run ./iceage-batch/go docs/ --no-backup
go run ./iceage-batch/go docs/ --workers 3
go run ./iceage-batch/go . --recursive=false

Requirements

ANTHROPIC_API_KEY in environment or .env.local. Falls back to claude CLI if no key.

Output

Found 8 compressible file(s) in docs/

[1/8] docs/guide.md ... OK (1.2s)
[2/8] docs/api.md ... OK (0.9s)
[3/8] docs/old.md ... Skipped (backup exists)
[4/8] docs/broken.md ... FAILED (validation failed after retries)

Done
  Compressed: 6
  Skipped:    1
  Failed:     1

Exit codes: 0 = all OK, 1 = fatal error, 2 = one or more files failed.

When not to use it

  • The files are not natural language files
  • The task does not involve compressing files in a directory

Prerequisites

ANTHROPIC_API_KEY in environment or .env.local

Limitations

  • Uses Claude API per file
  • API rate limits apply to parallel compression
  • Limited to compressible files

How it compares

This skill automates the compression of multiple natural language files in a directory, offering parallel processing and backup options, unlike manual file compression.

Compared to similar skills

iceage-batch side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
iceage-batch (this skill)03moReviewIntermediate
word269moReviewBeginner
youtube-clipper116moReviewIntermediate
daily15moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry