ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 mutlumehmet

answer-buttons

一个 Claude Code mod,在 Claude 最后一条回答下添加三个按钮(Plain English、Shorter、Plain & short),并提供对应的斜杠命令和可配置的通俗语言 skill。

mutlumehmet@mutlumehmet

mutlumehmet/claude-plugins/tree/main/plugins/answer-buttons

原帖图片1
已翻译

关于这个 mod

answer-buttons 会在 Claude 最近一条回答下显示三个小按钮:一个要求用带类比及其限制的 Plain English 重写,一个要求压缩成 2-3 句,另一个同时执行两者。也可使用 /answer-buttons:shorter 和 /answer-buttons:plain-short 键盘命令。plain_skill 设置允许两个 Plain 按钮交给自定义 skill。Hooks 只使用 turn.start/turn.complete 跟踪回合是否运行,ui.render 添加按钮行但不修改回答。mod 不进行网络调用或遥测。需要 Claude Code 2.1.287 或更高版本,通过 mutlumehmet/claude-plugins marketplace 安装。已知缺口:VS Code 聊天面板不绘制,结尾为隐藏区块的回答可能没有按钮。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add mutlumehmet/claude-plugins
claude plugin install answer-buttons
原文 / README

answer-buttons

A Claude Code mod that draws three small buttons under Claude's last answer. Part of claude-plugins.

What it does

| Button | What it sends | |---|---| | ✎ Plain English | Asks for the answer again in plain words: what the thing is, one labelled analogy and where it stops being true, where it is, and what breaks if it is wrong | | ✂ Shorter | Asks for the same answer cut to its point in 2 or 3 sentences, keeping any yes/no question and any copyable draft word for word | | ✎✂ Plain & short | Plain words, held to 2 or 3 sentences |

The buttons show only under the last answer, never while Claude is working. From the keyboard: /answer-buttons:shorter and /answer-buttons:plain-short.

Settings

| Setting | Default | What it does | |---|---|---| | plain_skill | empty | A skill the two Plain buttons run instead of the built in prompt, such as my-plugin:plain-english |

What it reads and does

  • Reads: whether Claude is answering and which answer is the latest, to draw the buttons under it.
  • Does: on a press, sends a fixed prompt as your message (Plain English, Shorter, Plain & short), or runs the skill named in plain_skill.
  • Hooks: turn.start and turn.complete only track whether a turn is running. ui.render on the answer adds the button row under the last answer and leaves the answer itself unchanged.
  • Privacy: see PRIVACY.md.
  • Never: sends anything anywhere (no network calls, no telemetry).

Install

Needs Claude Code 2.1.287 or later (mods). Tested on 2.1.289.

/plugin marketplace add mutlumehmet/claude-plugins
/plugin install answer-buttons@mehmetmutlu

A mod runs inside Claude Code with your permissions. Read the code before you install any mod. Settings are asked for at install, or later with /plugin configure answer-buttons@mehmetmutlu.

Known gaps

  • Nothing is drawn in the VS Code chat panel; use the commands there.
  • A reply that ends with a hidden block may get no buttons.

About

Mehmet Mutlu: work that's shipped, at mehmetmutlu.dev

Made by Mehmet Mutlu, part of claude-plugins. More of his work at mehmetmutlu.dev.

License

MIT

更多类似作品