miniz-integration

miniz-integration is a skill for Claude Code, Codex from easyzoom/aix-skills. It costs 37 tokens per session (653 once invoked), scanned A, original, MIT.

A guide for using miniz, a small library for compressing or decompressing data with formats such as DEFLATE, gzip, zlib, and ZIP.

In plain words
What is it for?
Use it to add or debug compression for firmware assets, logs, configuration packages, update files, embedded resources, or archives, including streaming decompression.
Why use it?
It helps prevent errors caused by choosing the wrong data format, incomplete streams, buffer ownership, memory limits, or failed integrity checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add or debug compression for firmware assets, logs, configuration packages, update files, embedded resources, or archives, including streaming decompression.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easyzoom/aix-skills/miniz-integration
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 easyzoom/aix-skills --skill miniz-integration
Clone the repo
git clone --depth 1 https://github.com/easyzoom/aix-skills

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 miniz-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/easyzoom/aix-skills/miniz-integration/github.svg)](https://agentmods.dev/skills/easyzoom/aix-skills/miniz-integration)
Your own site
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/miniz-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/miniz-integration/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 miniz-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/miniz-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/miniz-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 653 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.00037 $0.00653
Opus 5 $0.00018 $0.00327
Sonnet 5 $0.00007 $0.00131
Haiku 4.5 $0.00004 $0.00065

Measured 10d ago against content hash b26b79f2b4a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

miniz-integration 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 10d 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.

skills/miniz-integration/SKILL.md · 83 lines

How it starts

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

miniz Integration

Overview

Use this skill to integrate miniz by separating format choice, memory budget, streaming strategy, and integrity checks. Compression bugs on MCUs usually come from buffer ownership, incomplete streams, or confusing raw DEFLATE, zlib, gzip, and ZIP containers.

When To Use

Use this skill when:

  • The user wants miniz for firmware assets, logs, configuration packages, OTA payloads, filesystems, or embedded resources.
  • The issue involves inflate errors, truncated output, high RAM use, ZIP archive handling, CRC mismatch, or streaming decompression.
  • The project has constrained RAM/flash, external storage, OTA downloads, or filesystem integration.

Do not use this skill for very small streaming compression windows. Use heatshrink-integration when heatshrink is already selected for tiny MCU buffers.

First Questions

Ask for:

  • Data format: raw DEFLATE, zlib, gzip-like stream, or ZIP archive.
  • Compression/decompression direction, max input size, max output size, and RAM budget.
  • Storage/transport path, chunk size, and whether streaming is required.
  • Integrity requirement: CRC, hash, signature, or container metadata.
  • Current error code, input sample, and expected decompressed length.

Integration Checklist

  1. Pick the exact format. Do not mix raw DEFLATE streams, zlib headers, gzip files, and ZIP archives.

  2. Budget memory before coding. Estimate output buffer, dictionary/window needs, file metadata, and stack usage.

  3. Prefer streaming for large payloads. Feed bounded chunks and write output incrementally instead of allocating the whole image.

  4. Validate sizes and integrity. Check compressed length, decompressed length, CRC/hash, and destination capacity.

  5. Handle partial and corrupt data. Every read/write callback should report short I/O and decompressor errors distinctly.

  6. Test worst-case input. Include incompressible data, empty streams, truncated streams, and oversized output.

Common Failures

Read the full file on GitHub · 83 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. 10d ago First seen · 83 lines · 37 tokens per session scan A b26b79f2b4a6

Subscribe to this mod's changes

miniz-integration is a skill published in the GitHub repository easyzoom/aix-skills (31 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 653 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

n8n-workflow

Design, build, or troubleshoot n8n automation workflows. Always trigger immediately when Mick mentions n8n, workflow nodes, automating a pipeline, or connecting services via n8n. Covers node selection, webhook patterns, Claude API integration, credential setup, Cloudflare Tunnel exposure, and Proxmox LXC deployment.…

mickpletcher/AI-Skills · 102 tokens

ash-framework

Ash Framework — resources, actions, policies, aggregates, calculations, AshPhoenix.Form, LiveView, migrations. Use when generating resources via mix ash.codegen, editing changes, checks, types, validations, or domain code interfaces.

oliver-kriska/claude-elixir-phoenix · 48 tokens

liveview-patterns

Build LiveView: async data (assignasync), PubSub (check connected?), phx-change events, form components/modals/uploads, streams for lists, livepatch. Use when handling interactions, debugging events, or tracking Presence.

oliver-kriska/claude-elixir-phoenix · 51 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

deploy

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

oliver-kriska/claude-elixir-phoenix · 46 tokens

oban

Oban job processing — workers, perform/1 (OSS) and process/1 (Pro), queues, cron, retries, unique jobs, idempotency, Oban Pro (Workflow, Batch, Chunk, Smart Engine), Testing. Use when writing Oban workers, queue config, or debugging jobs.

oliver-kriska/claude-elixir-phoenix · 64 tokens