Boggle Solver
/install boggle
Boggle Solver
Fast trie-based DFS solver with dictionary-only matching. No AI/LLM guessing — words are validated exclusively against bundled dictionaries (359K English + 1.35M German).
Workflow (from photo)
- Read the 4x4 grid from the photo (left-to-right, top-to-bottom)
- Show the grid to the user and ask for confirmation before solving
- Only after user confirms → run the solver
- Always run English and German SEPARATELY — present as two labeled sections (🇬🇧 / 🇩🇪)
Solve a board
# English
python3 skills/boggle/scripts/solve.py ELMU ZBTS ETVO CKNA --lang en
# German
python3 skills/boggle/scripts/solve.py ELMU ZBTS ETVO CKNA --lang de
Each row is one argument (4 letters). Or use --letters:
python3 skills/boggle/scripts/solve.py --letters ELMUZBTSETVOCKNA --lang en
Options
| Flag | Description |
|---|---|
--lang en/de |
Language (default: en; always run EN and DE separately) |
--min N |
Minimum word length (default: 3) |
--json |
JSON output with scores |
--dict FILE |
Custom dictionary (repeatable) |
Scoring (standard Boggle)
- 3-4 letters: 1 pt
- 5 letters: 2 pts
- 6 letters: 3 pts
- 7 letters: 5 pts
- 8+ letters: 11 pts
How it works
- Builds a trie from dictionary files (one-time, ~11s)
- DFS traversal from every cell, pruned by trie prefixes
- Adjacency: 8 neighbors (horizontal, vertical, diagonal)
- Each cell used at most once per word
- Qu tile support: Standard Boggle "Qu" tiles are handled as a single cell (e.g.,
QUENHARI...→ "QU" occupies one position) - All matching is dictionary-only — no generative/guessed words
Data
Dictionaries are auto-downloaded from GitHub on first run if missing.
data/words_english_boggle.txt— 359K English wordsdata/words_german_boggle.txt— 1.35M German words
Performance
- Trie build: ~11s (first run, 1.7M words)
- Solve: \x3C5ms per board
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install boggle - 安装完成后,直接呼叫该 Skill 的名称或使用
/boggle触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Boggle Solver 是什么?
Solve Boggle boards — find all valid words (German + English) on a 4x4 letter grid. Use when the user shares a Boggle photo, asks for words on a grid, or plays word games. Includes 1.7M word dictionaries (DE+EN). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1944 次。
如何安装 Boggle Solver?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install boggle」即可一键安装,无需额外配置。
Boggle Solver 是免费的吗?
是的,Boggle Solver 完全免费(开源免费),可自由下载、安装和使用。
Boggle Solver 支持哪些平台?
Boggle Solver 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Boggle Solver?
由 christianhaberl(@christianhaberl)开发并维护,当前版本 v1.0.0。