Notre avis
Cette skill installe et gère la barre de statut persistante de Claude Code, qui affiche les limites d'usage 5h/7d, l'occupation du contexte, le compte à rebours de réinitialisation, le modèle, l'effort de raisonnement et le répertoire de travail.
Points forts
- Détecte automatiquement la plateforme et choisit le renderer approprié : PowerShell sur Windows, Bash sur macOS, Linux, Git Bash et WSL
- Fournit un aperçu en direct avec des données simulées pour vérifier le rendu sans attendre un vrai cycle d'usage
- Documente précisément la signification de chaque champ et les seuils de couleur (vert/orange/rouge)
- Permet de changer la langue d'affichage via un simple fichier de configuration, sans redémarrage
Limites
- Les données de rate limit ne sont disponibles qu'avec un abonnement Claude.ai Pro ou Max
- Seules deux langues sont prises en charge (en et it), et en ajouter une exige de modifier les deux renderers
- Une réinstallation nécessite de redémarrer Claude Code pour que la barre apparaisse
Utilisez cette skill lorsque vous voulez installer, vérifier ou reconfigurer la barre de statut d'usage de Claude Code sur votre machine.
Ne l'utilisez pas si vous cherchez à surveiller l'usage de Claude Code depuis un tableau de bord externe ou sans passer par la statusline native.
Analyse de sécurité
PrudenceNo exfiltration, destructive commands, obfuscated payloads, or network fetches are present; all actions are local and aimed at installing/configuring a status bar. The risk comes from executing unseen bundled installer scripts and a PowerShell policy bypass, plus unvalidated sed interpolation of the language code — powerful tools used for a legitimate purpose, hence caution rather than risky.
- •Runs bundled install.sh / install.ps1 scripts from the skill directory whose contents are not shown in SKILL.md, so the actual executed code cannot be audited from the skill file alone.
- •Invokes powershell.exe with -ExecutionPolicy Bypass to run a local .ps1, which circumvents the host execution policy (standard for Windows installers but still a meaningful privileged action).
- •The language-change step interpolates a user-supplied string directly into a sed replacement over ~/.claude/usage-bar.conf with no validation, so characters like '/', '&' or newlines could corrupt or unexpectedly rewrite the config.
- •Runs shell from the agent on every invocation via `!` blocks, including executing the installed renderer with piped sample JSON.
Exemples
Install the Claude Code usage status bar for me.The usage bar is already installed — show me a live preview of how it looks with sample data.Change the usage bar language to Italian.name: usage-bar description: Install or check the Claude Code usage status bar (rate limits 5h/7d, session context, reset countdown, model, effort, and working directory). Also use to change the display language. user-invocable: true allowed-tools: Bash(uname *), Bash(bash *), Bash(powershell.exe *), Bash(cygpath *), Bash(test *), Bash(grep *), Bash(cat *), Bash(sed *), Bash(printf *)
claude-usage-bar
Manage the persistent status bar that shows Claude Code usage limits. Use the native PowerShell renderer on Windows and the Bash renderer on macOS, Linux, Git Bash, and WSL.
Step 1 — Detect the platform and check installation status
!`
case "$(uname -s)" in
MINGW*|MSYS*|CYGWIN*) OS=windows; TARGET="$HOME/.claude/statusline-usage.ps1" ;;
*) OS=unix; TARGET="$HOME/.claude/statusline-usage.sh" ;;
esac
echo "OS=$OS"
test -f "$TARGET" && echo "INSTALLED ($TARGET)" || echo "NOT_INSTALLED"
test -f "$HOME/.claude/usage-bar.conf" && cat "$HOME/.claude/usage-bar.conf" || echo "NO_CONFIG"
`
Step 2 — Act on the result
If NOT installed
Run the platform-appropriate installer from the skill directory:
!`
case "$(uname -s)" in
MINGW*|MSYS*|CYGWIN*)
INSTALLER=$(cygpath -w "${CLAUDE_SKILL_DIR}/install.ps1")
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$INSTALLER" -Lang en
;;
*)
bash "${CLAUDE_SKILL_DIR}/install.sh" --lang en
;;
esac
`
Tell the user installation is complete and they need to restart Claude Code to see the bar.
If already installed — show live test
Run a live preview with simulated data using the installed renderer:
!`
SAMPLE='{"model":{"display_name":"Opus 4.6"},"effort":{"level":"high"},"workspace":{"current_dir":"/home/user/project"},"context_window":{"used_percentage":42},"rate_limits":{"five_hour":{"used_percentage":28.0},"seven_day":{"used_percentage":85.0}}}'
case "$(uname -s)" in
MINGW*|MSYS*|CYGWIN*)
TARGET=$(cygpath -w "$HOME/.claude/statusline-usage.ps1")
printf '%s' "$SAMPLE" | powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$TARGET"
;;
*)
printf '%s' "$SAMPLE" | bash "$HOME/.claude/statusline-usage.sh"
;;
esac
`
Also show the current language setting from the config file.
If the user wants to change language
Ask which language they want, then update ~/.claude/usage-bar.conf:
!`sed -i 's/^LANG=.*/LANG=it/' ~/.claude/usage-bar.conf && echo "Language set to: it"`
Replace it with the desired language code. No restart needed — the change takes effect on the next response.
Field reference
Explain to the user what each field means:
- 5h — Rate limit over the last 5 hours (daily proxy). Green < 80%, orange 80–90%, red ≥ 90%
- 7d — Weekly rate limit. Same color scale
- ctx — Context window usage for the current session. Green < 70%, orange 70–80%, red > 80%
- reset — Countdown to limit reset. Hours/minutes if < 24h, days and hours if ≥ 24h
- session details — Current model in yellow, reasoning effort (when supported), and working directory in bright green on a second line. The home directory is shortened to
~ - Rate limit data is only available with a Claude.ai Pro or Max plan
Supported languages
| Code | Language |
|------|----------|
| en | English |
| it | Italiano |
To add a new language, update both statusline-usage.sh and statusline-usage.ps1 so the renderers stay in sync.
Notes de Reunion Intelligentes
Productivite
Structurez vos notes de reunion avec actions et decisions cles.
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.