modular

12 mods across 1 repository, 180 stars between them.

skills

01

modular/skills

Plugin Claude Code

Plugin marketplace listing 3 plugins: skills, max-skills, mojo-skills.

180 3d ago A tokens not measured

benchmark-model

02

modular/skills

Skill Claude CodeCodex

Benchmark a model served on MAX with the max benchmark command: measure throughput (tokens/sec), latency (TTFT, TPOT, inter-token latency), and GPU utilization by driving load against a running max serve endpoint. Use this whenever the user wants to benchmark, load-test, or measure the performance of a MAX model, get…

180 3d ago A 136 tokens

closure_migration

03

modular/skills

Skill Claude CodeCodex

Migrates Mojo code off legacy parametric closures (capturing[], @parameter / @parameter, apifn) onto value-taking unified closures (api(args, fn) with {imm} / {mut} / {var} / named capture lists). Use when removing parametric overloads, fixing "capturing thin" conversion errors, rewriting nested launch/callback…

180 3d ago A 149 tokens

debug-model

04

modular/skills

Skill Claude CodeCodex

Debug silent corruption when a MAX model loads, compiles, serves, and generates tokens but output disagrees with a reference implementation. Use whenever parity debugging stalls on scalar taps, the model returns gibberish or wrong greedy tokens, logit cosine is high but argmax differs, or generation is coherent then…

180 3d ago A 184 tokens

eval-model

05

modular/skills

Skill Claude CodeCodex

Measures the task accuracy of text models served by MAX using standard benchmarks such as GSM8K, MMLU, HellaSwag, ARC, AIME, GPQA, TruthfulQA, WinoGrande, and BABILong. Use when benchmarking a served model, comparing it with model-card or reference scores, verifying that a new MAX model produces correct answers, or…

180 3d ago A 92 tokens

import-model

06

modular/skills

Skill Claude CodeCodex

Use when importing a new model architecture into MAX from a Hugging Face model ID. Triggers on: "import a model into MAX", "add model to MAX", "bring up in MAX". Workflow: inspect Hugging Face config and modeling code, scaffold from a similar MAX architecture, implement each graph layer to match HF, serve, then verify…

180 3d ago A 121 tokens

modular/skills

Skill Claude CodeCodex

The basics of how to program GPUs using Mojo. Use this skill in addition to mojo-syntax when writing Mojo code that targets GPUs or other accelerators. Use targeting code to NVIDIA, AMD, Apple silicon GPUs, or others. Use this skill to overcome misconceptions about how Mojo GPU code is written.

180 3d ago C 69 tokens

mojo-python-interop

08

modular/skills

Skill Claude CodeCodex

Aids in writing Mojo code that interoperates with Python using current syntax and conventions. Use this skill in addition to mojo-syntax when writing Mojo code that interacts with Python, calls Python libraries from Mojo, or exposes Mojo types/functions to Python. Also use when the user wants to build Python extension…

180 3d ago C 84 tokens

mojo-syntax

09

modular/skills

Skill Claude CodeCodex

Help to write Mojo code using current syntax and conventions. Always use this skill when writing any Mojo code, including when other Mojo-specific skills (e.g., mojo-gpu-fundamentals) also apply. Use when writing Mojo code, translating projects to Mojo, or otherwise generating Mojo. Use this skill to overcome…

180 3d ago C 75 tokens

new-modular-project

10

modular/skills

Skill Claude CodeCodex

Creates a new Mojo or MAX project. Use when wanting to start a new Mojo or MAX project, initializing the pixi or uv environment to use Mojo or MAX, or when the user wants to begin a new Mojo or MAX project from scratch.

180 3d ago B 58 tokens

profile-model

11

modular/skills

Skill Claude CodeCodex

Profile a model running on MAX to find where it spends time and whether the GPU is saturated. Use when the user asks to "profile my model," "where is my model spending time," "why is inference slow," "is my GPU being utilized," "how much GPU am I using," "get a kernel breakdown," "capture an nsys/rocprof/ncu trace of…

180 3d ago B 165 tokens

serve-model

12

modular/skills

Skill Claude CodeCodex

Serve a model with MAX's max serve command: set up the environment (pixi or uv with the max-nightly conda channel / nightly wheel index), point the server at a Hugging Face repo or local checkpoint, target a custom architecture with --custom-architectures, and pick the right serve flags for the model. Use this…

180 3d ago A 157 tokens