Using Claude Code with Kimi in auto mode? Version 2.1.319 blocks every command. Here is why it happens and the one setting that fixes it.

By Meng Li

Published: 2026-11-11

URL: https://pythonlibraries.substack.com/p/claude-code-meets-kimi-auto-mode


If you connect Kimi to Claude Code and upgrade to 2.1.319 or later, you may see something odd: ask it to run ls /tmp and it won’t. Instead it tells you “the safety check didn’t run, the command wasn’t executed, please switch permission mode.”

I connected Kimi Code’s k3.1-pro to Claude Code 2.1.319 and ran it in auto mode. With no extra settings, Claude Code first printed this message:


Auto mode can't check actions in this session. Its safety check runs on the server,and your requests go through api.kimi.com, which doesn't pass it through.Nobody can be asked to approve actions in this session,so every action that needs the check is refused.

In other words: auto mode’s safety check runs on the server side, your requests are forwarded through api.kimi.com, and it doesn’t pass that check along. Nobody can approve actions in this session, so every action that needs the check is refused, even ls /tmp.