WooCommerce Code Review
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
A skill your agent uses when a batch of env-gated (ifdef MPKDSV3 / os.environ-controlled, default-OFF) MPK optimization levers needs to be consolidated into a single clean code path for a PR…
$ npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mirage-project/mirage mpk-lever-cleanup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mirage-project/mirage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mpk-lever-cleanup .claude/skills/mpk-lever-cleanup && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mpk-lever-cleanup" agent skill from https://github.com/mirage-project/mirage/tree/mpk/.claude/skills/mpk-lever-cleanup into .claude/skills/mpk-lever-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpk-lever-cleanup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mirage-project/mirage/tree/mpk/.claude/skills/mpk-lever-cleanupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mirage-project/mirage mpk-lever-cleanup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mirage-project/mirage.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/mpk-lever-cleanup .agents/skills/mpk-lever-cleanup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mpk-lever-cleanup" agent skill from https://github.com/mirage-project/mirage/tree/mpk/.claude/skills/mpk-lever-cleanup into .agents/skills/mpk-lever-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpk-lever-cleanup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mirage-project/mirage mpk-lever-cleanup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mirage-project/mirage.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/mpk-lever-cleanup .cursor/skills/mpk-lever-cleanup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mpk-lever-cleanup" agent skill from https://github.com/mirage-project/mirage/tree/mpk/.claude/skills/mpk-lever-cleanup into .cursor/skills/mpk-lever-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpk-lever-cleanup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mirage-project/mirage.git --path .claude/skills/mpk-lever-cleanup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mirage-project/mirage mpk-lever-cleanup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mirage-project/mirage.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/mpk-lever-cleanup .gemini/skills/mpk-lever-cleanup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mpk-lever-cleanup" agent skill from https://github.com/mirage-project/mirage/tree/mpk/.claude/skills/mpk-lever-cleanup into .gemini/skills/mpk-lever-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpk-lever-cleanup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mirage-project/mirage mpk-lever-cleanupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mirage-project/mirage.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/mpk-lever-cleanup .github/skills/mpk-lever-cleanup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mpk-lever-cleanup" agent skill from https://github.com/mirage-project/mirage/tree/mpk/.claude/skills/mpk-lever-cleanup into .github/skills/mpk-lever-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpk-lever-cleanup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mirage-project/mirage mpk-lever-cleanup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mirage-project/mirage.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/mpk-lever-cleanup .opencode/skills/mpk-lever-cleanup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mpk-lever-cleanup" agent skill from https://github.com/mirage-project/mirage/tree/mpk/.claude/skills/mpk-lever-cleanup into .opencode/skills/mpk-lever-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mpk-lever-cleanup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mpk-lever-cleanupA skill your agent uses when a batch of env-gated (ifdef MPKDSV3 / os.environ-controlled, default-OFF) MPK optimization levers needs to be consolidated into a single clean code path for a PR…
Mpk Lever Cleanup is an agent skill from mirage-project/mirage. Use when a batch of env-gated (ifdef MPKDSV3 / os.environ-controlled, default-OFF) MPK optimization levers needs to be consolidated into a single clean code path for a PR: hard-wire every winning lever as the default, delete the legacy else branches, remove the env vars that select new-vs-old logic, revert dead levers that measured KILL/NULL/regress, delete diagnostic probes, then commit one clean version. Applies to the wrap-up stage where the optimization work has settled and is being merged to mainline. Not…
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Code quality. The repository describes itself as: Mirage Persistent Kernel: Compiling LLMs into a MegaKernel. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f9eb70c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mpk Lever Cleanup loads about 2.2k tokens when it runs. Until then it costs about 165 tokens; SKILL.md has 1,053 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mirage-project/mirage at commit f9eb70c, republished under its Apache-2.0 licence (© mirage-project). 1,053 words, ~2,206 tokens.
.claude/skills/mpk-lever-cleanup/SKILL.md (or your agent's skills folder).During exploration, every MPK performance optimization is an env-gated,
default-OFF lever (#if MPK_DSV3_XXX + the #else legacy path +
os.environ.get(...) → -D injection in persistent_kernel.py). Once the work
has settled and is headed for mainline, the levers must be consolidated into a
single path: hard-wire the winners as the default, delete the legacy code,
remove the control variables. This skill is the complete procedure — plus the
pitfalls actually hit — from that wrap-up refactor.
Core mindset: this is a refactor that intentionally changes the default build — the default path flips from "the safe legacy logic" to "the optimized path". The usual "default build must stay byte-identical" commit gate is therefore deliberately waived here; that is the whole point of this commit.
grep -rhoE "MPK_(DSV3_)?[A-Z0-9_]+" <the megakernel .cuh files> <builder.py> <persistent_kernel.py> \
| sort -u | grep -vE "MPK_(MAX|PAGE|PROFILING|NUM)"List both the #ifdef gates in the .cuh files and the os.environ/-D
injections in persistent_kernel.py.
| Class | Action | How to decide |
|---|---|---|
| WIN | Hard-wire ON: remove the gate + delete the #else legacy + remove the env injection; keep the geometry guard (TP8/mbt/workers) | Lever already committed in git log + a WIN row in experiment_history |
| DEAD | Fully revert (delete all of its code; roll back any ABI it changed) | A KILL/NULL/REGRESS row in experiment_history |
| DIAGNOSTIC | Delete (probe/no-op/poison/xor — not a lever) | Name contains PROBE/NOOP/POISON/XOR; used only for measurement |
| ALREADY-ON | Confirm it is still present; keep it as the unconditional default (do not add a gate) | grep persistent_kernel.py: is it already injected via -D unconditionally? |
| LEAVE-UNTOUCHED | Do not touch | A fallback outside this path (e.g. the TP<8 ROUTER_GEMV), inert, or a generic non-DSv3 flag |
⚠️ Classification must be verified, never recalled from memory. Pitfalls
actually hit: TOPK_PARALLEL, assumed default-OFF and slated for revert, is in
fact ON in every decode build (part of the current winning stack — KEEP);
ROUTER_GEMV, assumed obsolete, is in fact the router of the TP<8 fallback
(must not be deleted). Use grep -n on the injection condition in
persistent_kernel.py and check whether the gate is actually exercised at the
production geometry.
Hand the gate inventory + classification + goal to Codex (mcp__codex__codex)
for a multi-round discussion: validate the classification, agree on a safe
execution order, the correctness risks, how to verify the ABI-revert, and the
structural-vs-leaf distinction. Codex will catch conflicts in the
classification (see the step-2 pitfalls).
Before changing anything, run the current winning stack (all levers ON) and record its output: e2e tpot + logits/prose (run it twice to get the A/A nondeterminism envelope). The final "clean default build" is compared against this winning-stack reference, not against the old safe default.
(num_in,num_out,TASK_ENUM,variant) tuple in graph.cc/task_register or
added a tensor, a single ABI mismatch = "Invalid global read" at runtime. If
those changes were never committed, simply
git checkout HEAD -- <producer files> to return to a clean ABI, then:git diff HEAD -- graph.cc task_register.cc tasks.py multigpu.py allreduce.cuh | wc -l # expect ≈ 0
grep -rn "tile_sumsq|<sidecar tokens>|input_ptrs\[N\]" <files> # expect 0#else):
remove the gate, delete the #else, keep the geometry guard → build-check.--layers 0-3 in-MPK smoke.
(Structural gates are more dangerous than leaves — removing one deletes a
whole alternate code path. Do it after the tree has already shrunk.)--layers 0-3 confirms the hard-wired megakernel really
instantiates and runs (the #else-deleted path only instantiates at
world_size==8)..claude/, scratch/, experiment_history/,
CSVs/outputs/.pk_compile and other local artifacts.mpk-commit-reviewer and tell it explicitly that the default-build
change is intentional (otherwise it will BLOCK per the standard gate); it
still checks staged-path hygiene, the allowed surface, the message, and the
correctness story.Co-Authored-By.#else call site, the
__device__ function definition may remain (nvcc elides it; harmless but
unclean); either delete it or flag it as a known nit in the PR.grep -c <the win's body symbol> that the win's body is still present
(zero refs to the macro ≠ the win was deleted; possibly only the gate was
removed and the body became unconditional).© mirage-project, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/mpk-lever-cleanup of mirage-project/mirage.
Open the folder on GitHubat commit f9eb70c
Mpk Lever Cleanup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mpk Lever Cleanup this skillmirage-project/mirage | 2.5k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| Ponytail Lazy Developer ModeDietrichGebert/ponytail | 160k | 1 repos | ~873 | Automated safety check: Pass | MIT | |
| Systematic Code Refactoringluongnv89/claude-howto | 42k | — | ~3k | Automated safety check: Pass | MIT | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.4k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Constraint-Driven Developmentaddyosmani/agent-skills | 105k | 2 repos | ~5.2k | Automated safety check: Pass | MIT |
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
DietrichGebert/ponytail
Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.
luongnv89/claude-howto
Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
addyosmani/agent-skills
Records a project's quality bar in CONSTRAINTS.md and watches diffs for signs an agent quietly weakened it, such as suppressions, skipped tests or lowered thresholds.
Dolibarr/dolibarr
Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.
mirage-project/mirage
Runtime-V2 performance-iteration workflow. An agent skill from mirage-project/mirage.
mirage-project/mirage
Step-by-step guide for adding a new task implementation to Mirage Persistent Kernel (MPK).
mirage-project/mirage
A skill your agent uses when the user wants to design or extend a FlashAttention-style forward kernel on B200/Blackwell, involving the two MMAs QKᵀ and PV, online softmax, S/P/O in TMEM, warp roles…
mirage-project/mirage
Build or run a FAITHFUL in-MPK per-task latency gate (slowCTA at the production grid + cos) for a DeepSeek-V3 MPK decode kernel or shape.
mirage-project/mirage
Guide for using MPK test mode to unit-test individual layers or multi-layer pipelines through the full compilation pipeline.
mirage-project/mirage
End-to-end pipeline for adding or porting a model to MPK Runtime-V2 — from a compute-graph spec (shapes + draw.io graph + HF checkpoint + TP/EP plan) to a working multi-GPU demo.
Categories
A skill your agent uses when a batch of env-gated (ifdef MPKDSV3 / os.environ-controlled, default-OFF) MPK optimization levers needs to be consolidated into a single clean code path for a PR…. Mpk Lever Cleanup is an agent skill from mirage-project/mirage.environ-controlled, default-OFF) MPK optimization levers needs to be consolidated into a single clean code path for a PR: hard-wire every winning lever as the default, delete the legacy else branches, remove the env vars that select new-vs-old logic, revert dead levers that measured KILL/NULL/regress, delete diagnostic probes, then commit one clean version.
Mpk Lever Cleanup fits situations like: A batch of env-gated (ifdef MPKDSV3 / os.environ-controlled; delete the legacy else branches; remove the env vars that select new-vs-old logic; revert dead levers that measured KILL/NULL/regress.
Run `npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a claude-code`. Or copy the skill folder (.claude/skills/mpk-lever-cleanup in mirage-project/mirage) into .claude/skills/mpk-lever-cleanup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a codex`. Or copy the skill folder (.claude/skills/mpk-lever-cleanup in mirage-project/mirage) into .agents/skills/mpk-lever-cleanup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mirage-project/mirage --skill mpk-lever-cleanup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mpk-lever-cleanup, .gemini/skills/mpk-lever-cleanup, .github/skills/mpk-lever-cleanup and .opencode/skills/mpk-lever-cleanup in your project.
Going by SKILL.md and its folder, Mpk Lever Cleanup needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mpk Lever Cleanup is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mpk Lever Cleanup: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 160k stars), Systematic Code Refactoring (luongnv89/claude-howto, 42k stars) and Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mirage-project (a GitHub organization) maintains it in mirage-project/mirage, which has 2,545 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 7, 2026.
Source: mirage-project/mirage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.