bernstein-quality

bernstein-quality is a skill for Cursor from sipyourdrink-ltd/bernstein. It costs 44 tokens per session (422 once invoked), scanned A, original, Apache-2.0.

A reporting tool for measuring how reliably Bernstein's coding-agent runs complete tasks, pass checks, and finish over time.

In plain words
What is it for?
Use it to view overall metrics, compare model pass rates for linting, type checks, and tests, and inspect completion-time distributions.
Why use it?
It replaces guesses about agent reliability with information about success rates, code checks, and completion times. It can also help compare models.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the bernstein plugin — 8 skills shipped together

Good fit Use it to view overall metrics, compare model pass rates for linting, type checks, and tests, and inspect completion-time distributions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sipyourdrink-ltd/bernstein/bernstein-quality
About the project

Bernstein is an open-source governance layer for AI agents that applies written policies, schedules agent work deterministically, controls approvals, and records verifiable execution history. It is used to coordinate CLI coding agents and other agent workloads, including parallel runs and offline review, while the catalogue entries provide its agent workflows and controls.

sipyourdrink-ltd/bernstein · 1,384 stars · on GitHub · bernstein.run

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 sipyourdrink-ltd/bernstein --skill bernstein-quality
Clone the repo
git clone --depth 1 https://github.com/sipyourdrink-ltd/bernstein

Made for: Cursor.

Or install bernstein, the plugin that ships this one along with the rest of its 8 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 bernstein-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-quality/github.svg)](https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-quality)
Your own site
<a href="https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-quality"><img src="https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-quality/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 bernstein-quality

Your own site · 80×15
<a href="https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-quality"><img src="https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 422 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00044 $0.00422
Opus 5.5 $0.00018 $0.00169
Sonnet 5.5 $0.00009 $0.00084
Haiku 4.5 $0.00004 $0.00042

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

Security

Grade A, and why

bernstein-quality 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/quality.sh), 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.

packages/cursor-plugin/skills/bernstein-quality/SKILL.md · 54 lines

What it actually says

Bernstein Quality Metrics

Analyze quality and reliability of agent-generated code.

When to Use

  • User asks "how reliable are the agents?" or "which model is best?"
  • User wants success rates, pass rates, or completion time stats
  • User asks about test failures or lint issues across models
  • User says "show me quality metrics"

Instructions

  1. Run scripts/quality.sh metrics for overall quality metrics.

  2. Run scripts/quality.sh pass-rates for lint/typecheck/test pass rates by model.

  3. Run scripts/quality.sh times for completion time distributions.

  4. Present a quality dashboard:

## Quality Dashboard

### Success Rate by Model
| Model | Tasks | Success | Fail | Rate |
|-------|-------|---------|------|------|
| claude-sonnet-4 | 24 | 22 | 2 | 91.7% |
| gpt-4.1 | 12 | 10 | 2 | 83.3% |

### Pass Rates
| Check | Overall | claude-sonnet-4 | gpt-4.1 |
|-------|---------|-----------------|---------|
| Lint | 96% | 98% | 92% |
| Type-check | 88% | 91% | 83% |
| Tests | 85% | 89% | 75% |

### Completion Times
| Percentile | Time |
|------------|------|
| p50 | 3m 20s |
| p90 | 8m 45s |
| p99 | 15m 12s |
  1. Highlight any models with significantly lower pass rates.
  2. Recommend model routing adjustments if one model consistently underperforms.
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. 1mo ago First seen · 54 lines · 44 tokens per session scan A cadd98f2ea7d

Subscribe to this mod's changes

bernstein-quality is a skill published in the GitHub repository sipyourdrink-ltd/bernstein (1,384 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 422 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

Agent Audit Trail

Append-only, hash-chained audit log for AI agents. Records agent actions, tool calls, decisions, and external writes with provenance, timestamps, and sha256 chain integrity. Designed for compliance with EU AI Act Article 12 automatic event recording requirements for high-risk AI systems.

lxyeternal/MalSkillBench · 59 tokens

akf-trust-metadata

The AI native file format. EXIF for AI — stamps every file with trust scores, source provenance, and compliance metadata. Embeds into 20+ formats (DOCX, PDF, images, code). EU AI Act, SOX, HIPAA auditing.

sickn33/agentic-awesome-skills · 60 tokens

data-cleaning

Use when a raw table is too dirty to trust — nulls, sentinels, duplicate rows, category sprawl, mixed types, bad dates — and you need a re-runnable clean() plus a schema gate that fails loud. NOT emitting .xlsx (that is spreadsheet-ops), NOT acquiring rows (that is data-scraper), NOT parsing PDF/HTML into rows (that…

ericrisco/rsc-harness · 88 tokens

ai-research-reproduction

Rigor Reproduce compatible skill slug for README-first deep learning repository reproduction. Use when the user wants an end-to-end, minimal-trustworthy flow that reads the repository first, selects the smallest documented inference or evaluation target, coordinates intake, setup, trusted execution, optional trusted…

lllllllama/RigorPilot-Skills · 136 tokens

create-pipeline

Convert an existing repo with ad hoc scripts into a fully reproducible Calkit pipeline. Use when the user invokes /calkit:create-pipeline or asks to make a project reproducible end-to-end.

calkit/calkit · 47 tokens

add-pipeline-stage

Add a single new stage to an existing Calkit pipeline. Use when the user invokes /calkit:add-pipeline-stage or asks to add a script, notebook, or command to the pipeline.

calkit/calkit · 47 tokens