rtk-ai/rtk

Claude fails to use `rtk proxy` because of quotes

Open

#388 创建于 2026年3月6日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Rust (2,914 fork)batch import
P2-importantarea:clibugeffort-smallenhancementgood first issuepriority:medium

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

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?

贡献者指南