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.

92 articles

Sort articles to find what you need

Articles in Claude

GPT-5.6 Sol vs Claude Fable 5 In-Depth Comparison — Benchmarks, Long-Running Autonomy, Price & How to Choose

GPT-5.6 Sol vs Claude Fable 5 In-Depth Comparison — Benchmarks, Long-Running Autonomy, Price & How to Choose

An in-depth comparison of OpenAI's flagship GPT-5.6 Sol (July 9) and Claude Fable 5 (June 9), which Anthropic positions as "the most powerful model it has ever made generally available." Where the Opus 4.8 matchup was a head-to-head in the same price tier, this one turns on a cost-versus-capability trade-off: "the half-price all-rounder Sol ($5/$30)" against "the twice-as-expensive but top-tier Fable 5 ($10/$50)." On production-grade coding's SWE-Bench Pro, Fable 5's 80.3% pulls more than 15 points ahead of Sol's 64.6% (estimated) — a gap wider than in the Opus 4.8 matchup. Fable 5 also self-drives for up to 12 continuous hours while focusing on millions of tokens, with Stripe finishing a 50-million-line Ruby migration in a single day as its home-turf "follow-through." Sol, meanwhile, leads on terminal operation (TerminalBench 2.1 88.8% vs Fable 86.0%), Agents' Last Exam (53.6 vs 40.5), and Coding Agent Index (80 vs 77.2), plus best value with half the price and +54% token efficiency. This article covers the spec cheat sheet, benchmark details, the "undisclosed-benchmark problem" of OpenAI withholding Sol's SWE-bench Pro, long-running autonomy, real cost (viewed per completed task), a strengths-and-weaknesses map, and how to choose by use case — all grounded in official and independent benchmarks.

GPT-5.6 Sol vs Claude Opus 4.8: In-Depth Comparison of Benchmarks, Coding, Price, and How to Choose

GPT-5.6 Sol vs Claude Opus 4.8: In-Depth Comparison of Benchmarks, Coding, Price, and How to Choose

An in-depth comparison of 2026's two AI-coding giants, Claude Opus 4.8 (May 28) and GPT-5.6's top-tier Sol (July 9). Their strengths are almost opposite: Sol leads in terminal operation and overall agentic capability (TerminalBench 2.1 88.8% vs Opus 78.9%, Agents' Last Exam 53.6, Coding Agent Index 80), while Opus 4.8 leads in production-grade coding, math, and long context (SWE-bench Pro 69.2% vs Sol 64.6%, USAMO 2026 96.7%, GraphWalks 1M 68.1%) and foregrounds honesty (overconfidence cut to one-tenth, 0% uncritical reporting of flawed results). OpenAI also leaves many of Sol's benchmarks undisclosed (SWE-bench Pro, GPQA, AIME, MMLU), so in coding's heartland the disclosed Opus has the edge. We cover the spec table, benchmark details, the undisclosed-benchmark problem, real cost ($25 vs $30 unit price vs +54% token efficiency), a strengths/weaknesses map, use-case picks, and a dual-vendor strategy.

API Error: 400 Output blocked by content filtering policy: Causes and Fixes (Claude Code)

API Error: 400 Output blocked by content filtering policy: Causes and Fixes (Claude Code)

The "API Error: 400 Output blocked by content filtering policy" that suddenly appears in Claude Code and the API is not a usage limit and not a context overflow — it means the safety filter held back the "output" Claude was about to return. Its main purpose is preventing verbatim reproduction of existing copyrighted material, and it often trips a false positive with no ill intent — generating the full text of standard licenses like MIT/Apache, doing "match this existing source" work, or duplicating long documents. This article draws on Anthropic's official explanation (an output-stage filter that detects reproduction of copyrighted material and blocks it with a 400) and real Claude Code issue reports of false positives (initial OSS-repo setup, reconciling lists, and a 400 at the end of a long agent run misdiagnosed as a token limit), then lays out how to fix it now (don't make the model copy verbatim — fetch with a tool; rephrase the prompt toward generation/summarization; stop the retry loop with Esc; split the task; report false positives to support) and how to tell it apart from Prompt is too long, usage limit, 529 Overloaded, and max_tokens.

Does Claude Code's Weekly Limit Really Reset Every 7 Days? Investigating Early Recovery (September 2026)

Does Claude Code's Weekly Limit Really Reset Every 7 Days? Investigating Early Recovery (September 2026)

You hit Claude Code's weekly token limit, yet the allowance fully replenished before seven days passed — more than once. Online there are even "hidden-mechanism" write-ups claiming the weekly limit resets every 72 hours. Is that true? This article traces the phenomenon to primary sources. But Anthropic has not documented the internal reset mechanism, and the limits keep changing, so we clearly label three kinds of information: facts confirmable from official sources, events multiple users reproducibly observe but that Anthropic never addressed, and single-source unconfirmed speculation. The core: early full recovery is, in most cases, Anthropic's irregular global resets (announced repeatedly by @ClaudeDevs); the displayed reset time is also demonstrably unstable; and the circulating "72-hour cadence" is single-observer, unreproduced, and contradicted by another observation (24h), so it cannot be taken as fact. Where something can't be stated, we say so — a July 2026 investigation.

What Is the Claude Code Sandbox? Filesystem & Network Isolation for Safe Automation (2026)

What Is the Claude Code Sandbox? Filesystem & Network Isolation for Safe Automation (2026)

Use Claude Code long enough and you hit a dilemma: a prompt on every command stalls your flow, yet turning them all off with bypass is dangerous. The sandbox breaks that binary by fencing what can be touched at the OS level, so commands run freely inside without prompts while nothing reaches outside. This guide covers the two isolations (filesystem and network), getting started with /sandbox (macOS works out of the box, Linux/WSL2 needs bubblewrap+socat, native Windows is unsupported), auto-allow vs regular mode, configuring settings.json (allowWrite/denyRead, credentials, allowedDomains), how it complements permission modes and rules as a third OS-enforced layer, its limits (un-inspected TLS, Unix sockets), and when to reach for dev containers or VMs. Anthropic reports it cut permission prompts by 84% in internal use.

30 Fun Prompts to Ask AI: Copy-Paste Ideas to Try (2026)

30 Fun Prompts to Ask AI: Copy-Paste Ideas to Try (2026)

Stuck on "what am I even supposed to ask an AI?" This gives you 30 ready-to-paste prompts that get a fun reply back the moment you paste them. Six genres of five: get to know yourself (hidden strengths, shared values, which animal you are), spark ideas and what-ifs (unexpected uses for an everyday object, if gravity were halved, inventing a holiday), explanations that click (quantum mechanics for a 5-year-old, compound interest in three metaphors, the internet as pizza delivery), wordplay (rewrite in 10 styles, a two-sentence micro-story, epithets, palindromes), role-play and advice (a tough life coach, a sage who invents proverbs, a letter from your future self, a baffled alien), and useful-but-fun (turn an excuse into a maxim, five levels of saying no, fix a bland message, dramatic menu names, a fun detour in your to-do). Works on free ChatGPT, Claude, or Gemini. Includes tips (stack "more," add role and constraints, switch AIs), cautions, and a link to the sister article "15 fun ways to use AI."

15 Fun Ways to Use AI: Play, Gags & Surprising Tricks (2026)

15 Fun Ways to Use AI: Play, Gags & Surprising Tricks (2026)

Talk about AI and it is always the serious stuff, but AI might shine brightest at play. This article shows 15 fun ways to use AI, each with a copy-paste prompt you can try right now. Wordplay & comedy (① comedy battles ② parody-song/rap machine ③ naming factory), role-play & dialogue (④ talk to a historical figure ⑤ make two AIs debate ⑥ practice arguing with a devil's-advocate bot), games (⑦ text adventure with AI as game master ⑧ original quiz show ⑨ whodunit mystery game), creative (⑩ fictional creature field guide ⑪ a story where you are the hero ⑫ playing with image generation), and everyday & unexpected (⑬ leftovers chef ⑭ travel plans to ancient Rome or the Moon ⑮ entertainment fortune-teller). All work on free ChatGPT, Claude, or Gemini. The three keys to the fun — give it a role, bind it with constraints, stack "more" — double as the foundations of practical prompting. With cautions (fact vs. fiction, personal info, playing with kids) and an FAQ.

Claude Fable 5 vs Opus 5: Which to Use When? A Practical Guide

Claude Fable 5 vs Opus 5: Which to Use When? A Practical Guide

Claude Fable 5 and Opus 5 are both top-tier, but the answer is neither "always Fable 5" nor "always Opus 5" — choose by task. And the arrival of Opus 5 on July 24, 2026 moved that answer a long way: the previous generation, Opus 4.8, was "a notch below Fable 5 but half the price", whereas Opus 5 holds the same $5 / $25 price while matching or beating Fable 5 on agentic benchmarks (Frontier-Bench 43.3% vs 33.7% and OSWorld 2.0 70.6% vs 66.1%, both press-sourced; on CursorBench 3.2 Anthropic states it lands within 0.5% of Fable 5 at roughly half the cost). The hardest single-shot reasoning still tilts to Fable 5, though barely — Humanity's Last Exam 56.5% vs 56.3% and DeepSWE v1.1 69.7% vs 68.8% (press-sourced). Specs match on the 1M context window and 128K max output; fast mode (about 2.5x) is Opus 5 only but costs 2x and is Claude API only, and Opus 5 carries the newer knowledge cutoff of May 2026. The decision flow: try Opus 5 first and escalate to Fable 5 only where it plateaus. In practice, "Opus 5 as the base, Fable 5 for the hard parts" is optimal, backed by the app-side auto-switch on safety blocks and the new API fallback "default" mode. Covers availability (June suspension, July redeployment), avoiding single-model dependence, effort tuning for cost, and an FAQ — tying the Fable 5 cluster to the Opus 5 release guide.

Claude Fable 5 Is Back: Redeployed Worldwide 19 Days After the Suspension (July 2026)

Claude Fable 5 Is Back: Redeployed Worldwide 19 Days After the Suspension (July 2026)

On July 1, 2026, Anthropic redeployed its flagship models Claude Fable 5 and Mythos 5 worldwide — just 19 days after they were fully suspended on June 12 under a US export-control order. The direct reason for the return: the US Commerce Department lifted the export controls on June 30. The original trigger was a jailbreak report from Amazon researchers, but Anthropic has consistently argued that "Fable 5 offers no unique offensive capabilities," and the lifting resolves the matter in line with that position. It did not simply come back unchanged: a new classifier trained to detect the reported bypass technique blocks it in over 99% of cases, and when it fires the request is auto-rerouted to Opus 4.8 (the "switch models when a message is flagged" toggle in the app). For now a temporary cap applies — up to 50% of the weekly limit on Pro, Max, Team and select Enterprise plans through July 7, then via usage credits. Fable 5 consumes usage faster than Opus 4.8, and cloud access (AWS, Google Cloud, Microsoft Foundry) returns in stages (no date yet). As a follow-up to the suspension (article 113), this piece covers why it could return, what changed, usage caveats, and the lesson of designing without depending on a single model — grounded in the official announcement and press reporting.

Claude Code Permission Rules (allow/ask/deny) and settings.json Guide

Claude Code Permission Rules (allow/ask/deny) and settings.json Guide

Claude Code's permission rules let you write allow/ask/deny entries in settings.json to specify, fine-grained, which tools, commands, files, and domains run without asking, prompt every time, or are forbidden. This guide covers what permission rules are (modes set the broad confirmation baseline, rules are per-tool specifications, and rules are enforced by Claude Code, not the model), allow/ask/deny and precedence (evaluated deny then ask then allow, first match wins, and specificity does not change the order, so a broad deny beats a specific allow and a deny carries no allowlist exceptions; a bare tool-name deny removes the tool from context while a scoped deny blocks only matching calls), the rule syntax (Tool(specifier): Bash wildcards where a space before * is a word boundary and :* equals a trailing *, compound commands needing every subcommand to match, read-only commands that never prompt and stripped wrappers like timeout; Read/Edit gitignore-style anchors // absolute, ~/ home, / project root, ./ current; WebFetch domain:; MCP mcp__server__tool; Agent(Name)), the settings.json hierarchy and precedence (managed > CLI > .claude/settings.local.json > .claude/settings.json > ~/.claude/settings.json, where a deny at any level always beats an allow at any other, plus defaultMode and additionalDirectories), practical recipes (deny secret files, ask before risky ops, allow routine work, and for URLs deny curl/wget and use WebFetch(domain:) rather than fragile Bash argument patterns), and gotchas (Read/Edit deny can't stop indirect script access so pair with sandboxing; environment runners like devbox run/npx/docker exec need the inner command spelled out; hooks extend but don't override deny/ask). Based on the official docs as of June 2026.

What Are Claude Code Permission Modes? Ask, Accept Edits, Plan, Auto, Bypass

What Are Claude Code Permission Modes? Ask, Accept Edits, Plan, Auto, Bypass

The "Permission Mode" selector next to the prompt box in Claude Code (cycled with Shift+Tab) sets how often Claude pauses to ask permission before editing a file or running a command. This guide covers what permission modes are (the oversight-vs-autonomy tradeoff; protected paths like .git and .claude are never auto-approved except in bypass), the five modes (Ask permissions = default, reads only auto-approved; Accept edits = acceptEdits, auto-approves edits and common filesystem commands inside your working dir; Plan mode = plan, explores and proposes a plan without editing; Auto mode = auto, a separate classifier blocks dangerous actions while running everything else without prompts; Bypass permissions = bypassPermissions, everything with no checks, isolated environments only) plus the settings-only sixth mode dontAsk, how to switch (Shift+Tab cycles default to acceptEdits to plan, auto and bypass join conditionally, the --permission-mode flag, and defaultMode in settings, with auto honored only in user settings), auto mode in depth (the classifier's allow/block defaults, requirements of Opus 4.6+ or Sonnet 4.6, conversational boundaries honored as block signals, and the 3-consecutive / 20-total block fallback), which mode to use when and safety (bypass has no prompt-injection protection so it's isolated-only; auto is the right answer for everyday prompt fatigue; hooks still run in bypass), and how permission mode relates to the effort setting (permission mode = how much it asks, effort = how hard it thinks). Based on official docs and the live UI as of June 2026.

What Is Claude Code's "Effort" Setting? A Guide to Faster vs Smarter

What Is Claude Code's "Effort" Setting? A Guide to Faster vs Smarter

That "Effort" slider next to the model name in Claude Code — the Faster-to-Smarter dial — sets how much work (thinking, tool calls, and response text) the AI puts into each reply. This guide covers what effort is; the slider's 6 items and labels (the API has 5 levels, low to max, and Claude Code adds its own Ultracode mode; the slider reads Low, Medium, High, Extra, Max, Ultracode, where "Extra" = xhigh and the top effort is "Max" — Ultracode is an add-on, not a step); what saves vs. is session-only (low–xhigh persist, Max and Ultracode are session-only); model support and auto-downgrade (xhigh is limited to Fable 5, Opus 4.8, Opus 4.7, etc.; Opus 4.6 and Sonnet 4.6 have no xhigh and downgrade to high; Claude Code's default is high, xhigh on Opus 4.7, while the API default is high everywhere); how to set it (/effort slider and direct values, /effort auto, /model, --effort, the CLAUDE_CODE_EFFORT_LEVEL env var as highest priority, the effortLevel setting, and skill/subagent frontmatter); a quick-reference table; an in-depth look at Ultracode (a two-layer mode that sends xhigh and has Claude auto-launch multi-agent dynamic workflows, limited to xhigh-capable models and session-only, with how to enable it, when to use it, and cost cautions); and related features (ultrathink, /fast). Based on official docs and the live UI as of June 2026.