Logo
Agent Skills Guide

mojo-python-interop

published 2026/03/13

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 modules in Mojo, wrap Mojo structs for Python consumption, or convert between Python and Mojo types.

📦 Install Skill

Command line install

Install directly with the `skills` CLI.

npx skills add modular/skills/mojo-python-interop

Local download

Download only this skill directory.

Download mojo-python-interop only
File Explorer
0 files
No file selected
readonly

Select a file to view its content