sort
This skill should be used when the user types "/sort", "/sort list", "/sort date_created desc", "/sort date_created desc, file_name asc", or "/sort default"…
by sdemyanov★ 26 GitHub stars
Install sort in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Operates under
retriever:routing. If the user's intent actually fits a different tier — anotherretriever:*skill, a Tier 2 slash, a Tier 3tools.pysubcommand, or (last resort) direct DB access — stop and re-route against the ladder before continuing.
Retriever /sort
Use this skill for /sort, /sort list, /sort <field> <asc|desc>, /sort <field> <asc|desc>, <field> <asc|desc>, and /sort default.
Read-only fast path
For the exact read-only forms /sort and /sort list:
- Do not read ../search/SKILL.md.
- Do not read schema docs.
- Run exactly one Bash command from the workspace root:
/sort:python3 skills/tool-template/tools.py slash . /sort/sort list:python3 skills/tool-template/tools.py slash . /sort list
- If canonical tool auto-discovery fails, retry once with
RETRIEVER_CANONICAL_TOOL_PATHpointed at ../tool-template/tools.py. - Return stdout exactly as the entire response. No preamble. No commentary. No reformatting.
Other forms
For /sort <field> <asc|desc>, comma-separated multi-column sort specs, and /sort default:
- Read ../search/SKILL.md.
- Read ../schema/schema.md only if sortable field names are unclear.
- Treat this skill as the slash command
/sort. - Preserve comma-separated sort specs exactly as written; do not collapse them to a single column.
- Return only the resulting Retriever state or table output. Do not add a preamble, trailing summary, or follow-up suggestion.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the sort skill do?
This skill should be used when the user types "/sort", "/sort list", "/sort date_created desc", "/sort date_created desc, file_name asc", or "/sort default". It exposes Retriever's visible slash-command surface for sort inspection and changes.
How do I install the sort skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the sort skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…