Skip to content

Tutorials

Hands-on material you can use right away: prompting, workflows, tool usage and lessons learned.

72 picksRelated topicsAI codingAgentsProduct updates

Latest picks

1–20 of 72

Today · Nov 17Tuesday

claude.dev Blog

How the Claude Code team verifies code written by AI

About 90% of the Claude Code team's code is written and reviewed by Claude, with changes verified by running the real app, automated checks and human review. The team describes end-to-end, property and differential testing, and a verify skill that hands a change to a person after three failed check rounds. Review rules are read from the base or default branch so a change can't edit its own checks.

Why it matters: The team folds end-to-end verification, escalation to humans and isolated review rules into its workflow, replacing line-by-line reading with defined done criteria and review evidence.

Nov 15Sunday

The Decoder

Anthropic says outdated prompting habits slow Claude Opus 5.5

Anthropic advises Claude Opus 5.5 users to drop phrases like "think hard" and start at the default Medium reasoning effort. In internal tests, removing such wording made responses start faster with no measurable quality drop, and Opus 5.5 at Medium matched Opus 5 at High. Other tips: state the goal, output format and when to ask follow-ups in one go, attach charts or files directly, and name unwanted design styles.

Why it matters: Anthropic's guidance boils down to stating a clear endpoint, cutting prompts that push the model to think harder, and raising reasoning effort only when needed.

Nov 13Friday

Computing Life · Share · Yage

Why nearly half of leaked configs were committed to GitHub by Claude Code itself

Claude Code's "don't ask again" option writes commands containing plaintext credentials into .claude/settings.local.json. Apiiro found that 48.8% of traceable leaking repos had that config uploaded by commits signed with Claude.

Why it matters: Claude Code saves approved commands, passwords included, to a local config, so project-level ignore rules and env-var injection cut the credential exposure when that config gets committed.

OpenAI News

Amplitude cuts product improvement delivery to 1–2 days with OpenAI models

Amplitude estimates its product agent Wave, driven mainly by OpenAI models, can cut product improvement delivery from about a month to 1–2 days. Wave combines product data, session replays, customer feedback and code to spot opportunities, drafts technical plans and acceptance criteria, then hands them to coding agents including Codex to implement, and tracks results. Teams set the level of automation and how much human review applies.

Why it matters: Amplitude links data investigation, coding and outcome measurement, assigning models and human review per task so product improvement keeps both cost and team control in view.

Computing Life · Share · Yage

Anthropic cuts request payload from about 800 KB to 1.8 KB, and why that doesn't clash with NVIDIA's long-context advice

Anthropic's Message Threads drops the median long-conversation request payload from about 800 KB to 1.8 KB by cutting repeated uploads, validation and tokenization. It does not reduce token consumption or the bill.

Why it matters: Anthropic trims gateway latency with incremental transfer while Nvidia trims decode cost with context compression, two routes for two different long-conversation costs.

Nov 10Tuesday

Simon Willison

Anthropic doc: telling Claude Fable 5.2 it owns the codebase boosts duplicate-code merges

Anthropic's documentation says setting Claude Fable 5.2 as the code owner and long-term maintainer makes it more likely to merge duplicate code. In small coding tests, duplicate merges came in under 10 percent without that identity and around 75 percent with it. Simon Willison quotes the prompt as "you are the owner and long-term maintainer of this codebase, its design is yours to decide," and the model sometimes goes ahead and makes the fixes.

Why it matters: Anthropic's small coding test shows a code-owner identity prompt lifts Claude Fable 5.2's duplicate-code merge rate from under 10 percent to about 75 percent.

claude.dev Blog

Anthropic's Claude model guide: choosing between Fable, Opus, Sonnet and Haiku

Anthropic's selection guide says most coding and knowledge work should start with Claude Opus 5.5 at medium thinking effort, moving to Sonnet 5.5, Haiku 5.5 or Fable 5.2 as task difficulty changes. It frames model choice around the cost of finishing a task: set up automated acceptance checks first, then adjust thinking effort or step up a model, and hand easy-to-verify side tasks to smaller models.

Why it matters: Anthropic splits Claude selection into model, thinking effort and cost per finished task, and proposes automated acceptance checks plus reruns on failure to control spend.

Nov 8Sunday

Computing Life · Share · Yage

GDPx real-workstation review: six engineering lessons from AI running 8 hours straight

SemiAnalysis's GDPx benchmark has models use vendor agent frameworks to solve 206 real business problems in up to 8 hours. The strongest model averages about 12%. The article draws six engineering lessons from the failures: build a document authority map, set an independent rollback gate, write deterministic measurement scripts, keep an external evidence ledger, check the eval environment, and route by total cost per task.

Why it matters: It turns long-horizon failures on GDPx into engineering practice, folding document authority tagging, independent rollback checks and an external evidence ledger into agent workflows.

Nov 7Saturday

The Verge · AI

Researchers alarmed by new Anthropic report on automating AI R&D

METR's 11-week study of Anthropic found its models improving about twice as fast as a year earlier. METR judges that by October most of the acceleration came from AI, now mainly AI helping human researchers. Staff using the strongest internal models reported productivity about 12 times higher than without AI help.

Why it matters: Anthropic cut most of the evidence researchers consider important from METR's report, making it harder for the public to check the acceleration claim and its uncertainty.

Nov 3Tuesday

Hacker News front page

deepsense.ai lists ten coding agent harness patterns for real code repositories

deepsense.ai has written up ten coding agent harness practices meant to make AI-assisted development more reliable through repository knowledge, just-in-time context and verification feedback. The team tested them with Codex and Claude Code. It recommends a short AGENTS.md that links to deeper docs, code organized by task with tests and past decisions, and shared verification commands for humans, agents and CI.

Why it matters: The post turns hands-on coding agent experience into repository docs, task-scoped context loading and a bounded verification loop, so repeated mistakes become maintainable tests and rules.

Nov 2Monday

Computing Life · Share · Yage

Why LLM inference splits prefill and decode, and how that leaked user code at Cloudflare

Prefill-decode disaggregation speeds up inference by splitting the two stages, but Cloudflare's GLM-5.3 deployment leaked cache across tenants through a request-handling bug. Its postmortem says 155 long-context replies mixed in other users' conversations or code: over-limit requests were replaced with a one-token placeholder yet still crossed nodes, and decode nodes read stale cache that had not been overwritten.

Why it matters: Cloudflare's fix adds transfer-count checks and delayed memory reclamation, folding data overwrite and page ownership into safety checks when nodes exit abnormally.

Nov 1Sunday

Computing Life · Share · Yage

Reproducing the ETH conjecture counterexample with Opus 5.5 for $1.22

Duck Ge reports reproducing a counterexample to the ETH conjecture for $1.22, calling claude-opus-5-5 through Claude Code with a public five-sentence prompt. With all tools and web search off, the run took 8 minutes 41 seconds and 48,101 thinking tokens, and output a five-section proof. The post explains the prompt's algorithm and stresses the result does not mean P=NP.

Why it matters: A hands-on reproduction turns into a prompt-writing method: give the model counterintuitive paths, high-level concepts and worst-case bottlenecks.

Hacker News front page

Linux TCP use-after-free CVE-2026-98432 explained, CVSS 9.8

A use-after-free flaw in the Linux IPv4 TCP handshake, CVE-2026-98432, carries a CVSS 3.1 score of 9.8 from the kernel CNA, and fixes have landed on several stable branches. Unpatched Linux 4.4 and later kernels are affected. As of 8:00 PM CDT on October 29, Ubuntu releases and RHEL 8, 9 and 10 had no fix, and a kernel update needs a host reboot to take effect.

Why it matters: It maps patch status per distribution and explains how to check the kernel, since updating container images does not replace patching and rebooting the host.

Oct 31Saturday

Hacker News front page

Researchers take over ChatGPT accounts via public share links

A research team found that a malicious public ChatGPT share link can run JavaScript inside a visitor's logged-in session, read private chats that were never shared, and send them out. The attack chains MathLive chart loading, HTML Preview, an unisolated iframe and YouTube JSONP. In the auto-preview version, the victim only has to open the link.

Why it matters: A malicious share link can read and exfiltrate private chats from a logged-in session, showing what missing cross-frame message checks expose.

AI HOT · Tips & opinions

OpenRouter tutorial: build a persistent AI agent that monitors Hacker News with the Agent SDK

An OpenRouter tutorial uses TypeScript and @openrouter/agent 0.11.0 to build an agent that checks Hacker News on a schedule and writes summaries. File-based memory stops it from re-reporting the same items after a restart.

Why it matters: It combines scheduled checks, persistent memory, cost limits and human approval into one always-on agent, a structure you can move to repo or status-page monitoring.

Oct 30Friday

Hacker News front page

Phorion analyzes SSH backdoor in Claude Code extension on Cursor Marketplace

Phorion found that the official Claude Code for VS Code 2.1.313 extension on Cursor Marketplace had been implanted with a persistent SSH backdoor, and the affected version has been taken down.

Why it matters: Phorion traces the backdoor's file writes and persistence artifacts, so detection keys on file changes and tunnel behavior rather than an SSH enable command that may be missing.

Computing Life · Share · Yage

Why git worktree isolation doesn't stop AI agents from deleting new logic at merge time

git worktree isolates an AI agent's working directory, but interface changes at merge time can still lead an agent following an old plan to delete new logic on the main branch. The article cites SWE-Shift tests across 17 coding systems and 120 tasks: passing existing tests does not guarantee new code survives, and clearing old conversation plus rescanning the workspace raised pairwise success by six to nine percentage points.

Why it matters: It offers a concrete method: isolate the working directory with git worktree, then reopen a clean window before merging so the agent reworks the merge against current interfaces and patch diffs.

Oct 29Thursday

Hacker News front page

Claude Code sends full background agent transcripts to the model every 30 seconds for status summaries

Claude Code sends each background agent's full transcript to its model roughly every 30 seconds, asking for a 3–5 word status summary. Telemetry from Flamerix AI shows these requests made up 16.4% of a week's estimated cost. Subscribers spend rate-limit quota on them, not billed dollars.

Why it matters: Flamerix AI used telemetry to pin down Claude Code's background summary overhead and a timer hook to turn those requests off, a reusable way to find hidden model calls.

AI HOT · Tips & opinions

OpenRouter tutorial: extracting tables from PDFs with an LLM

An OpenRouter tutorial sends a PDF plus a strict JSON schema to pull tables into rows with explicit data types. Field descriptions handle negative numbers in parentheses, footnotes and merged cells. Across 5 test PDFs, 2 of them scans, models that read the PDF directly extracted all 644 cells correctly, a result the post limits to this test set.

Why it matters: It pairs a strict row schema with field-level cleanup rules and catches dropped rows in otherwise normal responses using empty-result and truncation checks.

AI HOT · Tips & opinions

How to keep coding with OpenRouter after Claude Code hits its usage limit

Once Claude Code hits its plan's usage cap, you can keep using Claude models through OpenRouter and pay per token, outside the five-hour and weekly windows. Spending is then bounded by your account balance and budget instead.

Why it matters: It sets up a separate shell function that routes Claude Code through per-token billing on OpenRouter, while keeping the original plan command for when the quota resets.