coding-mojo

Solid

Develop and run Mojo code in Claude.ai containers. Handles installation, compilation, and execution. Use when writing Mojo code, benchmarking Mojo vs Python, or when user mentions Mojo, Modular, or MAX. Routes to Modular's official skills (mojo-syntax, mojo-python-interop, mojo-gpu-fundamentals) for language-specific correction layers.

Code & Development 134 stars 7 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
71
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Mojo Development in Claude.ai Containers Mojo is a systems programming language from Modular that combines Python-like syntax with C-level performance. This skill handles container setup and execution. For **language syntax and semantics**, defer to Modular's official skills at `github.com/modular/skills` — they are authoritative correction layers for pretrained knowledge. ## Installation Install once per session (~20s via uv, ~500MB). Skip if already installed. ```bash if mojo --version 2>/dev/null; then echo "Mojo already installed" else # Compiler binary without ML extras (~350MB saved) uv pip install --system --break-system-packages modular --no-deps 2>&1 | tail -5 # Entry points + base deps (numpy, pyyaml, rich) uv pip install --system --break-system-packages mojo max 2>&1 | tail -5 mojo --version fi ``` Verify: ```bash echo 'def main(): print("Mojo ready")' > /tmp/_verify.mojo && mojo /tmp/_verify.mojo ``` ## Running Mojo Code **Quick tests** (write to temp file): ```bash cat > /tmp/test.mojo << 'EOF' def main(): print("hello") EOF mojo /tmp/test.mojo ``` **File execution** (JIT compile + run, ~1.4s overhead): ```bash cat > /home/claude/example.mojo << 'EOF' def main(): print("Hello from Mojo") EOF mojo /home/claude/example.mojo ``` **Build binary** (for benchmarking — ~6s cold compile, but binary runs at native speed): ```bash mojo build /home/claude/example.mojo -o /home/claude/example /home/claude/example ``` Use `mojo build` for bench...

Details

Author
oaustegard
Repository
oaustegard/claude-skills
Created
9 months ago
Last Updated
yesterday
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

power-coding

Mindful-coding OS for any LLM coding agent — faster, quality, scalable output. One invoke configures seven layers (0–6): (0) BRIEF — optional one-page PRD.md (skipped if design.MD/README already covers it, or on request), plus git init, gitignore, and a day-one security baseline; (1) HARNESSING — Handoff.MD (user-picked sections, one magic phrase chains sessions, updated on concrete events — before every commit / end of every phase — with a line/item compaction cap and a last-synced sha for concurrent-session reconcile) + auto Learning.MD for bugs and flow changes; (2) LOOP ENGINEERING — Loop.MD with evals drafted from the project's brief, and a status machine that offers to "turn on the loop" once the first draft works; (3) VIBE DEBUGGING — Mermaid flow diagrams to a strict convention, optionally a temp local-only in-app debug tab; (4) FMEA — product-aware failure-mode scans (Severity×Occurrence×Detection→RPN, P0/P1/P2) cross-referencing diffs against the PRD and architecture, on feature-complete, pre-commit

5 Updated 3 days ago
APareek89
AI & Automation Featured

moai-foundation-cc

Canonical Claude Code authoring kit covering Skills, sub-agents, plugins, slash commands, hooks, memory, settings, sandboxing, headless mode, and advanced agent patterns. Use when creating Claude Code extensions or configuring Claude Code features.

1,143 Updated today
modu-ai
AI & Automation Solid

memory-bank

Agent-agnostic long-term project memory through `.memory-bank/` + RULES (TDD/SOLID/Clean Architecture/FSD/Mobile) + dev-toolkit commands. Use when working in a project with a `.memory-bank/` directory or when the user explicitly asks for memory-bank workflow, code rules, or dev-toolkit commands.

21 Updated today
fockus