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

glance

一種回覆風格和線條圖示,讓 Claude 的重點一眼可見。

已翻譯

關於這個 mod

Glance 是一個 Claude Code 桌面應用程式外掛,結合回覆風格(供 /output-style 使用的 glance-en 或 glance-zh)與桌面線條圖示。它會指示 Claude 撰寫短段落,並用 24 個標記之一標示重點;桌面線條圖示會在 UI 中將這些標記繪製成彩色線條圖示。它只影響螢幕上的繪製,不會改變對話文字,也不會碰觸終端機、程式碼區塊和句中標記。安裝需要 Claude Code 2.1.286+,並將 CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 加到 ~/.claude/settings.json。

安裝

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

claude plugin marketplace add yzwooyi/claude-glance
claude plugin install glance
原文 / README
<p align="center"> <picture> <source media="(prefers-color-scheme: light)" srcset="docs/logo-light.svg"> <img src="docs/logo.svg" alt="Glance" height="72"> </picture> </p>

Glance (a plugin for the Claude Code desktop app)

Two things working together: a reply style that makes Claude write short paragraphs and mark each key point (conclusion, warning, verified result, and so on) with one of 24 markers, and desktop line icons that draw those markers as colored line icons, with a highlight line like # ✅ **Conclusion** drawn as a large heading. You need both enabled: install the plugin, then pick glance-en or glance-zh in /output-style. It only changes what is shown on screen, never the conversation text itself; the terminal, code blocks, and markers in the middle of a sentence are left alone.

Default Claude vs With Glance

Install (about 2 minutes)

Requires Claude Code 2.1.286 or later (the version bundled with the desktop app is fine).

  1. Open a terminal and run:
claude plugin marketplace add yzwooyi/claude-glance
  1. Then run:
claude plugin install glance@claude-glance --scope user
  1. Open ~/.claude/settings.json and add one line inside "env" (create env if it isn't there):
"env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" }
  1. Start a new Claude Code session.

To update later: claude plugin update glance@claude-glance, then start a new session.

The 24 icons

| marker | meaning | |---|---| | 🔴 | Red line / serious pitfall | | ⚠️ | Needs attention | | ✅ | Verified (actually tested) | | 📊 | Measured numbers | | 💡 | Conclusion / recommendation | | ❓ | I can't answer / you decide | | 🔧 | What I changed | | ⏳ | Waiting on a result / has a due date | | 👉 | You do this by hand | | 📎 | Deliverable (file / link) | | 🛡️ | Money / security path | | 📤 | Shipped (in effect) | | 🔍 | What I found | | 💬 | Why / how it works | | 🧪 | Tests | | 🐛 | Bug / error | | ⚙️ | Settings / config | | 📁 | File / location | | 🎨 | Design / look | | 💰 | Quota / cost | | 📅 | Date / point in time | | 🤖 | Subagents | | 🔗 | External link | | ↩️ | Revert / undo |

Turning on the reply style

The plugin ships two reply styles that tell Claude when to use each of the 24 markers. After installing, pick one: in the terminal run /output-style (or open /config and change Output style); in the desktop app choose it under Output style in settings. Choose glance-en (English replies) or glance-zh (Chinese replies). Without one of these styles Claude won't use the markers, so there is nothing to draw.

Alternative if you don't want to change style

To have Claude use these 24 markers without switching reply style, add this to ~/.claude/CLAUDE.md:

## Key-point markers in replies
Put one emoji at the start of a paragraph for a real conclusion, finding, or warning, one per point; none on transitional sentences. Use only these 24:
🔴 red line / serious pitfall · ⚠️ needs attention · ✅ verified by actual testing · 📊 measured numbers · 💡 conclusion / recommendation · ❓ you decide
🔧 what I changed · ⏳ waiting on a result / due date · 👉 you do this by hand · 📎 deliverable (file / link) · 🛡️ money / security · 📤 shipped
🔍 what I found · 💬 why / how it works · 🧪 tests · 🐛 bug / error · ⚙️ settings · 📁 file location
🎨 design / look · 💰 quota / cost · 📅 date · 🤖 subagents · 🔗 external link · ↩️ revert / undo
Write the single most important conclusion on its own line as `# ✅ **Conclusion**` (at most 1–3 such lines per reply).

其他同名作品

更多類似作品