Automated summary
Extracts structured HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj), including URLs, methods, status codes, headers, and bodies.
Strengths
- Filter requests by URL pattern and HTTP method (GET, POST, etc.)
- Display request bodies for mutation operations (POST/PUT/PATCH)
- Export to JSON and generate traffic summaries
Limitations
- Requires .chlsj format; does not work with other proxy formats
- Pattern matching is case-sensitive substring match
- Not optimized for extremely large session files
Use this skill when debugging API calls, inspecting HTTP traffic from Charles Proxy, or exporting network logs for analysis.
Do not use it for real-time traffic analysis or with proxy formats other than Charles .chlsj.
Security analysis
SafeThe skill only runs a local Python script with no external dependencies, parsing a user-provided file and outputting data. There is no network activity, no destructive commands, and no exfiltration risk.
No concerns found
How this analysis is madeExamples
Extract all responses from this Charles session file session.chlsj that match the endpoint /today.Show only POST requests to /logs from my Charles session file session.chlsj, including request bodies.Summarize all traffic in the Charles session file session.chlsj without showing response bodies.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. allowed-tools: Bash
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:
python3 ./extract_responses.py <file.chlsj> <pattern> [options]
Required Parameters
<file.chlsj>- Path to the Charles Proxy session file (use exact path provided by user)<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:
python3 ./extract_responses.py session.chlsj "/today"
Filter by POST method (automatically shows request bodies):
python3 ./extract_responses.py session.chlsj "/logs" --method POST
Quick peek (first result only):
python3 ./extract_responses.py session.chlsj "/users" --first-only
Summary without bodies:
python3 ./extract_responses.py session.chlsj "/" --summary-only
Export to file:
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
--methodflag (request bodies auto-shown) - "First [endpoint] response" → Add
--first-onlyflag - "Summarize [file]" or "What's in [file]" → Add
--summary-onlyflag - "Save [endpoint] to [output]" → Add
--outputflag - "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:
{ "pattern": "/api/endpoint", "total_requests": 10, "extracted_at": "ISO8601 timestamp", "requests": [...] }
Common Usage Scenarios
"Extract all /today responses from session.chlsj" → Shows all requests matching /today pattern
"Show POST requests to /logs with request bodies" → Filters by POST method and displays request bodies
"Export all /items responses to items.json" → Saves filtered responses to JSON file
"Summarize requests in the Charles session" → Shows statistics without response bodies
Limitations
- Only supports Charles Proxy JSON session format (.chlsj)
- Pattern matching is case-sensitive substring matching
- Method filtering is case-insensitive
- Large response bodies may be truncated in display (not in exports)
- Requires Python 3.x with standard library only (no external dependencies)
Error Handling
The skill handles:
- Missing or inaccessible files (clear error message)
- Invalid JSON in session files (decoding error details)
- Empty result sets (informative message)
- Malformed request/response structures (graceful degradation)
Troubleshooting
"File not found" error:
- Verify the .chlsj file path is correct
- Use absolute paths or ensure the file is in the current directory
"Invalid JSON" error:
- Ensure the file is a valid Charles Proxy session export
- Re-export the session from Charles Proxy
No results found:
- Pattern matching is case-sensitive - check capitalization
- Try using "/" to match all requests first
- Verify the endpoint exists in the session file using --summary-only
Python not found:
- Ensure Python 3.x is installed and available in PATH
- Try using
pythoninstead ofpython3or vice versa
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/charles-proxy-session-extractor-ms1aw3r5/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/charles-proxy-session-extractor-ms1aw3r5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/charles-proxy-session-extractor-ms1aw3r5/download' --output '.skill-downloads/charles-proxy-session-extractor-ms1aw3r5/SKILL.md.part' && mv '.skill-downloads/charles-proxy-session-extractor-ms1aw3r5/SKILL.md.part' '.skill-downloads/charles-proxy-session-extractor-ms1aw3r5/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash
Original excerpt: Prerequisites
- Python 3.x (no external dependencies required)
- Charles Proxy session file in .chlsj format
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/charles-proxy-session-extractor-ms1aw3r5/SKILL.md' && test -s '.skill-downloads/charles-proxy-session-extractor-ms1aw3r5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/charles-proxy-extract' && cp -R '.skill-downloads/charles-proxy-session-extractor-ms1aw3r5' '.claude/skills/charles-proxy-extract'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/charles-proxy-session-extractor-ms1aw3r5'openskills read 'charles-proxy-session-extractor-ms1aw3r5'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/charles-proxy-session-extractor-ms1aw3r5/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
ClickHouse Performance Comparison
Testing
Evaluate ClickHouse performance test results, check PR performance changes, compare with history, and assess whether a result is actionable.
Analyze CI Performance Reports
Testing
Analyze CI performance comparison reports for a ClickHouse PR. Cross-references master history to distinguish real regressions from flaky tests.
Santa Method
Testing
Multi-agent adversarial verification with two independent reviewers. Output is checked twice and iteratively fixed until both pass before shipping.