elegance-pipeline

elegance-pipeline is a skill for Claude Code from ANcpLua/ancplua-claude-plugins. It costs 75 tokens per session (762 once invoked), scanned A, original, MIT.

A staged code-quality workflow that ranks source files, investigates the weakest areas, plans improvements, verifies the plan, and optionally implements the approved refactor. It keeps its progress in shared state so the stages can run in order.

In plain words
What is it for?
Use it to review code quality across a repository and convert the lowest-ranked files into planned refactors.
Why use it?
It turns a broad request such as finding ugly or difficult code into assessed, reviewed, and gated refactoring work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the elegance-pipeline plugin — 1 skill, 3 commands, 6 agents shipped together

Good fit Use it to review code quality across a repository and convert the lowest-ranked files into planned refactors.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ANcpLua/ancplua-claude-plugins
Claude Code
/plugin install elegance-pipeline

Made for: Claude Code.

Or install elegance-pipeline, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 6 agents.

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 elegance-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancplua/ancplua-claude-plugins/elegance-pipeline/github.svg)](https://agentmods.dev/skills/ancplua/ancplua-claude-plugins/elegance-pipeline)
Your own site
<a href="https://agentmods.dev/skills/ancplua/ancplua-claude-plugins/elegance-pipeline"><img src="https://agentmods.dev/badge/skills/ancplua/ancplua-claude-plugins/elegance-pipeline/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 elegance-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancplua/ancplua-claude-plugins/elegance-pipeline"><img src="https://agentmods.dev/badge/skills/ancplua/ancplua-claude-plugins/elegance-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 762 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.00075 $0.00762
Opus 5.5 $0.00030 $0.00305
Sonnet 5.5 $0.00015 $0.00152
Haiku 4.5 $0.00007 $0.00076

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

Security

Grade A, and why

elegance-pipeline 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 1mo 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.

plugins/elegance-pipeline/skills/elegance-pipeline/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Elegance Pipeline

Multi-agent code-elegance workflow with persistent state and stage gates.

The orchestrator runs in Python (pipeline.py); the scoring is language-agnostic over the target repo, anchored by whatever root file fits it — CLAUDE.md, package.json for a Node.js project, or *.sln for a .NET solution.

Pipeline stages

4 Scouts (parallel, opus) -> 2 Judges (parallel, opus) -> 1 Planner (opus)
  -> 1 Verifier (opus) -> 1 Implementer (gated, opus)

State manager

All orchestration goes through the pipeline state manager:

python ${CLAUDE_PLUGIN_ROOT}/elegance_pipeline/pipeline.py [--state-dir <dir>] <command>

Commands: init, status, prompt, submit, signal

Default state lives at .claude/elegance_pipeline/state/ and is shared by default. If you want one dedicated team per spec, give each run its own --state-dir.

How to orchestrate

  1. Run status to see which slots are ready
  2. For each ready slot, run prompt --role <role> --slot <slot> to get the task prompt
  3. Spawn the appropriate fully qualified subagent (elegance-pipeline:elegance-scout, elegance-pipeline:elegance-judge, elegance-pipeline:elegance-planner, elegance-pipeline:elegance-verifier, or elegance-pipeline:elegance-implementer). If your runtime exposes a different fully qualified name, use that exact identifier instead of the bare short name.
  4. After each agent completes, submit its output via the state manager
  5. Run status again to see what unlocked
  6. Repeat until the pipeline is complete or blocked

Orchestration rules

  • Scouts run in parallel (all 4 at once via background agents)
  • Judges run in parallel after ALL scouts are submitted
  • Planner runs after BOTH judges are submitted
  • Verifier runs after the planner is submitted
  • Implementer only runs when the implementation signal is READY
  • Never bypass stage gates
  • If the verifier says no implementation is warranted, stop

Agent model mapping

Role Agent Model Access
Scout elegance-pipeline:elegance-scout opus read-only
Judge elegance-pipeline:elegance-judge opus read-only
Planner elegance-pipeline:elegance-planner opus read-only
Verifier elegance-pipeline:elegance-verifier opus read-only
Implementer elegance-pipeline:elegance-implementer opus full edit

Read the full file on GitHub · 73 lines

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. 1mo ago First seen · 73 lines · 75 tokens per session scan A f51cf8687d50

Subscribe to this mod's changes

elegance-pipeline is a skill published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 2d ago), licensed MIT. It adds 75 tokens to every session and 762 once invoked, about $0.0003 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-10-01.

Related

elegance-pipeline compared with skills from other repositories

elegance-pipeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elegance-pipelineANcpLua/ancplua-claude-pluginsSkill62d agoMITA75Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k5d agoMITA115Claude Code, Codex
revdiff-planumputun/revdiffSkill951todayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.4ktodayMITA51Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.4k1mo agoMITA65Claude Code
ring:mapping-feature-relationshipsLerianStudio/ringSkill21810d agoApache-2.0A104Cursor