dsh-think-skin
jestions-dev/dsh-think-skin
给 DSH 的「思考状态」行换皮肤:一张图配自己的文案池,文字逐字打出、高光扫过,2–4 色渐变可调。内置三套(39 图 / 41 句 / 184 个动词)。在 设置 → 思考状态 里配,改完下一句话就生效,不用重启;套组可导入导出 .zip。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。
安装
dsh plugin --profile web add github:jestions-dev/dsh-think-skinREADME
dsh-think-skin
Give the DSH thinking row your own face and your own words.
The row that says 深度求索中,用时 3秒 ··· next to a whale tail is the one thing you look at
more than the answer. This replaces its icon and its copy, and keeps the timer.

▶ 宣传片 · B 站 (1 分 45 秒,三套皮肤 + 安装全过程)
What it does
图标 换成你自己的图(GIF / PNG / WebP)
文案 每次「思考」随机抽一句,从这张图自己的池子里抽
轮换 同一轮里每 7–15 秒换一句,图不变
渐变 2–4 色渐变,四种模式:无 / 静态 / 流动 / 扫光,周期可调
亮带 一条 3 字符宽的白色高光扫过文字,和打字同速
打字 词条逐字出现(90ms/字),打完停住,等下次换词
字形套 没有图片的套用字符转圈:盲文 ⠋⠙⠹… 或字符画 · ✢ ✻ 呼吸
设置 设置 → 思考状态:套组卡片、每图独立文案池、导入图片/文件夹、
导出/导入 .zip、字形参数与实时预览
双随机: 一次运行抽一张图(整轮固定),图再带自己的文案池,池里每 7–15 秒抽一句。 两个随机在不同尺度上,组合数远大于单池。
一次运行怎么判定: 行出现 = 新一轮;「用时 N秒」归零也算新一轮。 踩过两次坑才定下来——见 DESIGN.md。
Install
dsh plugin add github:Jestions-dev/dsh-think-skin
# 或从 npm:
dsh plugin add dsh-think-skin
Then restart DSH once.
Local development (edit → refresh, no restart):
dsh plugin add link:D:/path/to/dsh-think-skin
Packs
A pack is a folder of images; every image may carry its own list of phrases.
pack
├─ images[] 一次运行抽一张
│ └─ texts[] 这张图自己的文案池(可空 → 用套级池)
└─ fallbackTexts[] 套级兜底池
Image data lives on the host, not in the bundle:
$DSH_HOME/storages/think_skin/
pack.json
images/<pack>/f001.gif …
The browser fetches pack.json once and each image with immutable caching, so the bundle
stays around 19 KB no matter how many images a pack holds.
导入图片: 设置 → 思考状态 → 选图片 / 选文件夹。文件会被复制进上面的目录,原文件随便处置。 Import from the CLI:
python tools/import-pack.py --pack 我的套 --dir /path/to/gifs
python tools/import-pack.py --claudecode # placeholder + the 179 verbs
Bundled packs
| Pack | Images | What |
|---|---|---|
| 蓝色大肥鱼 | 39 | Blue Fat Fish stickers, 128×128 |
| 酒狐 | 1 | One fox sticker, 128×128 |
| Claude Code | 1 | 盲文/字符画转圈 + 184 个真动词(从 claude.exe 2.1.328 提取) |
内置套的句子是逐张手写的,不是从文件名生成的。
帧率不统一——每个包保留源文件自己的节奏:鱼是 20 ms 一帧,狐狸是 100 ms 一帧。 强行统一帧率是曾经的 bug:狐狸转快一倍,鱼丢掉三分之二的帧。见 tools/compile-pack.py。
The Claude Code pack is a text-mode pack, not an image pack. Claude Code ships two spinners:
| frames | timing | colour | |
|---|---|---|---|
| 盲文 | ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏ | 80 ms per frame | yellow |
| 字符画 | · ✢ ✻ (ours; the binary uses · ✢ * ✶ ✻ ✽) | one breath per 2000 ms, (1-cos)/2 | theme, or a fixed colour |
Both are selectable in the panel, with separate durations — the braille interval is milliseconds per frame, while the glyph value is milliseconds per whole breath. Everything measured from the binary is recorded in assets/ClaudeCode/FINDINGS.md.
Credits
- Mechanism reference:
huanlinoto/dsh-plugin-prts-neuron. No code was copied — that repository carries no license, so it was read for the DOM facts only (data-chat-running,data-shimmer-text, the icon box being thesvg's parent). - Claude Code verb list: extracted from
@anthropic-ai/claude-codev2.1.121 byshanraisshan/claude-code-best-practice, cross-checked against the verb array insideclaude.exe2.1.328. - Layout reference:
Saknutella/dsh-thinking-quipsfor how a third-party page claimssettings.section.
MIT.