charles-proxy-extractlisted
Install: claude install-skill eric861129/SKILLS_All-in-one
# 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 (automati