What problem does it solve?
This Skill automates the extraction and analysis of HTTP/HTTPS traffic captured in Charles Proxy session files (.chlsj). It helps developers quickly locate endpoints, filter by URL patterns and HTTP methods, inspect request bodies, and export results for debugging and documentation, saving hours of manual parsing.
Core Features & Use Cases
- Pattern-based filtering: extract requests by URL substring
- Method filtering: filter by HTTP method (GET, POST, PUT, PATCH, DELETE)
- Request body inspection: view and extract request payloads
- JSON export: save filtered responses for further analysis
- Summary mode: overview traffic without heavy data
- Pretty-printed output: readable JSON by default
- CLI and Claude Code friendly: usable from terminal or Claude Code interactions
Quick Start
Usage: python3 extract_responses.py <file.chlsj> <path_pattern> [options]
Examples:
- Extract all /api/users responses:
python3 extract_responses.py session.chlsj '/api/users'
- Show POST requests to /logs with bodies:
python3 extract_responses.py session.chlsj '/logs' --method POST
- Save responses to a file:
python3 extract_responses.py session.chlsj '/items' --output items.json