geml

geml is a skill for Claude Code, Codex from geml-spec/geml. It costs 167 tokens per session (2,518 once invoked), scanned A, a copy of geml, MIT.

A skill for finding, reading, and changing individual sections of long Markdown or documentation files without reading the whole file.

In plain words
What is it for?
Use it with READMEs, specifications, guides, design documents, or changelogs to list sections, find relevant content, read it, or replace it.
Why use it?
It reduces the amount of document content the agent must handle when only one section matters.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with READMEs, specifications, guides, design documents, or changelogs to list sections, find relevant content, read it, or replace it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/geml-spec/geml/skill
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 geml-spec/geml --skill skill
Clone the repo
git clone --depth 1 https://github.com/geml-spec/geml

Made for: Claude Code, 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 geml

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/geml-spec/geml/skill"><img src="https://agentmods.dev/badge/skills/geml-spec/geml/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,518 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 100% copy Near-identical to another mod 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.00167 $0.02518
Opus 5.5 $0.00067 $0.01007
Sonnet 5.5 $0.00033 $0.00504
Haiku 4.5 $0.00017 $0.00252

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

Security

Grade A, and why

geml 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 21d 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.

Origin

This is a copy

100% identical to geml — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

geml-parser/skill/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reading and editing documents blockwise

Two jobs. The first is the common one, and it needs none of GEML's syntax.

A document that is NOT GEML — use this as a read layer

geml list, geml find and geml get read Markdown directly. Use them to locate and read one block of a long document. Nothing is converted, nothing is written, and the file stays exactly the Markdown it already was.

Only when you would otherwise read the whole file to change part of it. If the file is short, or you already know the exact string to replace, open it the ordinary way — the round trip costs more than it saves. What is saved is only ever the part you did not have to read: on this project's own docs a list map runs 5–11% of the file it maps, but on a changelog of many small sections it is 37%.

  1. geml list <file> — every block: address, kind, line range.
  2. geml find "<text>" <file> — which block holds those words, answered as an ADDRESS rather than a line number, so it survives the next edit. (On a file that is not .geml this needs 1.7.5 or newer; older builds report no match rather than an error, so if a search you expect to hit comes back empty, use list.)
  3. geml get <file> '<address>' — that block and nothing else.
  4. Change it. Two ways, and the choice is about consent, not capability:
    • Ordinary file-editing tool, using the text from step 3 as the string to replace. The default: a document nobody asked to address by block is edited the way its author edits it.
    • geml set <file> '#id' …, when block-addressed editing is what was asked for — a knowledge base, a generated index, a log that only grows. Measured on a real vault: the frontmatter and every block you did not address come out byte-for-byte unchanged, and the body you write lands verbatim — no escaping, no reflowing. Read references/markdown-writes.md first; two of its rules are silent when broken.

Read the full file on GitHub · 172 lines

Files

What ships with it

2 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. 21d ago Changed · +1 lines b6c3a1812cf9
  2. 1mo ago Changed · +3 lines 71f75136d97a
  3. 1mo ago Changed bc63cdab3bfb
  4. 1mo ago Changed fab08af9905b
  5. 1mo ago First seen · 168 lines · 167 tokens per session scan A e1087405c9c5

Subscribe to this mod's changes

geml is a skill published in the GitHub repository geml-spec/geml (29 stars, last pushed today), licensed MIT. It adds 167 tokens to every session and 2,518 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to geml, differing in 0 lines, and is treated as a copy.