ubiquitous-language

ubiquitous-language is a command for coding agents from Habib0x0/spec-driven-plugin. It costs 36 tokens per session (688 once invoked), scanned A, original, MIT.

A command that builds a consistent glossary of important terms from the current conversation and saves it to UBIQUITOUS_LANGUAGE.md.

In plain words
What is it for?
Use it to define domain terminology, choose canonical names, record relationships between concepts, and give the team a shared vocabulary.
Why use it?
It finds ambiguous words, competing names, and vague concepts before they cause misunderstandings in the code or requirements.

Command

Part of the spec-driven plugin — 1 skill, 19 commands, 12 agents shipped together

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.

agentmods
npx agentmods add commands/habib0x0/spec-driven-plugin/ubiquitous-language
Clone the repo
git clone --depth 1 https://github.com/Habib0x0/spec-driven-plugin

Or install spec-driven, the plugin that ships this one along with the rest of its 1 skill, 19 commands, 12 agents.

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 ubiquitous-language

README.md
[![agentmods](https://agentmods.dev/badge/commands/habib0x0/spec-driven-plugin/ubiquitous-language.svg)](https://agentmods.dev/commands/habib0x0/spec-driven-plugin/ubiquitous-language)
Your own site
<a href="https://agentmods.dev/commands/habib0x0/spec-driven-plugin/ubiquitous-language"><img src="https://agentmods.dev/badge/commands/habib0x0/spec-driven-plugin/ubiquitous-language.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 688 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00036 $0.00688
Opus 5 $0.00018 $0.00344
Sonnet 5 $0.00007 $0.00138
Haiku 4.5 $0.00004 $0.00069

Measured 5d ago against content hash e3fc1a98ca7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ubiquitous-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 5d 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.

commands/ubiquitous-language.md · 83 lines

How it starts

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

$ARGUMENTS

Extract and formalize domain terminology from the current conversation into a consistent glossary, saved to a local file.

Process

  1. Scan the conversation for domain-relevant nouns, verbs, and concepts
  2. Identify problems:
    • Same word used for different concepts (ambiguity)
    • Different words used for the same concept (synonyms)
    • Vague or overloaded terms
  3. Propose a canonical glossary with opinionated term choices
  4. Write to UBIQUITOUS_LANGUAGE.md in the working directory using the format below
  5. Output a summary inline in the conversation

Output Format

Write a UBIQUITOUS_LANGUAGE.md file with this structure:

# Ubiquitous Language

## [Group 1]

| Term | Definition | Aliases to avoid |
| ---- | ---------- | ---------------- |
| **Term** | One-sentence definition | Other names to avoid |

## [Group 2]

| Term | Definition | Aliases to avoid |
| ---- | ---------- | ---------------- |
| **Term** | One-sentence definition | Other names to avoid |

## Relationships

- A **Thing** belongs to exactly one **Other Thing**
- An **X** produces one or more **Y**

## Example dialogue

> **Dev:** "..."
> **Domain expert:** "..."
> **Dev:** "..."
> **Domain expert:** "..."

## Flagged ambiguities

- "word" was used to mean both **Concept A** and **Concept B** — these are distinct because...

Rules

  • Be opinionated. When multiple words exist for the same concept, pick the best one and list the others as aliases to avoid.
  • Flag conflicts explicitly. If a term is used ambiguously in the conversation, call it out in the "Flagged ambiguities" section with a clear recommendation.
  • Only include terms relevant for domain experts. Skip module or class names unless they have domain meaning.
  • Keep definitions tight. One sentence max. Define what it IS, not what it does.
  • Show relationships. Use bold term names and express cardinality where obvious.
  • Only include domain terms. Skip generic programming concepts (array, function, endpoint) unless they have domain-specific meaning.
  • Group terms into multiple tables when natural clusters emerge (e.g. by subdomain, lifecycle, or actor). Each group gets its own heading and table.
  • Write an example dialogue. A short conversation (3-5 exchanges) between a dev and a domain expert that demonstrates how the terms interact naturally.

Read the full file on GitHub · 83 lines

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. 5d ago First seen · 83 lines · 36 tokens per session scan A e3fc1a98ca7b

Subscribe to this mod's changes

ubiquitous-language is a command published in the GitHub repository Habib0x0/spec-driven-plugin (10 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 688 once invoked, about $0.0002 per session on Opus 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-08-31.