.
D 2026-11-28T00:29:10.146
J comment Reported\sfrom\sreal\suse:\sslash\scommands\sdo\snot\swork\sfrom\sthe\sphone.\n\npic-relay\sis\schanging\sthe\spage\sside:\sthe\sphone\snow\sruns\sits\sown\scontrol\sfor\s/model,\s/thinking,\s/compact,\s/name,\s/new,\s/permissions\sand\s/auth,\sand\ssays\sthat\sthe\sterminal's\sother\scommands\srun\sonly\sat\sthe\scomputer.\sSkills\sand\sprompt\stemplates\sare\spic's\sto\sexpand,\sand\sa\sphone\sprompt\sthat\snames\sone\sreaches\sthe\smodel\sunexpanded.\n\nReproduce\son\sa\sdisposable\shome\sand\sworkspace,\swith\sa\sscripted\sOpenAI-compatible\sendpoint\sand\sno\slive\sservice:\n1.\sCopy\sone\sskill\sto\s`$H/.pic/skills/bellard/SKILL.md`.\n2.\sStart\sa\sconversation\sfrom\sthe\sphone\sand\ssend\s`/skill:bellard\scheck\sthis`.\n3.\sThe\smodel\sreceives\sthe\suser\smessage\s`/skill:bellard\scheck\sthis`\sas\styped.\n4.\s`HOME=$H\spic\s--model\sscripted/scripted-1\sask\s"/skill:bellard\scheck\sthis"`\sin\sthe\ssame\sworkspace\ssends\s`<skill\sname="bellard"\slocation=...>`,\sthe\sexpanded\sskill.\nget_commands\son\sthe\ssame\shome\slists\s`skill:bellard`,\sso\sthe\sphone\sis\stold\sthe\scommand\sexists.\n\nObserved:\sfrom\sthe\sphone\sthe\stext\sis\ssent\sas\styped.\nExpected:\sthe\ssame\sexpansion\sas\s`pic\sask`\sand\sthe\sterminal,\sfor\sskills\sand\sprompt\stemplates\s(Pi's\sprompt\sexpands\sboth).\n\nCode\spath:\sremote.c\s`rmt_prompt`\s(line\s~4400)\sand\s`rmt_fresh`\s(`+W`,\sline\s~4443)\spass\sthe\smessage\sto\s`rmt_start`,\swhich\skeeps\sit\sverbatim\s(`c->text\s=\sstrdup(text)`)\sfor\sthe\sdetached\srun.\smain.c\s`ask()`\sexpands\s`/skill:`\sthrough\s`pic_skills_expand`\s(line\s~2989),\sand\s`expand_template`\s(line\s~2333)\scovers\stemplates\sfor\ssteering\sand\sfollow-ups.\sThe\sremote\srun\spath\scalls\sneither.\sI\stested\sskills\sonly;\stemplates\stake\sthe\ssame\spath.\n\nFix\sshape:\sexpand\sin\sthe\srun\sthe\sremote\sstarts,\sas\s`ask()`\sdoes\s(skill\sfirst,\selse\stemplate),\sand\sin\sthe\sinbox\spath\sfor\ssteer\sand\sfollow_up\sthrough\s`expand_template`.\sA\sskill\sthat\sis\sgone\sshould\sget\sPi's\serror\sback\son\sthe\scommand,\snot\sbe\ssent\sas\stext.
J foundin 2f9e8c02576f
J severity Important
J status Open
J title Remote:\sa\sphone\sprompt\snaming\sa\sskill\sor\sprompt\stemplate\sreaches\sthe\smodel\sunexpanded
J type Code_Defect
K 89dea7821e3e4476a90a50489fa193fa611416d3
U dmestas
Z 8a625fbc22d4983ee188cb2de25f87fd