Skills DirectorySearch all skills ↗

AI agent skill · by @AIDotNet

File Hasher

计算文件哈希值(MD5、SHA1、SHA256、SHA512)用于完整性验证和比较。

Archived 2026-10-23 · Source updated 2026-01-28 · License: MIT. Check the original repository for the latest version.

SKILL.md instructions

# File Hasher Tool

## Description
Calculate cryptographic hashes for files to verify integrity, detect duplicates, or generate checksums.

## Trigger
- `/hash` command
- User needs file checksums
- User wants to verify file integrity

## Usage

```bash
# Calculate SHA256 hash
python scripts/file_hasher.py file.zip

# Calculate multiple hash types
python scripts/file_hasher.py file.zip --all

# Verify against known hash
python scripts/file_hasher.py file.zip --verify abc123...

# Hash multiple files
python scripts/file_hasher.py *.zip --algorithm sha256

# Find duplicate files
python scripts/file_hasher.py --find-duplicates ./folder/
```

## Tags
`hash`, `checksum`, `md5`, `sha256`, `integrity`

## Compatibility
- Codex: ✅
- Claude Code: ✅

Related skills