Skip to content
Open
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
3 changes: 3 additions & 0 deletions docs/README.skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to
| [eyeball](../skills/eyeball/SKILL.md)<br />`gh skills install github/awesome-copilot eyeball` | Document analysis with inline source screenshots. When you ask Copilot to analyze a document, Eyeball generates a Word doc where every factual claim includes a highlighted screenshot from the source material so you can verify it with your own eyes. | `tools` |
| [fabric-lakehouse](../skills/fabric-lakehouse/SKILL.md)<br />`gh skills install github/awesome-copilot fabric-lakehouse` | Use this skill to get context about Fabric Lakehouse and its features for software systems and AI-powered functions. It offers descriptions of Lakehouse data components, organization with schemas and shortcuts, access control, and code examples. This skill supports users in designing, building, and optimizing Lakehouse solutions using best practices. | `references/getdata.md`<br />`references/pyspark.md` |
| [fedora-linux-triage](../skills/fedora-linux-triage/SKILL.md)<br />`gh skills install github/awesome-copilot fedora-linux-triage` | Triage and resolve Fedora issues with dnf, systemd, and SELinux-aware guidance. | None |
| [fiddler-download-setup](../skills/fiddler-download-setup/SKILL.md)<br />`gh skills install github/awesome-copilot fiddler-download-setup` | Download, install, and launch Fiddler Everywhere from scratch, then configure MCP for AI agent tools. Use this skill when the user does not have Fiddler installed, says "download Fiddler", "install Fiddler Everywhere", "get started with Fiddler", "first time Fiddler setup", "set up Fiddler from scratch", or needs a complete onboarding from zero to a working Fiddler MCP connection. | None |
| [fiddler-mcp-setup](../skills/fiddler-mcp-setup/SKILL.md)<br />`gh skills install github/awesome-copilot fiddler-mcp-setup` | Set up the Fiddler Everywhere MCP server connection for AI agent tools (Claude Code, GitHub Copilot CLI, GitHub Copilot in VS Code, Cursor, OpenAI Codex CLI). ALWAYS use this skill when Fiddler MCP tools are not available, you cannot see Fiddler tools, get an authentication error connecting to Fiddler, need to configure Fiddler MCP for the first time, or hear "tool not found" errors when trying to use other Fiddler skills. Calls Fiddler's local autoconfigure API to detect existing config and write the correct settings automatically. The only prerequisite is that Fiddler Everywhere is running. | None |
| [fiddler-traffic-debugging](../skills/fiddler-traffic-debugging/SKILL.md)<br />`gh skills install github/awesome-copilot fiddler-traffic-debugging` | Verify that a developer-run feature behaved correctly by analyzing HTTP traffic captured by Fiddler Everywhere. Use this skill when a developer asks to debug or verify HTTP traffic captured with Fiddler, wants to see what requests a feature made, needs to debug a failed API call, is checking Fiddler-captured traffic after running a feature, or wants to confirm what each endpoint returned. Summarizes the capture by endpoint and flags likely issues such as failed calls, missing follow-up requests, retries, auth failures, timeouts, and suspicious status-code patterns. Requires Fiddler Everywhere to be running with its MCP server enabled. | None |
| [finalize-agent-prompt](../skills/finalize-agent-prompt/SKILL.md)<br />`gh skills install github/awesome-copilot finalize-agent-prompt` | Finalize prompt file using the role of an AI agent to polish the prompt for the end user. | None |
| [finnish-humanizer](../skills/finnish-humanizer/SKILL.md)<br />`gh skills install github/awesome-copilot finnish-humanizer` | Detect and remove AI-generated markers from Finnish text, making it sound like a native Finnish speaker wrote it. Use when asked to "humanize", "naturalize", or "remove AI feel" from Finnish text, or when editing .md/.txt files containing Finnish content. Identifies 26 patterns (12 Finnish-specific + 14 universal) and 4 style markers. | `references/patterns.md` |
| [first-ask](../skills/first-ask/SKILL.md)<br />`gh skills install github/awesome-copilot first-ask` | Interactive, input-tool powered, task refinement workflow: interrogates scope, deliverables, constraints before carrying out the task; Requires the Joyride extension. | None |
Expand Down
311 changes: 311 additions & 0 deletions skills/fiddler-download-setup/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,311 @@
---
name: fiddler-download-setup
description: 'Download, install, and launch Fiddler Everywhere from scratch, then configure MCP for AI agent tools. Use this skill when the user does not have Fiddler installed, says "download Fiddler", "install Fiddler Everywhere", "get started with Fiddler", "first time Fiddler setup", "set up Fiddler from scratch", or needs a complete onboarding from zero to a working Fiddler MCP connection.'
---

# Fiddler Download & Setup

Guide the user through downloading, installing, and launching Fiddler Everywhere.

## Operating rules

1. This skill is shell-first. Fiddler is not installed yet, so no MCP tools are available.
2. Resolve the current version from the manifest before constructing any download URL.
Never hardcode a version number.
3. On Windows - detect opened terminal. Only if it is not powershell - wrap and run the scripts with: powershell.exe -Command 'script'. Use single quotes to wrap the script!

---

## Phase 1 — Check if Fiddler is already installed

Before downloading, check whether Fiddler Everywhere is already installed.
If it is installed, also read the installed version and compare it against the latest
available release. Only proceed to Phase 2 if the app is not installed or an update
is available and the user wants to upgrade.

### macOS — detect and version-check
```bash
if [ -d "/Applications/Fiddler Everywhere.app" ]; then
INSTALLED_VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" \
"/Applications/Fiddler Everywhere.app/Contents/Info.plist" 2>/dev/null)
echo "INSTALLED: $INSTALLED_VERSION"
else
echo "NOT_INSTALLED"
fi
```

If `INSTALLED`, fetch the latest version for the detected architecture and compare:
```bash
ARCH=$(uname -m)
if [ "$ARCH" = "arm64" ]; then
MANIFEST_URL="https://downloads.getfiddler.com/mac-arm64/latest-mac.yml"
else
MANIFEST_URL="https://downloads.getfiddler.com/mac/latest-mac.yml"
fi
LATEST_VERSION=$(curl -s "$MANIFEST_URL" | grep '^version:' | awk '{print $2}')
echo "Installed: $INSTALLED_VERSION | Latest: $LATEST_VERSION"
if [ "$INSTALLED_VERSION" = "$LATEST_VERSION" ]; then
echo "UP_TO_DATE"
else
echo "UPDATE_AVAILABLE"
fi
```

### Linux — detect and version-check
```bash
APPIMAGE=$(ls ~/Downloads/fiddler-everywhere-*.AppImage 2>/dev/null | sort -V | tail -1)
if command -v fiddler-everywhere &>/dev/null || [ -n "$APPIMAGE" ]; then
# Extract version from AppImage filename as the most reliable source
INSTALLED_VERSION=$(echo "$APPIMAGE" | grep -oP '[\d]+\.[\d]+\.[\d]+')
echo "INSTALLED: $INSTALLED_VERSION"
LATEST_VERSION=$(curl -s "https://downloads.getfiddler.com/linux/latest-linux.yml" \
| grep '^version:' | awk '{print $2}')
echo "Installed: $INSTALLED_VERSION | Latest: $LATEST_VERSION"
if [ "$INSTALLED_VERSION" = "$LATEST_VERSION" ]; then
echo "UP_TO_DATE"
else
echo "UPDATE_AVAILABLE"
fi
else
echo "NOT_INSTALLED"
fi
```

### Windows (PowerShell) — detect and version-check
```powershell
$installed = Get-ItemProperty `
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*",
"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*",
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" `
-ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -like "*Fiddler Everywhere*" }

if ($installed) {
$installedVersion = $installed.DisplayVersion
Write-Host "INSTALLED: $installedVersion"

$manifest = Invoke-WebRequest "https://downloads.getfiddler.com/win/latest.yml" -UseBasicParsing
$text = [System.Text.Encoding]::UTF8.GetString($manifest.RawContentStream.ToArray())
$latestVersion = ($text | Select-String '(?m)^version:\s*(.+)').Matches.Groups[1].Value.Trim()
Write-Host "Installed: $installedVersion | Latest: $latestVersion"

if ($installedVersion -eq $latestVersion) { "UP_TO_DATE" } else { "UPDATE_AVAILABLE" }
} else {
"NOT_INSTALLED"
}
```

**Interpreting the result:**

- `NOT_INSTALLED` — continue to Phase 2 to download and install.
- `UP_TO_DATE` — inform the user their Fiddler Everywhere is already on the latest version
and stop further execution of the skill.
Comment on lines +101 to +102
- `UPDATE_AVAILABLE` — tell the user the installed version and the latest version, then ask
whether they want to upgrade. If yes, continue to Phase 2 (the new installer will replace
the existing one). If no, stop.
---

## Phase 2 — Detect OS and resolve version

Run both commands together. The manifest probe also confirms network access.

```bash
uname -s && uname -m
VERSION=$(curl -s "https://downloads.getfiddler.com/mac-arm64/latest-mac.yml" \
| grep '^version:' | awk '{print $2}')
echo "Latest Fiddler Everywhere: $VERSION"
Comment on lines +113 to +116
```

On Windows (PowerShell):
```powershell
$env:PROCESSOR_ARCHITECTURE # AMD64 or ARM64
$manifest = Invoke-WebRequest "https://downloads.getfiddler.com/win/latest.yml" -UseBasicParsing
$text = [System.Text.Encoding]::UTF8.GetString($manifest.RawContentStream.ToArray())
$VERSION = ($text | Select-String '(?m)^version:\s*(.+)').Matches.Groups[1].Value.Trim()
Write-Host "Latest Fiddler Everywhere: $VERSION"
```

| `uname -s` | `uname -m` | Platform |
|-------------|------------|----------|
| `Darwin` | `arm64` | macOS Apple Silicon |
| `Darwin` | `x86_64` | macOS Intel |
| `Linux` | anything | Linux |
| — | — | Windows — use PowerShell path above |

---

## Phase 3 — Download

Use `$VERSION` resolved in Phase 2 to construct a direct, versioned URL.
The `.pkg` format is preferred on macOS.

### macOS

```bash
# Apple Silicon (arm64)
curl -L \
"https://agent-downloads.getfiddler.com/mac-arm64/Fiddler%20Everywhere%20${VERSION}.pkg" \
-o ~/Downloads/FiddlerEverywhere.pkg

# Intel (x86_64)
curl -L \
"https://agent-downloads.getfiddler.com/mac/Fiddler%20Everywhere%20${VERSION}.pkg" \
-o ~/Downloads/FiddlerEverywhere.pkg
```

### Linux

```bash
VERSION=$(curl -s "https://downloads.getfiddler.com/linux/latest-linux.yml" \
| grep '^version:' | awk '{print $2}')
curl -L \
"https://agent-downloads.getfiddler.com/linux/fiddler-everywhere-${VERSION}.AppImage" \
-o ~/Downloads/FiddlerEverywhere.AppImage
Comment thread
martin-vladkov marked this conversation as resolved.
```

### Windows (PowerShell)

```powershell
Invoke-WebRequest `
"https://agent-downloads.getfiddler.com/win/Fiddler%20Everywhere%20$VERSION.exe" `
-OutFile "$env:USERPROFILE\Downloads\FiddlerEverywhere.exe"
```

---

## Phase 4 — Install

### macOS — PKG (headless, no wizard)

Do **not** use `sudo installer` directly — `sudo` blocks on a password prompt inside
the agent's hidden shell where the user cannot type. Use `osascript` instead, which
raises the native macOS authentication dialog that the user can see on screen.

`do shell script with administrator privileges` runs as root and cannot access
`~/Downloads` due to macOS sandbox restrictions. Copy the package to `/tmp` first
(world-readable), then install from there.

Run both commands via bash tool calls:

```bash
cp ~/Downloads/FiddlerEverywhere.pkg /tmp/FiddlerEverywhere.pkg
```

Then announce before the next command:
> "A macOS password dialog will appear on your screen. Enter your login password there
> to authorize the installation, then I'll continue automatically."

```bash
osascript -e 'do shell script "installer -pkg /tmp/FiddlerEverywhere.pkg -target /" with administrator privileges'
```

`osascript` blocks until the user approves the dialog and the install completes. Once it
exits with code 0, clean up.

```bash
rm /tmp/FiddlerEverywhere.pkg
```


### Linux

```bash
chmod +x ~/Downloads/FiddlerEverywhere.AppImage
~/Downloads/FiddlerEverywhere.AppImage &
```

### Windows — silent install

```powershell
Start-Process "$env:USERPROFILE\Downloads\FiddlerEverywhere.exe" -ArgumentList "/S" -Wait
```

**Launch Fiddler:**

macOS:
```bash
open -a "Fiddler Everywhere" && sleep 15
```

Linux:
```bash
(nohup "$HOME/Downloads/FiddlerEverywhere.AppImage" &>/dev/null &); sleep 15
```

Windows:
**Important** On windows if the current terminal used is bash, use the specific **GitBash** script.

**PowerShell**
```powershell
$candidates = @(
"$env:LOCALAPPDATA\Programs\Fiddler Everywhere\Fiddler Everywhere.exe",
"C:\Program Files\Fiddler Everywhere\Fiddler Everywhere.exe",
"C:\Program Files (x86)\Fiddler Everywhere\Fiddler Everywhere.exe"
)
$fiddlerExe = $candidates | Where-Object { Test-Path $_ } | Select-Object -First 1
if ($fiddlerExe) {
$cmdLine = '"' + $fiddlerExe + '"'
Invoke-CimMethod -ClassName Win32_Process -MethodName Create -Arguments @{ CommandLine = $cmdLine } | Out-Null
Start-Sleep 15
}
```

**Git Bash**
```bash
FIDDLER_EXE=""
for dir in "$LOCALAPPDATA/Programs/Fiddler Everywhere" \
"/c/Program Files/Fiddler Everywhere" \
"/c/Program Files (x86)/Fiddler Everywhere"; do
if [ -f "$dir/Fiddler Everywhere.exe" ]; then
FIDDLER_EXE="$dir/Fiddler Everywhere.exe"
break
fi
done
if [ -n "$FIDDLER_EXE" ]; then
"$FIDDLER_EXE" &
sleep 15
fi
```

---

## Phase 5 — Suggest MCP setup

After Fiddler Everywhere is installed and launched, inform the user that there is
an automatic MCP setup skill that can configure the Fiddler MCP server connection.

Present the following message:

> Fiddler Everywhere is installed and running.
>
> There is an **automatic MCP setup** skill that can configure the Fiddler MCP
> server connection for your AI agent. This will allow agent tools
> to interact with Fiddler directly — capturing traffic,
> inspecting sessions, creating rules, and more — all from within your editor.
>
> Would you like me to auto-configure MCP now?

Ask the user to choose:
- **Yes, auto-configure MCP** (recommended)
- **No, I'll set it up manually later**

### If the user accepts

Install the `fiddler-mcp-setup` skill from its remote location and invoke it:

**Remote skill URL:** `https://github.com/telerik/fiddler-agent-tools/tree/master/skills/fiddler-mcp-setup`

Follow the `fiddler-mcp-setup` skill instructions to complete MCP configuration end-to-end.
Comment on lines +294 to +298

### If the user declines

Acknowledge and let them know they can download the MCP setup skill later at any time.

## Troubleshooting

| Issue | Solution |
|-------|----------|
| macOS password dialog canceled / install aborted | Rerun the `osascript` command — the pkg in `/tmp` is still there |
| `hdiutil: attach failed` | File may not be fully downloaded — rerun the `curl` command |
| Windows EXE blocked by SmartScreen | Right-click → Run as Administrator |
| App won't open on macOS | Run `xattr -cr "/Applications/Fiddler Everywhere.app"` to clear quarantine |
Comment on lines +310 to +311
Loading
Loading