Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions plugins/firefox-mcp/skills/debug/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: debug
description: Show console errors and failed network requests
argument-hint: [console|network|all]
disable-model-invocation: true
---

# /firefox-mcp:debug

Displays debugging information from the current page.

## Usage

```
/firefox-mcp:debug # Show all (console errors + failed requests)
/firefox-mcp:debug console # Console messages only
/firefox-mcp:debug network # Network requests only
```

## Examples

```
/firefox-mcp:debug
/firefox-mcp:debug console
/firefox-mcp:debug network
```

## What Happens

- `console`: Calls `list_console_messages` with `level="error"`
- `network`: Calls `list_network_requests` with `statusMin=400`
- `all` (default): Shows both console errors and failed network requests

Requires Firefox to already be running and on the page you want to debug. If Firefox is not running or is on about:blank, call `navigate_page` first.
33 changes: 33 additions & 0 deletions plugins/firefox-mcp/skills/navigate/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: navigate
description: Navigate Firefox to a URL and take a DOM snapshot for interaction
argument-hint: <url>
disable-model-invocation: true
---

# /firefox-mcp:navigate

Opens a URL in Firefox and takes a DOM snapshot for interaction.

## Usage

```
/firefox-mcp:navigate <url>
```

## Examples

```
/firefox-mcp:navigate https://example.com
/firefox-mcp:navigate https://github.com/login
/firefox-mcp:navigate file:///path/to/local.html
```

## What Happens

1. Calls `navigate_page` with the URL
2. Waits for page load
3. Calls `take_snapshot` to create UID mappings
4. Returns the DOM snapshot with interactive elements marked

After navigating, you can interact with elements using their UIDs (e.g., `e42`).
31 changes: 31 additions & 0 deletions plugins/firefox-mcp/skills/screenshot/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: screenshot
description: Take a screenshot of a URL or the current page
argument-hint: [url or uid]
disable-model-invocation: true
---

# /firefox-mcp:screenshot

Captures a screenshot of a URL or the current page and shows it to the user.

## Usage

```
/firefox-mcp:screenshot https://example.com # Navigate then screenshot
/firefox-mcp:screenshot # Screenshot current page
/firefox-mcp:screenshot <uid> # Screenshot specific element
```

## Steps

1. Navigate if a URL was given: call `navigate_page`.
2. Take the screenshot using the method that matches your environment:

**In Cowork** (system prompt contains an outputs folder host path under "Shell access"):
- Call `screenshot_page saveTo="<host-outputs-path>/screenshot.png"` using the host path from the system prompt, not the container path.
- Load and call `present_files` with that same path so the user receives a clickable file card.

**In Claude.ai chat or Claude Desktop** (no outputs folder in system prompt):
- Call `screenshot_page` without `saveTo`.
- Your final response must include the actual image returned — not a description of it. The user cannot see tool call outputs, only what you include in your reply.