Skip to main content
Tahir Nazir — blog home
T
Tahir Nazir
Engineering notes
Articles
Portfolio
Games
Hire me
Home
/
Blog
/
AI Agents
/
Page 2
#AI Agents — page 2
Articles with this tag
10
CC
CC
Claude Code Deleted My Files: How to Get Them Back, and How to Stop It Happening Again
Claude Code deleted your files or your project? /rewind can't bring back a file only rm removed. The five places deleted files can still be, in order, then which protection (deny rules, hooks, the sandbox, containers) stops which kind of delete, tested.
Troubleshooting
AI Engineering
·
October 30, 2026
·
22 min read
11
CC
CC
Claude Code Auto Compact: Why It Keeps Compacting, and the Settings That Fix It
Claude Code compacting the conversation too often, far below the limit, or stopping with 'Autocompact is thrashing'? Those are four different causes: idle compaction, a small auto-compact window, something refilling the context, or an open bug. How to tell which one you have in a minute, with data from my own sessions, and the exact setting for each.
Troubleshooting
AI Engineering
·
October 28, 2026
·
18 min read
12
OP
OP
OpenCode's 'Free Tier Can Only Be Used From Within OpenCode' Error, Even in OpenCode: What Triggers It
OpenCode's free models refuse with 'free tier can only be used from within OpenCode' while you're using OpenCode. I tested which configs trigger it: a denied read permission does, a denied bash doesn't. Plus the newer 'detected abusive traffic from this IP address' block, which is your network, not your config.
Troubleshooting
AI Engineering
·
October 21, 2026
·
16 min read
13
CC
CC
Claude Code 'Compacted Using a Summary Written While You Were Away'? Turn It Off
You stepped away and came back to 'Compacted using a summary written while you were away', or in the terminal 'Compacted while idle, before the prompt cache expired'. It's idle compaction, a cost-saving feature Anthropic switched on server-side. How to turn it off in settings.json or /config, and the exact rules I found in the code.
Troubleshooting
AI Engineering
·
October 7, 2026
·
26 min read
14
CC
CC
Claude Code 'There's an Issue With the Selected Model': It's Usually Just a 404
I pointed Claude Code at a fake API and fed it every kind of error. Any 404 — a typo, a stray /v1, a gateway's error page — produced this exact message. Here's how to tell which one you have.
Troubleshooting
AI Engineering
·
October 6, 2026
·
11 min read
15
CC
CC
Claude Code 'Auto Mode Check Unavailable' or 'Classifier Unavailable'? 4 Fixes
Bash, Edit and MCP calls all refused while Read still works. The auto mode safety check failed, not your command. What the error means, why it stops after ten, and four fixes from Anthropic's own docs.
Troubleshooting
AI Engineering
·
October 5, 2026
·
18 min read
16
CC
CC
Claude Code Tokens: How Many It Uses, How to See Them, and How to Cut Them
A two-token prompt made Claude Code process about 38,000 tokens before it answered, and 54,000 with my plugins and MCP servers loaded. Where Claude Code's tokens go, how to see them with /usage, /context and the status line, what it costs, why usage climbs while you're idle, and the changes that actually cut it.
Troubleshooting
AI Engineering
·
August 14, 2026
·
19 min read
Previous
1
2
Next
More topics
AI Engineering
Web Development
#Claude Code
#Troubleshooting
#Developer Tools
#Enterprise
#Security
#Windows
#Codex
#Auto Mode
#Next.js
#Networking
#Cost Optimization
#MCP