Agent Skillsjegly/Box › calculate-hash

calculate-hash

GitHub

用于计算文本的密码学哈希值,支持 SHA-1、SHA-256、SHA-384 和 SHA-512 算法。通过内置 WebCrypto API 离线执行,适用于需要生成数据指纹或校验的场景。

skills/built-in/calculate-hash/SKILL.md jegly/Box

Trigger Scenarios

用户请求计算特定文本的哈希值 用户询问字符串的加密摘要

Install

npx skills add jegly/Box --skill calculate-hash -g -y
More Options

Non-standard path

npx skills add https://github.com/jegly/Box/tree/main/skills/built-in/calculate-hash -g -y

Use without installing

npx skills use jegly/Box@calculate-hash

指定 Agent (Claude Code)

npx skills add jegly/Box --skill calculate-hash -a claude-code -g -y

安装 repo 全部 skill

npx skills add jegly/Box --all -g -y

预览 repo 内 skill

npx skills add jegly/Box --list

SKILL.md

Frontmatter
{
    "name": "calculate-hash",
    "description": "Calculate the cryptographic hash of a given text. Supports SHA-1, SHA-256, SHA-384, and SHA-512."
}

Calculate Hash

This skill calculates the cryptographic hash of any text, fully offline using the built-in WebCrypto API.

Supported Algorithms

  • SHA-256 (default — recommended)
  • SHA-512
  • SHA-384
  • SHA-1 (legacy, avoid for security-sensitive use)

Instructions

Call the run_js tool with:

  • script name: index.html
  • data: A JSON string with:
    • text: String — the text to hash
    • algorithm: String (optional) — one of SHA-256, SHA-512, SHA-384, SHA-1. Defaults to SHA-256 if not specified.

Examples

  • "What is the SHA-256 hash of 'hello world'?"
  • "Calculate the SHA-512 of this string: ..."
  • "Hash 'password123' with SHA-1"
  • "What is the hash of 'gemma'?" → use SHA-256 by default

Version History

  • 7897895 Current 2026-07-24 17:00

Same Skill Collection

skills/built-in/interactive-map/SKILL.md
skills/built-in/kitchen-adventure/SKILL.md
skills/built-in/mood-tracker/SKILL.md
skills/built-in/translator/SKILL.md
skills/featured/mood-music/SKILL.md
skills/featured/restaurant-roulette/SKILL.md
skills/built-in/query-wikipedia/SKILL.md
skills/built-in/send-email/SKILL.md
skills/featured/virtual-piano/SKILL.md
skills/built-in/qr-code/SKILL.md
skills/built-in/text-spinner/SKILL.md

Metadata

Files
0
Version
fe83d52
Hash
610c987d
Indexed
2026-07-24 17:00

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-19 03:46
浙ICP备14020137号-1 $방문자$