Zenmux Statusline logo

Zenmux Statusline

Organization
ZenMux
zenmux-statusline

Install and configure a Claude Code status line that displays real-time ZenMux account information: subscription tier, 5-hour and 7-day quota usage with color-coded progress bars, and PAYG wallet balance, alongside standard session info (model, git, context usage, prompt cache). Trigger on: "status line", "statusline", "set up status bar", "show ZenMux in status bar", "install ZenMux statusline", "configure status line with ZenMux", "状态栏", "配置状态栏", "安装状态栏", "在状态栏显示ZenMux信息". Activate when user wants to SET UP, INSTALL, CONFIGURE, or CUSTOMIZE a Claude Code status line that includes ZenMux account data. Do NOT trigger for querying usage interactively (use zenmux-usage), docs (use zenmux-context), or general setup (use zenmux-setup).

Overview

PublisherZenMux
Repositoryskills
Skill namezenmux-statusline
Stars
20
Forks
3
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ZenMux on GitHub. Read the source before you install it.

Installation

Install the Zenmux Statusline AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ZenMux/skills/tree/main/skills/zenmux-statusline
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZenMux/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/zenmux-statusline .claude/skills/zenmux-statusline
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Zenmux Statusline in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Zenmux Statusline on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Zenmux Statusline is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

zenmux-statusline

You are installing a Claude Code status line that displays real-time ZenMux account information alongside standard session data.

The status line script is bundled at scripts/zenmux-statusline.sh relative to this skill. It produces a two-line display:

Line 1: [model-slug] 📁 dir | 🌿 branch | █████░░░░░ 58% ctx | 💾 r72.0k w5.0k
Line 2: ⚡ Ultra | 🔑 Sub sk-ss-...6e6 | 5h █░░░░ 19% · 7d █░░░░ 24% | 💳 Bal $492.74

If ZENMUX_MANAGEMENT_KEY is not set, Line 2 shows a setup hint instead:

Line 2: ⚙ Set ZENMUX_MANAGEMENT_KEY to display account data → zenmux.ai/platform/management

Follow these steps in order.


Step 1 — Verify prerequisites

1a. Check that curl and jq are available

bash
command -v curl && command -v jq

If either is missing, tell the user to install it (brew install jq on macOS, or the appropriate package manager).

1b. Check the Management API Key

bash
echo "${ZENMUX_MANAGEMENT_KEY:+set}"
  • If the output is set — proceed to Step 2.

  • If empty — inform the user:

    The status line needs ZENMUX_MANAGEMENT_KEY to fetch account data. Create one at https://zenmux.ai/platform/management, then add to your shell profile:

    export ZENMUX_MANAGEMENT_KEY="sk-mg-v1-..."

    Without the key, the status line will still show session info (model, git, context remaining) and display a setup hint on Line 2.

    The user can proceed without the key — the script degrades gracefully and shows a hint on how to configure it.


Step 2 — Install the status line script

Determine the absolute path to the bundled script. It lives next to this SKILL.md:

bash
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
# Falls back to the skill directory path from the skills install location

Copy it to the Claude Code config directory:

bash
cp "SKILL_SCRIPTS_DIR/zenmux-statusline.sh" ~/.claude/zenmux-statusline.sh
chmod +x ~/.claude/zenmux-statusline.sh

Where SKILL_SCRIPTS_DIR is the scripts/ directory inside this skill. Use the actual resolved path.

If the user already has a ~/.claude/statusline*.sh file, inform them that it will be replaced and confirm before overwriting.


Step 3 — Configure Claude Code settings

Read the user's current settings:

bash
cat ~/.claude/settings.json

Update the statusLine field to point to the new script. Preserve all other settings. The target configuration:

json
{
  "statusLine": {
    "type": "command",
    "command": "sh ~/.claude/zenmux-statusline.sh",
    "refreshInterval": 120
  }
}

The refreshInterval: 120 re-runs the script every 120 seconds so the ZenMux data refreshes even during idle periods, matching the cache TTL.

Use the Edit tool to update the settings file. Be careful to preserve the existing JSON structure.


Step 4 — Verify the installation

Test the script with mock input to confirm it runs without errors:

bash
echo '{"model":{"id":"test-model"},"workspace":{"current_dir":"'$(pwd)'"},"context_window":{"used_percentage":0},"session_id":"verify-install"}' | sh ~/.claude/zenmux-statusline.sh

If output appears (at least one line), the installation is successful.

Tell the user:

Status line installed. It will appear at the bottom of Claude Code on your next interaction.

What it shows:

  • Line 1: Model slug, directory, git branch, context used bar, last-call prompt cache read/write
  • Line 2: ZenMux plan tier, API key type + masked key, 5-hour and 7-day quota usage with color-coded bars, PAYG wallet balance

Colors:

  • Context used: Green (<70%), yellow (70–89%), red (90%+)
  • Quota usage: Green (<70%), yellow (70–89%), red (90%+)

Caching: ZenMux API data is cached for 120 seconds to keep the status line fast. Git data is cached for 5 seconds.

To remove it later, delete the statusLine field from ~/.claude/settings.json.


Communication guidelines

  • Respond in the same language the user writes in (Chinese → Chinese, English → English).
  • If any step fails, diagnose the error clearly and suggest a fix before moving on.
  • Do not make changes to ~/.claude/settings.json without showing the user what will change.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Zenmux Statusline AI skill do?

Install and configure a Claude Code status line that displays real-time ZenMux account information: subscription tier, 5-hour and 7-day quota usage with color-coded progress bars, and PAYG wallet balance, alongside standard session info (model, git, context usage, prompt cache). Trigger on: "status line", "statusline", "set up status bar", "show ZenMux in status bar", "install ZenMux statusline", "configure status line with ZenMux", "状态栏", "配置状态栏", "安装状态栏", "在状态栏显示ZenMux信息". Activate when user wants to SET UP, INSTALL, CONFIGURE, or CUSTOMIZE a Claude Code status line that includes ZenMux a...

Why use Zenmux Statusline on TypingMind?

Because you install it once and use it with any model. Zenmux Statusline is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Zenmux Statusline in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ZenMux/skills/tree/main/skills/zenmux-statusline. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Zenmux Statusline?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Zenmux Statusline?

As many as you like. As long as a model supports skills, you can use Zenmux Statusline with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Zenmux Statusline AI skill free?

It is published on GitHub by ZenMux. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇