# Agent sort

> Agent sort is an open-source agent skill for developer tools. Builds a repo-specific EGC install plan that sorts components into daily and library sets. 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/Fmarzochi/EGC/tree/main/.agents/skills/agent-sort
- **Repository:** https://github.com/fmarzochi/egc
- **GitHub stars:** 71
- **License:** Apache-2.0
- **Skill name:** agent-sort
- **Collection:** https://github.com/Fmarzochi/EGC
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

Agent Sort helps trim the EGC bundle down to what a particular repository needs. It reads the codebase first, looking at languages, frameworks, package managers, test and lint setups, and existing operator integrations, then classifies EGC skills, commands, rules, hooks, scripts and extras into a DAILY bucket that loads every session or a LIBRARY bucket that stays searchable without loading by default.

Each DAILY decision must be backed by a concrete repo signal such as file extensions, config files or dependency manifests. The skill can run its review passes in parallel when subagents are available, or sequentially otherwise. Its output covers a stack summary, both inventories, an install plan and a verification report, and it can optionally generate a small skill-library router that lists trigger keywords and points to library references without duplicating their contents.

The skill expects read access to the repository and works through shell searches such as ripgrep and manifest inspection. It is designed around EGC-native installation and does not introduce a separate install system. It also hands off to related EGC skills for interactive setup, overlap cleanup or context trimming.

## When your agent uses it

> Build an evidence-backed EGC 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 EGC 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/Fmarzochi/EGC/tree/HEAD/.agents/skills/agent-sort)
- [License: Apache-2.0](https://github.com/Fmarzochi/EGC/tree/HEAD/.agents/skills/agent-sort)

## Features

- **Repo stack detection:** Establishes languages, frameworks, package managers and test tooling from the codebase before any classification.
- **Evidence-backed classification:** Records a path, type, bucket and supporting repo evidence for every candidate component.
- **DAILY and LIBRARY buckets:** Separates always-loaded workflow surfaces from components kept reachable through search.
- **Parallel review passes:** Splits agents, skills, commands, rules, hooks and extras into passes run concurrently or in sequence.
- **Install plan and verification:** Turns the classification into install, removal and routing steps, then checks the result against the stack.
- **Optional library router:** Can generate a skill-library router listing trigger keywords and reference locations.

## Good for

- Trim the EGC bundle to only the skills and rules a Python service needs
- Audit which language rule sets are stale in a TypeScript repository
- Decide which EGC hooks are compatible with the current project
- Create a searchable library router for off-stack EGC components
- Produce a repeatable install decision for a team's monorepo

## Install

### Claude Code

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

```sh
/plugin marketplace add Fmarzochi/EGC
/plugin install egc@egc
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.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/Fmarzochi/EGC.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/Fmarzochi/EGC.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/Fmarzochi/EGC.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/Fmarzochi/EGC.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/Fmarzochi/EGC.git
```

Then copy `EGC/.agents/skills/agent-sort` into your agent's skills folder as `agent-sort`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs access to the repository so it can search files and read manifests such as package.json or pyproject.toml. It uses shell commands like ripgrep for evidence gathering.

### Does Agent sort delete components?

No. LIBRARY components are kept accessible without being loaded by default, and the skill states that LIBRARY does not mean delete.

### Where does Agent sort install files?

Its install plan points DAILY skills to the .gemini/skills/ folder and offers an optional skill-library router at .gemini/skills/skill-library/SKILL.md.

### When should Agent sort be used?

It is meant for cases where a project only needs part of EGC and the full install is too noisy, or where a repo has drifted into the wrong language, rule or hook set.

### 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 egc plugin, which includes it: /plugin marketplace add Fmarzochi/EGC, then /plugin install egc@egc.

### 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 Agent sort, Ecc guide, Agent skill stack, Setup matt pocock skills and Ecc workflow.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Agent sort](https://ai-powered.com/skills/agent-sort): Agent sort is an open-source agent skill for developer tools.
- [Ecc guide](https://ai-powered.com/skills/ecc-guide): Ecc guide is an open-source agent skill for developer tools.
- [Agent skill stack](https://ai-powered.com/skills/agent-skill-stack): Agent skill stack is an open-source agent skill for developer tools.
- [Setup matt pocock skills](https://ai-powered.com/skills/setup-matt-pocock-skills): Setup matt pocock skills 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.
- [Spec driven develop](https://ai-powered.com/skills/spec-driven-develop): Spec driven develop is an open-source agent skill for developer tools.
- [Skill scout](https://ai-powered.com/skills/skill-scout): Skill scout is an open-source agent skill for developer tools.
- [Egc](https://ai-powered.com/skills/egc): Egc is an open-source agent skill for developer tools.

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