lemo-lot

Reviewed at commit 10cbf1d

抽签:给 Claude 增加抽签工具 draw_lot,抽到的签显示为签文卡片 · 默认关闭,在「安全」页开启 / Lots: adds a draw_lot tool for Claude and shows drawn lots as fortune cards · off by default, switch…

Made by
lemomo
What we checked

Adds a draw_lot tool that lets Claude pick a random fortune lot from a built-in list, and shows the result as a fortune card. It is off by default and switched on in the lemo-mod Safety page. It reads no files, runs no programs, makes no network calls and only stores the on/off switch.

Review details

Static review of the source at the pinned commit; not run. Registers hooks for session.start (joins lemo-core, registers the tool when the switch is on), lemo.caps, lemo.toggle, lemo.off, tool.call (only for its own mcp__lemo-lot__draw_lot tool, which returns a random lot from a hard-coded list or a short 'tool is off' message), and ui.render for ToolUse, ToolResult and ToolGroup of that tool (draws a card, SVG on desktop, boxed text in the terminal; the ToolGroup hook also appends cards to collapsed tool rows). Uses $.tool.register, $.store get/set for the 'tool' switch, $.state reads of lemo-core, and $.lemo.play for a sound. No fetch, no process calls, no file access. The SVG text is XML-escaped. Needs the separate lemo-core plugin (declared dependency, not part of this bundle). Other tool calls pass through unchanged.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of lemo-lot

抽签:给 Claude 增加抽签工具 draw_lot,抽到的签显示为签文卡片 · 默认关闭,在「安全」页开启 / Lots: adds a draw_lot tool for Claude and shows drawn lots as fortune cards · off by default, switch on in Safety

Made this mod? Add a badge to your README

modsforClaude badge for lemo-lot

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/lemo-lot.svg)](https://modsforclaude.com/mods/lemo-lot/)

← All mods