AGENT SKILL
calculate-hash
Calculate the hash (SHA-256, MD5) of a given text string. Useful for verifying data integrity, generating unique identifiers, or cryptographic demonstrations.
- License 许可
- GPL-3.0
- 最近更新
- 2026-10-10
- Stars
- ★ 3
- Forks
- 3
01 前言 Front Matter
- name
- calculate-hash
- triggers
- [ "/hash", "计算哈希", "sha256", "md5" ]
- description
- Calculate the hash (SHA-256, MD5) of a given text string. Useful for verifying data integrity, generating unique identifiers, or cryptographic demonstrations.
02 资源文件 1
- 脚本scripts/index.html3.4 KB
03 SKILL.md 正文
Calculate Hash
This skill calculates the cryptographic hash of any text string using multiple algorithms.
Instructions
Call the run_js tool with the following exact parameters:
- script name:
index.html - data: A JSON string with the following field:
text: String. The text to calculate hash for.algorithm: String, Optional. The hash algorithm to use. Supported values: "sha-256" (default), "md5", "sha-1".
Examples
- "Calculate SHA-256 hash of 'Hello World'"
- "What is the MD5 hash of my API key: sk-xxxxx?"
- "Generate a unique identifier by hashing the current timestamp"
Constraints
- Always return both the hexadecimal hash value and its length.
- For long texts (>1000 chars), return only the first 8 and last 4 characters of the hash with ellipsis in between.
- If the input text is empty, return an error message.
04 同仓库更多 Skills
virtual-piano
Show a virtual piano to play music
★ 3
text-spinner
Spin the given text on my head.
★ 3
send-email
Send an email.
★ 3
self-mirror
个人言行修炼批判镜。基于模型在持续观察中自动建立的人格画像(现实自我/理想自我),逐字分析其本人语音转写,反讨好但不对抗地指出言行与理想方向的差距、给出可直接使用的替代说法,并在用户自我否定或处于危机时优先给予支持。
★ 3
restaurant-roulette
Show a roulette wheel to allow user to randomly select a restaurant based on location and cuisine.
★ 3
query-wikipedia
Query summary from Wikipedia for a given topic.
★ 3