Skip to content
Back to skills

D2r Cube

ASecurity

Create or change Horadric Cube recipes in a Diablo II Resurrected modkit mod - crafting, upgrades, rerolls, socketing, portals, gold or condition-gated recipes. Use for any cube/crafting/transmute request.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
ai-agentspythongo

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add Nugwa628/d2rAI-toolkit --skill d2r-cube --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of D2r Cube?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for D2r Cube
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nugwa628-d2r-cube/badge)](https://www.skillsdirectory.com/skills/nugwa628-d2r-cube)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: d2r-cube
description: Create or change Horadric Cube recipes in a Diablo II Resurrected modkit mod - crafting, upgrades, rerolls, socketing, portals, gold or condition-gated recipes. Use for any cube/crafting/transmute request.
---

# Cube recipes (cubemain.txt)

`python -m modkit show cubemain "<description>"` shows a vanilla recipe; `find cubemain op=...` finds by column.

## A recipe row
- `description` (key, any text), `enabled` 1, `version` 100 (expansion), `min diff`, `class` (restrict).
- Inputs: `numinputs` (total item count), `input 1-7`: an item code, item type, unique/set name in quotes, with
  qualifiers after commas: `"rin,mag"` (magic ring), `qty=3`, `sock=2`, `nos` (no sockets), `pre=`/`suf=`, `upg`,
  `bas`/`exc`/`eli`, `nru`, `noe`. Quote a cell with commas.
- Output: `output` (code, type, "Cow Portal", "Pandemonium Portal", "useitem", "usetype", ...) with qualifiers
  (`mag`, `rar`, `uni`, `set`, `crf`, `tmp`, `sock=N`, `rep`, `rch`, `pre=`, `suf=`, `reg`, `exc`, `eli`,
  `uns`, `rem`), `lvl`/`plvl`/`ilvl` (item level rules), `mod 1-5` + `chance`/`param`/`min`/`max` (properties);
  `output b`/`output c` with the same columns for extra outputs.
- Portal outputs: "Cow Portal" opens only the Cow Level. "Red Portal" (D2R only) opens level `lvl=` from the town of
  that level's act, and `qty` is its per-game limit (knowledge/cube.md).
- Extra items left in the cube are destroyed by the transmute; equal inputs are taken in placement order.

## Conditions (op/param/value): D2R hard limits
D2R checks two kinds of conditions (recipe search 0x529090 and input matcher 0x529d50, build 93847):
- **Player conditions, ops 1-14** (on the player: date ranges, stat comparisons using param = stat ID and
  value). Any other op number here is **ignored (the recipe always passes)**, it does not fail.
- **Item conditions, ops 15-27+** are checked on each input item (stat comparisons on the item).
Op 28 is exact in D2R: a quest item from a lower difficulty no longer counts (knowledge/cube.md). So a recipe gated on something D2R doesn't check (gold cost, a quest flag, a random chance, a second condition)
needs a plugin hook on the recipe search; see the d2r-engine skill and knowledge/d2r-93847-addresses.md (cube).
Prefer item-based gating (an input token item, a stat on the input) which works in data alone.

## Build and test
Build, validate (it checks codes and qualifiers), install with the game closed. Test list: each recipe with exact
inputs, with one input missing (must fail), with an extra item (must fail), and the output's stats.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.