Claude Code /cd Command — Switch Working Folders Without Losing Your Session

In short: Claude Code’s /cd command switches your working directory while leaving the conversation session intact, and it doesn’t break the prompt cache mid-session. Claude Code has gained one small command: /cd. As the name suggests, it changes the working directory, but the real point is in how it does it. It moves you to … Read more

Claude Code Sandbox Explained — Running Risky Commands in Isolation (2026)

In short: Claude Code’s sandbox is an isolated-execution feature that runs risky Bash commands inside filesystem and network isolation, so you can automate safely without per-command approvals. Claude Code’s sandbox is a safeguard that walls off the shell commands an agent runs at the operating-system level. Even if you stop approving repetitive commands like builds … Read more

Claude Code Scheduled Runs: Cron, /loop, and Recurring Automation (2026)

In short: Claude Code’s scheduled runs use cloud routines (cron) to run at set times even with your machine turned off, while /loop repeats a prompt at a fixed interval for as long as a session stays open. What holds a solo business back isn’t anything grand — it’s the repetitive chores that come around … Read more

Claude Memory Tool: Long-Term Memory for AI Agents with Context Editing

In short: The memory tool is a tool in the Claude Messages API. It works by creating, reading, and editing files in a client-side /memories directory, so an agent can hold on to information after a conversation session ends and pull it back out later. Paired with context editing, it lets you keep token usage … Read more

Claude Code Auto Mode Explained — How the Permission Classifier Makes Autonomous AI Agents Safe

Summary. Claude Code’s Auto Mode is a permission mode in which a separate classifier model inspects every action right before it runs. It blocks behavior that goes beyond the scope of your request, touches unfamiliar infrastructure, or appears pulled along by hostile content. Unlike the defenseless bypassPermissions, it’s a “cut the prompts but keep the … Read more

Claude Code Output Styles Explained — Change How the AI Responds with Explanatory and Learning Modes

What are output styles? Claude Code’s Output Styles change not what the AI knows but how it responds. They set Claude’s role, tone, and output format by directly modifying the system prompt. Working on the same code, the difference is whether the answer just silently executes or weaves in explanations along the way. An honest … Read more

Claude Code Nested Subagents — Splitting Work Across Parent, Child, and Grandchild

Starting with Claude Code v2.1.172 (June 10, 2026), a subagent can once again spawn subagents of its own. In a structure where a parent creates children and children create grandchildren, you can slice a big task into fine pieces. The depth is fixed at a maximum of five levels, and an agent that reaches level … Read more

Claude Code Permission Matcher Syntax: Control Commands and Files with Tool(specifier)

Summary. Permissions in Claude Code aren’t a simple on/off. Inside permissions in settings.json, you split rules into three lanes — allow, ask, and deny — and use a matcher syntax that writes a scope inside parentheses per tool, like Bash(…), Read(…), and Edit(…). Master this syntax and you can do precise control such as “auto-allow … Read more

Claude Code Now Auto-Responds to ! Bash Command Output — How to Use It and Turn It Off

In short: Starting with Claude Code v2.1.186 (June 22, 2026), Claude automatically reacts to the output of any Bash command you run with !. Before, that output only landed in the conversation context and stopped there; now Claude reads the result and answers right away. If you don’t want that, add respondToBashCommands set to false … Read more

Claude Code ‘Artifacts’ — Share Your Coding Output as a Live Dashboard (2026)

Answer Capsule Artifacts is a feature Anthropic added to Claude Code in June 2026. Per the official announcement, it is aimed at Claude Team and Enterprise plan users and turns session work into a live, interactive, shareable HTML page delivered by a single URL. Because it can connect multiple data sources and live code, it … Read more