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 mendixlabs/mxcli --skill write-oql-queriesgit clone --depth 1 https://github.com/mendixlabs/mxcliWrote 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/mendixlabs/mxcli/write-oql-queries)<a href="https://agentmods.dev/skills/mendixlabs/mxcli/write-oql-queries"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/write-oql-queries/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/mendixlabs/mxcli/write-oql-queries"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/write-oql-queries.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 489 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium MCP Rug Pull · line 502 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 506 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 514 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
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.00044 | $0.07397 |
| Opus 5.5 | $0.00018 | $0.02959 |
| Sonnet 5.5 | $0.00009 | $0.01479 |
| Haiku 4.5 | $0.00004 | $0.00740 |
Grade A, and why
write-oql-queries 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 20d 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 — 720 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Find it fast
sed -n '<from>,<to>p' SKILL.md one section rather than reading the file;
./mxcli syntax <topic> answers how do I write this for a fraction of either.
| lines | section |
|---|---|
| 27-32 | Reference files |
| 33-35 | Purpose |
| 36-42 | When to Use This Skill |
| 43-402 | Critical OQL Syntax Rules |
| 403-539 | Step-by-Step Process |
| 540-635 | Common Mistakes to Avoid |
| 636-667 | Testing OQL Queries |
| 668-686 | Integration with MDL Linter |
| 687-694 | References |
| 695-719 | Summary Checklist |
Skill: Write OQL Queries for Mendix VIEW Entities
Reference files
reference/patterns.md— the recurring OQL shapes (aggregation, joins across associations, date bucketing, ranking, filtered counts) and a full worked query, to adapt rather than derive.
Purpose
Generate correct OQL (Object Query Language) queries for Mendix VIEW entities. This skill helps you create VIEW entities with proper OQL syntax that will execute successfully in Mendix runtime.
When to Use This Skill
- User asks to create a VIEW entity
- User requests help with OQL queries
- User wants to create analytics, reports, or aggregated data views
- User needs to join entities or create calculated fields
- You encounter OQL syntax errors when creating VIEW entities
Critical OQL Syntax Rules
0. VIEW Entity Best Practices (CRITICAL)
RULE 1: All SELECT columns MUST have explicit AS aliases
Every column in the SELECT clause must have an alias that matches the entity attribute name:
-- ❌ WRONG - Missing aliases
create view entity Finance.CashFlowProjection (
ProjectionDate: datetime,
ProjectedIncome: decimal,
ProjectedExpense: decimal
) as (
select
fl.ForecastDate, -- Missing AS alias
fl.ProjectedIncome, -- Missing AS alias
fl.ProjectedExpense -- Missing AS alias
from Finance.ForecastLine as fl
);
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.
- 20d ago Changed a798146bbc53
- 1mo ago Changed · +15 lines 775b49df9e31
- 1mo ago Changed · +9 lines 0439befd95e9
- 1mo ago Changed · +19 lines 5c55fbea60e6
- 2mo ago Changed · +32 lines 4a41611a6143
- 2mo ago Changed · +5 lines fdfb79df68dd
- 2mo ago Changed · +5 lines e4cf6cda6bc8
- 2mo ago Changed · +69 lines 8a6cc967ebfd
- 3mo ago First seen · 566 lines · 44 tokens per session scan A ee3b1a8d571c
write-oql-queries is a skill published in the GitHub repository mendixlabs/mxcli (148 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 7,397 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-09-03.
write-oql-queries compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-oql-queriesmendixlabs/mxcli | Skill | 148 | yesterday | Apache-2.0 | A | 44 | Claude Code |
| nosql-database-designsoulcodex/agentic | Skill | 10 | 14d ago | MIT | A | 71 | Claude Code, Codex |
| relational-database-designsoulcodex/agentic | Skill | 10 | 14d ago | MIT | A | 55 | Claude Code, Codex |
| sql-query-optimizationsoulcodex/agentic | Skill | 10 | 14d ago | MIT | A | 70 | Claude Code, Codex |
| hatch3r-migrationhatch3r/hatch3r | Skill | 26 | 2mo ago | MIT | A | 31 | Claude Code |
| sql-databasejnotsknab/mux-swarm | Skill | 9 | yesterday | GPL-3.0 | A | 41 | Claude Code, Codex |
| airtableStarryCod/cogitum | Skill | 12 | 6mo ago | MIT | A | 19 | Claude Code, Codex |