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 agentmods add skills/mendixlabs/mxcli/write-oql-queriesnpx 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.svg" alt="Measured on agentmods" 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 | $0.00044 | $0.04842 |
| Opus 5 | $0.00022 | $0.02421 |
| Sonnet 5 | $0.00009 | $0.00968 |
| Haiku 4.5 | $0.00004 | $0.00484 |
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 yesterday.
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 — 566 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
);
-- ✅ CORRECT - All columns have explicit aliases
create view entity Finance.CashFlowProjection (
ProjectionDate: datetime,
ProjectedIncome: decimal,
ProjectedExpense: decimal
) as (
select
fl.ForecastDate as ProjectionDate,
fl.ProjectedIncome as ProjectedIncome,
fl.ProjectedExpense as ProjectedExpense
from Finance.ForecastLine as fl
);
RULE 2: ORDER BY requires a LIMIT — prefer letting the consuming query sort
ORDER BY alone is rejected (mxcli check → MDL030; mx check → CE0174).
ORDER BY with a LIMIT is valid and builds clean — that is exactly how you
express a top-N view. As a default, prefer no ORDER BY/LIMIT so the UI
component or microflow can sort and paginate the same view differently; reach for
ORDER BY … LIMIT only when the view is intrinsically a top-N.
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.
- yesterday First seen · 566 lines · 44 tokens per session scan A ee3b1a8d571c
write-oql-queries is a skill published in the GitHub repository mendixlabs/mxcli (115 stars, last pushed 2d ago), licensed Apache-2.0. It adds 44 tokens to every session and 4,842 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-09-03.
Other skills, from other repositories
review-prs
Review a GitHub pull request in the googleapis/mcp-toolbox repo against the team's reviewer checklist: PR title/description conventions, linked issue, logic errors and unhandled edge cases, breaking changes, test coverage, docs updates, security (input handling), and new dependencies. Use whenever a maintainer asks…
fix-failing-tests
Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…
stale-sweep
Sweep the googleapis/mcp-toolbox repo for issues and PRs with no real activity in N days (default 60), sort each by whose silence it is (the author's, ours, or nobody's), and draft the nudge or close comment. Use whenever a maintainer asks for a stale sweep, backlog cleanup, or an SLO check, e.g. "stale sweep", "find…
triage-issues
Triage GitHub issues in the googleapis/mcp-toolbox repo: propose the correct labels (type / priority / product / status), check for duplicates, verify a bug has enough info to act on, and draft a triage comment. Use whenever a maintainer asks you to triage, label, categorize, prioritize, or "look at" an issue (or a…
backend-engineer
Supabase integration specialist. Handles database schema, authentication, Row Level Security (RLS), real-time subscriptions, and storage. Connects existing UI to real backend. Only called AFTER UI exists with mock data. Triggers: connect database, connect Supabase, add auth, make login, backend integration, real data…
new-migration
Create a new database migration file with the correct next ID, preventing duplicates.