Skip to content
Back to skills

Bench

ASecurity

GEML is plain text. Every structured thing is one **typed block**: ``` === <type> {#id .class key=val} <body> === ``` The opening fence is **≥ 3** `=`. The **closing fence must be the same length**. To nest a block inside a block, make the **outer fence longer**: ``` ==== note Example code: === code {lang=python} print("hi") === ==== ``` **Easier — close by name.** Give a block an `#id` and close it with `=== #id`. That closes by *name*, not by length, so you can nest with all `===` fences an...

  • 31 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 3, 2026
ai-agentspythonexpress

Security analysis

A100/100

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

Scanned September 20, 2026

npx -y skills add geml-spec/geml --skill bench --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bench?

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

Security grade badge for Bench
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/geml-spec-bench/badge)](https://www.skillsdirectory.com/skills/geml-spec-bench)

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
# Writing GEML — one-page cheatsheet

GEML is plain text. Every structured thing is one **typed block**:

```
=== <type> {#id .class key=val}
<body>
===
```

The opening fence is **≥ 3** `=`. The **closing fence must be the same length**.
To nest a block inside a block, make the **outer fence longer**:

```
==== note
Example code:
=== code {lang=python}
print("hi")
===
====
```

**Easier — close by name.** Give a block an `#id` and close it with `=== #id`.
That closes by *name*, not by length, so you can nest with all `===` fences and
never miscount:

```
=== note {#ex}
Example code:
=== code {#snippet lang=python}
print("hi")
=== #snippet
=== #ex
```

Body modes: `code` / `diagram` / `math` / `table` / `embed` are **raw**;
`note` are **parsed prose**; `meta` is one `key=val` per line.

## Metadata
```
=== meta
title = "My doc"
version = 0.1
===
```
In prose, `{{title}}` inserts a meta value (an unknown key is a build **error**).

## Headings & lists (ATX only)
```
# Title          ## Section {#explicit-id}
- bullet         1. ordered
  - nested by indentation (2 spaces)
- [ ] task       - [x] done
```

## Inline
`*em*`  `**strong**`  `` `code` ``  `~~strike~~`  `$a^2$` (inline math)
`[text](https://x)`  `[text](#id)`  `[[#id]]` (auto text)  `[^note]`  `![alt](pic.png)`
A reference to a missing id is a build **error**. Define a footnote with
a `note` block (e.g. `=== note {#note}`), then cite it inline with `[^note]`.

## Tables
```
=== table {#fy caption="Sales" format=csv header=1}
Seg, Q1, Q2, Q3, Q4
Cloud, 1, 2, 3, 4
===

=== view {#fy-report src=#fy compute="FY [%.1f] = Q1 + Q2 + Q3 + Q4" summary="Seg = 'Total'; Q1 = sum(Q1); FY = sum(FY)"}
===
```
- A `table` holds FACTS. `compute`/`summary` — and `where`/`order`/`limit`/
  `select`/`by`/`aggregate` — belong to a `view` whose `src=` names the table.
- The attribute object `{…}` is **one physical line** (don't wrap it).
- `compute`: `Name = expr` over `+ - * / ( )`, columns by header name (quote names
  with spaces: `'Unit Price'`) or letter `A,B,…`; `;`-separate multiple formulas;
  `[%.1f]` sets number display.
- `summary`: one foot row; each cell is a literal (`'Total'`) or an aggregate
  expression over `sum/avg/min/max/count`. A bare (non-aggregated) column is an
  **error**.
- Visual form also works: `| a | b |` rows with a `|---|` separator.

## Diagrams & charts
```
=== diagram {#flow format=mermaid caption="Flow"}
graph LR
  A --> B
===
```
Chart drawn from a table or a view (empty body — the spec is in the attributes):
```
=== diagram {format=geml-chart data=#fy-report type=bar x=Seg y=FY}
===
```
`type` ∈ `bar|line|area|pie|scatter`; `x`/`y` are column names; `data=#id` must
point at a table, a `view`, or a record-array `data` block — a computed column
like `FY` exists only on the `view`, so bind there; a typo'd column or dangling
id is a build **error**.

## Math
```
=== math {#g caption="Gaussian"}
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
===
```

## Things that are build ERRORS — avoid them
- A reference / footnote / chart column / `{{meta}}` key that does not resolve.
- A duplicate `#id`.
- A block not closed by an **equal-length** fence (when nesting, the **outer**
  fence must be longer than any fence inside it).
- A `summary` cell using a column that isn't wrapped in an aggregate.
- Raw HTML (there is none in GEML).

Files in this skill

  • .gitignore9 B
  • RESULTS.md5.4 KB
  • SKILL.md3 KB
  • fixtures.mjs2.3 KB
  • score.mjs8 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.