Tips, tricks, and lessons from building software.

Tips, tricks, and lessons from building software — a personal dev blog by Tommy.

Running Two Claude Code Accounts on One Machine

September 12, 2026· 6 min read·claude-codeworkflowproductivity

I keep a personal and a work Claude Code account on one laptop and run both at once. Out of the box that isn't possible — here's the pain point, and the one environment variable that fixes it.

A Tour of Claude Code's Built-in Slash Commands

September 9, 2026· 2 min read·claude-codeslash-commandscliproductivity

A quick map of the slash commands Claude Code ships with, grouped by what they help you do.

/clear vs /compact: Managing Your Context Window

September 9, 2026· 2 min read·claude-codeslash-commandscontextproductivity

When to wipe the chat with /clear and when to shrink it with /compact so Claude stays sharp.

Switching Models on the Fly with /model

September 9, 2026· 2 min read·claude-codeslash-commandsproductivity

Swap between Opus, Sonnet, and Haiku mid-session to match the model to the task at hand.

Bootstrapping a Project with /init

September 9, 2026· 2 min read·claude-codeslash-commandssetupproductivity

Run /init to generate a CLAUDE.md that teaches Claude how your project works.

Checking Costs and Usage with /usage

September 9, 2026· 2 min read·claude-codeslash-commandsproductivitycli

See how much you're using and spending in a session with the /usage command.