/install axiom-json-canonicalizer
axiom-json-canonicalizer
Version: 1.0.1 Axioma Tools
Converts any JSON to a canonical form per RFC 8785 (JCS).
What this skill does
- Object keys sorted lexicographically (post-NFC)
- No insignificant whitespace
- Numbers: ECMAScript shortest round-trip
- Strings: NFC-normalized, surrogate-pair safe
- Output: UTF-8 bytes (byte-to-byte stable)
When to use this skill
- ✅ Sign OAuth/JWT payloads (canonicalize before signing)
- ✅ Hash JSON for integrity verification
- ✅ Compare semantically-equivalent JSON
- ✅ Build tamper-evident audit logs
- ❌ Need pretty-printing (use json.dumps indent)
- ❌ Need JSON5/JSONL/JSONC (different specs)
Usage
python3 axiom_json_canonicalizer.py input.json > canonical.json
python3 axiom_json_canonicalizer.py input.json --verify canonical.json
from axiom_json_canonicalizer import canonicalize
canon_bytes = canonicalize(json_obj) # UTF-8 bytes
Validation
| Check | Status |
|---|---|
| Unit tests | 81 cases |
| Performance | \x3C100ms |
| Security | Pure stdlib, no injection |
| Determinism | Byte-to-byte stable |
| License | Apache-2.0 |
Last updated: 2026-06-14
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install axiom-json-canonicalizer - After installation, invoke the skill by name or use
/axiom-json-canonicalizer - Provide required inputs per the skill's parameter spec and get structured output
What is axiom-json-canonicalizer?
JCS RFC 8785 — Canonical JSON. Convert any JSON to a deterministic, byte-to-byte identical canonical form. Use when you need to sign, hash, or compare JSON r... It is an AI Agent Skill for Claude Code / OpenClaw, with 47 downloads so far.
How do I install axiom-json-canonicalizer?
Run "/install axiom-json-canonicalizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is axiom-json-canonicalizer free?
Yes, axiom-json-canonicalizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does axiom-json-canonicalizer support?
axiom-json-canonicalizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created axiom-json-canonicalizer?
It is built and maintained by Kofna3369 (@kofna3369); the current version is v1.0.1.