Skip to content

Commit 8b458f7

Browse files
docs(skill): guide agent to prompt for --categoryExtensions (ChromeDevTools#2189)
...when extension tools are missing. I've run into the situation that the coding agent would try different esoteric approach to install the extension when asked to debug it in chrome DevTools.
1 parent aa33bff commit 8b458f7

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

skills/chrome-devtools/SKILL.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@ You can send multiple tool calls in parallel, but maintain correct order: naviga
4141

4242
### Testing an extension
4343

44+
> **Before proceeding**: Extension tools (`install_extension`, `list_extensions`, etc.) are only available when the MCP server is started with the `--categoryExtensions` flag. If these tools are not in your tool list, stop and ask the user to update their MCP server configuration:
45+
>
46+
> ```json
47+
> {
48+
> "mcpServers": {
49+
> "chrome-devtools": {
50+
> "command": "npx",
51+
> "args": ["chrome-devtools-mcp@latest", "--categoryExtensions"]
52+
> }
53+
> }
54+
> }
55+
> ```
56+
>
57+
> After updating, the user must restart the MCP server (or their AI client) for the change to take effect.
58+
4459
1. **Install**: Use `install_extension` with the path to the unpacked extension.
4560
2. **Identify**: Get the extension ID from the response or by calling `list_extensions`.
4661
3. **Trigger Action**: Use `trigger_extension_action` to open the popup or side panel if applicable.

0 commit comments

Comments
 (0)