
modular/skills
4 skills3.4k installs404 starsGitHub
Install
npx skills add https://github.com/modular/skillsSkills in this repo
1Mojo Syntaxmojo-syntax is a correction-layer agent skill for solo and indie builders who ship code with Claude Code, Cursor, Codex, or similar agents when the target language is Mojo. Pretrained models routinely emit obsolete Mojo because the language changes quickly; this skill instructs the agent to follow current syntax and conventions from SKILL.md instead of stale training data. Use it whenever you are writing new Mojo, translating an existing project into Mojo, or regenerating snippets that failed review or compile. It is meant to run alongside domain-specific Mojo skills such as GPU fundamentals, not replace them. The file emphasizes terse tables, short WRONG/CORRECT pairs, and a single consolidated example style so context stays small while still fixing high-impact mistakes. After generation, you should attempt a real project build to verify the output compiles, since stable toolchains may differ slightly from latest Mojo. The skill is procedural knowledge packaged as SKILL.md—ideal when you want repeatable, citable agent behavior rather than ad-hoc chat guesses about Mojo grammar.903installs2Mojo Gpu Fundamentalsmojo-gpu-fundamentals is a correction-layer skill for solo builders shipping Mojo on GPUs and other accelerators. Pretrained models default to CUDA idioms; this skill documents how Mojo actually expresses device code, memory, and launches so agents do not invent invalid syntax. Load it alongside mojo-syntax whenever a task mentions NVIDIA, AMD, or Apple GPU targets, custom kernels, or accelerator performance work. The file is intentionally dense—tables and short WRONG/CORRECT pairs—because every line competes for context window budget. It does not replace Modular’s full docs; it stops the most expensive mistakes early so you iterate on real APIs instead of debugging hallucinated __global__ functions. Best for indie ML tooling, numerical backends, and CLI utilities where Mojo is the implementation language.851installs3Mojo Python Interopmojo-python-interop is a Modular-maintained agent skill that keeps generated Mojo–Python boundary code aligned with today’s std.python APIs and packaging expectations. Solo builders shipping hybrid pipelines—fast Mojo kernels with Python orchestration—use it whenever an agent might hallucinate deprecated import syntax or broken wrapper patterns. The description tells you to combine it with mojo-syntax for general language rules and reach for this skill specifically when importing Python modules from Mojo, building extension modules, or exposing structs and functions to Python callers. Because Mojo changes release over release, the file is written as a minimal correction layer: tables, consolidated examples, and short anti-patterns instead of textbook prose. That makes it best during Build when you are wiring FFI, packaging wheels, or refactoring hot paths that still lean on scientific Python stacks. It does not replace Modular’s official docs; it steers the agent away from confidently wrong interop.821installs4New Modular Projectnew-modular-project is an agent skill for solo builders starting a Modular Mojo or MAX codebase from scratch. It treats project creation as a short decision workflow: infer everything you can from the user's wording (for example "new Mojo project called foo"), then collect remaining choices through one structured prompt—project name, Mojo versus MAX, Pixi versus uv, uv layout when relevant, and nightly versus stable channels. After choices are locked, the skill follows the Pixi or uv initialization path and adds `mojo` or `max` as appropriate. It is meant for agents helping indie developers who want a repeatable, opinionated bootstrap instead of hand-rolling shell commands and outdated tooling references.776installs