LaunchKit · 2026
Back to Skills

hash-toolkit

Content hashing for deduplication with MD5, SHA256, and perceptual hashing.

0
383 downloads
by @raghulpasupathi

Setup & Installation

openclaw skills install @raghulpasupathi/hash-toolkit

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install hash-toolkit

What This Skill Does

Provides MD5, SHA1, SHA256, and SHA512 hashing via Node.js built-in crypto, plus a simplified perceptual hash for content similarity. Includes duplicate detection by comparing against a known hash set and a similarity score between two hashes.

Generates all common hash types in one call instead of writing separate crypto.createHash boilerplate for each algorithm.

When to use it

  • Deduplicating uploaded files before storing them
  • Generating cache keys from request payloads
  • Checking document integrity after network transfer
  • Finding near-duplicate text content in a processing pipeline
  • Building a seen-URLs set to avoid re-crawling

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: has this document been processed before?

AGENT
  1. 1Generate SHA256 hash of the document content using generateHash
  2. 2Load the set of previously seen hashes from storage
  3. 3Call checkDuplicate with the new hash and the known-hashes Set
  4. 4Return the isDuplicate flag and hash value to the caller
OUTPUT

{isDuplicate: true, hash: 'a3f2...', algorithm: 'sha256'}