sort

Sort files, lines, and columns with custom ordering and dedup. Use when scanning duplicates, monitoring changes, reporting results, alerting anomalies.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sort" with this command: npx skills add ckchzh/sort

sort

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 | hello@bytesagain.com

Data Storage

Operation history is logged to ~/.local/share/sort/history.log for audit purposes.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

openclaw2backup

一键备份和恢复 OpenClaw 工作空间、Skills 及配置,支持快速和完整备份、选择性恢复及备份管理。

Registry SourceRecently Updated
2240Profile unavailable
General

OpenClaw Session Model Switcher

Instantly switch the current OpenClaw session model; supports gpt, claude, qianwen, minimax, current model status, configured model listing, and restoring th...

Registry SourceRecently Updated
3011Profile unavailable
General

QWeather China

基于中国气象局数据的完整天气服务,通过和风天气API提供实时天气、天气预报、生活指数、空气质量等全方位天气信息。专为中国用户优化,数据更准确,功能更全面。

Registry SourceRecently Updated
3830Profile unavailable
General

Token Optimizer Pro

Monitor OpenClaw token usage, analyze usage patterns, estimate cost, and provide practical optimization suggestions. Use when reviewing token consumption by...

Registry SourceRecently Updated
9190Profile unavailable