Repository navigation
Commit 9a37a49
committed
feat(claude-code): make agent-browser the default browser tool, via an image-managed skill
Replaces the per-project sandbox-playwright skill with devcontainer-browser,
shipped by the image at /etc/claude-code/.claude/skills/ (Claude Code's
managed skills location). Every project gets it without a copy, and it wins
a name clash with a project skill.
- devcontainer-browser: agent-browser first, for opening the app, UI checks,
screenshots, DPR/srcset measurement, scripted checks and React render
profiling. Playwright only for a project's committed @playwright/test
suite, vitest browser mode or Storybook tests, Firefox/WebKit, or a
missing agent-browser. Keeps the executablePath wiring matrix and the
never-download-a-browser rules. Defers agent-browser command docs to the
version-matched `agent-browser skills get core`.
- managed-settings.json: a claudeMd routing rule loaded in every session,
and permissions.allow for Bash(agent-browser:*).
- agent-browser moves from the default target into base, so the sandbox
target has it too; sandbox also sets AGENT_BROWSER_EXECUTABLE_PATH.
- CI verify checks agent-browser, its env var, the managed skill, and both
new managed-settings keys on both targets.
- devcontainer-upstream-sync 1.3.0: sandbox-playwright is a retired path
(delete), since a leftover copy would load alongside the new skill.
- README: built-in browser skill section, migration note, and the
"default target only" notes for agent-browser removed.
Removing the Playwright MCP plugin is separate: #174 (review 2026-11-25).1 parent 6c81fcd commit 9a37a49
7 files changed
Lines changed: 179 additions & 160 deletions
File tree
- .github/workflows
- claude-code
- .claude/skills
- devcontainer-upstream-sync
- sandbox-playwright
- .devcontainer
- managed-skills/devcontainer-browser
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
155 | 163 | | |
156 | 164 | | |
157 | 165 | | |
158 | | - | |
| 166 | + | |
| 167 | + | |
159 | 168 | | |
160 | 169 | | |
161 | 170 | | |
| |||
This file was deleted.
0 commit comments