agent-sort

agent-sort is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 11 tokens per session (379 once invoked), scanned A, original, Apache-2.0.

A system for deciding which coding-agent skills should always be loaded and which should remain available for search. It uses evidence from the repository to keep the active set focused.

In plain words
What is it for?
Use it to inspect a codebase's real technology stack, classify skills as active or searchable, and review when skills should be promoted or moved out of the default set.
Why use it?
It prevents the agent from carrying irrelevant instructions in its working context while keeping less frequently needed skills accessible.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect a codebase's real technology stack, classify skills as active or searchable, and review when skills should be promoted or moved out of the default set.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/agent-sort
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jxoesneon/Ciel --skill agent-sort
Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-sort

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/agent-sort/github.svg)](https://agentmods.dev/skills/jxoesneon/ciel/agent-sort)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/agent-sort"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/agent-sort/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-sort

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/agent-sort"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/agent-sort.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00379
Opus 5.5 $0.00004 $0.00152
Sonnet 5.5 $0.00002 $0.00076
Haiku 4.5 $0.00001 $0.00038

Measured 2mo ago against content hash 396e66f4f86c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-sort scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agent-sort/SKILL.md · 47 lines

What it actually says

CIEL ADAPTATION: Agent Sort

This skill provides CIEL's mechanism for maintaining a lean, high-performance orchestration surface. It uses repo-local evidence to classify capabilities into "Active" (DAILY) or "Searchable" (LIBRARY).

Integration Context

Adapted from ~/.agents/skills/agent-sort/. This skill is critical for CIEL's Efficiency mandate, ensuring that the active context is not saturated by irrelevant capabilities.

Classification Model

  • DAILY (Active): Loaded by default. Essential for the project's primary stack (e.g., TS, React, CI).
  • LIBRARY (Searchable): Indexed in MemPalace but not loaded. Accessible via semantic search if needed.

Orchestration Logic

1. Evidence-First Triage

Before any major ingestion batch, the orchestration skill should trigger an agent-sort pass to establish the repo's real stack.

2. Context Optimization

During Strategic Compact operations, use this skill to demote skills that haven't been "hit" (per MemPalace stats) to the LIBRARY bucket.

3. Registry Synchronization

The Council of Five must approve all DAILY vs LIBRARY promotion/demotion cycles to ensure no critical safeguards are accidentally offloaded.

4. Verification

A sort pass is complete when:

  • All DAILY items have cited repo evidence (file extensions, manifests).
  • Stale or off-stack rules and hooks are identified and marked for removal.
  • The resulting context window reduction is documented.

Original Documentation preserved at source.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -21 lines 396e66f4f86c
  2. 3mo ago First seen · 68 lines · 11 tokens per session scan A cff6b85a5698

Subscribe to this mod's changes

agent-sort is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 379 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

agent-sort compared with skills from other repositories

agent-sort next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-sortjxoesneon/CielSkill11mo agoApache-2.0A11Claude Code, Codex
factory-baselinewatt-mind/factorySkill24yesterdayApache-2.0A80Claude Code
factory-swarmwatt-mind/factorySkill24yesterdayApache-2.0A47Claude Code
factory-verify-createwatt-mind/factorySkill24yesterdayApache-2.0A85Claude Code
factory-teachwatt-mind/factorySkill24yesterdayApache-2.0A57Claude Code
factory-whywatt-mind/factorySkill24yesterdayApache-2.0A47Claude Code
principle-build-the-leverwatt-mind/factorySkill24yesterdayApache-2.0A41Claude Code