sort
Sort files, lines, and columns with custom ordering and dedup. Use when scanning duplicates, monitoring changes, reporting results, alerting anomalies.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/sortsort
File & Text Sorting Tool.
Commands
lines
Sort lines (flags: -r reverse, -n numeric, -u unique)
scripts/script.sh lines <file> [-r] [-n] [-u]
csv
Sort CSV file by column number (1-based)
scripts/script.sh csv <file> <column>
json
Sort JSON array by a key
scripts/script.sh json <file> <key>
dedup
Remove duplicate lines (preserving order)
scripts/script.sh dedup <file>
shuffle
Randomly shuffle lines
scripts/script.sh shuffle <file>
rank
Rank/sort tabular data by a numeric column
scripts/script.sh rank <file> <column>
top
Show top N entries by column value
scripts/script.sh top <file> <column> [n]
freq
Frequency analysis — count occurrences of each line
scripts/script.sh freq <file>
stats
Show basic stats about the file content
scripts/script.sh stats <file>
Requirements
- python3
- jq (optional)
Powered by BytesAgain | bytesagain.com | [email protected]
Data Storage
Operation history is logged to ~/.local/share/sort/history.log for audit purposes.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-sort": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
skill-tracker
通用技能使用统计追踪器,支持 Python 和 Node.js 技能,自动记录调用次数、成功率,生成使用排行榜。数据本地存储,保护隐私。
cmms
Computerized maintenance management system
consent
Build cookie consent banners and track opt-in compliance status. Use when implementing GDPR consent, auditing cookies, generating privacy banners.
amr
Autonomous mobile robot fleet manager. Use when json amr tasks, csv amr tasks, checking amr status.
breaker
Circuit breaker sizing and coordination tool. Use when json breaker tasks, csv breaker tasks, checking breaker status.