Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Universal Scalability Law

ASecurity

Fitting and falsifying the Universal Scalability Law (USL): load/resource definition, the scale coefficient gamma, contention alpha, coherency/retrograde beta, peak conditions, identifiability, uncertainty and held-out validation. Use when throughput saturates or falls as threads, users, cores or pods increase; when scale-out is proposed from too few points; or when comparing architectural scalability curves. Does not cover `L = λW`, queue/pool sizing (littles-law-and-queueing), latency-at-lo...

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
developmentpythonjavarailsapidatabase

Works with

api

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add robsonkades/agent-skills --skill universal-scalability-law --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Universal Scalability Law?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Universal Scalability Law
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/robsonkades-universal-scalability-law/badge)](https://www.skillsdirectory.com/skills/robsonkades-universal-scalability-law)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: universal-scalability-law
description: >
  Fitting and falsifying the Universal Scalability Law (USL): load/resource definition,
  the scale coefficient gamma, contention alpha, coherency/retrograde beta, peak conditions,
  identifiability, uncertainty and held-out validation. Use when throughput saturates or falls
  as threads, users, cores or pods increase; when scale-out is proposed from too few points;
  or when comparing architectural scalability curves. Does not cover `L = λW`, queue/pool
  sizing (littles-law-and-queueing), latency-at-load models (queueing-models), or capacity/SLO
  decisions (capacity-planning).
---

# Universal Scalability Law

## Purpose

Quantify one homogeneous system's throughput curve over a declared load/resource variable and
decide whether more of that variable adds useful capacity. USL is an empirical rational model, not
a profiler: its coefficients can suggest contention-like and pairwise/coordination-like scaling,
but do not identify a lock, protocol or database without independent evidence.

Use the three-parameter throughput form:

```text
X(N) = γN / [1 + α(N−1) + βN(N−1)]
```

`γ` is the fitted single-unit scale, `α` the linear contention term and `β` the quadratic
retrograde term in the standard interpretation. Relative capacity is `C(N)=X(N)/γ`. With `β=0`,
the normalized form matches Amdahl-style saturation; with `α=β=0`, it is linear.
`N≥1` is a count of the declared unit, `α` and `β` are dimensionless, and `γ` has the same
work/time units as `X`. Changing throughput units rescales `γ`, not the other coefficients.
Do not rebase N to a different unit (such as bundles of pods) while reusing the coefficients.
If N=1 is unobserved, gamma is an inferred baseline, not a measured single-unit capacity.

## Workflow

This is a model/experiment skill with partial Python/R examples, not a Java API prescription.
Record the target JDK/build as an experiment invariant and inspect the existing analysis runtime,
NumPy/SciPy or R/package versions. Do not upgrade the application or analysis stack to fit an example.
Select the steps needed for the actual equation, descriptive fit, prediction or deployment question.
Reuse adequate run data and validation, and retain a model or configuration that meets the stated
decision. A narrow explanation does not require a new sweep, causal intervention or complete model
card. Missing evidence limits the conclusions that depend on it, not every supported local result.

1. **Define `N` and the experiment.** `N` is exactly one axis: concurrent closed users, runnable
   workers, cores, JVMs or pods. State what stays fixed—hardware, per-unit hardware, dataset,
   offered workload, routing and request mix. Never combine users and pods in one curve.
2. **Define capacity throughput.** For every `N`, ensure the driver offers enough work to expose
   the service ceiling without turning rejected/dropped work into “throughput”. Closed saturation
   and validated open offered-load sweeps can both work; fixed open load below every ceiling cannot.
3. **Design informative points and replication.** Include baseline, curvature and—when safe—the
   suspected saturation/retrograde region. Choose repetitions from run-level variance and practical
   prediction precision. There is no universal six-point, 120-second or 2×-peak rule.
4. **Control/record state.** Keep versions, topology, per-unit resources, workload mix, data/cache,
   JIT/GC and downstream limits comparable. Explicitly model cold/ramp behavior if it is the target;
   otherwise define sustained state by observable criteria.
5. **Fit `γ`, `α`, `β` jointly.** Do not divide every observation by one noisy `X(1)`. Fit raw
   throughput with an error model/weights matching heteroscedastic run variance; preserve run-level
   observations and obtain coefficient/prediction intervals.
6. **Check identification and residuals.** Plot runs and fit, coefficient covariance/profile,
   bootstrap stability and held-out predictions. A high R² is neither required nor sufficient;
   unexplained residual structure or uncertainty can prevent the intended decision. Weakly identified
   coefficients can coexist with adequate predictions over a supported local range; they do not
   establish a precise peak, extrapolation or mechanism.
7. **Compute the peak only when defined.** For the standard constrained model with `β>0` and
   `α<1`, continuous `N* = sqrt((1−α)/β)`. Evaluate feasible neighbouring integers and prediction
   intervals. If `N*≤1` (equivalently `α+β≥1`), the feasible curve is already non-increasing after one
   unit. With `β=0` there is no finite retrograde peak; with `α≥1`, it likewise does not rise
   beyond the baseline under the standard interpretation. With `β=0, α=1` it is constant;
   with `β=0, α>1` the maximum is the lowest feasible N. Include no-finite-peak cases in
   uncertainty summaries rather than discarding them before computing a peak interval.
8. **Validate any causal attribution.** For a mechanism claim, compare denominator terms at the operating `N`, form a
   mechanism hypothesis, measure it directly, change one mechanism, and refit/hold out. Coefficient
   movement without mechanism evidence is correlation.

## Rules

- `X(N)` must use useful completed work per unit time plus errors/rejections as guardrails. Offered
  rate, accepted rate and completion throughput are different. Keep coordinated omission and
  generator saturation evidence (`coordinated-omission`).
- A closed workload is not forbidden: Gunther's queueing derivation is a synchronous machine-
  repairman bound. It is appropriate when `N` is closed users/threads and think time/state are
  controlled. An open experiment is appropriate when `N` is resources and capacity at each point
  is found with a validated offered-load sweep.
- Standard physical interpretation normally constrains `α≥0`, `β≥0` and `γ>0`; do not force those
  bounds merely to hide superlinear data or a bad fit. Negative estimates mean the standard regime
  is unsupported—check cache/partition effects, heterogeneity and measurement, then segment or use
  another model.
- Do not require measured points beyond an estimated peak when crossing it would violate safety.
  Without retrograde-region evidence, assess identification of `β` and `N*` explicitly and make bounded
  predictions; run a targeted breakpoint test if the decision permits.
- Do not extrapolate by a universal multiple. Limit claims to the range where workload/topology
  invariants and prediction uncertainty remain defensible; label scenario sensitivity outside it.
- R² does not test coefficient sign, independence, heteroscedasticity, extrapolation or causal
  interpretation. Use residuals, intervals, held-out predictions and repeated-run error.
- `α` and `β` are not additive fractions of lock time, GC pause or network bytes. Their denominator
  contributions at operating `N` are model terms; map them to mechanisms only with profiles,
  wait/traffic metrics and intervention evidence.
- Coefficients describe the measured system **and workload/environment**. JDK, hardware, dataset,
  request mix, routing, quotas and downstream topology can change them without an application-code
  change.
- Superlinear scaling can be real over a range when partitioning shrinks working sets or unlocks
  vector/parallel resources. It signals a regime change that the standard nonnegative USL does not
  represent; do not dismiss it as warm-up or extrapolate it indefinitely.
- USL predicts throughput capacity, not latency at an arrival rate, tail probability, queue size,
  cost, reliability or safe autoscaling behavior. Feed capacity scenarios into the owning skills.

## Decision record

For a fitted-model or capacity decision, retain the fields below that substantiate its claims,
linking existing evidence where adequate. A descriptive answer can report its equation, domain,
supported predictions and limits without inventing experiments or mechanism attribution.

```text
Decision:        marginal unit, peak, architecture comparison or scenario bound
N definition:    users/threads/cores/JVMs/pods; feasible integer range
Invariants:      hardware per unit, workload/data/mix, topology/routing, state
Throughput:      useful-completion definition; offered/admitted/error/drop guardrails
Design:          N points, randomisation/blocking, independent run unit, state criterion
Fit:             γ, α, β intervals/covariance; error model; residuals; held-out results
Peak/marginal:   integer candidates and prediction interval; cost/guardrail context
Attribution:     direct evidence if a contention/coordination mechanism is claimed
Limits:          supported range, regime changes, sensitivity and re-fit triggers
```

## References

- [Data collection and fitting](references/data-collection-and-fitting.md) — experimental designs
  for closed-user and resource-scaling curves, joint nonlinear fit, uncertainty, identifiability,
  residual/held-out validation and the current CRAN package interface.
- [Coefficient diagnosis](references/coefficient-diagnosis.md) — interpreting denominator terms as
  hypotheses, mechanism evidence, interventions and before/after refits without treating
  coefficients as profilers.
- [Limits and troubleshooting](references/limits-and-troubleshooting.md) — latency boundary,
  closed-loop response relation, phase changes, marginal decisions, extrapolation and responses to
  production disagreement.

Attribution

robsonkadesrobsonkades
View sourceMore from robsonkades →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →