Skip to content
Back to skills

Undominated Marginal Not Whole

ASecurity

Refuse a marginal-block bill. A whole request uses the rate of the rung that contains its input length. This checker does not price either mode.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 18, 2026
ai-agentspython

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add Lenvanderhof/Undominated.ai --skill undominated-marginal-not-whole --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Undominated Marginal Not Whole?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Undominated Marginal Not Whole
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lenvanderhof-undominated-marginal-not-whole/badge)](https://www.skillsdirectory.com/skills/lenvanderhof-undominated-marginal-not-whole)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: undominated-marginal-not-whole
description: Refuse a marginal-block bill. A whole request uses the rate of the rung that contains its input length. This checker does not price either mode.
license: MIT
metadata:
  author: Undominated.ai
  version: "1.0.0"
---

# A marginal block is not priced

Use when a context-tier bill is about to split a request into a base block and a dearer tail. The whole request uses the rate of the rung that contains its input length. This checker does not model the other shape.

1. `billing` is `whole-request` or `marginal`.
2. `marginal` is a review. `whole-request` can pass.
3. `priced` is false in both results. No amount is read, and no length is a field.

## Input contract

`billing` is one of those two words. A boolean or a number is invalid.

## Deliverable and limits

Return the billing mode. A pass does not select a rung and does not compute a bill. Rung-select still owns the length. Context-tier still owns the multiple.

`examples/synthetic.json` passes on `whole-request`. The marginal example requires review.

## Run the local check

Resolve paths relative to this skill directory:

```sh
python3 scripts/check.py examples/synthetic.json
python3 scripts/check.py /absolute/path/to/your-input.json
```

The examples are **synthetic**, not a vendor quote or a live page. Python 3.10+; standard library only. The script reads one explicit UTF-8 JSON file, prints JSON and makes no network requests or file writes.

Exit codes: `0` consistency check passed, `1` review required, `2` invalid input. CLI argument and malformed-input errors return structured JSON; `--help` displays usage text. Unknown or duplicate JSON fields, non-JSON constants and invalid types are rejected. Files are limited to 1 MiB.

This source-only skill is **not included in undominated-check@0.4.0**. Keep `SKILL.md`, the checker, examples and MIT licence together. A pass validates the bounded supplied-input contract, not production suitability or permission to publish. The skill does not authorize external actions.

Files in this skill

  • LICENSE1 KB
  • SKILL.md2 KB
  • examples/bool-mode.json22 B
  • examples/marginal.json28 B
  • examples/other-mode.json24 B
  • examples/synthetic.json33 B
  • scripts/check.py3 KB

Attribution

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

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.