PuzzleTide Sudoku

Use this skill whenever the user asks to generate, solve, or check a sudoku — printable sudoku sheets, daily puzzles, difficulty-graded puzzles, or verifying...

catorch

@catorch

What This Skill Does

Generates, solves, and validates sudoku puzzles via a local CLI. Supports difficulty-graded generation, instant solving with uniqueness verification, and printable PDF output.

Replaces unreliable hand-made puzzles and slow manual solving with a CLI that guarantees unique-solution puzzles and instant solving.

When to Use It

  • Generate a hard sudoku puzzle for a printable worksheet
  • Solve a sudoku grid from a user-provided 81-character string
  • Validate whether a candidate sudoku solution is correct and unique
  • Fetch the daily medium sudoku puzzle for a given UTC date
  • Export a sudoku puzzle and its solution as a PDF for printing

Install

$ openclaw skills install @catorch/puzzletide-sudoku

PuzzleTide Sudoku

Generate, solve, and validate sudoku with the local PuzzleTide CLI.

Never generate or solve a sudoku by hand. Hand-made puzzles usually have multiple solutions or none; hand-solving is slow and error-prone. The CLI verifies every generated puzzle has exactly one solution, and its solver is instant.

Prefer the local CLI. Check availability in this order:

ptide --version
puzzletide --version
npx puzzletide --version

If none of those work, ask the user before installing (npm install -g puzzletide).

Grid format

81 characters, row by row; digits 1-9 are givens, . / 0 / _ are empty. Whitespace and separators are ignored on input.

Generate

ptide sudoku generate --difficulty hard            # easy | medium | hard | expert
ptide sudoku generate --seed 42 --pdf sudoku.pdf   # printable with solution page
ptide run puzzle.sudoku.generate --difficulty expert --json

Solve

ptide sudoku solve "53..7....6..195....98....6.8...6...34..8.3..17...2...6.6....28....419..5....8..79"
ptide sudoku solve --file puzzle.txt --json

The solver also reports whether the solution is unique.

Validate (is this a proper sudoku?)

ptide sudoku validate --file puzzle.txt --json

Reports conflicts among givens, solvability, and solution uniqueness. Use this to check user-provided puzzles before solving, or to verify a candidate answer grid follows the rules.

Daily puzzle

ptide daily        # same medium puzzle for everyone on a given UTC day

Links

Safety

  • Everything runs locally; no account, API key, or network access.
  • Do not install packages without asking the user first.

Top skills in this category