← 返回 Skills 市场
Hashgen
作者
bytesagain3
· GitHub ↗
· v3.0.0
· MIT-0
353
总下载
0
收藏
1
当前安装
10
版本数
在 OpenClaw 中安装
/install hashgen
功能描述
Hash files and strings, verify checksums, and run integrity checks fast. Use when generating SHA hashes, verifying files, or comparing digest values.
使用说明 (SKILL.md)
HashGen
Quick hash generator for strings and files. Supports MD5, SHA1, SHA256, SHA512 with auto-detection, comparison, and verification.
Commands
| Command | Description |
|---|---|
hashgen md5 \x3Ctext> |
MD5 hash of text |
hashgen sha1 \x3Ctext> |
SHA1 hash of text |
hashgen sha256 \x3Ctext> |
SHA256 hash of text |
hashgen sha512 \x3Ctext> |
SHA512 hash of text |
hashgen all \x3Ctext> |
Show all hash algorithms for text |
hashgen file \x3Cpath> [algo] |
Hash a file (default: sha256) |
hashgen compare \x3Chash1> \x3Chash2> |
Compare two hashes |
hashgen verify \x3Ctext> \x3Chash> |
Verify text matches hash (auto-detects algorithm) |
hashgen version |
Show version |
Examples
hashgen md5 "hello world" # → MD5: 5eb63bbbe01...
hashgen sha256 "my secret" # → SHA256: 40e1b17...
hashgen all "test" # → shows MD5, SHA1, SHA256, SHA512
hashgen file /etc/hostname # → SHA256 of file
hashgen file /etc/hostname md5 # → MD5 of file
hashgen compare abc123 abc123 # → ✅ MATCH
hashgen verify "hello" 5d41... # → auto-detects algo, verifies
Requirements
md5sum,sha1sum,sha256sum,sha512sum(standard coreutils)
安全使用建议
This skill is a small, local hashing utility and appears safe for general use. Before installing, consider: (1) it runs locally and will read any file path you pass it — avoid giving it paths to sensitive files unless you intend to hash them; (2) do not use MD5 or SHA1 for security-critical purposes (they are cryptographically broken for collision resistance); prefer SHA256/SHA512 for integrity checks; (3) the compare implementation is simple string equality (not constant-time), so do not use it to compare secrets or authentication tokens where timing attacks matter; (4) the script depends on standard coreutils (md5sum/sha1sum/sha256sum/sha512sum/stat); ensure these are present on your system. If you need the skill to run autonomously in an agent, remember it will only execute when invoked (always:false), but an agent with file-system access could invoke it on files the agent can read.
功能分析
Type: OpenClaw Skill
Name: hashgen
Version: 3.0.0
The HashGen skill is a standard utility for generating and verifying file and string hashes (MD5, SHA1, SHA256, SHA512). The shell script (scripts/script.sh) uses common Linux coreutils and contains no evidence of data exfiltration, network activity, or malicious execution logic.
能力评估
Purpose & Capability
Name/description match the included script and SKILL.md. The script provides commands to hash text and files (md5/sha1/sha256/sha512), compare and verify digests, and reports file size — all aligned with a hash/checksum utility. Required binaries (coreutils md5sum/sha1sum/sha256sum/sha512sum) are appropriate for the stated functionality.
Instruction Scope
SKILL.md and the script are limited to local hashing operations. The script reads only the text arguments and files explicitly provided by the user (it checks file existence and readability). Note: the compare function uses string equality (not a constant-time comparison), so this tool is unsuitable as an authentication comparator for secrets where timing attacks matter. Also detect_algo only infers algorithm from hash length (no validation of hex characters).
Install Mechanism
No install spec; this is instruction-only plus a small bash script. Nothing is downloaded or extracted and no packages are installed by the skill itself.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The operations are local and do not require secrets or external service access.
Persistence & Privilege
always:false (default) and user-invocable:true. The skill does not request persistent presence or modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hashgen - 安装完成后,直接呼叫该 Skill 的名称或使用
/hashgen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.0
v3.0.0: Complete rewrite with real functionality.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.6
old template -> domain-specific v2.0.0
v1.0.5
old template -> domain-specific v2.0.0
v1.0.4
Quality upgrade
v1.0.3
Quality upgrade: custom functionality
v1.0.2
De-template, unique content, script cleanup
v1.0.1
Quality fix: cleaner docs, removed flags
v1.0.0
Initial release
元数据
常见问题
Hashgen 是什么?
Hash files and strings, verify checksums, and run integrity checks fast. Use when generating SHA hashes, verifying files, or comparing digest values. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 353 次。
如何安装 Hashgen?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hashgen」即可一键安装,无需额外配置。
Hashgen 是免费的吗?
是的,Hashgen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Hashgen 支持哪些平台?
Hashgen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Hashgen?
由 bytesagain3(@bytesagain3)开发并维护,当前版本 v3.0.0。
推荐 Skills