dwgx

Claude Effort Selector — Development skill for Claude Code

Development community

Claude Code /effort 选择器的两个复刻实现:一个终端 TUI(Python),一个网页动画卡片(HTML).

How to install Claude Effort Selector

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dwgx/claude-effort-selector and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Effort Selector does

Claude Code `/effort` 选择器的两个复刻实现:一个终端 TUI(Python),一个网页动画卡片(HTML)。

Alternatives in Development

  • Analyze Feature Requests — Prioritize feature requests by theme, impact, effort, and risk 7.8k ★
  • Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
  • Claude Canvas — A TUI toolkit that gives Claude Code its own display 1.4k ★

README

claude-effort-selector

Claude Code `/effort` 选择器的两个复刻实现:一个终端 TUI(Python),一个网页动画卡片(HTML)。

均依据从 `claude.exe` 反编译的源码 1:1 移植 —— 布局常量、阶段配色、ultracode 紫色涟漪的数学都是真实实现的值,不是对截图的近似。

内容

  • effort_selector/ —— 纯标准库的终端 TUI。effort_selector.py + 它依赖的整个 ui/ 渲染引擎包,自包含可独立运行。
  • claude-ultracode-effort-card.html —— 单文件网页版效果卡片,浏览器直接打开即可。

运行终端版

Windows 上先设置 UTF-8,否则紫色方块 / 框线字符会乱码:

$env:PYTHONIOENCODING="utf-8"
cd effort_selector
python effort_selector.py                                      # 交互:← / → 切换,Enter 确认,Esc 退出
python effort_selector.py --once --stage ultracode --frame 1   # 单帧(确定性),便于逐帧对比

阶段:`low` / `medium` / `high` / `xhigh` / `max` / `ultracode`。

  • ultracode —— 紫色涟漪(cosine 波、8 级 violet 调色板、白字叠加),从标记处向外扩展。
  • max —— 彩虹;xhigh —— 微光扫过;其余为干净的灰字 + 各自强调色。

涟漪由引擎的 `ui/field.py::Ripple` 逐格采样生成,不是内联数学。

网页版

直接用浏览器打开 `claude-ultracode-effort-card.html`,无需构建、无依赖。

要求

Python 3.x,纯标准库,无第三方依赖。