Commit 320c217
committed
chore(claude): tighten skill allowed-tools — replace bare Bash with prefix-scoped matchers
Replaces bare Bash in skill allowed-tools frontmatter with an explicit
list of Bash(prefix:*) matchers covering the common command set:
Bash(pnpm:*), Bash(npm:*), Bash(git:*), Bash(node:*), Bash(rg:*),
Bash(grep:*), Bash(find:*), Bash(ls:*), Bash(cat:*), Bash(head:*),
Bash(tail:*), Bash(wc:*), Bash(diff:*)
Override sets for skills with narrower needs:
- security-scan: Task, Read, Bash(pnpm exec agentshield:*),
Bash(zizmor:*), Bash(command -v:*), Bash(find .cache/external-tools/zizmor:*)
- squashing-history: AskUserQuestion, Bash(git:*), Bash(diff:*),
Bash(rm:*), Bash(ls:*)
Bare Bash (= Bash(*)) silently allowed every shell command. The new
list is the minimum credible footprint a fleet update skill needs;
skills that need additional commands (jq, awk, python3, gh, etc.)
should add those matchers explicitly in their own SKILL.md.
Mirrors the canonical pattern landed on socket-repo-template main.1 parent 0007c73 commit 320c217
3 files changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments