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.
npx skills add mh-language/mhl-core-runtime --skill mhl-languagegit clone --depth 1 https://github.com/mh-language/mhl-core-runtimeWrote 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.
[](https://agentmods.dev/skills/mh-language/mhl-core-runtime/mhl-language)<a href="https://agentmods.dev/skills/mh-language/mhl-core-runtime/mhl-language"><img src="https://agentmods.dev/badge/skills/mh-language/mhl-core-runtime/mhl-language/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.
<a href="https://agentmods.dev/skills/mh-language/mhl-core-runtime/mhl-language"><img src="https://agentmods.dev/badge/skills/mh-language/mhl-core-runtime/mhl-language.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.02974 |
| Opus 5.5 | $0.00024 | $0.01190 |
| Sonnet 5.5 | $0.00012 | $0.00595 |
| Haiku 4.5 | $0.00006 | $0.00297 |
Grade A, and why
mhl-language 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mhl language
mhl is a declarative language for AI agent pipelines: agents, tools, memory, MCP servers, prompts, and the pipelines that wire them together. It reads like TypeScript, and that resemblance is where most bugs come from. Trust this file and the compiler over your priors.
The other mhl-* skills go deeper: mhl-workflows (steps, branching, resume),
mhl-agents (agents, prompts, routers), mhl-tools (tools, native ops, memory,
extensions), mhl-testing, mhl-serving. Every native op and value method is in
references/stdlib.md.
The verification loop
mhl is the source of truth. Run this loop on every change:
mhl lint <file-or-dir>until it printsNo problems found.mhl test <file-or-dir>until it exits 0.mhl run <file> --dry-run --input key=valueto validate the input contract and see the step plan. It executes nothing.
A plain mhl run launches real agents and real side effects, so treat it as a deliberate
action, not a syntax check.
When mhl is missing, ask before installing it (install.sh from
github.com/mh-language/mhl-core-runtime), and state plainly that any .mh you hand
over without it is unverified.
Lint is not complete. It misses the traps marked (lint silent) below, so a clean lint does not prove those. Cover them with a test.
File shape
A file is a flat list of declarations: import, agent, router, prompt, skill,
schema, memory, tool, extension, pipeline, workflow, type, enum, test.
Any of them can carry export. Statements live only inside a step, a tool method, a
lambda body, or a describe block, so reference snippets showing a bare var x = 1 are
excerpts of one of those.
// Comments are // only.
agent Writer {
command: "echo" // swap for a real CLI such as "claude"
args: ["${prompt}"]
}
prompt Greeting(name: string) {
"Write a greeting for ${name}."
}
tool Text {
slug(value: string): string -> value.trim().to_lower().replace(" ", "-")
}
pipeline Main {
description: "Writes a greeting and logs its slug."
input name: string
var reply = ""
step Greet {
reply = Writer.run(prompt: Greeting(name: name))
}
step Report {
log(Text.slug(reply))
}
}
test main {
describe greets_by_name {
var result = Main.run(inputs: {name: "Ada"})
are_equal(result.state, "completed")
are_equal(result.executed, ["Greet", "Report"])
is_true(result.vars.reply.contains("Ada"))
}
}
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.
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.
- today First seen · 276 lines · 59 tokens per session scan A 6f214398220e
mhl-language is a skill published in the GitHub repository mh-language/mhl-core-runtime (9 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 2,974 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-11-07.
mhl-language compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mhl-languagemh-language/mhl-core-runtime | Skill | 9 | today | MIT | A | 59 | Claude Code, Codex |
| sync-bridgechromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 109 | Claude Code, Codex |
| sync-model-processorchromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 98 | Claude Code, Codex |
| adversarial-revieweremdash-cms/emdash | Skill | 14k | yesterday | MIT | A | 72 | Claude Code, Codex |
| gsd-ns-reviewopen-gsd/gsd-core | Skill | 11k | yesterday | MIT | A | 16 | Claude Code |
| gitnexushashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 58 | Codex |
| issuejeremylongshore/tons-of-skills-marketplace | Skill | 2.9k | yesterday | MIT | A | 115 | Claude Code |