pipeline-efficiency-benchmark

pipeline-efficiency-benchmark is a skill for Claude Code from KtKID/x-dev-pipeline. It costs 131 tokens per session (3,034 once invoked), scanned A, original, MIT.

A repeatable benchmark for comparing different versions of a development pipeline. It runs the same public tasks in isolated workspaces and records scores, tokens, time, tool calls, and cost.

In plain words
What is it for?
Use it to prepare task workspaces, run baseline and candidate pipeline versions, normalize results, compare iterations, and decide whether an optimization should be accepted.
Why use it?
It prevents pipeline improvements from being judged by inconsistent environments or incomplete measurements. It makes baseline and later versions comparable while preserving evidence for each run.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the x-dev-pipeline plugin — 22 skills shipped together

Good fit Use it to prepare task workspaces, run baseline and candidate pipeline versions, normalize results, compare iterations, and decide whether an optimization should be accepted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ktkid/x-dev-pipeline/pipeline-efficiency-benchmark
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 KtKID/x-dev-pipeline --skill pipeline-efficiency-benchmark
Clone the repo
git clone --depth 1 https://github.com/KtKID/x-dev-pipeline

Made for: Claude Code.

Or install x-dev-pipeline, the plugin that ships this one along with the rest of its 22 skills.

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 pipeline-efficiency-benchmark

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ktkid/x-dev-pipeline/pipeline-efficiency-benchmark"><img src="https://agentmods.dev/badge/skills/ktkid/x-dev-pipeline/pipeline-efficiency-benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,034 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.00131 $0.03034
Opus 5 $0.00066 $0.01517
Sonnet 5 $0.00026 $0.00607
Haiku 4.5 $0.00013 $0.00303

Measured today against content hash 9b4158ec2f69, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

pipeline-efficiency-benchmark 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 today.

The scan reads SKILL.md. This mod also ships 16 executable files (assets/executor-tools/flag.py, assets/executor-tools/metrics.py, assets/executor-tools/req.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/pipeline-efficiency-benchmark/SKILL.md · 319 lines

How it starts

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

Pipeline Efficiency Benchmark

把一次 pipeline skill 优化拆成可复跑、可审计的七个阶段。执行器只接触公开任务、候选 skill 和运行工具;评分材料始终留在 grader 侧。

适用边界

用于优化和评测 pipeline skill,不用于普通产品开发任务。一个独立模型运行对应一个 run;同一 run 的后续 req、Dev、Verify、QA、Fix 延续原 run 身份。独立重放创建新 run。

固定产物

每个 iteration 至少保存:

iteration-N/
├── benchmark-manifest.json
├── runs/
│   └── <run-id>/
│       ├── workspace/
│       ├── executor-package-manifest.json
│       ├── eval_metadata.json
│       ├── timing.json
│       ├── grading.json
│       ├── pricing.json
│       └── benchmark-run.json
├── comparison.json
├── comparison.md
└── acceptance-report.md

benchmark-run.json 是跨版本比较的唯一输入。原始 session、评分和报告继续保留为证据。

所有人类可读报告都保留金额章节。金额证据不足时写 unknown 和原因,继续保存报告;禁止静默省略金额。

阶段 1:prepare

两种迁移 profile:

  • pipeline_candidate:创建全新 x-dev-pipeline 候选 workspace,复制公开考题、七个阶段 skills、共享 x-dev-rag-call 和六个运行 tools。
  • public_task_only:向已有的其他框架 workspace 只添加公开考题,保留其现有环境,不注入 x-dev skills/tools。

创建全新 pipeline candidate:

python3 skills/pipeline-efficiency-benchmark/scripts/prepare_workspace.py \
  --workspace <run-dir>/workspace \
  --task-source <public-task-dir> \
  --fixture-source <public-fixture-dir> \
  --prompt-source <public-prompt> \
  --skills-root <candidate-skill-snapshot> \
  --json

向已有 OpenSpec 等候选工程放公开考题包:

python3 skills/pipeline-efficiency-benchmark/scripts/prepare_workspace.py \
  --profile public_task_only \
  --allow-existing \
  --workspace <candidate-workspace> \
  --task-source <public-task-dir> \
  --fixture-source <public-fixture-dir> \
  --prompt-source <public-prompt> \
  --manifest-output <run-dir>/executor-package-manifest.json \
  --json

--allow-existing 只允许保留已有文件;task/fixture/PROMPT.md 或 manifest 目标发生冲突时拒绝覆盖。

--skills-root 目录必须包含:

  • x-spec
  • x-adversarial-risk
  • x-req
  • x-dev
  • x-verify
  • x-qa-gate
  • x-fix

共享 skill:

  • x-dev-rag-call

skill 包的 assets/executor-tools/ 包含七个工具。prepare 向考生 workspace 复制六个运行工具:

  • xdev.py
  • validator.py
  • flag.py
  • req.py
  • spec.py
  • verify.py

Read the full file on GitHub · 319 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. today First seen · 319 lines · 131 tokens per session scan A 9b4158ec2f69

Subscribe to this mod's changes

pipeline-efficiency-benchmark is a skill published in the GitHub repository KtKID/x-dev-pipeline (12 stars, last pushed today), licensed MIT. It adds 131 tokens to every session and 3,034 once invoked, about $0.0007 per session on Opus 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-09-09.

Related

Other skills, from other repositories

maintainer-preflight

Use before claiming work is done, before committing, and before opening a PR in this repo — runs the mcp-server test/typecheck/build gates and the committed-bundle rule. Trigger on "done", "ready to commit", "open a PR", or any completion claim.

xzawed/claude-grok-build-plugin · 61 tokens

app-user-story-qa

End-to-end app feature inventory and user-story testing workflow with a canonical tracker. Use when the user asks to audit every feature, derive expected behavior from code, test user journeys, or explicitly fix and retest documented UX or logistical defects.

majiayu000/spellbook · 54 tokens

elegant-architecture

Guides clean architecture design with strict 200-line file limits. Use when starting new features, refactoring large files, or planning module structure. Enforces modular design and real testing.

majiayu000/spellbook · 43 tokens

skill-lifeguard

Use when a skill is brittle, drifting, repeatedly failing, or needs a Reliable Skill Contract. Trigger for phrases like skill lifeguard, reliable skill, self-maintaining skill, negative examples, verification checkpoints, drift signals, replay hooks, or failure log to skill patch. Audits or patches skills so…

majiayu000/spellbook · 92 tokens

agent-session-format-check

Verify agent session format compatibility for Agent Sessions. Use when any agent CLI updates, when monitoring flags drift, or when bumping max verified versions (fixtures + docs + tests). Covers session schema, usage/limits tracking, storage backends, and discovery path contracts for all supported agents.

jazzyalex/agent-sessions · 62 tokens

test-driven-development

Enforces TDD discipline with RED-GREEN-REFACTOR cycle. Use when writing new features, fixing bugs, or refactoring code. Ensures tests genuinely verify behavior.

majiayu000/spellbook · 40 tokens