본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

hash-toolkit

raghulpasupathi 제작

Security & Passwords
383clawskills.sh가 보고한 다운로드 수
1조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

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

설명

이 스킬이 하는 일

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.

사용 시점

  • 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

예시 워크플로

입력

User asks: has this document been processed before?

에이전트
  1. 1

    Generate SHA256 hash of the document content using generateHash

  2. 2

    Load the set of previously seen hashes from storage

  3. 3

    Call checkDuplicate with the new hash and the known-hashes Set

  4. 4

    Return the isDuplicate flag and hash value to the caller

출력

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

설치

clawhub install raghulpasupathi/hash-toolkit

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크