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

sticky-suggestion

Claude Code mod,在运行 /copy 等斜杠命令后恢复提示框里的暗色提示。

已翻译

关于这个 mod

通常,运行本地斜杠命令会清除 Claude Code 在输入框中显示的后续提示。此 mod 会记住上一次显示的提示,并在命令结束后再次提出它。新的模型回合会丢弃这条提示,因为该回合会生成自己的新提示。因此应执行 /clear、/resume 和 /rewind;它们会切换到一段不再适合旧提示的对话。

在 Claude Code 内安装: /plugin marketplace add mmorearty/sticky-suggestion /plugin install sticky-suggestion@sticky-suggestion

或者克隆仓库并让 Claude Code 指向它: git clone https://github.com/mmorearty/sticky-suggestion.git claude --plugin-dir ./sticky-suggestion

许可证:MIT

安装

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

claude plugin marketplace add mmorearty/sticky-suggestion
claude plugin install sticky-suggestion
原文 / README

sticky-suggestion

A Claude Code mod that restores the dim prompt suggestion after you run a slash command like /copy.

Normally, running a local slash command clears the suggested next prompt that Claude Code shows in the input box. This mod remembers the last suggestion that was shown and re-proposes it once the command finishes. A new model turn discards it, since that turn produces a fresh suggestion of its own. So do /clear, /resume and /rewind, which move to a conversation the old suggestion no longer fits.

Install

From inside Claude Code:

/plugin marketplace add mmorearty/sticky-suggestion
/plugin install sticky-suggestion@sticky-suggestion

Or clone the repo and point Claude Code at it:

git clone https://github.com/mmorearty/sticky-suggestion.git
claude --plugin-dir ./sticky-suggestion

Development

claude plugin validate .
claude plugin test .

License

MIT

更多类似作品