Home › Articles
Articles
- Fork a session in Claude Code, Codex and Cursor to try a new approach
Claude Code /branch, /fork and --fork-session, Codex /fork and codex fork, Cursor's fork and side chats: what each copies, and how to keep the files apart too. - Cap and track agent spend in Claude Code, Codex and Cursor
Cap an unattended run with --max-budget-usd, learn what the cost number is and what modelPricing changes, and see where Codex and Cursor spend is capped. - Status line in Claude Code, Codex and Cursor: show context % and cost
Show context %, session cost and plan limits under the prompt: Claude Code's statusLine script, Codex's tui.status_line items, and what Cursor offers. - Context window full in Claude Code, Cursor and Codex: what to do
When Claude Code, Cursor and Codex compact a full context, what survives, when to /compact or /clear, and a hook that restores your notes after. - Run Claude Code, Codex and Cursor headless in CI and scripts
How to run claude -p, codex exec and Cursor's agent -p in scripts and GitHub Actions: API keys, JSON output, safe permissions, and a workflow for each tool. - Memory in Claude Code, Cursor and Codex: see it, fix it, turn it off
Where Claude Code auto memory and Codex memories are stored, how to view, edit or reset them, what happened to Cursor Memories, and a script that audits them. - Undo an AI agent's changes in Claude Code, Cursor and Codex
How /rewind, Cursor's Restore Checkpoint and Codex's Git-based revert work, what each one cannot undo, and a git checkpoint script for anything they miss. - Plan mode in Claude Code, Cursor and Codex
How Shift+Tab and /plan work in Claude Code, Cursor and Codex: what each can do while planning, how you approve a plan, and how to keep it in the repo. - Claude Code auto mode unavailable or classifier blocked
Auto mode missing, classifier failing, or a billing notice about classifier requests? Check requirements, settings placement and trusted infrastructure. - Sandbox blocking npm install in Claude Code, Cursor and Codex
Agent commands failing with DNS, 403 or read-only errors? Allow the right hosts, cache folders and localhost in Claude Code, Cursor and Codex sandboxes. - Stop Claude Code, Cursor and Codex asking permission for every command
Cut approval prompts without skipping permissions: allow rules, auto modes and sandboxes in Claude Code, Cursor and Codex, plus a script to audit them. - Custom subagents in Claude Code, Cursor and Codex from one source
Where Claude Code, Cursor and Codex look for custom subagents, which fields each reads, why read-only differs, and a script that writes all three files. - Hooks in Claude Code, Cursor and Codex: enforce what rules can't
Use hooks to block risky commands, format every edit and keep the agent working while tests fail, with one set of scripts for Claude Code, Cursor and Codex. - Too many agent skills? What they cost in context and how to prune
How Claude Code, Codex and Cursor load skills, what really costs context, and how to audit, prune and scope installed skills with short descriptions. - One MCP server, three configs: Claude Code, Cursor and Codex
Where Claude Code, Cursor and Codex keep MCP servers, the same server written for each, and the differences that break copy-paste. - How to stop Claude Code, Cursor and Codex reading your .env file
Block .env and key files in Claude Code (deny rules + sandbox), Cursor (.cursorignore + a hook) and Codex (permission profiles), and know each gap. - Stale AGENTS.md and CLAUDE.md: why agents follow them, how to catch it
Coding agents follow a stale AGENTS.md or CLAUDE.md over the code. Add a precedence line, catch dead paths and scripts in CI, and stop the two files drifting. - Cursor rules not applying? alwaysApply, globs and description
Why a Cursor .mdc rule doesn't load, and how alwaysApply, globs, description and @-mention decide when it does. Examples plus a checklist. - Parallel agents with git worktrees in Claude Code, Codex and Cursor
Run several Claude Code, Codex or Cursor agents on one repo without collisions: one git worktree per agent, .env and dependency setup, merging and cleanup. - AGENTS.md for Codex: a practical template that actually loads
A copy-paste AGENTS.md template for Codex, plus how Codex finds, merges and caps AGENTS.md files, when overrides win, and how to check what loaded. - Why your long CLAUDE.md gets ignored, and how to fix it
Claude Code reads CLAUDE.md as context, not config. Keep always-on rules short, move procedures into skills, use @imports, and gate done on tests. - AGENTS.md vs CLAUDE.md: one source of truth for Claude Code and Codex
Keep one AGENTS.md for Codex, Cursor, Windsurf and Copilot, and import it into Claude Code with @AGENTS.md. Plus a decisions log and local rules. - How to write a Claude Code skill (SKILL.md) that actually triggers
Write SKILL.md descriptions that trigger reliably in Claude Code, Codex and Cursor: where skills live, a copy-paste template, manual-only skills and testing. - The plan-first workflow for long AI coding sessions
Why AI coding agents drift in long sessions, and a plan-first fix: PLAN.md, one feature per session, small verified steps, review before commit. - Security rules for AI coding agents: a practical checklist
Rules that stop AI coding agents leaking secrets, skipping validation, or rolling their own crypto, and how to make them stick in Cursor, Claude Code and Codex. - Cursor rules vs CLAUDE.md vs AGENTS.md: which file does what
Compare Cursor .mdc rules, Claude Code CLAUDE.md and AGENTS.md: where each lives, how each loads, size limits, and how to keep them in sync. - CLAUDE.md for Godot 4: a Template Under 200 Lines
A practical CLAUDE.md template for Godot 4 projects: what to include, what to move to .claude/rules, staying under 200 lines, and how to verify it loads. - Fixing Claude (and Other AIs) Writing Godot 3 Code in Godot 4
Why AI assistants write yield, KinematicBody2D and export var in Godot 4 projects, and a concrete fix: wrong→right tables, version pinning and headless checks. - Godot 4 GDScript Rules for Cursor: a Working .mdc Setup
How to write Cursor rules that make the agent produce correct Godot 4 GDScript: .mdc frontmatter, globs, always-on vs scoped rules, and examples.