Agent skill

Sevenzip Format

by adamhathcock in adamhathcock/sharpcompress

Reference the 7z/7zip archive container format. An agent skill from adamhathcock/sharpcompress.

MITAuto-check passed

Install Sevenzip Format

skills CLI
$ npx skills add adamhathcock/sharpcompress --skill sevenzip-format -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install adamhathcock/sharpcompress sevenzip-format --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/adamhathcock/sharpcompress.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sevenzip-format .claude/skills/sevenzip-format && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sevenzip-format
GitHub stars
2.6k
Token cost
~422 tokens
SKILL.md length
177 words
Files
2 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Reference the 7z/7zip archive container format. An agent skill from adamhathcock/sharpcompress.

  • Works in 4 steps: Identify which part of the 7z container… → Open the relevant section in… → When implementing or reviewing parsing… → …
  • An AI agent needs to answer questions
  • SKILL.md covers Reference and Workflow
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Sevenzip Format is an agent skill from adamhathcock/sharpcompress. Reference the 7z/7zip archive container format. Use when an AI agent needs to answer questions or make code changes involving 7z signatures, headers, encoded headers, NID/property IDs, packed streams, folders/coders, bind pairs, substreams, file metadata properties, or SharpCompress 7Zip parsing behavior.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/7z-format.md`).

The repository describes itself as: SharpCompress is a fully managed C library to deal with many compression types and formats. The licence is MIT.

When your agent uses it

  • An AI agent needs to answer questions
  • Make code changes involving 7z signatures
  • Encoded headers
  • NID/property IDs

Example prompts

  • “/sevenzip-format”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Identify which part of the 7z container is involved: signature/start header, packed streams, coders/folders, substreams, files info, or…
  2. Open the relevant section in references/7z-format.md and use the table of contents to avoid loading unrelated details.
  3. When implementing or reviewing parsing logic, pay special attention to optional blocks marked with [], 7z's variable-length UINT64…
  4. Cross-check behavior against SharpCompress tests and existing parser conventions before changing public API or stream behavior.

What it can do on your machine

Read from SKILL.md and the folder at commit eab8154. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sevenzip Format loads about 422 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 177 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~422
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from adamhathcock/sharpcompress at commit eab8154, republished under its MIT licence (© adamhathcock). 177 words, ~422 tokens.

Download SKILL.mdSave it as .claude/skills/sevenzip-format/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
sevenzip-format
description
Reference the 7z/7zip archive container format. Use when an AI agent needs to answer questions or make code changes involving 7z signatures, headers, encoded headers, NID/property IDs, packed streams, folders/coders, bind pairs, substreams, file metadata properties, or SharpCompress 7Zip parsing behavior.

Sevenzip Format

Use this skill for 7z container-format work. It provides a local Markdown conversion of the LZMA SDK 7zFormat.txt reference.

Reference

  • Read references/7z-format.md when the task depends on 7z binary layout, header property IDs, stream/folder relationships, metadata fields, or encoded headers.
  • Treat the reference as the LZMA SDK 7z format description version 4.59. It describes the container grammar, not compression method internals; method-specific codec details are outside this skill.
  • Preserve source field names and numeric IDs when mapping the spec to code. The converted reference keeps source spelling inside syntax blocks where exact matching may matter.

Workflow

  1. Identify which part of the 7z container is involved: signature/start header, packed streams, coders/folders, substreams, files info, or encoded headers.
  2. Open the relevant section in references/7z-format.md and use the table of contents to avoid loading unrelated details.
  3. When implementing or reviewing parsing logic, pay special attention to optional blocks marked with [], 7z's variable-length UINT64 encoding, and little-endian REAL_UINT64 fields.
  4. Cross-check behavior against SharpCompress tests and existing parser conventions before changing public API or stream behavior.

© adamhathcock, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .agents/skills/sevenzip-format of adamhathcock/sharpcompress.

  • SKILL.md
  • references/7z-format.md

Open the folder on GitHubat commit eab8154

Compare with similar skills

Sevenzip Format next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sevenzip Format compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sevenzip Format this skilladamhathcock/sharpcompress2.6k—~422Automated safety check: PassMIT
Apple Containersickn33/agentic-awesome-skills47k1 repos~2.5kAutomated safety check: PassApache-2.0
Container Security Hardeningsickn33/agentic-awesome-skills47k1 repos~1kAutomated safety check: NotesMIT
Container Queriesthedaviddias/Front-End-Checklist74k—~526Automated safety check: PassMIT
CSS Containmentthedaviddias/Front-End-Checklist74k—~512Automated safety check: PassMIT
Detecting Container Escape Attemptsmukul975/Anthropic-Cybersecurity-Skills34k—~2.9kAutomated safety check: PassApache-2.0

Similar skills

  • Apple Container

    sickn33/agentic-awesome-skills

    Build, run, and manage OCI/Linux containers as lightweight per-container VMs on Apple-silicon macOS using Apple's open-source container CLI, no Docker daemon required.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    DevOps & CloudAuto-check passed
  • Container Security Hardening

    sickn33/agentic-awesome-skills

    Harden Docker/container images and runtime deployments with secure base images, non-root users, CVE scanning, SBOM/signing, seccomp/AppArmor, and Kubernetes pod security controls.

    47k GitHub starsUsed in 1 repo~1k tokens
    SecurityAuto-check: notes
  • Container Queries

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use container queries for component-level responsiveness.

    74k GitHub stars~526 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • CSS Containment

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use CSS containment to limit repaint scope.

    74k GitHub stars~512 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Detecting Container Escape Attempts

    mukul975/Anthropic-Cybersecurity-Skills

    Detects container escape at runtime across tooling - namespace manipulation, capability abuse, kernel exploits, sensitive host mounts, and anomalous syscalls - and explains which signals matter…

    34k GitHub stars~2.9k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Performing Container Escape Detection

    mukul975/Anthropic-Cybersecurity-Skills

    Audits container and pod configuration for escape-enabling misconfiguration using the Kubernetes Python client - privileged flags, dangerous capability grants, host path mounts, shared namespaces…

    34k GitHub stars~648 tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from adamhathcock/sharpcompress

  • Rar Format

    adamhathcock/sharpcompress

    Reference the RAR/RAR5 archive container format and UnRAR source behavior.

    2.6k GitHub stars~633 tokensUpdated yesterday
    Auto-check passed
  • Tar Format

    adamhathcock/sharpcompress

    Reference the Tar/USTAR/PAX/GNU tar archive container format.

    2.6k GitHub stars~499 tokensUpdated yesterday
    Auto-check passed
  • Xz Lzma Format

    adamhathcock/sharpcompress

    Reference the XZ container format and LZMA/LZMA2 decoder behavior.

    2.6k GitHub stars~513 tokensUpdated yesterday
    Auto-check passed
  • Zip Format

    adamhathcock/sharpcompress

    Reference the ZIP/ZIP64/PKWARE APPNOTE archive container format.

    2.6k GitHub stars~613 tokensUpdated yesterday
    Auto-check passed

Questions about Sevenzip Format

What does Sevenzip Format do?

Reference the 7z/7zip archive container format. An agent skill from adamhathcock/sharpcompress. Sevenzip Format is an agent skill from adamhathcock/sharpcompress. Reference the 7z/7zip archive container format.

When should I use Sevenzip Format?

Sevenzip Format fits situations like: an AI agent needs to answer questions; make code changes involving 7z signatures; encoded headers; NID/property IDs.

How do I install Sevenzip Format in Claude Code?

Run `npx skills add adamhathcock/sharpcompress --skill sevenzip-format -a claude-code`. Or copy the skill folder (.agents/skills/sevenzip-format in adamhathcock/sharpcompress) into .claude/skills/sevenzip-format in your project. Claude Code loads it when a task matches its description.

How do I install Sevenzip Format in Codex?

Run `npx skills add adamhathcock/sharpcompress --skill sevenzip-format -a codex`. Or copy the skill folder (.agents/skills/sevenzip-format in adamhathcock/sharpcompress) into .agents/skills/sevenzip-format in your project. Codex loads it when a task matches its description.

Can I use Sevenzip Format in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add adamhathcock/sharpcompress --skill sevenzip-format -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sevenzip-format, .gemini/skills/sevenzip-format, .github/skills/sevenzip-format and .opencode/skills/sevenzip-format in your project.

What does Sevenzip Format need to run?

SKILL.md names no scripts, command-line tools or credentials: Sevenzip Format is instructions for the agent only.

Does Sevenzip Format access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sevenzip Format safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sevenzip Format use?

Sevenzip Format is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sevenzip Format use?

About 422 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.

What are the alternatives to Sevenzip Format?

Skills that share tags, products or a category with Sevenzip Format: Apple Container (sickn33/agentic-awesome-skills, 47k stars), Container Security Hardening (sickn33/agentic-awesome-skills, 47k stars), Container Queries (thedaviddias/Front-End-Checklist, 74k stars) and CSS Containment (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sevenzip Format?

adamhathcock (a GitHub user) maintains it in adamhathcock/sharpcompress, which has 2,589 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 2026.

Source: adamhathcock/sharpcompress on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.