# Agent sort

> Agent sort is an open-source agent skill for developer tools. Trims an ECC install to the skills, rules and hooks a specific repo actually uses. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/agent-sort
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** agent-sort
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/agent-sort)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/agent-sort)

## Features

- **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

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/agent-sort`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/agent-sort` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/agent-sort` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/agent-sort
```

Or copy the folder to `~/.gemini/skills/agent-sort` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/agent-sort`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then 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.

## 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.

## Alternatives

- [Ecc guide](https://ai-powered.com/skills/ecc-guide): Ecc guide is an open-source agent skill for developer tools.
- [Ecc workflow](https://ai-powered.com/skills/ecc-workflow): Ecc workflow is an open-source agent skill for developer tools.
- [Configure ecc](https://ai-powered.com/skills/configure-ecc): Configure ecc is an open-source agent skill for developer tools.
- [Ecc conventions](https://ai-powered.com/skills/ecc-conventions): Ecc conventions is an open-source agent skill for developer tools.
- [Ecc contribution review](https://ai-powered.com/skills/ecc-contribution-review): Ecc contribution review is an open-source agent skill for developer tools.
- [Agent eval](https://ai-powered.com/skills/agent-eval-smartworldarafath): Agent eval is an open-source agent skill for developer tools.
- [Correct](https://ai-powered.com/skills/correct): Correct is an open-source agent skill for developer tools.
- [Agent architecture audit](https://ai-powered.com/skills/agent-architecture-audit): Agent architecture audit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/agent-sort
