# Ingest Archive 7z Extractor

> Ingest Archive 7z Extractor is an Agent Skill for documents published in the cas-bigdatalab/piflow repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

7z 压缩包解压工具。递归扫描目录内 .7z 文件及分卷（.7z.001 等），解压并输出解压清单。依赖 py7zr 库。不负责 zip、rar 等其他格式的解压。

- Skill name: `ingest_archive_7z_extractor`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/cas-bigdatalab/piflow/blob/HEAD/workspace/skills/ingest_archive_7z_extractor/SKILL.md
- Repository: cas-bigdatalab/piflow (541 GitHub stars when collected)

## SKILL.md

# ingest_archive_7z_extractor — 7z 压缩包解压

## 功能概述

递归扫描目录内 `.7z` 文件及分卷（`.7z.001`/`.002` 等），解压并输出解压清单。

## 参数说明

| 参数 | 必填 | 默认值 | 说明 |
|------|------|--------|------|
| `--input_dir` | 是 |  | 待解压目录（递归） |
| `--output_dir` | 是 |  | 解压输出根目录 |
| `--report` | 是 |  | 解压报告输出路径（JSON） |
| `--max_entries` | 否 | 0 | 单包最大解压文件数（0 不限） |

## 使用方法

```bash
python scripts/run_ingest_archive_7z_extractor.py \
  --input_dir <input_dir> \
  --output_dir <output_dir> \
  --report <report.json>
```

## 环境要求

需要 `py7zr` 第三方库。若未安装则报错记录到报告中。

---

Source: https://www.openparable.com/skill/documents/ingest-archive-7z-extractor (OpenParable). Cite the canonical URL above.
