Leegen — AI skill for Claude Code
A local, LeetCode-style trainer built for AI agents.
How to install Leegen
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open knarfthekant/leegen and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Leegen does
A local, LeetCode-style trainer built for AI agents. No fixed problem bank: your agent (Claude Code, Codex, any MCP client) writes problems as YAML, tutors you in the browser editor, and runs tests on CPU or GPU. Highly customizable: environments, judges, languages and executors, from plain Python to CUDA and Triton.
Alternatives in AI
- Agenvoy — Self-hosted AI agent harness in a single Go binary — writes, sandbox-tests and repairs its own tools, and lets 474 ★
- BossConsole — Open-source, multi-platform harness for AI agents — a native, multi-threaded operator's console (JVM, not Elec 227 ★
- Glade MCP — Connect any MCP-compatible AI client (Claude Code, Cursor, Windsurf) to Unity or Godot 201 ★
README
leegen
**Your coding agent creates the problems. You do the learning.**
[](https://leegen.frankshan.workers.dev) [](https://www.python.org/) [](https://react.dev/) [](https://pyodide.org/) [](https://www.w3.org/TR/webgpu/) [](#how-it-works-with-your-coding-agent)
[Try the browser edition](https://leegen.frankshan.workers.dev) · [Server quick start](#quick-start-server-edition) · [Choose an edition](#choose-an-edition) · [Documentation](#development-and-documentation)
A LeetCode-style programming trainer where **your coding agent writes the problems, and you solve them**. Ask for an exercise on a topic you want to learn, work through it in the browser, and ask the same agent for hints or feedback. Use the hosted browser edition to run Python and WebGPU exercises in your browser, or run the server edition locally for native and remote CPU and GPU execution.
There is no fixed problem bank: the repo includes examples, and your agent can create new problems or adapt existing ones to your level. Exercises can cover algorithms, async Python, multi-file services, WebGPU, PyTorch, Triton, or CUDA kernels.
Highlights
- Problems made for you: ask an agent for a new exercise or adjust an existing one. Each YAML problem includes starter code, tests, a reference solution, and its runtime requirements.
- A tutor beside your editor: share your current attempt with an agent, run tests, receive line-level comments, and review proposed edits.
- CPU and GPU practice: solve Python and WebGPU exercises in the browser, or use t
Related Skills
AI Coding Interview Practice
Practice the AI-assisted coding interview format with your own coding agent: ten problems with planted bugs, s
How To Do Good Research
Agent skill for doing good research: points the model to a short, curated set of high-signal research advice b
Resumecraft
Consistent, one-page resumes from any AI agent. An MCP server and Claude Code plugin let agents write and rend
Kimi Webbridge Lockdown
Lock Kimi WebBridge (or any debugger-based AI browser-control extension) out of your bank, broker and mailbox
AI Tech Task Solver Chrome Extension
Simple Chrome extension that uses AI (OpenAI GPT-4 Vision, Anthropic Claude) to analyze web page screenshots,
Computing Notes
AQA A-Level Computer Science revision site I built by directing Claude Code AI agents: 79 pages, 2,180 questio
Related Agents
Finding Consolidator
Decides which co-located findings from different review dimensions describe the same underlying defect, so eac
Acp Client
The Agent Client Protocol standardizes how editors talk to coding agents, but each editor needs a client imple
Swe Dev Structured Problem Solver
A research-backed problem-solving harness for software engineering. Uses Wankat and Oreovicz's engineering loo