跳到正文
TakoAPI
返回技能列表

boggle

由 christianhaberl 提供

PDF & Documents
1.7k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Solve Boggle boards — find all valid words (German + English) on a 4x4.

描述

该技能的功能

Solves 4x4 Boggle boards by finding all valid words across English and German dictionaries (359K and 1.35M words respectively). Uses a trie-based DFS algorithm with dictionary-only matching, no AI guessing. Works from a photo of a board or typed letters.

Dictionary-only validation guarantees no hallucinated words, unlike LLM-based solvers that can return words that don't exist in any dictionary.

何时使用

  • Finding every valid word on a physical Boggle board from a photo
  • Maximizing score by identifying long, high-value words before time runs out
  • Playing bilingual Boggle with English and German results side by side
  • Settling disputes about whether a word is reachable on a specific grid
  • Practicing vocabulary by seeing all valid words on a given layout

示例工作流

输入

User asks: here's a photo of my Boggle board, what words can I find?

智能体
  1. 1

    Read the 4x4 letter grid from the photo left-to-right, top-to-bottom

  2. 2

    Display the interpreted grid and ask the user to confirm it is correct

  3. 3

    Run the solver for English: python3 skills/boggle/scripts/solve.py ... --lang en

  4. 4

    Run the solver for German: python3 skills/boggle/scripts/solve.py ... --lang de

  5. 5

    Present results as two labeled sections grouped by word length and score

输出

Two labeled word lists (English / German) with all valid words found and their point values

安装

clawhub install christianhaberl/boggle

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接