Claude Code status line: always see context %, cost and your 5-hour limit
Set up a Claude Code status line with /statusline or a jq script to show context %, session cost, 5-hour limit and effort, and save tokens.
Everything about Claude Code: commands, CLAUDE.md, hooks, plugins, saving tokens. · 22 articles
Set up a Claude Code status line with /statusline or a jq script to show context %, session cost, 5-hour limit and effort, and save tokens.
Automatic checkpoints before every prompt; /rewind restores code, conversation, or summarizes to free context. What checkpoints don't track.
claude --worktree gives each session its own checkout; .worktreeinclude copies .env files; subagent isolation: worktree; cleanup rules.
Plugins bundle skills, subagents, hooks and MCP into one /plugin install. Install scopes, marketplaces, per-turn context cost and security.
The andrej-karpathy-skills repo explained: four principles that make Claude Code guess less, write less, and produce cleaner diffs. Setup and tradeoffs.
Clear between tasks, pick the right model and effort, prefer CLIs over MCP, slim CLAUDE.md, filter output with hooks, delegate noisy work, be specific.
Seven reasons usage climbs in long sessions, how to read cache stats in /usage, the f fix shortcut, and telling the different limit messages apart.
Without something to run, you are the test suite. Four levels of verification from prompt to Stop hook, and when a CLAUDE.md line should become a hook.
CLAUDE.md loads every session, so length hurts. A two-question test, a lean template, and when to use rules, skills or hooks instead.
Prompt tips from the best practices: symptoms and definition of done, @file and pipes, “be ambitious”, and an interview prompt that yields SPEC.md.
Commands in .claude/commands, frontmatter, $ARGUMENTS/$0 arguments, shell injection with !`cmd`, and narrow allowed-tools.
Turning on plan mode (Shift+Tab, /plan, defaultMode), the approval flow, editing plans with Ctrl+G and when to use it.
Every Claude Code subagent can run its own model. Configure it well and you save tokens without losing quality.
One lead coordinates, teammates have their own context, share a task list and message each other directly. Experimental, powerful, token-hungry.
CLAUDE.md is advice; hooks are law. Scripts run at fixed points in the agent loop, so the result is guaranteed.
Not just a terminal chat — headless mode turns Claude Code into a CLI command you can drop into automated pipelines.
Anthropic's official action runs on your own runner: automated PR review, issue triage, docs sync, scheduled maintenance.
Since 2.1.277, if a folder has no CLAUDE.md, Claude Code uses AGENTS.md — the open format already used by Codex, Cursor and others.
Claude Code, Cursor and Devin share the same “harness”: think → call a tool → observe → repeat. Understanding the loop makes you better at using agents.
Every iteration resends the whole context. If iterations are spaced longer than the prompt cache lives, each one pays full price.
Installed Claude Code — now what? This open-source repo goes from slash commands to plugins, with diagrams, templates and self-check quizzes.
A session sidebar, the /btw command, automatic sub-tasks and saved Environments — four changes that make multi-threaded work easier.
Try another keyword or clear the topic filter.
Follow binhAI via RSS (Feedly, Inoreader, Slack…) to get new articles as soon as they’re published.