setup
Skill1 starsChanged 51 days agoMITView on GitHub
Turn on Statuslines as the user's status line, or refresh it after a plugin update. Run when the user types /statuslines:setup.
- Installs packages
192 other projects use a version of this.
Adopted by
Most recently taken up by
- kachofugetsu09/akashic-agenttheir own version, first seen Nov 30, 2026
- siberiacancode/agent-skillstheir own version, first seen Nov 29, 2026
- JCodesMore/youtube-for-ai-agentstheir own version, first seen Nov 29, 2026
- microsoft/Employee-Self-Service-Agent-Developer-Kittheir own version, first seen Nov 29, 2026
- cubetes/coaichtheir own version, first seen Nov 29, 2026
- blotato/contentskillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use add-discord, add-slack and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
- +10 more from microsoft
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- anthropics/knowledge-work-plugins★ 37ksame name
- garrytan/gbrain★ 34ksame name
- nanocoai/nanoclaw★ 31ksame name
- gavrielc/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.4ksame name
- pytorch/executorch★ 5.2ksame name
- aws/agent-toolkit-for-aws★ 3.6ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
182 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- configureSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 168 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Run command -v jq. If it prints nothing, stop and tell the user to install jq, then run /statuslines:setup again:
- Very specific: line 36
If it already has a statusLine whose command doesn't run statusline-plugin.sh, show the user the current value and ask before replacing it, …
- Very specific: line 50
Check the file is still valid JSON afterwards (jq .
- Very specific: line 65
If a project's own .claude/settings.json sets a statusLine, that one wins inside that project.
- Very specific: line 66
After updating the plugin, run /statuslines:setup again to copy the new version.
“Common” is measured: kept by at least 6 in 10 of the 168 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Set up Statuslines
Point the user's Claude Code status line at this plugin's script. Work through the steps in order, run the commands yourself, and tell the user in plain words what you changed.
Below, CONFIG_DIR means ${CLAUDE_CONFIG_DIR:-$HOME/.claude}.
1. Check for jq
Run command -v jq. If it prints nothing, stop and tell the user to install jq, then run /statuslines:setup again:
- macOS:
brew install jq - Debian or Ubuntu:
sudo apt install jq - Windows:
winget install jqlang.jq
2. Copy the script to a fixed place
The script ships with this plugin as statusline.sh, two folders above this skill's base directory (<base directory>/../../statusline.sh). If it is not there, use the newest CONFIG_DIR/plugins/cache/statuslines/statuslines/<version>/statusline.sh.
The plugin's folder changes with every version, so copy the script out instead of pointing at it. If statusline-plugin.sh already exists there and does not contain github.com/Chy-Zaber-Bin-Zahid/, it is someone else's file: ask the user before overwriting it.
cp "<path to statusline.sh>" "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/statusline-plugin.sh"
chmod +x "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/statusline-plugin.sh"3. Update settings.json
Open CONFIG_DIR/settings.json (if it does not exist, create it containing {}).
If it already has a statusLine whose command doesn't run statusline-plugin.sh, show the user the current value and ask before replacing it, so they can switch back later. If it already matches the block below exactly, leave the file alone.
Otherwise set the top-level statusLine key to exactly this, keeping every other setting as it is:
"statusLine": {
"type": "command",
"command": "bash \"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/statusline-plugin.sh\"",
"refreshInterval": 60
}refreshInterval redraws the line every minute even while the session is idle, so reset countdowns stay current and the usage bars can turn grey when their numbers get old. A setup from an older version lacks it, so add it there too.
Check the file is still valid JSON afterwards (jq . <file>).
4. Test it
echo '{"model":{"display_name":"Opus"},"effort":{"level":"high"},"context_window":{"used_percentage":42},"rate_limits":{"five_hour":{"used_percentage":63},"seven_day":{"used_percentage":81}}}' \
| bash "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/statusline-plugin.sh"It should print one line with the model name and the usage meters (three bars, unless the user's statusline-plugin.json changes that). If it prints an error instead, show the error to the user.
5. Tell the user
- It is set up, and the new status line appears after their next message.
- The 5-hour and weekly bars appear only on a Claude Pro or Max plan, once the session has had its first reply. With an API key or another provider (Bedrock, Vertex, GLM and so on) they stay hidden.
- If a project's own
.claude/settings.jsonsets astatusLine, that one wins inside that project. - After updating the plugin, run
/statuslines:setupagain to copy the new version. - To change what it shows (hide parts, percentages only, reset times and more), run
/statuslines:configure, for example/statuslines:configure percent only, hide git.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

