Index
Articles
- 01Test Claude Code Hooks Before They Fail Open
A case table and a small runner that pipe dummy JSON into a PreToolUse hook and check exit codes and stdout, plus two regressions it caught and a CI workflow. - 02Windsurf Pricing (Now Devin Desktop)
Windsurf became Devin Desktop on June 2, 2026. The current plans on devin.ai/pricing: Free $0, Pro $20, Max $200, Teams a flat $80 for up to 100 members, and how the usage allowance refreshes. - 03CLAUDE_CODE_OAUTH_TOKEN: Setup, CI Use and Leak Response
CLAUDE_CODE_OAUTH_TOKEN is the one-year token that claude setup-token prints. How it differs from ANTHROPIC_API_KEY, how to use it in CI, and how to revoke it after a leak. - 04Claude Code Ultrareview: Cost, Limits and How to Run It
/code-review ultra runs a multi-agent review in the cloud: 3 free runs per account, then typically $5 to $25 each in usage credits. Who can use it, PR posting, CI. - 05Git Worktrees Don't Isolate Your Database or Ports
Parallel agents in git worktrees still share a dev database and port 3000. A reproducible test, a per-worktree .env.local fix, and cleanup that deletes the local DB. - 06Claude Code Telemetry and Data Privacy
What Claude Code sends to Anthropic, whether it trains on it, how long it is kept, and the environment variables that turn telemetry off. Checked 2026-11-10. - 07Gemini CLI vs Claude Code: Config File Map
GEMINI.md maps to CLAUDE.md, .gemini/commands/*.toml to skills, and the policy engine to permission rules. A file-by-file map from both official docs, checked 2026-11-10. - 08Aider vs Claude Code: Models, Git and Instructions
Aider commits each of its edits to git and connects to many LLM providers; Claude Code is included in paid Claude plans and reads CLAUDE.md. We checked both official sites on 2026-11-08. - 09Claude Code on Bedrock, Vertex and Foundry: Setup Guide
Run Claude Code through Amazon Bedrock, Google Cloud's Agent Platform (Vertex AI) or Microsoft Foundry: the env flag, auth, model pinning and what each one lacks. - 10Claude Code GitLab CI/CD: Setup, Bedrock and Vertex (Beta)
Claude Code for GitLab CI/CD is a beta maintained by GitLab. Add a masked ANTHROPIC_API_KEY and one job, or use Bedrock OIDC or Vertex WIF without stored keys. - 11Codex CLI Config: config.toml, Approvals and Sandbox
Where Codex CLI reads config.toml, which layer wins, the keys you'll change first, and how approval_policy and sandbox_mode combine, with the usual pitfalls. - 12Cursor Rules: How to Write .cursor/rules Files
How to write Cursor Project Rules: .mdc files in .cursor/rules, the four rule types set by alwaysApply, description and globs, and when to use AGENTS.md instead. - 13Pinning the Claude Code Model in CI and settings.json
Pin the Claude Code model in CI with --model, ANTHROPIC_MODEL or settings.json, why aliases like opus drift, and what to fix before Opus 4.8 fast mode ends. - 14Codex CLI Hooks: hooks.json Setup, Examples and Limits
How Codex CLI hooks work: where hooks.json and [hooks] live, trust review with /hooks, a PreToolUse hook that blocks Bash commands, and what hooks can't stop. - 15Copilot Agent vs Claude Code: Plans, Limits and Where They Run
Copilot's agent runs on every plan, Free included, and bills in AI credits. Claude Code needs Pro at $20 or higher and uses 5-hour and weekly usage limits. - 16Tampered Claude Code Extension 2.1.313 in Cursor: Check and Fix
You're affected if you installed Claude Code extension 2.1.312 or 2.1.313 from Cursor's marketplace on Oct 29 on macOS or Windows. How to check and clean up. - 17Claude Code Ignore Files: No .claudeignore, Use Read Deny Rules
Claude Code has no .claudeignore. To keep files like .env away from it, add Read deny rules to settings.json, and turn on the sandbox for Bash subprocesses. - 18Run Claude Code on a VPS: SSH, tmux and Headless Login
Claude Code runs on Ubuntu 20.04+ or Debian 10+ with 4 GB of RAM. How to SSH into a VPS, log in without a browser, and keep sessions alive in tmux. - 19CLAUDE.md as a Runbook: What to Write and Where
Claude Code reads CLAUDE.md at the start of every session, and the docs target under 200 lines per file. What to write, where it goes, what stays in the prompt. - 20Claude Code Code Review: /code-review vs Managed PR Reviews
Claude Code code review comes two ways: the managed Code Review for Team and Enterprise on GitHub, and /code-review on any plan. Setup, flags, severity, cost. - 21Claude Code in JetBrains IDEs: Plugin Setup and /ide
The Claude Code plugin for JetBrains IDEs does not bundle the CLI. It connects to claude in the terminal. Setup, settings, WSL, remote dev and security notes. - 22Claude Code in VS Code: Setup, Shortcuts and CLI Differences
Claude Code in VS Code runs as an extension on VS Code 1.94.0 or later. How to install it, pass selections and files, review diffs, and when to use the CLI. - 23Gemini CLI Getting Started: Install, Auth and Free Quotas
Gemini CLI needs Node.js 20 or later, and signing in with a Google account gives 1,000 requests a day for free. Install options, auth choices and GEMINI.md. - 24Claude Code /compact: Auto Compact and What Survives It
Claude Code compacts automatically as context fills, so a full window doesn't end your session. How /compact works, how to tune auto compact, and what it keeps. - 25Claude Code GitHub Actions: Setup, @claude and Security
Only users with write access can trigger @claude. Set up the Claude GitHub App, a secret and a workflow, run it on a schedule, and fix it when it stays silent. - 26Claude Code Resume: --continue, --resume and /resume
Claude Code saves every session locally and keeps it 30 days by default. How to resume with --continue and --resume, name sessions, branch, and what comes back. - 27Claude Code Slash Commands: Cheat Sheet and Custom Commands
Claude Code reads a slash command only at the start of a message. Built-in commands by task, their aliases, and how to write custom ones in .claude/commands/. - 28Run Parallel AI Agents with Git Worktrees
claude --worktree gives each Claude Code session its own git worktree under .claude/worktrees/. How to run agents in parallel on one repo, what worktrees share, and how to clean up. - 29What AI Coding Tools Cost per Month
Claude Pro is $20 a month and Max is $100. Sample monthly budgets for solo, side-project and small-team use, built only from official pricing pages. - 30How to Set Up the Claude Code Status Line
Claude Code's status line runs your script and batches updates at 300ms. How to configure it, what JSON the script receives, and a working bash + jq script. - 31How to Define Claude Code Subagents
A Claude Code subagent definition needs only two keys: name and description. Where the files go, which built-ins exist, how tools, model and background runs work. - 32Claude Code Headless Mode: claude -p for Scripts and Cron
claude -p exits 0 on success and non-zero on failure. Output formats, passing permissions, resuming sessions, catching errors, and running it from cron. - 33Claude Code Plan Mode: Plan Before It Edits
In plan mode, Claude doesn't edit your source until you approve the plan. How to enter and leave it, the three approval options, and when to skip it. - 34Run Claude Code in Docker and Dev Containers
The official reference container blocks all outbound traffic except an allowlist. How to isolate Claude Code in a dev container, keep your login, and stay safe. - 35Claude Code PostToolUse: Format and Test on Edit
A PostToolUse hook runs after the tool has already acted, so it can report but not undo. Two hooks we tested: run Prettier and run the tests after every edit. - 36Claude Code Permissions and settings.json: A Cheat Sheet
Claude Code permissions: how to run commands without asking, allow/ask/deny, defaultMode values, settings.json precedence, managed settings and wildcard rules. - 37How to Create Claude Code Skills (SKILL.md)
A skill's description is cut at 1,536 characters in the skill listing. Where SKILL.md goes, which frontmatter keys exist, and how to write and invoke a skill. - 38Claude Code Stop Hook Example: Verify Before It Stops
Run tests before Claude Code stops. A Stop hook example with decision: block, stop_hook_active and a checklist for hooks that keep looping. - 39Claude Code UserPromptSubmit Hook Examples
UserPromptSubmit hooks default to a 30-second timeout and run before every prompt. Two tested hooks: add git context, and block prompts that contain API keys. - 40Choosing a VPS for AI Coding
Claude Code needs at least 4 GB of RAM. How to pick a VPS for AI coding by four criteria: requirements, outbound network access, billing, and ways to roll back. - 41Claude Code Hooks Not Working? A Checklist
A hook that couldn't find jq exited 0 and let rm -rf / through. A checklist for hooks that don't fire or block, with the commands we used to reproduce them. - 42PreToolUse Hook Examples for Claude Code (Copy-Paste)
PreToolUse hook examples for Claude Code, tested with dummy JSON: block rm -rf /, secret files, force pushes and writes outside the project, ask on migrations. - 43When You Hit Claude Code's Usage Limit
Claude Code on Pro and Max has a five-hour session limit and a weekly limit; verified Ultra has only the weekly one. How they work, how to check them, and how to keep working. - 44Getting Started with Codex CLI
Codex CLI works with a ChatGPT Plus or higher plan, or with an API key. This guide covers install, sign-in, your first question, and your first small code change. - 45Cursor Pricing 2026: Free vs Paid Plans and Extra Costs
Compare Cursor's free and paid plans, included usage and extra model costs. See how legacy Pro differs from current plans before you subscribe. - 46Don't Trust an Agent's "Done"
An agent reported six commits and an open PR after making zero tool calls. A memory rule didn't stop it happening again. Hooks and git numbers did. - 47Designing Agent Memory
Claude Code memory: our MEMORY.md index and a session-start handover file that grew to 247KB. How we write indexes and spot rotting notes. - 48Permission Design for AI Agents
Let an agent read production but never write. We built a read-only SQL wrapper and checked how deny rules and hooks are evaluated. - 49Run an AI Agent 24/7 on a VPS
Getting an agent to run under systemd takes half an hour. The hard part is noticing when it is green but dead. Monitoring and safety lessons from an always-on agent. - 50Deleting Thousands of Lines in a Refactor
When a Claude Code refactoring deletes thousands of lines, remove callers first. How to map dependency direction and how to slice commits, reproduced locally. - 51Have Another AI Rebut Your Design
AI design review is cheaper before any code exists. Ask a different model for the strongest rebuttal, check it against settled decisions, then revise. - 52When to Stop AI Code Review
A design plan needed four review passes before it got a GO. How to tell an endless loop from one you must not cut short, plus review CLI traps. - 53Pitfalls of Always-On Bot Monitoring
In AI agent monitoring, the job failed every time, yet the heartbeat stayed green. Where you send the beat decides how your monitor lies. Holes beyond the four rules, reproduced. - 54Running Claude Code in CI: Costs and Traps
Claude Code GitHub Actions costs come from two places: API tokens and runner minutes. A worked estimate, a cache trap, and how to stop runaway jobs. - 55Claude Code vs Cursor vs Codex: What Differs in Practice
Claude Code vs Cursor vs Codex: instruction files, hooks, sandboxes and prices side by side, checked 2026-10-25. Codex Go and Cursor Plus start at $8 a month. - 56Claude Code Env Vars Not Working
Why a Claude Code environment variable you set doesn't take effect: settings env vs shell export vs .env, and when each is read. Reproduced with dummy values. - 57Getting Started with Claude Code
How to use Claude Code from install to your first question and first change, following the official steps, run locally, with the snags we hit along the way. - 58Claude Code Hooks in Practice: exit 2 and PreToolUse
Claude Code hooks: exit 2 blocks, other non-zero codes don't. How PreToolUse blocks before a tool runs, and the git commands our first guard let through. - 59Claude Code Pricing 2026: What It Really Costs
Claude Code pricing: Pro is $20 a month ($17 billed annually), Max $100, Ultra $200, API billed per token. What the official pages say in November 2026. - 60Keep Secrets Away from Claude Code
Claude Code API key management needs more than a deny rule: grep and Python can still read .env. We reproduced the leak paths with a dummy key. - 61Trim Your CLAUDE.md
We cut one CLAUDE.md from 199 to 114 lines and another from 120 to 52. Each model generation turns old scaffolding into debt. - 62Choosing a Coding Agent
IDE, CLI or cloud is only the starting point. Five incidents we hit whichever we used, and the operating habits we kept. - 63Deploy and Migration Accidents
Claude Code deploy accidents that hurt most aren't dramatic deletions but quiet ones: success messages that did nothing, tests that ran in production. Fixes included. - 64Doubting the AI's Root Cause
Claude Code's stated root cause is sometimes wrong. Check controls, environment, artifact freshness and the measurement setup, in that order, before you dig. - 65Green Tests Prove Nothing
We could disable any of eight guards and every test stayed green. How to catch decorative tests, the kind that multiply once agents write your tests. - 66Let LLMs Only Pick and Extract
LLM structured outputs fix the shape, not the truth. Don't let the model write prose: have it pick from options and extract quotes, then verify them by machine. - 67Why Claude Code Is Slow on Local LLMs
Even a 0.5B model took about 47 seconds just to read 16k tokens on CPU. The slowness is not generation; it is how much you send every turn. - 68Passes Locally, Fails in CI
Works locally but fails in CI? Check differences in order: the commit CI actually ran, the shell and commands, dependency resolution, then architecture. - 69How to Build Your Own MCP Server
How to build an MCP server with the official Python SDK: a minimal example, tested by hand over JSON-RPC, then registered in Claude Code and confirmed connected. - 70How to Choose MCP Servers
Before hunting for recommended MCP servers, have criteria: who maintains it, transport, scope, output size, and how to narrow its permissions once installed. - 71Subagent Failures in Parallel Runs
A git worktree doesn't contain your gitignored verify script. All three parallel lanes hit that. Guards we put in prompts, and how we check results. - 72MCP Servers 101 and Five Design Rules
A minimal, tested MCP server, plus how to defend your tools against agent inputs that look nothing like human typos. - 73Don't Make It Fix the Same Thing Thrice
When Claude Code keeps making the same mistake: stop after two failed fixes, check what's really wrong, and write recurrence rules into CLAUDE.md.