---
title: "Getting More Out of Claude Code in the Terminal"
url: https://daily.dev/posts/getting-more-out-of-claude-code-in-the-terminal-o7xasutw7
source_url: https://marmelab.com/blog/2026/05/12/claude-code-hidden-commands.html
type: article
source: "marmelab"
published: 2026-05-12T16:51:06.304Z
updated: 2026-05-12T16:51:28.200Z
tags: ["claude-code", "ai-assisted-development", "context-engineering"]
reading_time: 9
upvotes: 2
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting More Out of Claude Code in the Terminal

**[marmelab](https://daily.dev/sources/Marmelab)** · 9 min read · 2 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://marmelab.com/blog/2026/05/12/claude-code-hidden-commands.html>

## Similar posts on daily.dev

- [Claude Code's creator keeps sharing tips, and they all made my experience better](https://daily.dev/posts/claude-code-s-creator-keeps-sharing-tips-and-they-all-made-my-experience-better-cpjjmu4jh) · XDA Developers · 0 upvotes · 0 comments
- [7 ways I make Claude Code use fewer tokens without hurting the results](https://daily.dev/posts/7-ways-i-make-claude-code-use-fewer-tokens-without-hurting-the-results-s1mmfwq7r) · XDA Developers · 1 upvotes · 0 comments

---

Tags: [#claude-code](https://daily.dev/tags/claude-code), [#ai-assisted-development](https://daily.dev/tags/ai-assisted-development), [#context-engineering](https://daily.dev/tags/context-engineering)

[View this post on daily.dev](https://daily.dev/posts/getting-more-out-of-claude-code-in-the-terminal-o7xasutw7)
