Agent skill

Agent Sort

by affaan-m in affaan-m/ECC

並行リポジトリ対応のレビューパスを使用して、スキル、コマンド、ルール、フック、エクストラを DAILY と LIBRARY のバケットに分類することで、特定のリポジトリ向けのエビデンスに基づいた ECC インストール計画を構築します。プロジェクトが完全なバンドルをロードする代わりに実際に必要なものに ECC をトリミングする必要がある場合に使用します。

MITAuto-check passed

Install Agent Sort

skills CLI
$ npx skills add affaan-m/ECC --skill agent-sort -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install affaan-m/ECC agent-sort --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/ja-JP/skills/agent-sort .claude/skills/agent-sort && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-sort
GitHub stars
276k
Token cost
~973 tokens
SKILL.md length
186 words
Files
1
Skills in repo
673
Repo updated
First seen
Licence
MIT

At a glance

並行リポジトリ対応のレビューパスを使用して、スキル、コマンド、ルール、フック、エクストラを DAILY と LIBRARY のバケットに分類することで、特定のリポジトリ向けのエビデンスに基づいた ECC インストール計画を構築します。プロジェクトが完全なバンドルをロードする代わりに実際に必要なものに ECC をトリミングする必要がある場合に使用します。

  • Works in 6 steps: リポジトリを読む → エビデステーブルを構築する → DAILY か LIBRARY かを決定する → …
  • SKILL.md covers 使用タイミング, 非交渉ルール, 成果物 and 分類モデル, plus 5 more sections
  • Calls rg, supabase and flutter

What it does

Agent Sort is an agent skill from affaan-m/ECC. 並行リポジトリ対応のレビューパスを使用して、スキル、コマンド、ルール、フック、エクストラを DAILY と LIBRARY のバケットに分類することで、特定のリポジトリ向けのエビデンスに基づいた ECC インストール計画を構築します。プロジェクトが完全なバンドルをロードする代わりに実際に必要なものに ECC をトリミングする必要がある場合に使用します。

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

Example prompts

  • “/agent-sort”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. リポジトリを読む
  2. エビデステーブルを構築する
  3. DAILY か LIBRARY かを決定する
  4. インストール計画を構築する
  5. オプションのライブラリルーターを作成する
  6. 結果を検証する

What it can do on your machine

Read from SKILL.md and the folder at commit ef648e0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg
    • supabase
    • flutter

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use supabase, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Sort loads about 973 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 186 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~973

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from affaan-m/ECC at commit ef648e0, republished under its MIT licence (© affaan-m). 186 words, ~973 tokens.

Download SKILL.mdSave it as .claude/skills/agent-sort/SKILL.md (or your agent's skills folder).
name
agent-sort
description
並行リポジトリ対応のレビューパスを使用して、スキル、コマンド、ルール、フック、エクストラを DAILY と LIBRARY のバケットに分類することで、特定のリポジトリ向けのエビデンスに基づいた ECC インストール計画を構築します。プロジェクトが完全なバンドルをロードする代わりに実際に必要なものに ECC をトリミングする必要がある場合に使用します。
origin
ECC

エージェントソート

リポジトリにデフォルトのフルインストールではなく、プロジェクト固有の ECC サーフェスが必要な場合にこのスキルを使用します。

目標は「便利そうなもの」を推測することではありません。目標は実際のコードベースからのエビデンスで ECC コンポーネントを分類することです。

使用タイミング

  • プロジェクトが ECC のサブセットのみを必要とし、フルインストールがノイズが多すぎる場合
  • リポジトリスタックが明確だが、誰もスキルを一つずつ手動でキュレーションしたくない場合
  • チームが意見ではなく grep エビデンスに基づく繰り返し可能なインストール決定を望む場合
  • 常にロードされる毎日のワークフローサーフェスと検索可能なライブラリ/参照サーフェスを分離する必要がある場合
  • リポジトリが間違った言語、ルール、またはフックセットにドリフトし、クリーンアップが必要な場合

非交渉ルール

  • 現在のリポジトリを真実の源として使用し、一般的な好みではない
  • すべての DAILY 決定は具体的なリポジトリエビデンスを引用すること
  • LIBRARY は「削除」を意味しない;「デフォルトでロードせずにアクセス可能に保つ」を意味する
  • 現在のリポジトリが使用できないフック、ルール、スクリプトをインストールしない
  • ECC ネイティブのサーフェスを優先;2 番目のインストールシステムを導入しない

成果物

この順序で成果物を生成する:

  1. DAILY インベントリ
  2. LIBRARY インベントリ
  3. インストール計画
  4. 検証レポート
  5. プロジェクトがルーターを望む場合はオプションの skill-library ルーター

分類モデル

2 つのバケットのみを使用する:

  • DAILY
    • このリポジトリのすべてのセッションでロードすべき
    • リポジトリの言語、フレームワーク、ワークフロー、またはオペレーターサーフェスに強くマッチ
  • LIBRARY
    • 保持するのに有用だが、デフォルトでロードする価値はない
    • 検索、ルータースキル、または選択的な手動使用を通じてアクセス可能に維持すべき

エビデンスソース

分類を行う前にリポジトリローカルのエビデンスを使用する:

  • ファイル拡張子
  • パッケージマネージャーとロックファイル
  • フレームワーク設定
  • CI とフック設定
  • ビルド/テストスクリプト
  • インポートと依存関係マニフェスト
  • スタックを明示的に説明するリポジトリドキュメント

有用なコマンド:

bash
rg --files
rg -n "typescript|react|next|supabase|django|spring|flutter|swift"
cat package.json
cat pyproject.toml
cat Cargo.toml
cat pubspec.yaml
cat go.mod

並行レビューパス

並行サブエージェントが利用可能な場合、レビューをこれらのパスに分割する:

  1. エージェント
    • agents/* を分類
  2. スキル
    • skills/* を分類
  3. コマンド
    • commands/* を分類
  4. ルール
    • rules/* を分類
  5. フックとスクリプト
    • フックサーフェス、MCP ヘルスチェック、ヘルパースクリプト、OS 互換性を分類
  6. エクストラ
    • コンテキスト、例、MCP 設定、テンプレート、ガイダンスドキュメントを分類

サブエージェントが利用できない場合、同じパスを順次実行する。

コアワークフロー

1. リポジトリを読む

何かを分類する前に実際のスタックを確立する:

  • 使用中の言語
  • 使用中のフレームワーク
  • 主要なパッケージマネージャー
  • テストスタック
  • lint/フォーマットスタック
  • デプロイ/ランタイムサーフェス
  • 既に存在するオペレーター統合
2. エビデステーブルを構築する

すべての候補サーフェスについて記録する:

  • コンポーネントパス
  • コンポーネントタイプ
  • 提案されたバケット
  • リポジトリエビデンス
  • 短い正当化

このフォーマットを使用する:

text
skills/frontend-patterns | skill | DAILY | 84 .tsx files, next.config.ts present | コアフロントエンドスタック
skills/django-patterns   | skill | LIBRARY | no .py files, no pyproject.toml       | このリポジトリではアクティブでない
rules/typescript/*       | rules | DAILY | package.json + tsconfig.json            | アクティブな TS リポジトリ
rules/python/*           | rules | LIBRARY | zero Python source files             | アクセス可能に保つのみ
3. DAILY か LIBRARY かを決定する

DAILY に昇格させる場合:

  • リポジトリが対応するスタックを明確に使用している
  • コンポーネントが十分に一般的で、すべてのセッションで役立つ
  • リポジトリが既に対応するランタイムまたはワークフローに依存している

LIBRARY に降格させる場合:

  • コンポーネントがオフスタック
  • リポジトリが後で必要とするかもしれないが、毎日は必要ない
  • 即時の関連性なしにコンテキストオーバーヘッドを追加する
4. インストール計画を構築する

分類をアクションに変換する:

  • DAILY スキル -> .claude/skills/ にインストールまたは保持
  • DAILY コマンド -> まだ有用な場合のみ明示的なシムとして保持
  • DAILY ルール -> 対応する言語セットのみインストール
  • DAILY フック/スクリプト -> 互換性のあるもののみ保持
  • LIBRARY サーフェス -> 検索または skill-library を通じてアクセス可能に保つ

リポジトリが既に選択的インストールを使用している場合、別のシステムを作成するのではなくその計画を更新する。

5. オプションのライブラリルーターを作成する

プロジェクトが検索可能なライブラリサーフェスを望む場合、作成する:

  • .claude/skills/skill-library/SKILL.md

そのルーターは含むべき内容:

  • DAILY と LIBRARY の短い説明
  • グループ化されたトリガーキーワード
  • ライブラリ参照がある場所

ルーター内にすべてのスキル本体を重複させない。

6. 結果を検証する

計画が適用された後、確認する:

  • すべての DAILY ファイルが期待される場所に存在する
  • 古い言語ルールがアクティブなままでない
  • 互換性のないフックがインストールされていない
  • 結果のインストールが実際にリポジトリスタックと一致する

以下を含むコンパクトなレポートを返す:

  • DAILY カウント
  • LIBRARY カウント
  • 削除された古いサーフェス
  • 未解決の質問

ハンドオフ

次のステップがインタラクティブなインストールまたは修復の場合、ハンドオフ先:

  • configure-ecc

次のステップが重複のクリーンアップまたはカタログレビューの場合、ハンドオフ先:

  • skill-stocktake

次のステップがより広いコンテキストのトリミングの場合、ハンドオフ先:

  • strategic-compact

出力フォーマット

この順序で結果を返す:

text
STACK
- 言語/フレームワーク/ランタイムのサマリー

DAILY
- エビデンスを伴う常にロードされるアイテム

LIBRARY
- エビデンスを伴う検索可能/参照アイテム

INSTALL PLAN
- インストール、削除、またはルーティングすべきもの

VERIFICATION
- 実行されたチェックと残っているギャップ

© affaan-m, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/ja-JP/skills/agent-sort of affaan-m/ECC.

Open the folder on GitHubat commit ef648e0

Compare with similar skills

Agent Sort next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Sort compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Sort this skillaffaan-m/ECC276k—~973Automated safety check: PassMIT
Sortedglebis/claude-skills390—~2kAutomated safety check: PassMIT
Card Sort AnalysisOwl-Listener/designer-skills2.9k1 repos~287Automated safety check: PassMIT
Sorting Parameter Handlerjeremylongshore/tons-of-skills-marketplace2.8k—~575Automated safety check: PassMIT
Bio Alignment SortingGPTomics/bioSkills1.2k2 repos~2.6kAutomated safety check: PassMIT
Keep Sortednwjs/chromium.src160—~727Automated safety check: PassBSD-3-Clause

Similar skills

  • Sorted

    glebis/claude-skills

    Automate getSorted.de (Sorted) for freelancer invoicing, expense tracking, and German tax submissions (VAT, ZM, annual returns).

    390 GitHub stars~2k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Card Sort Analysis

    Owl-Listener/designer-skills

    Analyse open or closed card sort results into a proposed grouping and label set.

    2.9k GitHub starsUsed in 1 repo~287 tokens
    Frontend & DesignAuto-check passed
  • Sorting Parameter Handler

    jeremylongshore/tons-of-skills-marketplace

    Manage sorting parameter handler operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~575 tokensUpdated today
    Backend & APIsAuto-check passed
  • Bio Alignment Sorting

    GPTomics/bioSkills

    Sort alignment files by coordinate or read name using samtools and pysam.

    1.2k GitHub starsUsed in 2 repos~2.6k tokens
    Research & ScienceAuto-check passed
  • Keep Sorted

    nwjs/chromium.src

    Automatically detects misordered lists in code (like Android XMLs), injects go/keep-sorted tags, sorts them, and creates CLs.

    160 GitHub stars~727 tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Length Pool Sort Dataset

    EvolvingLMMs-Lab/LLaVA-OneVision-2

    Bilingual guide for understanding LengthPoolSortDataset cross-rank length synchronization mechanism in multi-GPU training

    1.2k GitHub stars~2k tokensUpdated today
    Writing & ContentAuto-check passed

More from affaan-m/ECC

All 673 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    276k GitHub starsUsed in 5 repos~1.9k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    276k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    276k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    276k GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Measures whether agents actually follow a skill, rule or agent definition by generating scenarios at three strictness levels and scoring tool-call traces.

    276k GitHub starsUsed in 1 repo~623 tokens
    Auto-check passed
  • Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    276k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed

Questions about Agent Sort

What does Agent Sort do?

並行リポジトリ対応のレビューパスを使用して、スキル、コマンド、ルール、フック、エクストラを DAILY と LIBRARY のバケットに分類することで、特定のリポジトリ向けのエビデンスに基づいた ECC インストール計画を構築します。プロジェクトが完全なバンドルをロードする代わりに実際に必要なものに ECC をトリミングする必要がある場合に使用します。. Agent Sort is an agent skill from affaan-m/ECC.

How do I install Agent Sort in Claude Code?

Run `npx skills add affaan-m/ECC --skill agent-sort -a claude-code`. Or copy the skill folder (docs/ja-JP/skills/agent-sort in affaan-m/ECC) into .claude/skills/agent-sort in your project. Claude Code loads it when a task matches its description.

How do I install Agent Sort in Codex?

Run `npx skills add affaan-m/ECC --skill agent-sort -a codex`. Or copy the skill folder (docs/ja-JP/skills/agent-sort in affaan-m/ECC) into .agents/skills/agent-sort in your project. Codex loads it when a task matches its description.

Can I use Agent Sort in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add affaan-m/ECC --skill agent-sort -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-sort, .gemini/skills/agent-sort, .github/skills/agent-sort and .opencode/skills/agent-sort in your project.

What does Agent Sort need to run?

Going by SKILL.md and its folder, Agent Sort needs the command-line tools its instructions call (rg, supabase and flutter). Our summary lists: Python 3.

Does Agent Sort access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent Sort safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Sort use?

Agent Sort is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Sort use?

About 973 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agent Sort?

Skills that share tags, products or a category with Agent Sort: Sorted (glebis/claude-skills, 390 stars), Card Sort Analysis (Owl-Listener/designer-skills, 2.9k stars), Sorting Parameter Handler (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Bio Alignment Sorting (GPTomics/bioSkills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Sort?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 275,546 GitHub stars. The repository holds 673 skills in this directory. The repository was last updated on October 5, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.