← Back to Skills Marketplace
kofna3369

axiom-json-canonicalizer

by Kofna3369 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
47
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install axiom-json-canonicalizer
Description
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...
README (SKILL.md)

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

Usage Guidance
Treat this as a custom offline JSON normalizer unless the publisher fixes or narrows the RFC 8785/JCS claims. Do not rely on it for cryptographic signatures, JWT/OAuth payloads, audit logs, or interoperability with other JCS implementations without independent test vectors and agreement that NFC normalization and its number formatting are acceptable.
Capability Tags
requires-walletrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill is coherently aimed at JSON canonicalization for hashing/signing, but it advertises RFC 8785/JCS compliance while the code intentionally NFC-normalizes strings/keys and uses non-strict number handling, which is unsafe for a claimed standards-compatible signing or integrity tool.
Instruction Scope
Runtime use is user-directed through stdin or a named file, but the docs repeatedly recommend OAuth/JWT signing, hashing, and tamper-evident logs without clearly warning that its output is a custom canonical form rather than strict JCS.
Install Mechanism
No install script, postinstall hook, package manager mutation, or automatic execution was found; the artifact is documentation, a Python script, tests, and metadata.
Credentials
The Python code uses only stdlib JSON/string/file operations and no network, subprocess, shell, LLM, or credential access. Registry capability tags mention sensitive credentials/OAuth, but the artifact does not request or use them.
Persistence & Privilege
No persistence, background worker, privilege escalation, hidden state, or broad filesystem indexing was found; file access is limited to user-supplied paths and stdout output.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install axiom-json-canonicalizer
  3. After installation, invoke the skill by name or use /axiom-json-canonicalizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
v1.0.1: Make trilingual EN/FR/ZH the latest version (was 0.1.1/0.1.6, semver too low)
v0.1.1
v0.1.1: Trilingual SKILL.md (EN/FR/ZH) added for ClawHub
v1.0.0
v1.0.0: JCS RFC 8785. NFC normalization, surrogate pair handling, ECMAScript number format. 81 tests.
Metadata
Slug axiom-json-canonicalizer
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

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.

💬 Comments