Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By nsheapsv0.1.26In 1 marketplace
Configurable status line for Claude Code showing session info, project context, and git status
Run automatically on Claude Code events. Claude doesn't decide.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
statusline, status, ui, git, workflow
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Configurable status line for Claude Code showing session info, project context, and git status.
This plugin provides an informative status line that displays at the top of your Claude Code sessions. It automatically configures itself on installation and updates to show real-time information about your workspace.
✅ Session tracking - Shows current session ID ✅ Project context - Displays project and working directory ✅ Git status - Shows branch, repository, and change count ✅ Usage tracking - Integrates with par-cc-usage (optional) ✅ Auto-configuration - Hooks automatically update settings.json ✅ Worktree support - Handles git worktrees correctly ✅ Agent team aware - Automatically disabled for teammates to prevent API rate limit exhaustion
When running with Claude Code agent teams, the statusline is automatically disabled for spawned teammates. Only the team lead and solo sessions display the statusline.
Why: The statusline makes GitHub API calls (gh pr view, gh repo view) on every refresh. With 7+ teammates, these calls multiply and exhaust the GitHub API rate limit (~5,000/hour). Since teammates don't have a visible status bar anyway, disabling the script prevents unnecessary API consumption.
Detection: Uses CLAUDE_CODE_PARENT_SESSION_ID, which Claude Code sets for spawned teammates but not for the lead or solo sessions.
See Installation Guide for all installation methods.
# Via marketplace (recommended)
# Follow marketplace setup: ../../docs/manual-installation.md
# Or via GitHub
claude plugins install github:nsheaps/ai-mktpl/plugins/statusline
# Or locally for testing
cc --plugin-dir /path/to/plugins/statusline
The plugin includes hooks that automatically configure your ~/.claude/settings.json:
statusLine.command is not configured, it sets it to this plugin's scriptThe status line displays:
Session: abc-123-def-456
In: ~/src/project | In: ./src/components
On: org/repo@feature-branch (3 changes)
Usage: 50K tokens (5% of limit)
The plugin uses SessionStart and UserPromptSubmit hooks to ensure settings.json always points to the latest version of the statusline script:
This ensures the statusline always uses the plugin's script, even after plugin updates or moves.
Claude Code calls bin/statusline.sh:
Want to modify what the statusline shows? See CLAUDE.md for:
Note: Since this is a plugin, modifications should be made to the plugin source code. For user-specific customizations, fork the plugin or maintain a local copy.
bash - Shell interpreterjq - JSON parsinggit - Git status displayuvx and par-cc-usage - Token usage tracking (degrades gracefully if missing)Install required dependencies:
# Via mise (recommended)
mise use -g jq
# Via Homebrew
brew install jq git
# Via apt
sudo apt-get install jq git
Check if the plugin is enabled:
jq '.enabledPlugins' ~/.claude/settings.json
Verify settings.json configuration:
jq '.statusLine' ~/.claude/settings.json
Restart Claude Code
If the statusline shows an error about the script not being found:
Check the path in settings.json:
jq -r '.statusLine.command' ~/.claude/settings.json
Verify the script exists:
ls -l "$(jq -r '.statusLine.command' ~/.claude/settings.json)"
The hook should auto-fix on next prompt, or restart Claude Code
If you see a warning about statusline configuration conflict:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub nsheaps/ai-mktpl --plugin statuslinePlugins from other owners that cover similar ground