# Install Statusline

> Install a custom 4-tier adaptive statusline with icons for folder, git branch, and context usage

- Skill: `abhattacherjee/install-statusline` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add abhattacherjee/install-statusline`
- Raw SKILL.md: https://api.skillmd.com/api/skills/abhattacherjee/install-statusline/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: abhattacherjee (https://skillmd.com/u/abhattacherjee)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/abhattacherjee/install-statusline

---


# Custom Statusline Installer

Installs a custom Claude Code statusline with:
- 📁 Project directory
- 🌿 Git branch with sync status: `develop(ok)`, `feat/foo(~2|+1)`
- 🧠 Context usage with color-coded progress bar (green/yellow/red)
- 4-tier adaptive layout for any screen size

## Install

Run the install script — it copies the statusline and updates settings.json:

```bash
bash ~/.claude/skills/custom-statusline/scripts/install.sh
```

Then restart Claude Code.

## Layout Tiers

| Width | Device | Layout |
|-------|--------|--------|
| <40 | iPhone portrait | 3 lines: model / branch / bar |
| 40-59 | iPhone landscape | 2-3 lines: model+dir / branch(+bar) / (bar) |
| 60+ | Desktop / iPad | 1-3 lines: auto-adapts to branch length |

