
Agent sort
Trims an ECC install to the skills, rules and hooks a specific repo actually uses
Agent sort is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 66
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Agent sort
Agent Sort is a planning skill for teams that load the full ECC bundle but only need part of it. It has the agent read the repository first to establish its language, frameworks, package manager, test and lint tooling and existing integrations, then review each ECC component type (agents, skills, commands, rules, hooks and scripts, and extras) against that evidence.
Each component is sorted into one of two buckets. DAILY items load every session because the repo clearly uses their stack or workflow, and each decision must cite concrete repo evidence such as file extensions, lockfiles, configs or CI setup. LIBRARY items stay reachable through search or an optional skill-library router without being loaded by default. The skill recommends running the review passes in parallel when subagents are available and sequentially otherwise.
The output is a compact set of artifacts: a DAILY inventory, a LIBRARY inventory, an install plan, and a verification report listing counts, removed stale surfaces and open questions. It works with files already in the repository and expects the ECC bundle to be present; it prefers ECC-native mechanisms over introducing a separate install system. It also points to other skills for interactive installation, catalog cleanup or context trimming.
When your agent uses it
Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (6 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/agent-sort:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agent-sort &&
cp -R "$tmp/.agents/skills/agent-sort" ~/.claude/skills/agent-sort &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/agent-sort inside it instead.
Copy the skill folder to ~/.agents/skills/agent-sort to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agent-sort &&
cp -R "$tmp/.agents/skills/agent-sort" ~/.agents/skills/agent-sort &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/agent-sort inside it instead.
Copy the skill folder to ~/.cursor/skills/agent-sort to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agent-sort &&
cp -R "$tmp/.agents/skills/agent-sort" ~/.cursor/skills/agent-sort &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/agent-sort inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/agent-sortOr copy the folder to ~/.gemini/skills/agent-sort yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/agent-sort:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agent-sort &&
cp -R "$tmp/.agents/skills/agent-sort" ~/.copilot/skills/agent-sort &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/agent-sort inside it instead.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen copy REA_Skill/.agents/skills/agent-sort into your agent's skills folder as agent-sort. Agents that support SKILL.md read one folder per skill.
What it does
- Repo stack detection
- Reads languages, frameworks, package managers, test and lint tooling, and existing integrations before any classification.
- Evidence-backed classification
- Requires each always-loaded decision to cite concrete repo evidence such as files, configs or dependencies.
- Two-bucket sorting
- Splits ECC components into DAILY items that load every session and LIBRARY items kept searchable.
- Parallel review passes
- Divides agents, skills, commands, rules, hooks, scripts and extras into passes that can run concurrently.
- Install plan and verification
- Produces an install plan with removals and routing, then a checklist confirming the result matches the stack.
- Optional library router
- Can create a skill-library SKILL.md that groups trigger keywords and points to library references.
Good for
- Trim a full ECC install down to what a TypeScript project needs
- Remove language rules and hooks that a Python repo cannot use
- Decide which ECC skills should load daily and which should stay searchable
- Create a router skill that lists library references for a project
- Audit an existing repo that has drifted into the wrong rule or hook set
Agent sort FAQ
When should I use Agent sort?
Use it when ECC should be trimmed to what a project actually needs instead of loading the full bundle, for example when a repo only needs a subset of ECC components.
Does LIBRARY mean the components are deleted?
No. The skill states LIBRARY means kept accessible without loading by default, through search, a router skill or selective manual use.
What does Agent sort produce?
A DAILY inventory, a LIBRARY inventory, an install plan, a verification report and an optional skill-library router, returned in a fixed output order.
Does Agent sort need scripts or extra tools?
The skill has no scripts. It relies on repo-local inspection using commands such as rg and reading manifests like package.json or pyproject.toml.
How do I install Agent sort in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/agent-sort to use it in all your projects, or to .claude/skills/agent-sort in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.
Does Agent sort run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Agent sort?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Agent sort?
The closest alternatives to Agent sort are Ecc guide, Ecc workflow, Configure ecc, Ecc conventions and Ecc contribution review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 66 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 66 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 66 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 66 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 66 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 66 GitHub stars
- Finance and payments

