Skip to content

Instantly share code, notes, and snippets.

View mrf's full-sized avatar

Mark Ferree mrf

View GitHub Profile
@mrf
mrf / statusline.sh
Created February 9, 2026 18:54
Claude Code multi-line statusline with context, rate limits, model, git branch, thinking mode, and cost
#!/bin/bash
# Claude Code Statusline - Multi-line, column-aligned status display
# Lines share a 3-column grid so pipes line up:
# [Col A: 31 chars] | [Col B: 31 chars] | [Col C: variable]
# Line 1: model | context bar | dir branch [wt]
# Line 2: current bar | weekly bar | extra bar
# Line 3: resets time | resets datetime | resets date
# Line 4: think ●●● | $cost
# Receives JSON via stdin from Claude Code
@mrf
mrf / README.md
Last active March 27, 2026 13:58
Claude Code multi-session worktree skills — tmux + git worktrees for parallel AI coding sessions

Claude Code Multi-Session Worktree Skills

A collection of Claude Code custom skills for managing parallel coding sessions using tmux and git worktrees. Each task gets its own isolated branch, directory, and tmux window — no conflicts, easy cleanup.

What's Included

File Type Description
tmux-spawn.md Command Spawn a new tmux window with Claude Code in an isolated git worktree
worktree-SKILL.md Skill Manage worktree lifecycle: create, list, clean, clean-all