360 Secure SkillHub
360 安全技能中心

PuzzleTide Crossword

该 Skill 调用本地 PuzzleTide CLI(ptide/puzzletide,也可经 npx 运行)生成纵横字谜:接受自定义“词语:提示”列表、JSON 词条文件或主题词库,自动交错排版并编号,输出含空白网格、提示列表与答案的 PDF 或 JSON 结构。声明本地生成、无需账号或 API Key;安装 npm 包前需先征得用户同意。

catorch
catorch
热度 7.65
最近更新 2026-07-17 15:57:25
分类:创作依赖:代码执行 / 读写文件应用场景:模板 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add puzzletide-crossword
Metadata
name
puzzletide-crossword
description
Use this skill whenever the user asks for a crossword puzzle — custom word/clue lists, themed crosswords, educational worksheets, or printable PDFs. Generates valid interlocking grids with standard numbering locally with the PuzzleTide CLI instead of hand-drawing grids.
version
0.1.1
author
Caravaca Labs
homepage
https://puzzletide.com/crossword
metadata
{"openclaw":{"tags":["puzzles","crossword","printable","puzzletide","cli"],"requires":{"anyBins":["ptide","puzzletide"]},"install":[{"kind":"node","package":"puzzletide","bins":["ptide","puzzletide"]}]},"hermes":{"tags":["puzzles","crossword","printable","puzzletide","cli"],"category":"content-creation","requires_toolsets":["terminal"]}}

PuzzleTide Crossword

Generate crossword puzzles with the local PuzzleTide CLI.

Never hand-draw a crossword grid. Language models cannot reliably keep intersecting words consistent. The CLI places words with real intersections, assigns standard crossword numbering, and validates that every clue's answer matches the grid before returning — words that cannot interlock are reported as unplaced instead of silently broken.

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).

Generate with your own clues (best quality)

Write the clues yourself — you are good at clues; the CLI is good at grids:

ptide crossword generate --words "PARIS: Capital of France; TOKYO: Capital of Japan; OSLO: Capital of Norway"

For longer lists use a JSON file:

ptide crossword generate --file words.json --pdf crossword.pdf
# words.json: [{"word": "PARIS", "clue": "Capital of France"}, ...]

Generate from a themed word bank

Clues are auto-generated puzzle-style hints (unscramble, letter counts):

ptide crossword generate --theme food/fruits --count 10

For better clues, pull the words and write clues yourself:

ptide words list food/fruits --count 10 --json
# ...then pass your own word:clue pairs to crossword generate.

Printable and structured output

ptide crossword generate --file words.json --pdf crossword.pdf --title "Science Review"
ptide run puzzle.crossword.generate --theme animals --json

The PDF has three sections: empty numbered grid, clue list, and solution. --json returns the grid ("#" = black cell) plus across/down clues with coordinates — ready for rendering in an app.

Links

Safety

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