codex-skills-library: Skill for Codex

.agents/skills/codex-efficiency-benchmark/SKILL.md

codex-efficiency-benchmark is a skill for Codex from YankielDBC2/codex-skills-library. It costs 37 tokens per session (474 once invoked), scanned A, original, MIT.

A method for comparing two coding-agent workflows to measure time, token use, file scanning, validation work, and rework.

In plain words
What is it for?
Use it for controlled comparisons of agent processes on tasks such as setup, refactoring, or recovery, recording results in a structured run log.
Why use it?
It shows whether added skills and project guidance actually improve a workflow compared with a minimal baseline.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Codex.

This is YankielDBC2/codex-skills-library's own configuration. It tells Codex how to work on codex-skills-library itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codex-skills-library configures →

Reuse

Borrowing it

Nothing to install: this file belongs to YankielDBC2/codex-skills-library. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/YankielDBC2/codex-skills-library/main/.agents/skills/codex-efficiency-benchmark/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/YankielDBC2/codex-skills-library

Made for: 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 codex-efficiency-benchmark

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yankieldbc2/codex-skills-library/codex-efficiency-benchmark"><img src="https://agentmods.dev/badge/skills/yankieldbc2/codex-skills-library/codex-efficiency-benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 474 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.00037 $0.00474
Opus 5.5 $0.00015 $0.00190
Sonnet 5.5 $0.00007 $0.00095
Haiku 4.5 $0.00004 $0.00047

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

Security

Grade A, and why

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

.agents/skills/codex-efficiency-benchmark/SKILL.md · 53 lines

What it actually says

Codex Efficiency Benchmark

Goal

Measure whether Codex skills and project process guidance reduce token waste, elapsed time, file scanning, validation churn, and dead ends compared with a minimal baseline.

When to use

Use this skill when you need to compare "with skills" versus "without skills" on a real task, bootstrap, refactor, or recovery workflow.

When not to use

Do not use this skill for unrelated implementation tasks that do not need a control vs treatment comparison.

Inputs

  • Project context files such as AGENTS.md, docs/CODEBASE_INDEX.md, and docs/PROJECT_CONTEXT.md.
  • A baseline scenario that uses minimal guidance.
  • A treatment scenario that uses the relevant skills, docs, and process rules.
  • A run log in templates/project/EFFICIENCY_RUN.json format or equivalent project-local JSON.

Workflow

  1. Define the scenario, goal, and success criteria.
  2. Run or reconstruct the baseline variant with the smallest safe context.
  3. Run the treatment variant with the relevant skills and repo rules.
  4. Record start and end timestamps, files read, files changed, commands run, validations, rework loops, dead ends, and token usage if available.
  5. Compare control and treatment with npm run compare:efficiency or the equivalent script.
  6. Explain which metrics improved, which regressed, and why.
  7. Capture the decision in docs/CODEX_STATE.md, docs/PLANS.md, or project-local state files.

Quality bar

  • The comparison must be the same task, same repo state, and same acceptance criteria.
  • Exact token usage is preferred when available from the goal metadata; otherwise record an explicit estimate and source.
  • The result must separate real improvements from noise caused by different task scope or validation depth.

Validation

Run the relevant validation for the task plus the benchmark comparison command.

Final response

Report the control/treatment setup, metrics, deltas, confidence limits, and next experiment.

Files

What ships with it

4 files 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 First seen · 53 lines · 37 tokens per session scan A 24a3db7731af

Subscribe to this mod's changes

codex-efficiency-benchmark is a skill published in the GitHub repository YankielDBC2/codex-skills-library (13 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 474 once invoked, about $0.0001 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

codex-efficiency-benchmark compared with skills from other repositories

codex-efficiency-benchmark next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-efficiency-benchmarkYankielDBC2/codex-skills-librarySkill133mo agoMITA37Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
developmentfengshao1227/ccg-workflowSkill6.0k4d agoMITA41Claude Code
debugging-executionsn8n-io/n8nSkill210kyesterdaynoneA86Claude Code, Codex
tencent-docsUnicomAI/wanwuSkill2.4k14d agoApache-2.0A209Claude Code, Codex
wechat-searchUnicomAI/wanwuSkill2.4k14d agoApache-2.0A30Claude Code, Codex
flow-next-tracker-syncgmickel/flow-nextSkill717yesterdayMITA44Claude Code, Codex