>- Guide for using the texconv command-line texture conversion tool. Use this skill when asked about converting textures, compressing images to DDS/BC formats, generating mipmaps, resizing textures, creating normal maps, or performing HDR tone mapping from the command line.
npx skills add https://github.com/microsoft/DirectXTex --skill texture-converter
This skill provides guidance for using the texconv command-line tool to convert, compress, resize, and process texture images.
Invoke this skill when:
winget install Microsoft.DirectXTex.Texconv
vcpkg install directxtex[tools]
texconv [options] [--file-list <filename>] <file-name(s)>
Input files can be dds, tga, hdr, phm, ppm, pfm, or any WIC-supported format (bmp, jpg, png, jxr, heif, webp, etc.).
The command-line uses Windows-style - or / for options. It also supports --version, --help, and GNU long-option style parameters with --.
texconv -f BC7_UNORM -m 0 -y diffuse.png
texconv -pow2 -f BC1_UNORM cat.jpg
texconv -r C:\Textures\*.png
texconv myimage.hdr -tonemap -ft BMP
texconv -nmap lo -nmapamp 2 -f R8G8B8A8_UNORM heightmap.png
texconv -pow2 -fl 9.3 -f BC3_UNORM -m 1 *.bmp
texconv -o output_dir -px hd_ -sx _bc7 -f BC7_UNORM *.png
texconv -ft png -y texture.dds
texconv -pmalpha -f BC3_UNORM ui_element.png
texconv --rotate-color 709toHDR10 -nits 200 -f R10G10B10A2_UNORM scene.hdr
texconv --swizzle rrrg -f BC5_UNORM normal.png
See reference/options.md for the complete options reference.
| Option | Description |
| --- | --- |
| -f <format> | Output DXGI format (e.g., BC7_UNORM, R8G8B8A8_UNORM) |
| -ft <type> | Output file type (dds, png, bmp, jpg, tga, hdr, etc.) |
| -o <dir> | Output directory |
| -y | Overwrite existing files |
| -m <n> | Mipmap levels (0 = full chain, 1 = none) |
| -w <n> / -h <n> | Output width / height in pixels |
| -pow2 | Fit to power-of-2 dimensions |
| -if <filter> | Image filter (POINT, LINEAR, CUBIC, FANT, BOX, TRIANGLE) |
| -srgb | Input and output are sRGB |
| -pmalpha | Convert to premultiplied alpha |
| -bc <flags> | BC compression flags (u, d, q, x) |
| -nmap <flags> | Generate normal map from height map |
| -r | Recursive wildcard search |
| -nologo | Suppress copyright message |
By default, texconv writes DDS files. The output filename matches the input filename with the appropriate extension. Use -ft to change the output format, -o for output directory, and -px/-sx for filename prefix/suffix.
-w / -h), the output size matches the input.-m 0). Use -m 1 to suppress mipmaps.-nogpu to force CPU.exr) format requires building from source with USE_OPENEXR defined.Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video
App Store and Google Play screenshot creation with exact platform specs. Covers iOS/Android dimensions, gallery ordering, device mockups, and preview videos. Use for: app store optimization, ASO, app screenshots, app preview, play store listing. Triggers: app store screenshots, aso, app store optimization, play store screenshots, app preview, app listing, ios screenshots, android screenshots, app store images, app mockup, device mockup, app gallery, store listing
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
Generate and save images using Pollinations.ai's free, open-source API. No signup required. Supports URL-based generation, custom parameters (width, height, model, seed), and automatic file saving. Perfect for quick prototypes, marketing assets, and creative workflows.
| Create AI marketing videos for ads, promos, product launches, and brand content. product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video
Use when building App Store screenshot pages, generating exportable marketing screenshots for iOS apps, or creating programmatic screenshot generators with Next.js. Triggers on app store, screenshots, marketing assets, html-to-image, phone mockup.
Anti-AI-slop design skill for greenfield pages, audits, redesigns, and design extraction from URLs or screenshots. Use when the user asks to build a new app or landing page, wants to redesign something, invokes Hallmark by name, or uses audit/redesign/study.
Launch and supervise OpenShell gator agents. Use when starting gator on issues or PRs, checking gator sandboxes, building the gator sandbox image, restarting stuck gators, inspecting gator logs, or experimenting with gator harness/model overrides. Trigger keywords - launch gator, start gator, run gator, gator sandbox, supervised gator, gator logs, restart gator.
Take microsoft/texture-converter from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.