← 返回 Skills 市场
kofna3369

axiom-hash-multi

作者 Kofna3369 · GitHub ↗ · v1.1.3 · MIT-0
cross-platform ✓ 安全检测通过
55
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install axiom-hash-multi
功能描述
Multi-algorithm hash generator (MD5/SHA-1/SHA-256/SHA-512/BLAKE2b) — deterministic, byte-to-byte, zero dependencies. Use when you need to hash a file or stri...
使用说明 (SKILL.md)

🛠️ axiom-hash-multi

Version: 1.1.3 Axioma Tools — Skill #1 (Phase 1) Cluster: Axioma

What this skill does

Calculates 5 hash algorithms at once (or just one) on a file or bytes input:

  • MD5
  • SHA-1
  • SHA-256
  • SHA-512
  • BLAKE2b (64-byte digest)

Differentiators:

  • Zero dependencies (pure Python stdlib)
  • Byte-to-byte deterministic (same input → same hash, always)
  • Streaming for large files (no RAM bloat)
  • No LLM, no cloud, no hallucination
  • Multiple algorithms in one call (--all flag)

When to use this skill

  • ✅ Hash a file to verify integrity
  • ✅ Get multiple algorithms at once for cross-verification
  • ✅ Fingerprint files for deduplication
  • ✅ Hash a string without writing a script
  • ✅ Bulk hash a directory (loop with this CLI)
  • ✅ Verify a file matches an expected hash (--compare)
  • ✅ Verify all hashes in a MANIFEST file (--verify-manifest)
  • ✅ Get structured JSON output for scripts (--json)
  • ❌ When you need HMAC or password hashing (use bcrypt/argon2)
  • ❌ When you need cryptographic signatures (use GPG/age)

Usage

CLI

# Single algorithm (default: SHA-256)
python3 axiom_hash_multi.py \x3Cfile>
python3 axiom_hash_multi.py "my string" --string
echo "data" | python3 axiom_hash_multi.py --stdin

# Specific algorithm
python3 axiom_hash_multi.py \x3Cfile> --algo md5
python3 axiom_hash_multi.py \x3Cfile> --algo sha512

# All algorithms at once
python3 axiom_hash_multi.py \x3Cfile> --all

# Verify against expected hash (exit 0 if match, 1 if not)
python3 axiom_hash_multi.py \x3Cfile> --algo sha256 --compare=\x3Cexpected_hex>

# Verify a MANIFEST.txt file (all hashes)
python3 axiom_hash_multi.py --verify-manifest MANIFEST.txt

# JSON output (structured for scripts)
python3 axiom_hash_multi.py \x3Cfile> --all --json

Python API

from axiom_hash_multi import hash_bytes, hash_file, hash_all, hash_file_all, verify_manifest

# Bytes
digest = hash_bytes(b"hello", "sha256")

# File (streaming)
digest = hash_file("path/to/file", "sha256")

# All algorithms
results = hash_all(b"test")  # dict of 5 algorithms
results = hash_file_all("path/to/file")  # dict of 5 algorithms

# Verify MANIFEST
result = verify_manifest("MANIFEST.txt")  # {"verified": True, "checked": 12, "failed": 0}

Validation status

Check Status
Unit tests (≥10 cases) ✅ 24 tests + 16 stress tests = 40 cases
Performance \x3C100ms ✅ Validated for \x3C100MB
Security (no injection) ✅ Pure stdlib, no eval/subprocess
Determinism byte-to-byte ✅ hashlib spec + 1000-runs test
0 LLM/KAN dependency ✅ stdlib only (hashlib, pathlib, json)
Doc (README + SKILL.md) ✅ Complete for v1.1.0
License Apache-2.0

Stress test results (9 groups, 40+ cases): all green

Last updated: 2026-06-14 — v1.1.0 release with /dev/null fix + 4 new features.

安全使用建议
Install/use this as a local hashing helper. Only run it on files or manifests you intend to inspect, and remember MD5/SHA-1 are useful for legacy checks but not strong integrity/security guarantees. Run the stress test only in a development environment because it creates temporary large files and invokes local system tools.
能力评估
Purpose & Capability
The artifacts consistently describe a multi-algorithm hashing tool for files, strings, stdin, and manifest verification; the Python implementation matches that purpose using hashlib and local file reads.
Instruction Scope
Runtime instructions are scoped to explicit CLI/API use. The tool hashes only inputs or manifest-listed files the user provides, though manifest verification can read relative files named inside the manifest.
Install Mechanism
The package contains documentation, a Python CLI/module, tests, and a stress test, with no install hook or automatic execution. There are minor non-security coherence issues: version/license text differs across metadata and docs.
Credentials
The main tool uses Python standard library hashing and no network/cloud calls. Test files use subprocess, temporary files, random data, and system hash utilities, which is proportionate for validation but not needed for normal use.
Persistence & Privilege
No persistence, background workers, credential access, privilege escalation, or broad indexing behavior was found. File access is local and user-directed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install axiom-hash-multi
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /axiom-hash-multi 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.3
v1.1.3: Make trilingual EN/FR/ZH the latest version (was 0.1.1/0.1.6, semver too low)
v1.1.2
v1.1.2: ClawHub version with trilingual SKILL.md (EN/FR/ZH) and cluster-jargon-free description
v1.1.1
v1.1.1: Re-publish with updated SKILL.md (trilingual, FR/ZH added)
v1.1.0
**v1.1.0 — Multi-algorithm hash utility with expanded features and improved robustness** - Added support for verifying MANIFEST files containing hashes. - Introduced JSON output mode for easier scripting and automation. - Enhanced CLI with file comparison (`--compare`) and streaming from stdin. - Improved determinism and performance tests (40 test cases in total). - Fixed issues with handling empty input (e.g., `/dev/null`).
元数据
Slug axiom-hash-multi
版本 1.1.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

axiom-hash-multi 是什么?

Multi-algorithm hash generator (MD5/SHA-1/SHA-256/SHA-512/BLAKE2b) — deterministic, byte-to-byte, zero dependencies. Use when you need to hash a file or stri... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 55 次。

如何安装 axiom-hash-multi?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install axiom-hash-multi」即可一键安装,无需额外配置。

axiom-hash-multi 是免费的吗?

是的,axiom-hash-multi 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

axiom-hash-multi 支持哪些平台?

axiom-hash-multi 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 axiom-hash-multi?

由 Kofna3369(@kofna3369)开发并维护,当前版本 v1.1.3。

💬 留言讨论