Rubik's Cube Solver

    by 禮江東

    1

    Solve any valid 3x3 Rubik's Cube from a 54-character facelet string and get back a short, ready-to-follow solution in standard Singmaster notation (`R U R' U2 ...`).

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Rubik's Cube Solver

    Example session with this skill installed

    LDDUULLLRUFFRRDBBDBDBUFFDFDFDLBDRFUBURULLBRLRLRFBBURFU

    • Read your context and instructions
    • Compiled the rubik s cube

    B2 U B2 L D L2 U2 B L2 B2 D2 F2 B2 D' F2 D2

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Solve any valid 3x3 Rubik's Cube from a 54-character facelet string and get back a short, ready-to-follow solution in standard Singmaster notation (R U R' U2 ...).

    • You have a scrambled cube described as a facelet string and want the moves that solve it.
    • You need a short solution (average ~19 moves), not just any solution.
    • You want a deterministic result: the same cube always gives the same solution — no randomness, no wall-clock dependence.
    • You are building a cube timer, trainer, robot, or puzzle app and need a dependency-free solver you can call from the command line.

    A from-scratch Kociemba two-phase solver, written in plain TypeScript with only the Node.js standard library:

    • Cubie model — corners and edges with orientations, parsed from the 54-letter facelet string.
    • Phase 1 reaches the subgroup where all corners and edges are oriented and the four E-slice edges sit in the slice (coordinates: corner twist, edge flip, slice position, plus a combined twist/flip table).
    • Phase 2 solves inside that subgroup (coordinates: corner permutation, U/D edge permutation, slice permutation) using only U/D quarter turns and R/L/F/B half turns.
    • Tables generated at runtime — all move tables and pruning tables are built by breadth-first search when the program starts (~1 second), so nothing large is shipped.
    • Search — finds the minimal phase-1 depth, enumerates phase-1 solutions once per depth (cached), then sweeps total solution length upward, with improvement passes using rotated move orders. The search is budgeted by node count only, so runs are byte-identical.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Game Development.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Node.js 22+

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Runs fully offline; no network access.

    Listedtoday

    What's inside

    Frequently Asked Questions

    Solve any scrambled 3x3 Rubik's Cube from a 54-character facelet string. A deterministic, from-scratch Kociemba two-phase solver in a single TypeScript file — no dependencies, no network, runs offline with Node.js 22+. Prints a short solution in standard Singmaster notation.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Rubik's Cube Solver on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Game Development