marmelab
Read post

Getting More Out of Claude Code in the Terminal

A practical guide to lesser-known Claude Code terminal features that improve daily developer workflows. Covers the ! shell command prefix for running commands in-context, @ file mentions for injecting file content, /statusline for a persistent terminal dashboard, multi-directory context expansion, token usage tracking with /cost, context visualization, and context management via /compact, rewind (Escape×2), and /clear. Also covers /btw for side conversations without interrupting ongoing tasks and /simplify for automated post-session refactoring. The author recommends using Claude Opus for the /simplify command and advises proactive context management rather than waiting for automatic compaction.

    #claude-code#ai-assisted-development#context-engineering
May 12•9m read time•From marmelab.com
Post cover image
Table of contents
Run Shell CommandsFile MentionsCustomize The StatuslineExpand Your Working ContextKnow What You’re SpendingVisualize Your Context WindowCompact, Rewind and ClearBy the way…SimplifyConclusion
338 Impressions
marmelab's image
marmelab

95 Followers

•

1.6K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard