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 Kevin-Liu-01/Agent-Machines --skill mintlify-mdxgit clone --depth 1 https://github.com/Kevin-Liu-01/Agent-MachinesWrote 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/kevin-liu-01/agent-machines/mintlify-mdx)<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/mintlify-mdx"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/mintlify-mdx/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/kevin-liu-01/agent-machines/mintlify-mdx"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/mintlify-mdx.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.00128 | $0.02561 |
| Opus 5 | $0.00064 | $0.01281 |
| Sonnet 5 | $0.00026 | $0.00512 |
| Haiku 4.5 | $0.00013 | $0.00256 |
Grade A, and why
mintlify-mdx 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 7d 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 — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mastering Mintlify
Mintlify is a Next.js App Router site that compiles MDX on the server, hydrates in the browser, and serves via Next. This skill covers the parts the docs don't — what the pipeline actually does, where the sandbox sharp edges are, and how to customize around them.
For content writing, read writing/voice and writing/structure in the docs repo. This skill is for engineers building custom components, integrations, or bundling npm packages.
The Pipeline
.mdx file
→ remark parser (@mdx-js/mdx + acorn)
→ remarkMdxInjectSnippets ← inlines /snippets/*.jsx ASTs
→ estree-util-to-js (findExport) ← extracts one export at a time
→ next-mdx-remote-client/serialize (function-body mode)
→ Reflect.construct(SyncFunction, keys.concat(compiledSource))
→ component tree → SSR → hydrate
The critical detail: findExport extracts each ExportNamedDeclaration AST subtree in isolation. Sibling imports, sibling const declarations, sibling exports — all dropped from each export's scope.
Hard Constraints (Memorize These)
1. Each named export is evaluated in isolation
Sibling declarations are invisible. This fails:
// FAILS: "ReferenceError: __lib is not defined"
export const __lib = (() => { return { Terminal, useTerminal }; })();
export const Terminal = __lib.Terminal; // __lib not in scope
export const useTerminal = __lib.useTerminal; // nor here
Fix: one self-contained IIFE per export, even if it duplicates bytes.
export const Terminal = (() => { /* full body */ return Terminal; })();
export const useTerminal = (() => { /* full body again */ return useTerminal; })();
2. import expressions are rejected
Function-body mode refuses ESM syntax needing module resolution: import(), import.meta.url, export ... from. Error:
Unexpected missing options.baseUrl needed to support "export … from", "import", or "import.meta.url" when generating "function-body"
Fix: drop dynamic imports. Use plain fetch() instead of SDK imports.
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.
- 7d ago First seen · 229 lines · 128 tokens per session scan A 6a4b2546c163
mintlify-mdx is a skill published in the GitHub repository Kevin-Liu-01/Agent-Machines (29 stars, last pushed yesterday), licensed MIT. It adds 128 tokens to every session and 2,561 once invoked, about $0.0006 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
21st-ui
Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.
harness-design-fuzzing
Reference vocabulary for designing instrumented harnesses that drive vulnerability discovery — design classes (trigger-driven vs coverage-driven), tiered scope (T1 isolated function / T2 multi-component / T3 full build), systematic input exploration, the two-coverage distinction (fuzzer-feedback vs audit)…
workspace-builder
Build ServiceNow App Engine Studio applications — sysscope creation, scoped tables, sysawworkspace with lists/forms, the sysux record chain behind UI Builder workspaces, data brokers, and application export readiness checks. Never create a UI Builder page by inserting a sysuxpage row.
ui-builder-patterns
Build ServiceNow UI Builder / Next Experience pages — macroponents, GraphQL/script data brokers, client state parameters, event handlers (NOWRECORDLIST etc.), and now-record-list/form component configuration.
widget-coherence
Build Service Portal widgets (spwidget) with synchronized server/client/HTML — data. initialization, ng-click + controller method matching, c.server.get action handlers, and Angular directive usage.
remotion
Create editable AI video projects with Remotion and React, then preview and render them to MP4. Use for vertical short videos, product demos, story-driven animations, HUD/tech visuals, feed ads, tutorial videos, subtitles, voiceover, sound effects, and code-based video iteration.