Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/eclipse-langium/langium-ainpx agentmods add skills/eclipse-langium/langium-ai/lai-gen-evalsWrote 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/eclipse-langium/langium-ai/lai-gen-evals)<a href="https://agentmods.dev/skills/eclipse-langium/langium-ai/lai-gen-evals"><img src="https://agentmods.dev/badge/skills/eclipse-langium/langium-ai/lai-gen-evals/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/eclipse-langium/langium-ai/lai-gen-evals"><img src="https://agentmods.dev/badge/skills/eclipse-langium/langium-ai/lai-gen-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00042 | $0.05358 |
| Opus 5.5 | $0.00017 | $0.02143 |
| Sonnet 5.5 | $0.00008 | $0.01072 |
| Haiku 4.5 | $0.00004 | $0.00536 |
Grade A, and why
lai-gen-evals 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 557 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate and Expand Evaluations
This skill guides the creation and expansion of a comprehensive evaluation suite for a Langium DSL project. A good eval suite measures not just whether an LLM can produce syntactically valid code, but whether it generates semantically correct programs that match user intent across a wide range of prompts.
You may also use the lai and langium skills for deeper understanding of the CLI workflow and Langium project structure.
When to Use
- Starter eval exists but is minimal —
lai initgenerated abasic.eval.tswith one or two placeholder cases and you need real coverage - No eval suite yet — the project has not been initialized; run
lai initfirst to set up the evals directory and template files - Eval pass rates are high but coverage is shallow — everything passes because you're only testing trivial cases
- Adding new language features — grammar or validator changes need matching eval cases
- LLM produces valid but wrong code — syntactically correct output that doesn't match what the user asked for
- Preparing for model comparison — building a thorough eval matrix to compare providers or models
Prerequisites
lai initcompleted — alai.config.jsoncexists and anevals/directory has been created. If not, runlai initfirst.evals/utils.tsconfigured — thegenerateResponse()function must be wired to an LLM provider (OpenAI, Anthropic, Ollama, etc.). Check that the placeholderthrowhas been replaced.- A language descriptor and system prompt — generate these first with the
lai-gen-descriptorandlai-gen-syspromptskills if they don't exist. - A working Langium grammar with generated TypeScript artifacts and a
create<Name>Servicesfunction.
Evaluation Architecture
File Organization
Evaluation files live in the evals/ directory (configured in lai.config.jsonc) and must have the .eval.ts extension. Organize them by evaluation category:
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.
- 2mo ago First seen · 557 lines · 42 tokens per session scan A 5af17bb13366
lai-gen-evals is a skill published in the GitHub repository eclipse-langium/langium-ai (30 stars, last pushed 14d ago), licensed MIT. It adds 42 tokens to every session and 5,358 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-08-30.
Other skills, from other repositories
trulens-running-evaluations
Execute TruLens evaluations and view results.
testing-llm
LLM and AI testing patterns — mock responses, evaluation with DeepEval/RAGAS, structured output validation, and agentic test patterns (generator, healer, planner). Use when testing AI features, validating LLM outputs, or building evaluation pipelines.
mcplab-assistant
Operator guide for MCPLab config authoring, Test Case Assistant workflows, execution, and result analysis. Use when users need to create or refine test cases from runs/traces, suggest deterministic checks or value capture, write or debug MCPLab eval YAML, run or queue evaluations, troubleshoot failures, or compare…
eval-driven-development
Build offline evaluation suites that score probabilistic LLM/agent quality, distinct from deterministic tests.
ai-agent-evaluation-benchmarking
Autonomous AI agent benchmark evaluation register: task completion rates, planning accuracy, tool invocation precision, and cost benchmarks.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.