From cdefc97c3715d98397d35c4f31b8d4c8028573e1 Mon Sep 17 00:00:00 2001 From: Koshkoshinsk Date: Mon, 20 Apr 2026 13:19:33 +0000 Subject: [PATCH] feat(new-setup-2): broaden install-telegram permission + allow tail/head/grep Switch Bash(bash setup/install-telegram.sh) to a prefix match so trailing flags or redirections don't fall through to approval prompts. Add the common read-only coreutils (tail, head, grep) the model reaches for to cap noisy build output. Co-Authored-By: Claude Opus 4.7 (1M context) --- .claude/skills/new-setup-2/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/skills/new-setup-2/SKILL.md b/.claude/skills/new-setup-2/SKILL.md index ba70704..f571123 100644 --- a/.claude/skills/new-setup-2/SKILL.md +++ b/.claude/skills/new-setup-2/SKILL.md @@ -1,7 +1,7 @@ --- name: new-setup-2 description: Follow-on to /new-setup. Captures the operator and agent names, wires a real messaging channel, and adds quality-of-life extras. Linear rollthrough; every step is skippable. Invoked when the user picks "continue setup" at the end of /new-setup. -allowed-tools: Bash(bash setup/probe.sh) Bash(bash setup/install-telegram.sh) Bash(pnpm exec tsx setup/index.ts *) Bash(pnpm exec tsx scripts/init-first-agent.ts *) +allowed-tools: Bash(bash setup/probe.sh) Bash(bash setup/install-telegram.sh:*) Bash(pnpm exec tsx setup/index.ts *) Bash(pnpm exec tsx scripts/init-first-agent.ts *) Bash(tail:*) Bash(head:*) Bash(grep:*) --- # NanoClaw phase-2 setup