Install
openclaw skills install uniq-toolReport or filter repeated lines in sorted text. Use for deduplication, frequency counting, and data cleanup.
openclaw skills install uniq-toolRemove or count consecutive duplicate lines from sorted input. Works best with pre-sorted data using sort-tool.
uniq-tool [options] [input_file [output_file]]
-c: Count occurrences of each line-d: Only show duplicate lines-u: Only show unique (non-duplicate) lines-i: Case-insensitive comparison# Remove adjacent duplicates
uniq-tool sorted.txt
# Count occurrences
uniq-tool -c sorted.txt
# Only show duplicates
uniq-tool -d sorted.txt