Official agent skill

Mesh Converter

by microsoft in microsoft/DirectXMesh

Guide for using the meshconvert command-line tool to convert Wavefront OBJ files to DirectX runtime formats (CMO, SDKMESH, VBO).

OfficialMITAuto-check passed

Install Mesh Converter

skills CLI
$ npx skills add microsoft/DirectXMesh --skill mesh-converter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/DirectXMesh mesh-converter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/DirectXMesh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mesh-converter .claude/skills/mesh-converter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mesh-converter
GitHub stars
859
Token cost
~1.2k tokens
SKILL.md length
484 words
Files
2
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Guide for using the meshconvert command-line tool to convert Wavefront OBJ files to DirectX runtime formats (CMO, SDKMESH, VBO).

  • SKILL.md covers When to Use, Overview, Installation and Basic Syntax, plus 5 more sections
  • Calls winget

What it does

Mesh Converter is an agent skill from microsoft/DirectXMesh, published by the product's own GitHub organization. Guide for using the meshconvert command-line tool to convert Wavefront OBJ files to DirectX runtime formats (CMO, SDKMESH, VBO).

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `reference/options.md`).

It works with C++. The repository describes itself as: DirectXMesh geometry processing library. The licence is MIT.

Example prompts

  • “/mesh-converter”

What it can do on your machine

Read from SKILL.md and the folder at commit 27e180b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • winget

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mesh Converter loads about 1.2k tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 484 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/DirectXMesh at commit 27e180b, republished under its MIT licence (© microsoft). 484 words, ~1,247 tokens.

Download SKILL.mdSave it as .claude/skills/mesh-converter/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mesh-converter
description
Guide for using the meshconvert command-line tool to convert Wavefront OBJ files to DirectX runtime formats (CMO, SDKMESH, VBO).
license
MIT
metadata.author
chuckw
metadata.version
1.0

Mesh Converter Skill

This skill provides guidance for using the meshconvert command-line tool to convert Wavefront OBJ geometry files into runtime formats consumed by DirectX Tool Kit.

When to Use

Invoke this skill when:

  • Converting Wavefront OBJ files to SDKMESH, CMO, or VBO format.
  • Preparing mesh geometry for use with DirectX Tool Kit (DirectXTK).
  • Generating normals, tangents, or performing vertex-cache optimization on mesh data.
  • Understanding the available output formats and their requirements.

Overview

The meshconvert tool imports geometry from Wavefront Object (OBJ) or VBO files and prepares it for runtime use. It can generate normals and tangent frames, perform vertex-cache optimization, and write to formats suited for DirectX applications.

Installation

bash
winget install Microsoft.DirectX.Mesh
vcpkg
bash
vcpkg install directxmesh[tools]

Basic Syntax

plaintext
meshconvert [options] [--file-list <filename>] <file-name(s)>

The tool uses Windows-style - or / for options, and also supports GNU long options with --.

Output Formats

FormatSwitchDescriptionRequirements
SDKMESH-ft sdkmeshDefault output format for DirectX Tool Kit Model classNone
SDKMESH (PBR)-ft sdkmesh2SDKMESH with PBR materialsNone
CMO-ft cmoVisual Studio CMO format for DirectX Tool Kit Model classNormals, tangents, and texture coordinates
VBO-ft vboSimple vertex buffer object format for DirectX Tool KitNormals and texture coordinates
OBJ-ft objRe-export as Wavefront OBJNone

Common Workflows

Basic Conversion to SDKMESH (Default)
bash
meshconvert model.obj

Produces model.sdkmesh with no additional processing.

Convert with Normals and Optimization
bash
meshconvert model.obj -n -op

Generates normals (weight by angle) and performs vertex-cache optimization using the Hoppe algorithm.

Convert to CMO Format

CMO format requires normals, tangents, and texture coordinates:

bash
meshconvert model.obj -ft cmo -n -tb
Convert to VBO Format

VBO format requires normals and texture coordinates:

bash
meshconvert model.obj -ft vbo -n
Convert with Full Processing Pipeline
bash
meshconvert model.obj -n -tb -op -y

Generates normals, tangent frames (tangents and bi-tangents), optimizes the vertex cache, and overwrites any existing output file.

Show full SKILL.md (201 more words)Show less
Convert for Direct3D Coordinate System

OBJ files from tools using OpenGL conventions may need coordinate adjustments:

bash
meshconvert model.obj -n -op --flip-v --flip-z

Flips the V texture coordinate and negates Z for right-hand to left-hand conversion.

Batch Conversion
bash
meshconvert -r *.obj -n -op -y

Recursively processes all OBJ files in the current directory and subdirectories.

Or use a file list:

bash
meshconvert --file-list models.txt -n -op -y

Where models.txt contains one filename per line (lines starting with # are comments).

Option Reference

See reference/options.md for the complete command-line options reference.

Format-Specific Notes

SDKMESH
  • Default output format.
  • Supports 16-bit and 32-bit index buffers (auto-selects 16-bit when possible).
  • Supports configurable vertex formats for normals, UVs, and colors.
  • Used by DirectX Tool Kit's Model class via Model::CreateFromSDKMESH.
CMO
  • Visual Studio's mesh format.
  • Requires normals, tangents, and texture coordinates — use -n -tb switches.
  • Fixed vertex format (no -fn, -fuv, -fc, or -ib32 options).
  • Used by DirectX Tool Kit's Model class via Model::CreateFromCMO.
VBO
  • Simple binary format with position, normal, and texture coordinates.
  • Requires normals and texture coordinates — use -n switch.
  • Fixed vertex format (no -fn, -fuv, -fc, or -ib32 options).
  • Limited to 65535 vertices (16-bit indices only).
  • Used by DirectX Tool Kit's Model class via Model::CreateFromVBO.

Key References

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/mesh-converter of microsoft/DirectXMesh.

  • SKILL.md
  • reference/options.md

Open the folder on GitHubat commit 27e180b

Compare with similar skills

Mesh Converter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mesh Converter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mesh Converter this skillmicrosoft/DirectXMesh859—~1.2kAutomated safety check: PassMIT
Ab Test Store Listingappeeky/aso-skills2.2k—~1.8kAutomated safety check: PassMIT
Meta Ads ConnectLeoYeAI/openclaw-marketing-skills1k1 repos~2kAutomated safety check: PassCustom licence
Apple Search Adsappeeky/aso-skills2.2k—~1.8kAutomated safety check: PassMIT
Custom Product Pagesappeeky/aso-skills2.2k—~1.7kAutomated safety check: PassMIT
Custom Product Pagesgustavscirulis/snapgrid1171 repos~2.2kAutomated safety check: PassCustom licence

Similar skills

  • Ab Test Store Listing

    appeeky/aso-skills

    When the user wants to A/B test App Store product page elements to improve conversion rate.

    2.2k GitHub stars~1.8k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Meta Ads Connect

    LeoYeAI/openclaw-marketing-skills

    Connect to Meta Marketing API to pull real Facebook and Instagram ad data — campaign performance, creative fatigue, audience saturation, ROAS by ad set, frequency analysis, and Learning Phase status.

    1k GitHub starsUsed in 1 repo~2k tokens
    Marketing & SEOAuto-check passed
  • Apple Search Ads

    appeeky/aso-skills

    When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS…

    2.2k GitHub stars~1.8k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Custom Product Pages

    appeeky/aso-skills

    When the user wants to design, deploy, or measure Apple Custom Product Pages (CPP) — the alternate App Store product pages with different screenshots, preview videos, and promo text shown to users…

    2.2k GitHub stars~1.7k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Custom Product Pages

    gustavscirulis/snapgrid

    Generates Custom Product Page metadata templates with screenshot strategies, keyword targeting, and audience-specific messaging for up to 35 page variants.

    117 GitHub starsUsed in 1 repo~2.2k tokens
    Marketing & SEOAuto-check passed
  • Paddle Build

    PaddlePaddle/Paddle

    A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.

    24k GitHub stars~1k tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed

More from microsoft/DirectXMesh

  • Directxmesh Usage

    microsoft/DirectXMesh

    Official

    Guide for integrating the DirectXMesh geometry processing library into a C++ project.

    859 GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Mesh Converter

What does Mesh Converter do?

Guide for using the meshconvert command-line tool to convert Wavefront OBJ files to DirectX runtime formats (CMO, SDKMESH, VBO). Mesh Converter is an agent skill from microsoft/DirectXMesh, published by the product's own GitHub organization. Guide for using the meshconvert command-line tool to convert Wavefront OBJ files to DirectX runtime formats (CMO, SDKMESH, VBO).

How do I install Mesh Converter in Claude Code?

Run `npx skills add microsoft/DirectXMesh --skill mesh-converter -a claude-code`. Or copy the skill folder (skills/mesh-converter in microsoft/DirectXMesh) into .claude/skills/mesh-converter in your project. Claude Code loads it when a task matches its description.

How do I install Mesh Converter in Codex?

Run `npx skills add microsoft/DirectXMesh --skill mesh-converter -a codex`. Or copy the skill folder (skills/mesh-converter in microsoft/DirectXMesh) into .agents/skills/mesh-converter in your project. Codex loads it when a task matches its description.

Can I use Mesh Converter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/DirectXMesh --skill mesh-converter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mesh-converter, .gemini/skills/mesh-converter, .github/skills/mesh-converter and .opencode/skills/mesh-converter in your project.

What does Mesh Converter need to run?

Going by SKILL.md and its folder, Mesh Converter needs the command-line tools its instructions call (winget).

Does Mesh Converter access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Mesh Converter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mesh Converter use?

Mesh Converter is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mesh Converter use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mesh Converter?

Skills that share tags, products or a category with Mesh Converter: Ab Test Store Listing (appeeky/aso-skills, 2.2k stars), Meta Ads Connect (LeoYeAI/openclaw-marketing-skills, 1k stars), Apple Search Ads (appeeky/aso-skills, 2.2k stars) and Custom Product Pages (appeeky/aso-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mesh Converter?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/DirectXMesh, which has 859 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 6, 2026.

Source: microsoft/DirectXMesh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.