hermes - 💡(How to fix) Fix [Feature]: 支援白天/黑夜自動切換 Skin Auto-switch skin based on time of day or system theme [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#18625Fetched 2026-05-03 04:55:24
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×2
RAW_BUFFERClick to expand / collapse

Problem or Use Case

Hermes 的 Skin 引擎已經非常完善,內建了多種主題,包括淺色主題(daylight、warm-lightmode)和深色主題(default、mono、ares、slate 等)。但目前只能手動透過 /skin <name> 指令或修改 display.skin 設定來切換。

在使用 CLI 的過程中,白天和黑夜的環境光線差異很大——白天用深色主題看不清,黑夜用淺色主題刺眼。如果能自動根據時間或系統主題切換 skin,能大幅提升使用體驗。Hermes Agent already has excellent skin support with multiple built-in themes, including light variants (daylight, warm-lightmode) and dark variants (default, mono, ares, slate, etc.). However, switching between them currently requires manual action — either /skin <name> during a session or editing display.skin in config.yaml.

When using the CLI throughout the day, ambient lighting changes significantly: dark themes become hard to read in bright environments, and light themes are harsh on the eyes at night. Automatic skin switching based on time or system theme would greatly improve the user experience.

Proposed Solution

2. 系統主題自動跟隨模式(macOS)
   - 偵測 macOS 的 Light/Dark Mode 設定
   - 透過 defaults read -g AppleInterfaceStyle 判斷
   - 自動對應到 light 或 dark 系列的 skin
   - 範例設定:
     yaml
     display:
       skin_follow_system: true
       skin_dark: mono
       skin_light: daylight

使用場景: - 白天在戶外或光亮環境下使用 Hermes CLI,自動切到淺色主題,不用手動 /skin daylight - 晚上或暗處使用時自動回到深色主題,保護眼睛 - 終端機背景色變了也不需要手動調整

2. System theme follow mode (macOS)
   - Detect macOS Light/Dark Mode setting
   - Check via defaults read -g AppleInterfaceStyle
   - Auto-map to corresponding light/dark skin
   - Example config:
     yaml
     display:
       skin_follow_system: true
       skin_dark: mono
       skin_light: daylight

Use cases: - Using Hermes CLI outdoors or in bright environments — automatically switches to a light theme without typing /skin daylight - Working at night — automatically reverts to a dark theme to reduce eye strain - No need to manually adjust skin when terminal background changes

Relevant code locations:
- Skin engine: hermes_cli/skin_engine.py
- Skin switching command: cli.py (the /skin slash command handler)
- Config key: display.skin

Alternatives Considered

No response

Feature Type

New tool

Scope

None

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

extent analysis

TL;DR

To improve the user experience, implement an automatic skin switching feature based on the system's Light/Dark Mode setting.

Guidance

  • Detect the macOS Light/Dark Mode setting using defaults read -g AppleInterfaceStyle to determine whether to switch to a light or dark skin.
  • Introduce a new configuration option, such as skin_follow_system, to enable or disable this feature.
  • Auto-map the system's Light/Dark Mode to corresponding light or dark skins, such as daylight for light mode and mono for dark mode.
  • Update the skin engine and skin switching command to respect the new configuration option.

Example

display:
  skin_follow_system: true
  skin_dark: mono
  skin_light: daylight

Notes

This solution is specific to macOS and may require additional work to support other operating systems.

Recommendation

Apply the workaround by implementing the automatic skin switching feature based on the system's Light/Dark Mode setting, as it would greatly improve the user experience.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Feature]: 支援白天/黑夜自動切換 Skin Auto-switch skin based on time of day or system theme [2 comments, 2 participants]