Skip to content

Instantly share code, notes, and snippets.

View stefanoginella's full-sized avatar
💻

Stefano Ginella stefanoginella

💻
View GitHub Profile
@stefanoginella
stefanoginella / statusline.mjs
Last active September 2, 2026 21:03
Minimal Claude Code statusline
#!/usr/bin/env node
/**
* Claude Code Statusline
* Line 1: Model·Effort Context(size) 5h(reset) 7d(reset) D(used/budget)
* Line 2: session /project/subdir branch
*
* Fully offline: everything except the git branch and the ultracode probe comes
* from the statusline stdin payload.
*/