Skip to content
AI Tools

Claude AI Guide: Tips, Tutorials & Best Practices

Comprehensive guide to Anthropic's Claude AI. Learn how to use Chat, Cowork, and Code modes with practical tips and tutorials.

127 articles

Sort articles to find what you need

Articles in Claude

ChatGPT, Codex, and Claude Code Image Generation: How They Differ, Pro Usage Limits, and a Practical Workflow

ChatGPT, Codex, and Claude Code Image Generation: How They Differ, Pro Usage Limits, and a Practical Workflow

Even with the same Pro subscription, image generation draws from different usage pools in regular ChatGPT Chat versus Codex and Work. Claude models do not directly create photos or illustrations, but Claude Code can produce images through HTML, SVG, code, or external image APIs. The article diagrams each entry point and walks through a practical method: set the display size first, then specify the composition, separate reference material from new content, and select from a few outputs by checking them at full size and at the actual display size.

safeguards flagged this message: What It Means and What to Do When a Safety Classifier Stops Claude Code

safeguards flagged this message: What It Means and What to Do When a Safety Classifier Stops Claude Code

If Claude Code shows "API Error: Opus 5.5's safeguards flagged this message" or "safeguards flagged this session," a safety classifier attached to the model has reacted to the content of your conversation and stopped that model from responding. Issue titles also call it "Message flagged by safeguards." The classifiers run on the server side and look not just at your last sentence but at the whole conversation, the files that were read, and even CLAUDE.md, so an ordinary message like "hi" can get stopped, and Anthropic acknowledges false positives. Drawing on the official error reference, the model configuration documentation, the API's Refusals and fallback page and the Help Center, we lay out what the cyber, bio, reasoning_extraction, general_harms and frontier_llm categories in the Details field mean, when Claude Code automatically switches to another model and when it simply stops, how to use Esc twice to rewind, /clear, /model, --safe-mode and /feedback, the October 6, 2026 expansion of CVP into three tiers that also cover Opus 5.5 and Sonnet 5.5, and how stopped requests are billed. GitHub reports filed since September 22 are kept separate from the official explanations and treated as unconfirmed cases.

How to Use AI to Find Your Strengths: 8 Self-Assessment Prompts for Your Values and Best-Fit Work, and the Limits of the Answers

How to Use AI to Find Your Strengths: 8 Self-Assessment Prompts for Your Values and Best-Fit Work, and the Limits of the Answers

Ask an AI "What kind of person am I?" and all you get back is a plausible-sounding expansion of whatever you typed in. What works is the reverse: let the AI ask the questions to draw out real events, have it help sort out the common threads and put them into words, and make the final call yourself. This article gives you 8 prompts to use in order: an interview, strengths, values, weaknesses, the conditions of work that suits you, a personal pitch draft, mock interview questions, and a check from the opposing side. It also covers why you shouldn't take the answers at face value, including the tendency to feel that words which fit anyone are "spot on" (Forer's 1949 experiment) and AI's tendency to agree with you; what information is fine to enter and what to avoid; and how to use memory and projects in ChatGPT, Claude and Gemini, all checked against each company's official help pages.

Claude Sonnet 5.5 Released: How It Differs from Sonnet 5, 5 Breaking Changes That Return 400 Errors, and How to Choose Between It and Opus 5.5

Claude Sonnet 5.5 Released: How It Differs from Sonnet 5, 5 Breaking Changes That Return 400 Errors, and How to Choose Between It and Opus 5.5

On September 28, 2026, Anthropic released Claude Sonnet 5.5, and Sonnet 5 moved to Legacy. This article checks the official documentation (Models overview, the Sonnet 5.5 page, What's new, the migration guide, Pricing, Thinking, Effort and Prompt caching), the announcement, the Claude Code documentation and CHANGELOG, and the GitHub changelog against each other in the original text. It covers the core specs (claude-sonnet-5-5, a 1M context, 128K max output, a June 2026 knowledge cutoff, and retirement not before September 28, 2027), pricing ($2 input and $10 output, the same as Sonnet 5, with cache reads cut from $0.20 at launch to $0.10 on October 7, 2026, while the minimum cacheable length dropped from 1,024 to 512 tokens), and the figures in Anthropic's comparison table (70.6% on Terminal-Bench 4.0, and 1844 on GDPval-AA v2.1, 2 points behind Opus 5.5, though the announcement itself says Opus 5.5 is clearly stronger on complex, open-ended work). It then walks through the five changes that make code that worked on Sonnet 5 fail with a 400 error (turning thinking off moves to between_tools with effort high or below, forced tool use, thinking blocks bound to the model and the conversation, the legacy computer use tool on the Claude API and Google Cloud, and advisor tool pairings) and how to fix them, changes that happen without an error such as text between tool calls moving into thinking blocks, the difference in default effort (high on the API, medium in Claude Code), how to choose between it, Opus 5.5 and Haiku, how to use it in Claude Code (/model sonnet from v2.1.284) and GitHub Copilot, and the migration steps.

I Tried Claude Code Projects: Strengths and Pitfalls of Parallel Threads, Learned by Having It Build an Entire Website

I Tried Claude Code Projects: Strengths and Pitfalls of Parallel Threads, Learned by Having It Build an Entire Website

I had Claude Code Projects (public beta) build an entire website for looking up how much memory local LLMs need. From creation to the last merge took about 20 hours: 10 threads, 11 PRs, about 23,000 lines, and about 190 million tokens (97.7% of them cache reads). Three tasks ran in parallel overnight, the threads coordinated with each other through the coordinator, and once I switched to instructions that handed things over, it decided the next tasks by itself. On the other hand, nobody built the logic that decides "can this be published?" at the boundary between the data collection and page threads, so production showed zero models. Real data also exposed bugs that sample-data tests never showed, and deploying to a server reachable only over SSH hit a wall. I record it all from measurements: where I tripped getting started, the difference between approving every step and handing it over, how the setup credit ran down, and what kinds of work it suits and does not suit.

How to Bulk Change the Model and Effort for All Sessions in Claude Code Desktop and Codex: Just Ask the Assistant, What It Can Reach, and 4 Checks

How to Bulk Change the Model and Effort for All Sessions in Claude Code Desktop and Codex: Just Ask the Assistant, What It Can Reach, and 4 Checks

Opening your sessions one by one to switch the model and effort every time a new model comes out is a chore. When I tried it in my own setup on September 24, 2026, asking the assistant to "change them all to this" worked in both Claude Code Desktop and Codex, without me touching each session. In Claude Code Desktop, the tools the app gives the assistant changed the sessions without sending a message, and the changes survived an app restart. However, it only sees local desktop sessions, the default is the 20 most recent, and it can't change the session making the request. In Codex, the default for new chats was changed in config.toml, and the assistant used internal machinery to change the 115 existing chats in my setup one by one. Chats that were open in the app each received one confirmation message. This article covers how the two differ, what they can and can't reach, example prompts, and 4 checks: keep the old values, define the scope, re-read everything, and check one with your own eyes.

What Are Claude Code Cloud Sessions? How They Keep Running With Your Laptop Closed, How to Start, and How to Claim the $100 Pro / $250 Max Credit

What Are Claude Code Cloud Sessions? How They Keep Running With Your Laptop Closed, How to Start, and How to Claim the $100 Pro / $250 Max Credit

Claude Code cloud sessions came out of research preview and became generally available on September 23, 2026. Your GitHub repository is cloned into a virtual machine in Anthropic's cloud, where Claude fixes the code and pushes a branch, so the work doesn't stop when you close your laptop. Usage comes out of the same limits as your regular plan, with no separate charge for the VM. On top of that, existing Pro subscribers are getting a one-time $100 credit and Max subscribers $250: claim it by October 7 and it is spent first until November 5, 07:59 UTC (Projects and Routines are excluded). This article uses the official documentation and posts from the official account to cover how cloud sessions differ from local Claude Code and Remote Control (which settings come along and which don't, permission modes, the four network access levels and where to keep secrets), how to start from the browser and the terminal, how to claim the credit and the caveats in the full offer terms, and which jobs they suit and which they don't.

Claude Opus 5.5 Released: What Changed from Opus 5 and Fable 5.1, and Migration Pitfalls

Claude Opus 5.5 Released: What Changed from Opus 5 and Fable 5.1, and Migration Pitfalls

Anthropic released Claude Opus 5.5 on September 22, 2026. The official models overview now tells you to start with Opus 5.5 if you're unsure, and Opus 5 has moved to Legacy. This article checks the original text of the official documentation (models overview, What's new, the migration guide and pricing), the announcement, and the Claude Code docs and CHANGELOG against each other, and lays out the core specs (claude-opus-5-5, a 1M context, 128K max output, a June 2026 knowledge cutoff, retirement not before September 22, 2027), pricing ($4 input / $20 output, 20% below Opus 5's $5 / $25, with cache reads 60% cheaper at $0.20; but the cache-read gap with Fable 5.1 is only 20%, and cache reads cost the same as Sonnet 5), and the figures in Anthropic's comparison table (the top score in 7 of 9 rows, including 66.4% on Terminal-Bench 4.0 and 1846 on GDPval-AA v2.1, while GPT-6 Astra leads on AutomationBench and Terminal-Bench-Science 0.1 in the same table). It then covers what the drop in default effort from high to medium means, the four changes that turn code that worked on Opus 5 into 400 errors (thinking can't be disabled, forced tool use, thinking blocks bound to the model and conversation, and the old computer use tool on the Claude API and Google Cloud) and how to fix them, changes that don't raise an error such as text between tool calls moving into thinking blocks, Opus 5.5 becoming the default model in Claude Code while saved effort settings don't carry over, and finally how to choose between Opus 5.5, Fable 5.1, Sonnet 5 and Opus 5, plus the migration steps.

claude.ai connectors are disabled: Meaning and Fix — When ANTHROPIC_API_KEY Takes Precedence Over Your claude.ai Login in Claude Code

claude.ai connectors are disabled: Meaning and Fix — When ANTHROPIC_API_KEY Takes Precedence Over Your claude.ai Login in Claude Code

If Claude Code shows “claude.ai connectors are disabled because ANTHROPIC_API_KEY or another auth source is set and takes precedence over your claude.ai login,” a credential such as the ANTHROPIC_API_KEY environment variable is taking precedence over your saved claude.ai login, and the connectors you added in claude.ai are not being loaded. Your login is not gone; it just isn’t used because of precedence. Based on the official authentication and MCP documentation and the CHANGELOG, this article covers authentication precedence, how to check which credential is in use with /status and environment variables, where the key comes from (shell config, .env, env and apiKeyHelper in settings files), how to remove the key, restart, and confirm, what you lose by staying on an API key (connectors, Remote Control, /schedule) and how billing differs, and how to stop the warning with disableClaudeAiConnectors. Points not in the official docs are shown separately as things we checked in the Claude Code binary itself.

API Error: The response stopped arriving — What It Means and How to Fix It When Claude Code's Response Data Stops Midway

API Error: The response stopped arriving — What It Means and How to Fix It When Claude Code's Response Data Stops Midway

If Claude Code shows "API Error: The response stopped arriving. The response above may be incomplete." partway through a response, the connection stayed open but data stopped arriving, and Claude Code's watchdog timer cut it off. Completed output is kept, so check the state of your work and reply continue to pick up where it left off. This message is the renamed version of what was shown as "Response stalled mid-stream" before v2.1.227. Based on the official error reference and network configuration documentation, we cover how it differs from Connection lost mid-response, The response stalled before a response was produced, and Streaming response ended before any complete data was received; why it is not resent; how -p and subagents handle it; how to check your version, network path, and watchdog timers; and what to record when you report it. Five GitHub reports we read are treated separately from the official explanation, as unconfirmed cases.

Login expired · Please run /login: What It Means and How to Fix It When Claude Code Can’t Renew Your Saved Login

Login expired · Please run /login: What It Means and How to Fix It When Claude Code Can’t Renew Your Saved Login

If Claude Code shows “Login expired · Please run /login,” the automatic renewal of your saved login was refused and Claude Code cleared the credentials. Later prompts never reach the API and stop on your machine, so sign in again with /login instead of retrying. Based on the official error reference, we cover how it differs from Not logged in, OAuth token has expired, and Your account is on hold; how the message changed in v2.1.206; the steps from checking /status to signing in again; what to do with -p and CI; and the version, Keychain, clock, and CLAUDE_CONFIG_DIR checks for when it keeps recurring. Six GitHub reports are presented separately as cases with no confirmed cause.

What Claude Docs Is: The Feature That Turns a Conversation Straight Into a Document, and Where Its Limits Fall

What Claude Docs Is: The Feature That Turns a Conversation Straight Into a Document, and Where Its Limits Fall

When Claude Cowork was folded into chat on September 16, 2026, three creation features arrived in beta at the same time: Claude Docs for documents, Claude Slides for presentations and Claude Design for visual design. This article is about the first of them. In one sentence, Claude Docs turns what comes out of a conversation into a document you can keep editing. Ask it to write the discussion up as a spec the team can share, and Claude drafts it in front of you, asking about anything it is missing before it starts. What you get is rich text with headings and tables, and a single document can hold several tabs. You can edit it yourself, or select text inside the document, leave a comment and mention @Claude to have it make the change. The strength people overlook is that you can also turn a Claude Code session into a spec, a runbook or a report. It came out of beta on October 8, 2026 and is now on every plan, including Free, but some things are still missing: deletion cannot be undone, there is no comment-only permission, and Team and Enterprise cannot share outside the organization. This article gives those absences as much space as the features, and works out what the tool is good for and what it is not.