Skip to content
Skill

Agent sort

Builds a repo-specific EGC install plan that sorts components into daily and library sets

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
71
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Agent sort

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.

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 3 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 egc plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

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.

Claude Code docs on skills

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

Codex docs on skills

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

Cursor docs on skills

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

gemini skills install https://github.com/Fmarzochi/EGC.git --path .agents/skills/agent-sort

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

Gemini CLI docs on skills

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

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Agent sort 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.

More from Fmarzochi/EGC

  1. Gives agents a structured workflow to capture, diagnose and recover from their own

    • Open source
    • 71 GitHub stars
    • Developer tools
  2. Guides an agent through consistent REST API design: naming, status codes, pagination

    • Open source
    • 71 GitHub stars
    • Developer tools
  3. Drafts long-form articles, guides and newsletters in a consistent, specific voice

    • Open source
    • 71 GitHub stars
    • Writing style
  4. Guides an agent through Node.js and Express backend design, data access and error handling

    • Open source
    • 71 GitHub stars
    • Developer tools
  5. Builds a reusable writing style profile from your own samples for consistent copy

    • Open source
    • 71 GitHub stars
    • Writing style
  6. Guides your agent through using Bun for installs, scripts, bundling, tests and Vercel

    • Open source
    • 71 GitHub stars
    • Developer tools