Skip to content
Agentmart
Submit a tool

charles-proxy-extract

Extracts HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj format), including URLs, methods, status codes, headers, request…

Skill by wannabehero

IndexedMIT★ 9
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wannabehero-charles-proxy-extract

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Extracts HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj format), including URLs, methods, status codes, headers, request bodies, and response bodies. Use when analyzing captured network traffic from Charles Proxy debug sessions, inspecting API calls, debugging HTTP requests, or examining proxy logs.

Use cases: backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/charles-proxy-extract

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash

What's inside

Skill name
charles-proxy-extract
Description
Extracts HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj format), including URLs, methods, status codes, headers, request bodies, and response bodies. Use when analyzing captured network traffic from Charles Proxy debug sessions, inspecting API calls, debugging HTTP requests, or examining proxy logs.
License
MIT
Allowed tools
Bash
Instructions
176 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves any shell command

Agent Skills spec issues

  • name: "charles-proxy-extract" does not match folder "charles-proxy-extract-skill"

Files (4)

  • LICENSE.md
  • README.md
  • SKILL.md
  • extract_responses.py

SKILL.md (first lines)

# Charles Proxy Session Extractor

Parses and extracts structured data from Charles Proxy session files (.chlsj format).

## Prerequisites

- Python 3.x (no external dependencies required)
- Charles Proxy session file in .chlsj format

## When to Use This Skill

Use this skill when the user:
- Mentions "Charles Proxy" or "Charles session"
- Asks to "extract", "analyze", or "inspect" .chlsj files
- Wants to filter HTTP/HTTPS requests by endpoint or method
- Needs to examine API request/response data from proxy logs
- Wants to export network traffic data to JSON

## How to Execute This Skill

When the user asks to extract, analyze, or inspect Charles Proxy session files, run the Python script using the Bash tool:

```bash
python3 ./extract_responses.py <file.chlsj> <pattern> [options]
```

### Required Parameters
1. `<file.chlsj>` - Path to the Charles Proxy session file (use exact path provided by user)
2. `<pattern>` - URL path pattern to match (e.g., "/today", "/logs", "/" for all)

### Optional Flags
- `-m, --method METHOD` - Filter by HTTP method (GET, POST, PUT, PATCH, DELETE)
- `-f, --first-only` - Show only first matching request (for quick inspection)
- `-s, --summary-only` - Show statistics without response bodies
- `-o, --output FILE` - Save responses to JSON file
- `--no-pretty` - Disable JSON pretty-printing

### Execution Examples

**Extract all /today responses:**
```bash
python3 ./extract_responses.py session.chlsj "/today"
```

**Filter by POST method (automatically shows request bodies):**
```bash
python3 ./extract_responses.py session.chlsj "/logs" --method POST
```

**Quick peek (first result only):**
```bash
python3 ./extract_responses.py session.chlsj "/users" --first-only
```

**Summary without bodies:**
```bash
python3 ./extract_responses.py session.chlsj "/" --summary-only
```

**Export to file:**
```bash
python3 ./extract_responses.py session.chlsj "/items" --output items_data.json
```

### User Request Patterns

When users say things like:
- "Extract [endpoint] from [file]" → Use basic extraction with pattern matching
- "Show POST/PUT/PATCH to [endpoint]" → Add `--method` flag (request bodies auto-shown)
- "First [endpoint] response" → Add `--first-only` flag
- "Summarize [file]" or "What's in [file]" → Add `--summary-only` flag
- "Save [endpoint] to [output]" → Add `--output` flag
- "Compare [endpoint] with model" → Extract first response, then analyze structure

### Important Notes
- Pattern matching is case-sensitive substring matching
- Method filtering is case-insensitive
- POST/PUT/PATCH methods automatically display request bodies when method filter is applied
- Use `"/"` as pattern to match all requests

## What This Skill Does

Extracts HTTP/HTTPS request and response data from Charles Proxy session files, allowing you to:
- Filter requests by URL pattern (substring matching)
- Filter requests by HTTP method (GET, POST, PUT, PATCH, DELETE)
- View request bodies for mutation operations (POST/PUT/PATCH)
- Export extracted data to JSON files
- Generate traffic summaries with statistics
- Pretty-print JSON response bodies

## Input Requirements

**Required:**
- Path to Charles Proxy session file (.chlsj format)
- URL pattern to match (use "/" to match all requests)

**Optional:**
- HTTP method filter (GET, POST, PUT, PATCH, DELETE)
- Output mode (full, first-only, summary-only)
- Output file path for JSON export
- Pretty-print toggle for JSON formatting

## Output Format

**Summary mode:**
- Pattern match statistics
- Grouped paths with request counts
- Method and status code distribution

**Full mode:**
- Request details (method, path, status, timestamp)
- Request body (for POST/PUT/PATCH when method filter applied)
- Response body (JSON parsed or raw text)
- Pretty-printed JSON by default

**Export mode:**
- JSON file with structure:
  ```json
  {

From wannabehero/charles-proxy-extract-skill, MIT.

Signals

Stars
9
Forks
4
Open issues
0
Last commit
Dec 28, 2025 (10 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

charles-proxy-extract skill. Agent Mart. https://agentmart.dev/skills/wannabehero-charles-proxy-extract (last updated 2026-10-24)