ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 philsimon

orange-prompt

一個 Claude Code 外掛,在你輸入時把草稿顯示成白色,放在橘色背景(`#C2410C`)上。

已翻譯

關於這個 mod

orange-prompt

一個 Claude Code 外掛,在你輸入時把草稿顯示成白色,放在橘色背景(#C2410C)上。工作階段很長時,這個顏色能把你的文字和 Claude 的文字區分開來。

內容

  • orange-prompt 外掛,掛接 prompt.edit 並替草稿上色。
  • Orange Dark 主題(theme/orange-dark.json),替你送出的每則訊息上色。

兩個部分會一起運作。外掛替草稿上色,主題替送出的訊息上色。

安裝外掛

claude plugin marketplace add philsimon/orange-prompt
claude plugin install orange-prompt@orange-prompt

接著執行 /reload-plugins。

安裝主題

mkdir -p ~/.claude/themes
cp theme/orange-dark.json ~/.claude/themes/

重新啟動一次 Claude Code,因為應用程式會在啟動時讀取 themes 資料夾。接著執行 /theme,選取 Orange Dark。

限制

  • prompt API 只會替文字範圍上色。空白的輸入框和外框維持原樣。
  • /commit 這類斜線指令列會畫在引擎自己的提示列上,外掛 hook 無法觸及那裡。主題會替那一列上色。

開發

.claude-plugin/types 資料夾不會納入 git。從另一個 Claude Code 外掛複製它,再執行:

claude plugin validate .
claude plugin test .

授權

MIT

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add philsimon/orange-prompt
claude plugin install orange-prompt
原文 / README

orange-prompt

A Claude Code mod that paints your draft white on an orange background (#C2410C) while you type. In a long session, the color separates your words from Claude's.

What It Includes

  • The orange-prompt plugin, which hooks prompt.edit and paints the draft.
  • The Orange Dark theme (theme/orange-dark.json), which colors every message you send.

The two pieces work together. The plugin colors the draft. The theme colors the sent message.

Install the Plugin

claude plugin marketplace add philsimon/orange-prompt
claude plugin install orange-prompt@orange-prompt

Then run /reload-plugins.

Install the Theme

mkdir -p ~/.claude/themes
cp theme/orange-dark.json ~/.claude/themes/

Restart Claude Code once, because the app reads the themes folder at launch. Then run /theme and select Orange Dark.

Limits

  • The prompt API paints text runs only. An empty input box and its border stay plain.
  • Slash-command rows such as /commit draw on the engine's own bar, which no plugin hook reaches. The theme colors that bar.

Develop

The .claude-plugin/types folder stays out of git. Copy it from another Claude Code mod, then run:

claude plugin validate .
claude plugin test .

License

MIT

更多類似作品