Install
openclaw skills install lockpickerClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Guide a user through capturing and analyzing a HAR file from their own logged-in browser session, extracting the minimum auth material needed, mapping the exact request chain behind a website action, and turning that known-good browser workflow into a reusable local script. Use when a user wants to reverse-engineer a legitimate action they are already authorized to perform on a website, such as upload, publish, schedule, or queue operations, especially when browser automation is flaky and a direct authenticated web-request workflow is preferred.
openclaw skills install lockpickerGuide the work from a user-owned browser session outward. Do not start by guessing endpoints.
Write down the exact user goal in one sentence.
Examples:
Also record the success condition:
Read references/har-capture-checklist.md before capture.
Capture one clean successful run with as little extra noise as possible.
Prefer this sequence:
If a site uses chunked upload or several chained calls, make sure the HAR includes the full sequence.
Read references/auth-materials.md.
Collect only what is actually needed for replay, typically:
Save them as local runtime files in workspace/tmp/ unless the user requests another location.
Read references/request-analysis-patterns.md.
Separate the workflow into stages such as:
For each stage, identify:
Ignore decorative noise like analytics, passive feed refreshes, and unrelated GraphQL calls.
Mark each field as one of:
Examples:
Keep the first script narrow.
Preferred first-pass shape:
Use the bundled helpers when useful:
scripts/extract_har_requests.py to summarize and filter HAR requestsscripts/extract_cookie_headers.py to pull cookie / csrf / authorization material from a matching HAR requestscripts/diff_request_shapes.py to compare two request JSON shapes and spot dynamic fieldsscripts/scaffold_direct_client.py to generate a first-pass replay script from one captured request JSONDo not batch first.
Validate:
If the first test fails, compare the failing request with the HAR rather than guessing.
Only after a single-item success.
Use a queue manifest when the user wants repeated runs. Include fields like:
Prefer small batches and pauses between groups when operating against production sites.
python scripts/extract_har_requests.py capture.har --contains graphql --contains upload --out requests.json
python scripts/extract_cookie_headers.py capture.har --contains x.com/i/api/graphql --out-dir runtime-auth
python scripts/diff_request_shapes.py request-a.json request-b.json
python scripts/scaffold_direct_client.py request.json --out first_client.py
references/har-capture-checklist.md before capture.references/auth-materials.md when extracting cookies, csrf, and auth headers.references/request-analysis-patterns.md when tracing the chain from HAR.references/common-web-flows.md when the workflow involves uploads, polling, GraphQL mutations, or delayed scheduling.references/safety-boundaries.md when the task touches terms-of-service, account-risk, or scope concerns.