rtk-ai/rtk

Claude fails to use `rtk proxy` because of quotes

Open

#388 ouverte le 6 mars 2026

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)Rust (2 914 forks)batch import
P2-importantarea:clibugeffort-smallenhancementgood first issuepriority:medium

Métriques du dépôt

Stars
 (48 085 stars)
Métriques de merge PR
 (Merge moyen 11j 1h) (45 PRs mergées en 30 j)

Description

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?

Guide contributeur