install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/albionaiinc-del/json-key-sorter" ~/.claude/skills/clawdbot-skills-json-key-sorter && rm -rf "$T"
manifest:
skills/albionaiinc-del/json-key-sorter/SKILL.mdsource content
JSON Key Sorter
This utility standardizes JSON data by sorting all keys within JSON objects alphabetically. This makes JSON files easier to compare (diff), ensures consistent API responses, and improves readability, saving developers time and reducing merge conflicts.
Usage
- Sort a JSON file and print to console:
python tool.py my_data.json - Sort a JSON file and save to a new file:
python tool.py my_data.json -o sorted_data.json - **Pipe JSON from another command