claudetower:widgets

claudetower:widgets is a command for Claude Code from sodam-ai/ClaudeTower. It costs 47 tokens per session (1,282 once invoked), scanned C, original, Apache-2.0.

A ClaudeTower command for turning status-line widgets on or off, such as the model, project location, Git state, context use, cost, usage limits, and active account.

In plain words
What is it for?
Use it to inspect current widget settings, choose widgets to toggle, apply the changes, and confirm the final state.
Why use it?
It lets you control which pieces of session information appear in the status line.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the claudetower plugin — 3 commands shipped together

Good fit Use it to inspect current widget settings, choose widgets to toggle, apply the changes, and confirm the final state.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sodam-ai/claudetower/widgets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/sodam-ai/ClaudeTower

Made for: Claude Code.

Or install claudetower, the plugin that ships this one along with the rest of its 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claudetower:widgets

README.md
[![agentmods](https://agentmods.dev/badge/commands/sodam-ai/claudetower/widgets.svg)](https://agentmods.dev/commands/sodam-ai/claudetower/widgets)
Your own site
<a href="https://agentmods.dev/commands/sodam-ai/claudetower/widgets"><img src="https://agentmods.dev/badge/commands/sodam-ai/claudetower/widgets.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,282 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01282
Opus 5 $0.00023 $0.00641
Sonnet 5 $0.00009 $0.00256
Haiku 4.5 $0.00005 $0.00128

Measured 3d ago against content hash 706aa2e35a3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

claudetower:widgets scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

> - macOS/Linux: `curl -fsSL https://raw.githubusercontent.com/sodam-ai/ClaudeTower/main/install.sh | sh`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> - macOS/Linux: `curl -fsSL https://raw.githubusercontent.com/sodam-ai/ClaudeTower/main/install.sh | sh`
commands/widgets.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/claudetower:widgets

사용자가 $ARGUMENTS를 함께 줬으면 claudetower widgets $ARGUMENTS를 그대로 실행하고 출력을 보여준 뒤 끝낸다(스크립팅·숙련 사용자용 경로 — 바로 아래 메뉴로 넘어가지 않는다).

$ARGUMENTS가 없으면 아래 "인자 없이 호출됨 — 메뉴로 안내" 순서를 따른다.

인자 없이 호출됨 — 메뉴로 안내

  1. claudetower widgets(인자 없음)를 실행해 지금 상태를 확인하고 그대로 보여준다.
  2. 이어서 AskUserQuestion으로 "무엇을 켜고 끌까요?" 메뉴를 띄운다 — 7개 항목을 한 번에 묻지 못하므로(질문당 옵션 최대 4개) 아래처럼 2개 질문으로 나눠 한 번에 묻는다. 각 옵션은 multiSelect(여러 개 선택 가능)로 설정하고, 옵션 설명에 방금 1번에서 확인한 현재 상태("현재: 켜짐" / "현재: 꺼짐")를 넣는다. 의미는 "상태를 바꾸고 싶은 항목"이다 (켜기/끄기를 따로 묻지 않는다) — 켜짐 항목을 고르면 끄고, 꺼짐 항목을 고르면 켠다.
    • 질문 A(header "위젯 A"): 사용 모델(model) · 프로젝트 위치(location) · Git 브랜치/변경사항(git) · 컨텍스트 사용량(context)
    • 질문 B(header "위젯 B"): 비용(cost) · 사용률/5시간·7일(rate_limit) · 활성 계정(active_account)
  3. 두 질문에서 고른 항목을 모두 모아, 각각 원래 상태의 반대로 뒤집는다 — 원래 켜짐이던 항목은 off 목록에, 원래 꺼짐이던 항목은 on 목록에 넣는다.
  4. on 목록이 하나라도 있으면 claudetower widgets on <on 목록>을, off 목록이 하나라도 있으면 claudetower widgets off <off 목록>을 각각 한 번씩 실행한다(두 명령 모두 필요할 수 있음). 아무것도 선택되지 않았으면 명령을 실행하지 않고 "변경 없음"으로 안내하고 끝낸다.
  5. 실행 후 claudetower widgets(인자 없음)를 다시 실행해 바뀐 최종 상태를 보여준다.

"command not found"류 오류가 나면 — 재시도하지 말고 바로 고정 설치 경로로 1회만 다시 시도

claudetower가 PATH에 없다는 오류(command not found 등)가 나면, 곧바로 아래처럼 고정 설치 위치의 실행파일을 직접 호출해서 딱 1번만 다시 시도한다(이 경로는 claudetower setup이 항상 자기 자신을 설치해두는 고정 위치라 PATH 등록 상태와 무관하게 항상 유효하다):

  • Windows: "$HOME/.claudetower/bin/claudetower.exe" widgets $ARGUMENTS
  • macOS/Linux: "$HOME/.claudetower/bin/claudetower" widgets $ARGUMENTS

이 재시도도 실패하면(파일 자체가 없음) 그때 비로소 아래 "실행 결과가 실패한 경우" 안내로 넘어간다. 재시도는 이 1회만 — 그 이상 다른 경로를 추측해서 시도하지 말 것.

사용법 안내(사용자가 헷갈려 하면 이대로 알려줄 것)

  • /claudetower:widgets — 지금 상태를 보여준 뒤 바로 켜고 끌 항목을 메뉴로 물어봄(위 "인자 없이 호출됨" 순서 참고)
  • /claudetower:widgets off 항목이름 — 메뉴 없이 지정한 항목만 바로 끄기(나머지는 유지)
  • /claudetower:widgets on 항목이름 — 메뉴 없이 지정한 항목만 바로 켜기
  • 항목 이름: model, location, git, context, cost, rate_limit, active_account
  • 여러 개 한 번에: /claudetower:widgets off context cost

Read the full file on GitHub · 67 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 67 lines · 47 tokens per session scan C 706aa2e35a3b

Subscribe to this mod's changes

claudetower:widgets is a command published in the GitHub repository sodam-ai/ClaudeTower (12 stars, last pushed 6d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,282 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.