π¦ ClawHubβ¦ BytesAgain
Sort
by @ckchzh
Sort files, lines, and columns with custom ordering and dedup. Use when scanning duplicates, monitoring changes, reporting results, alerting anomalies.
TERMINAL
clawhub install sortπ About This Skill
name: sort version: "3.0.2" author: BytesAgain homepage: https://bytesagain.com source: https://github.com/bytesagain/ai-skills license: MIT-0 tags: [sort, tool, utility] description: "Sort files, lines, and columns with custom ordering and dedup. Use when scanning duplicates, monitoring changes, reporting results, alerting anomalies."
sort
File & Text Sorting Tool.
Commands
lines
Sort lines (flags: -r reverse, -n numeric, -u unique)
scripts/script.sh lines [-r] [-n] [-u]
csv
Sort CSV file by column number (1-based)
scripts/script.sh csv
json
Sort JSON array by a key
scripts/script.sh json
dedup
Remove duplicate lines (preserving order)
scripts/script.sh dedup
shuffle
Randomly shuffle lines
scripts/script.sh shuffle
rank
Rank/sort tabular data by a numeric column
scripts/script.sh rank
top
Show top N entries by column value
scripts/script.sh top [n]
freq
Frequency analysis β count occurrences of each line
scripts/script.sh freq
stats
Show basic stats about the file content
scripts/script.sh stats
Requirements
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
Data Storage
Operation history is logged to ~/.local/share/sort/history.log for audit purposes.