← 返回
AI智能

Openclaw Iterm2 Statusbar

Install the OpenClaw iTerm2 status bar that shows session cost and context usage in real time.
安装 OpenClaw iTerm2 状态栏,实时显示会话费用和上下文使用情况。
lidegejinghk lidegejinghk 来源
AI智能 clawhub v0.1.1 2 版本 99847.1 Key: 无需
★ 1
Stars
📥 633
下载
💾 14
安装
2
版本
#latest

概述

OpenClaw iTerm2 Status Bar

Displays OpenClaw session cost and context usage directly in the iTerm2 status bar, refreshing every 30 seconds.

Install

One-line installer:

curl -fsSL https://raw.githubusercontent.com/lidegejingHk/openclaw-iterm2-statusbar/main/install.sh | bash

Or manually:

DEST="$HOME/Library/Application Support/iTerm2/Scripts/AutoLaunch"
mkdir -p "$DEST"
curl -fsSL https://raw.githubusercontent.com/lidegejingHk/openclaw-iterm2-statusbar/main/openclaw_status.py \
  -o "$DEST/openclaw_status.py"
chmod +x "$DEST/openclaw_status.py"

Post-install

  1. Restart iTerm2 (or Scripts → Refresh)
  2. Preferences → Profiles → Session → Status Bar → Configure
  3. Drag the OpenClaw component into the status bar

What It Shows

[kiro/claude-sonnet-4.6] 🤖 main  |  💵 $0.0023 (total $0.0041)  |  🟢 10k/200k (5%)  |  ⚡88%
  • Model name
  • Main session cost + total across all sessions
  • Context usage with color indicator (🟢🟡🟠🔴)
  • Compaction threshold (⚡)

Requirements

  • macOS + iTerm2
  • OpenClaw Gateway running locally on port 18789

Uninstall

rm ~/Library/Application\ Support/iTerm2/Scripts/AutoLaunch/openclaw_status.py

Restart iTerm2 to remove the component.

版本历史

共 2 个版本

  • v0.1.0
    2026-03-31 07:56 安全 安全
  • v0.1.1 当前
    2026-03-19 08:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,135
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,832
ai-intelligence

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 418 📥 115,216