Skip to main content
skill CX Codex

pyre-code-ml-practice — Claude Code skill: ML drills in the browser

This skill walks you through hosting Pyre Code, a practice platform with 68 ML problems, and through writing your own. Handy when you want hands-on work on transformer and diffusion internals without a GPU.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill pyre-code-ml-practice -a claude-code
Open on GitHub

What pyre-code-ml-practice does

Pyre Code is an ML practice platform you run on your own machine. The problem set spans 68 entries, from ReLU and softmax up to flow matching, DPO, GRPO and Mamba SSM. You write code in a browser editor and get a pass or fail back right away. Everything is graded on CPU, so no graphics card is involved.

The skill covers three install routes. The quick one runs ./setup.sh, which builds a .venv, pulls in the Python dependencies and prints the command to start things. There is also a conda path pinned to Python 3.11, and a Docker path via docker compose up --build. Once running, the grading API answers on http://localhost:8000 and the web app on http://localhost:3000. Under Docker your progress lives in a volume; docker compose down -v wipes it.

Adding problems is the other half. Each one is a Python module under torch_judge/problems/ holding a description, starter code, a reference solution and the test function. The skill lays out that structure, so you can copy the shape for your own exercise. The built-in AI hint is optional and switches on through AI_HELP_BASE_URL, AI_HELP_API_KEY and AI_HELP_MODEL in web/.env; any OpenAI-compatible endpoint works. With no server-side key, a user can still paste their own in the interface.

What it helps with

  • host an ML practice platform locally
  • write a new problem module for Pyre Code
  • run the grading service on its own
  • point the AI hint at your own endpoint
  • debug a submission that keeps failing

Example prompts for the agent

  • Set up Pyre Code with Docker and tell me which ports the services use
  • Add a new problem to torch_judge/problems/ for implementing RMSNorm
  • Wire the AI hint to my endpoint through web/.env

How to install pyre-code-ml-practice

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill pyre-code-ml-practice -a claude-code

2Manually: put the files in place

~/.claude/skills/pyre-code-ml-practice/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pyre-code-ml-practice/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pyre-code-ml-practice

How do I install pyre-code-ml-practice in Claude Code?

Run npx skills add reason-machines/trending-skills --skill pyre-code-ml-practice -a claude-code. The skill lands at ~/.claude/skills/pyre-code-ml-practice/SKILL.md.

What does pyre-code-ml-practice do?

It guides you through hosting Pyre Code: installing it, starting the grading service and frontend, configuring the AI hint, and adding new ML problems.

Does Pyre Code need a GPU?

No. Submissions are graded on CPU, so a GPU is not required.

Similar skills

All skills for AI and ML →

From the same set139

alayarenderer-generative-world An agent skill that walks you through AlayaRenderer: splitting RGB video into G-buffers and restyling footage from a text prompt. CX Codex +1 564installs keychron-keyboards-hardware-design Lets your agent work with Keychron's open CAD files — STEP, DXF, DWG and PDF for keyboards and mice. Useful for 3D printing or laser cutting. CX Codex +1 550installs 3dsvg-interactive-react Turns SVGs and text into interactive 3D React components with the 3dsvg library. Useful for a dimensional logo or hero badge. CX Codex +1 529installs littlesnitch-linux A skill covering the open-source part of Little Snitch for Linux: Rust eBPF programs that intercept network connections and block hosts from lists. CX Codex +1 518installs maoxuan-skill-cognitive-framework A skill that hands your agent a set of thinking models drawn from Mao Zedong's writings: find the principal contradiction, plan from the weaker side, gather allies. CX Codex +1 513installs codex-oauth-automation-extension Installs a Chrome extension that walks the whole OpenAI OAuth signup and login: pulls the email code, confirms the callback, repeats for several rounds. CX Codex +1 505installs rattles-terminal-spinners A Claude skill covering rattles, a minimal Rust library for terminal spinners. Useful when a CLI needs a loading indicator without extra dependencies. CX Codex +1 497installs moss-tts-nano-speech A skill that shows the agent how to run MOSS-TTS-Nano, a tiny multilingual speech model with voice cloning that works on CPU. CX Codex +1 478installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor