← 返回 Skills 市场
christianhaberl

Boggle Solver

作者 christianhaberl · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1944
总下载
1
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install boggle
功能描述
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).
使用说明 (SKILL.md)

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)

  1. Read the 4x4 grid from the photo (left-to-right, top-to-bottom)
  2. Show the grid to the user and ask for confirmation before solving
  3. Only after user confirms → run the solver
  4. 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 words
  • data/words_german_boggle.txt — 1.35M German words

Performance

  • Trie build: ~11s (first run, 1.7M words)
  • Solve: \x3C5ms per board
安全使用建议
This skill is coherent and appears to do what it says: a local Boggle solver that auto-downloads large English/German wordlists from a public GitHub repository on first run. Before installing, be aware that: - The skill will fetch ~1.7M word entries (large files) from raw.githubusercontent.com (a public GitHub repo). If you have network or disk constraints or a policy against runtime downloads, get the data files manually and place them under skills/boggle/data/. - The repo used is a user project (christianhaberl); if you require higher assurance, inspect the dictionary files and the repo history yourself prior to running. - The skill does not include OCR/image parsing — your agent or environment must extract the 4x4 letters from photos and pass them to the solver. - No credentials are requested and there are no hidden endpoints or attempts to read unrelated system files. If these points are acceptable, the skill is reasonable to install; if you need stricter supply-chain guarantees, download and vet the dictionary files yourself and/or host them on an approved source.
功能分析
Type: OpenClaw Skill Name: boggle Version: 1.0.0 The skill is designed to solve Boggle boards and explicitly downloads large dictionary files from its own GitHub repository (https://raw.githubusercontent.com/christianhaberl/boggle-openclaw-skill/main/data) on first run, as documented in SKILL.md and implemented in data/download.py and scripts/solve.py. This network activity is transparent, serves a clear functional purpose (loading dictionaries), and the downloaded files are treated as data, not executable code. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts against the agent in SKILL.md. The instructions for the agent are clear and aligned with the stated purpose.
能力评估
Purpose & Capability
Name/description match the code and files: a trie-based Boggle solver for English and German. The included scripts implement the solver and the described features (Qu tile support, bilingual runs, scoring). Required capabilities (none) are proportionate to the stated purpose.
Instruction Scope
SKILL.md tells the agent to 'read the 4x4 grid from the photo' and to confirm with the user before running; the provided code implements only the solver CLI and dictionary download, not OCR or image parsing. This is a scope mismatch (the agent must handle OCR / photo parsing externally) but not a security issue. The runtime instructions do not ask the agent to read unrelated files, environment variables, or contact unexpected endpoints other than GitHub raw content.
Install Mechanism
No install spec is present (instruction-only), which minimizes install risk. The runtime code auto-downloads two dictionary files from a GitHub raw URL (raw.githubusercontent.com/christianhaberl/...). Downloading code/data from a public GitHub repo is expected here but still involves network fetch of large files; the URLs are not shortened or obfuscated and point to a user repo rather than an official organization — reasonable for this use but worth noting.
Credentials
The skill requests no environment variables, credentials, or config paths. The code only reads/writes files under its own data directory and performs network fetches for dictionary files. No secret exfiltration vectors are present.
Persistence & Privilege
The skill is not forced-always, does not request persistent elevated privileges, and does not modify other skills or global config. It runs locally and only downloads dictionaries into its data directory on first run.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install boggle
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /boggle 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: trie-based DFS, 1.7M words (DE+EN), Qu-tile support, <5ms solve. Dictionaries auto-download from GitHub.
元数据
Slug boggle
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

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。

💬 留言讨论