rtk-ai/rtk

Claude fails to use `rtk proxy` because of quotes

Open

#388 创建于 2026年3月6日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Rust (48,085 star) (2,914 fork)batch import
P2-importantbugeffort-smallenhancementgood first issue

描述

I just witnessed Claude Code run:

rtk proxy 'head -50 app/Models/Domaine.php'
Error: Failed to execute command: head -50 app/Models/Domaine.php

Caused by:
    No such file or directory (os error 2)

After debugging I figured out that it should have run:

rtk proxy head -50 app/Models/Domaine.php

i.e. because of the quotes it messed up the invocation.

Should:

  • Claude instructions be clarified to avoid CC adding quotes?
  • or rtk proxy automatically un-quote if it gets 1 argument with quotes?

贡献者指南