TopRank Skills

Home / Claw Skills / Data Analysis / checksum
Official OpenClaw rules 36%

checksum

A CLI utility for generating and verifying cryptographic file checksums (MD5, SHA1, SHA256). Supports recursive directory hashing and verification from file.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 checksum 技能。 若已安装,则直接安装 checksum 技能。

Overview

Skill Key
autogame-17/checksum
Author
autogame-17
Source Repo
openclaw/skills
Version
-
Source Path
skills/autogame-17/checksum
Latest Commit SHA
bee6c6a32d3a113a2708497f222d738cc190d21e

Extracted Content

SKILL.md excerpt

# Checksum Utility

A dedicated CLI tool for ensuring file integrity. Use this skill to verify downloads, check for changes in files, or generate checksums for release artifacts.

## Features

- **Multi-Algorithm:** Supports `md5` (default), `sha1`, `sha256`, `sha512`.
- **Recursive Hashing:** Generates checksums for entire directories.
- **Verification:** (Planned) Validate files against a checksum list.
- **JSON Output:** Machine-readable output for integration scripts.

## Usage

### Calculate File Checksum

```bash
node skills/checksum/index.js --file <path> [--algo <md5|sha1|sha256>]
```

Example:
```bash
node skills/checksum/index.js --file package.json --algo sha256
# Output: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  package.json
```

### Recursive Directory Checksum

```bash
node skills/checksum/index.js --dir <path> [--algo <md5|sha1|sha256>] [--json]
```

Example:
```bash
node skills/checksum/index.js --dir src/ --algo sha1 --json > checksums.json
```

## Why use this instead of `md5sum`?

- **Cross-Platform:** Works on any OS with Node.js (Linux, macOS, Windows).
- **No System Deps:** Doesn't rely on `coreutils` being installed.
- **JSON Support:** Easy to parse in other scripts.

Related Claw Skills