Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

rar-archive-helperrar 存档助手

Agent Skill

rar-archive-helper 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,752

周安装

117

GitHub Stars

公开资料未说明

下载量

964
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rar-archive-helper(rar 存档助手)
来源仓库:https://github.com/zkcloud/rar-archive-helper
安装命令:
openclaw skills install rar-archive-helper
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install rar-archive-helper

简介

跨平台处理 rar 和 winrar 命令行存档压缩与解压。

  • 支持 Windows 与 Linux 环境,适用于大文件批量操作。
  • 适合在 OpenClaw 中需要归档管理或分发包处理时使用。
  • 安装前建议确认权限范围、维护状态及是否触发命令执行。
  • 涉及敏感文件时应评估密码管理与存储安全策略。rar-archive-helper 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
rar-command-helper
description
cross-platform rar and winrar command-line archive handling for windows and linux. use when chatgpt needs to compress or extract archives with rar or winrar, detect whether rar tools are available, repair path issues, download official installers when missing, handle password-protected archives, process multipart archives, and troubleshoot common command-line extraction or compression errors in automation workflows.

Overview

Use this skill for reliable archive compression and extraction with rar or winrar on Windows and Linux.

Core responsibilities:

  • Detect whether rar or winrar is callable
  • Search common install locations if the command is missing
  • Add the executable location to PATH when possible
  • Fall back to the official download links if the binary is not installed
  • Run compression or extraction commands
  • Handle passwords, special characters, multipart archives, overwrite prompts, and common automation failures
  • Use a single evidence-based retry when the failure cause is clear

Required execution order

Always follow this sequence:

Goal -> Detect -> Fix PATH -> Run -> Verify -> Result

Do not skip detection. Do not jump straight to archive commands unless the executable is already known to work.

Platform detection

First determine whether the environment is Windows or Linux, then use the matching commands and path conventions.

Detect availability

Windows

Run:

where rar
where winrar

Linux

Run:

which rar

If at least one valid executable is found, prefer that executable and continue.

Search common install locations when the command is missing

Windows common locations

  • C:\Program Files\WinRAR\
  • C:\Program Files (x86)\WinRAR\

Check for:

  • rar.exe
  • winrar.exe

Linux common locations

  • /usr/bin/rar
  • /usr/local/bin/rar
  • /opt/rar/

If found, either call the binary by absolute path or add its directory to PATH.

Add to PATH

Windows temporary PATH update

set PATH=C:\Program Files\WinRAR;%PATH%

Windows persistent PATH update

setx PATH "%PATH%;C:\Program Files\WinRAR"

Linux temporary PATH update

export PATH=$PATH:/usr/local/bin

If modifying PATH is not allowed or does not take effect in the current shell, use the absolute executable path.

Official download fallback

If the executable is not found in common locations, use the official download link that matches the platform.

Windows

https://www.win-rar.com/fileadmin/winrar-versions/winrar/winrar-x64-720.exe

Linux

https://www.win-rar.com/fileadmin/winrar-versions/rarlinux-x64-720.tar.gz

Only suggest or perform download after detection and common-path checks fail.

Extraction commands

Basic extraction with full paths

rar x archive.rar

Extract to a target directory

rar x archive.rar /output/path/

Extract without preserving paths

rar e archive.rar

Password-protected extraction

Basic password form

rar x -p123456 archive.rar

Password with output directory

rar x -p123456 archive.rar /output/path/

Password with special characters

Wrap the password in quotes when it contains shell-significant characters.

rar x -p"p@ss!word" archive.rar

On Windows, equivalent winrar examples are valid:

winrar x -p123456 secure.zip
winrar x -pabc123 C:\files\archive.rar D:\output\
winrar x -p"p@ss!word" data.rar

Silent or unattended extraction

Use background or unattended flags for automation:

rar x -ibck -p123456 archive.rar /output/path/

Use overwrite and yes-to-all flags when prompts would block automation:

rar x -o+ -y archive.rar

Compression commands

Create archive

rar a archive.rar file1 file2

Create encrypted archive

rar a -p123456 archive.rar file1

Create split archive

rar a -v100m archive.rar largefile.iso

Encoding and path handling

Windows UTF-8 console for Chinese path issues

If Chinese paths or filenames display as garbled text, run:

chcp 65001

Paths with spaces

Always quote paths containing spaces:

"C:\path with space\file.rar"

Absolute path fallback on Windows

"C:\Program Files\WinRAR\winrar.exe" x archive.rar

Multipart archive handling

Always start extraction from the first volume, typically:

  • part1.rar
  • archive.part1.rar

Do not start from later volumes.

Verification

After running the archive command, verify:

  • Expected output files exist
  • The target directory exists
  • The command output does not indicate password, CRC, path, or permission failures

If verification fails, inspect the error and decide whether the single retry rule applies.

Single retry rule

Retry at most once, and only when the failure cause is concrete and fixable.

Allowed retry cases:

  • Fixed a PATH issue
  • Corrected a password
  • Added quotes around a special-character password
  • Added quotes around a path with spaces
  • Switched to the first part of a multipart archive
  • Added overwrite flags to avoid blocking prompts
  • Fixed encoding with chcp 65001
  • Switched to absolute executable path

Do not retry when:

  • The archive appears corrupted
  • The error remains unknown
  • The environment blocks execution for unrelated reasons
  • The same command already failed after the relevant fix

Standard execution template

Use this exact reporting structure in responses:

[Goal]
<what needs to be done>

[Detect]
<what command was checked and what was found>

[Fix PATH]
<how PATH or executable resolution was handled>

[Run]
<the command executed>

[Verify]
<what was checked>

[Result]
Status: SUCCESS or FAILED
Command: <final command>
Output: <key output>
Notes: <important notes, or none>

Common errors and fixes

Command not found

Cause:

  • rar or winrar is not in PATH

Fix:

  • Search common install directories
  • Add the directory to PATH
  • Use absolute path
  • Download from the official link if not installed

Wrong executable name

Cause:

  • Windows may expose winrar
  • Linux usually uses rar

Fix:

  • Try both names on Windows
  • Prefer rar on Linux

Incorrect password

Symptoms:

  • Extraction fails
  • Prompt repeats
  • Output indicates wrong password or file header failure

Fix:

  • Re-enter the correct password
  • Quote passwords with special characters:
-p"p@ss!word"

Path contains spaces

Fix:

  • Quote every path argument that contains spaces

Chinese path garbling

Fix:

  • Run chcp 65001 before the archive command on Windows terminals where encoding is the issue

Permission denied

Fix:

  • Change the output directory
  • Elevate privileges when appropriate
  • Use a writable working directory

Multipart extraction failure

Cause:

  • Extraction started from a later volume

Fix:

  • Start from the first volume only

Overwrite prompt blocks automation

Fix:

-o+ -y

PATH cannot be modified

Fix:

  • Use the full absolute path to rar.exe or winrar.exe

Behavioral constraints

  • Prefer CLI operations over GUI instructions
  • Be concise and operational
  • Do not invent installation locations; only use detected or common ones
  • Use the official download URLs provided above
  • Show the final command clearly
  • State uncertainty when a failure cause is not confirmed

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.07%
按下载量换算675

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install rar-archive-helper 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills