OpenParable
Skip to content
← Back to skills

Ingest Archive Rar Extractor

Documents
ingest_archive_rar_extractor

Ingest Archive Rar 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.

RAR 压缩包解压工具。递归扫描目录内 .rar 文件及分卷(.part1.rar/.part2.rar 等),解压并输出解压清单。依赖 rarfile 库及系统 unrar 工具。不负责 zip、7z 等其他格式的解压。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/cas-bigdatalab/piflow/blob/HEAD/workspace/skills/ingest_archive_rar_extractor/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ingest-archive-rar-extractor, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

ingest_archive_rar_extractor — RAR 压缩包解压

功能概述

递归扫描目录内 .rar 文件及分卷(.part1.rar/.part2.rar 等),解压并输出解压清单。

参数说明

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

使用方法

python scripts/run_ingest_archive_rar_extractor.py \
  --input_dir <input_dir> \
  --output_dir <output_dir> \
  --report <report.json>

环境要求

需要 rarfile 第三方库及系统安装 unrar 工具。若未安装则报错记录到报告中。