Reverse Flow
lingbol088-spec/reverse-flow-skill
Guided reverse engineering workflow for binaries, firmware, mobile apps, scripts, document samples, protocol captures, and unknown artifacts.
Fix iOS AVPlayer "CoreMediaErrorDomain error -12939 - byte range length mismatch" or similar video streaming failures when a proxy/edge/CDN service sits between the client and object storage (GCS…
$ npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile proxy-range-header-forwarding --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/proxy-range-header-forwarding .claude/skills/proxy-range-header-forwarding && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "proxy-range-header-forwarding" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/proxy-range-header-forwarding into .claude/skills/proxy-range-header-forwarding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proxy-range-header-forwarding", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/proxy-range-header-forwardingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile proxy-range-header-forwarding --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/proxy-range-header-forwarding .agents/skills/proxy-range-header-forwarding && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "proxy-range-header-forwarding" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/proxy-range-header-forwarding into .agents/skills/proxy-range-header-forwarding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proxy-range-header-forwarding", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile proxy-range-header-forwarding --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/proxy-range-header-forwarding .cursor/skills/proxy-range-header-forwarding && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "proxy-range-header-forwarding" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/proxy-range-header-forwarding into .cursor/skills/proxy-range-header-forwarding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proxy-range-header-forwarding", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/proxy-range-header-forwarding--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile proxy-range-header-forwarding --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/proxy-range-header-forwarding .gemini/skills/proxy-range-header-forwarding && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "proxy-range-header-forwarding" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/proxy-range-header-forwarding into .gemini/skills/proxy-range-header-forwarding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proxy-range-header-forwarding", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile proxy-range-header-forwardingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/proxy-range-header-forwarding .github/skills/proxy-range-header-forwarding && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "proxy-range-header-forwarding" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/proxy-range-header-forwarding into .github/skills/proxy-range-header-forwarding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proxy-range-header-forwarding", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile proxy-range-header-forwarding --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/proxy-range-header-forwarding .opencode/skills/proxy-range-header-forwarding && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "proxy-range-header-forwarding" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/proxy-range-header-forwarding into .opencode/skills/proxy-range-header-forwarding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "proxy-range-header-forwarding", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
proxy-range-header-forwardingFix iOS AVPlayer "CoreMediaErrorDomain error -12939 - byte range length mismatch" or similar video streaming failures when a proxy/edge/CDN service sits between the client and object storage (GCS…
Proxy Range Header Forwarding is an agent skill from divinevideo/divine-mobile. Fix iOS AVPlayer "CoreMediaErrorDomain error -12939 - byte range length mismatch" or similar video streaming failures when a proxy/edge/CDN service sits between the client and object storage (GCS, S3, R2). Use when: (1) iOS video fails with -12939 "byte range length mismatch - should be length 2 is length N", (2) curl with Range: bytes=0-1 returns full file instead of 2 bytes, (3) one URL path works with Range but another path to the same storage doesn't, (4) proxy advertises Accept-Ranges: bytes but returns 200…
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering File uploads and storage and Root cause analysis. It works with iOS. The licence is MPL-2.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4c622be. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
developer.mozilla.orgcloud.google.comdeveloper.apple.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Proxy Range Header Forwarding loads about 1.6k tokens when it runs. Until then it costs about 179 tokens; SKILL.md has 457 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit 4c622be, republished under its MPL-2.0 licence (© divinevideo). 457 words, ~1,560 tokens.
.claude/skills/proxy-range-header-forwarding/SKILL.md (or your agent's skills folder).A proxy/edge service (Fastly Compute, Cloudflare Workers, custom reverse proxy) sits
between clients and object storage. Some routes correctly forward HTTP Range headers
to the storage backend, but other routes (added later or by different developers)
construct backend requests from scratch without forwarding Range headers. This causes
iOS AVPlayer to fail because it probes with Range: bytes=0-1 and rejects responses
where the body size doesn't match the requested range.
CoreMediaErrorDomain error -12939 - byte range length mismatch - should be length 2 is length NPlatformException(VideoError, Failed to load video: Operation Stopped)curl -H "Range: bytes=0-1" on the failing URL returns 200 with Content-Length equal to full file size206 with Content-Length: 2Accept-Ranges: bytes (misleadingly advertising support)In proxy architectures, each route handler independently constructs requests to the storage backend. It's common for the "original" handler to properly forward Range headers while variant handlers (quality variants, thumbnails, transcoded versions) build requests from scratch without considering Range.
// BROKEN: Handler ignores client Range header
fn handle_variant(req: Request, path: &str) -> Response {
let gcs_path = resolve_variant(path);
let backend_req = Request::new(Method::GET, &gcs_url); // No Range header!
backend_req.send("storage")
}
// WORKING: Handler forwards Range header
fn handle_original(req: Request, path: &str) -> Response {
let range = req.get_header("Range"); // Extracts Range
let backend_req = Request::new(Method::GET, &gcs_url);
if let Some(r) = range {
backend_req.set_header("Range", r); // Forwards it
}
backend_req.send("storage")
}Three things must all be fixed in the proxy handler:
let range = req
.get_header(header::RANGE)
.and_then(|h| h.to_str().ok())
.map(|s| s.to_string());if let Some(range_value) = range {
backend_req.set_header("Range", range_value);
}// BEFORE (broken): only accepts 200
match resp.get_status() {
StatusCode::OK => Ok(resp),
...
}
// AFTER (fixed): accepts both 200 and 206
match resp.get_status() {
StatusCode::OK | StatusCode::PARTIAL_CONTENT => Ok(resp),
...
}GCS/S3/R2 natively handle Range headers and return proper 206 Partial Content with
correct Content-Range and Content-Length headers, so once forwarded, the response
can be passed through directly to the client.
# Test the failing endpoint with a range probe (what iOS does)
curl -sv -H "Range: bytes=0-1" "https://cdn.example.com/hash/variant" \
-o /dev/null 2>&1 | grep -iE "< HTTP|content-length|content-range"
# Expected AFTER fix:
# < HTTP/2 206
# < content-range: bytes 0-1/TOTAL_SIZE
# < content-length: 2
# Test mid-file range
curl -sv -H "Range: bytes=1000-1999" "https://cdn.example.com/hash/variant" \
-o /dev/null 2>&1 | grep -iE "< HTTP|content-length|content-range"
# Expected: 206, content-length: 1000, content-range: bytes 1000-1999/TOTAL
# Test full download still works (no Range header)
curl -sv "https://cdn.example.com/hash/variant" \
-o /dev/null 2>&1 | grep -iE "< HTTP|content-length"
# Expected: 200, content-length: TOTAL_SIZEReal case: Fastly Compute edge service proxying to GCS. The /{hash} route (original
blob) forwarded Range headers via download_blob(hash, range). The /{hash}/720p route
(transcoded quality variant) called download_hls_from_gcs(gcs_key) with no range parameter.
Fix required changes in three layers:
range: Option<&str> parameterAccept-Ranges: bytes to responses without actually
handling ranges is worse than not advertising it - clients will expect it to work.Range: bytes=0-1 before streaming.
Chrome/Android are more forgiving and may work without proper Range support.© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/proxy-range-header-forwarding of divinevideo/divine-mobile.
Open the folder on GitHubat commit 4c622be
Proxy Range Header Forwarding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Proxy Range Header Forwarding this skilldivinevideo/divine-mobile | 266 | — | ~1.6k | Automated safety check: Pass | MPL-2.0 | |
| Reverse Flowlingbol088-spec/reverse-flow-skill | 936 | — | ~2.4k | Automated safety check: Pass | MIT | |
| iOS FixMacMagazine/app-iOS | 171 | — | ~957 | Automated safety check: Pass | None | |
| Fix GitHub IssueShopify/flash-list | 7.2k | — | ~1.6k | Automated safety check: Pass | MIT | |
| AppsFlyer Unity Bridge DebuggingAppsFlyerSDK/appsflyer-unity-plugin | 178 | — | ~492 | Automated safety check: Pass | MIT | |
| iOS Memgraph Leaksomarshahine/HomeClaw | 176 | 1 repos | ~1k | Automated safety check: Pass | MIT |
lingbol088-spec/reverse-flow-skill
Guided reverse engineering workflow for binaries, firmware, mobile apps, scripts, document samples, protocol captures, and unknown artifacts.
MacMagazine/app-iOS
Bug-fix and refactoring workflow for MacMagazine — root cause analysis, pattern-matching fix, regression verification.
Shopify/flash-list
Full workflow for fixing a GitHub issue - understand the problem, reproduce, diagnose root cause, fix, test on iOS/Android simulators, review, and raise a PR
AppsFlyerSDK/appsflyer-unity-plugin
Traces a failing call or callback between C# and the native Android or iOS wrappers of the AppsFlyer Unity plugin to find the first broken link.
omarshahine/HomeClaw
Capture, inspect, compare, and root-cause iOS memory graph leaks using Apple's leaks and memgraph tools.
ClickHouse/ClickHouse
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Fix iOS AVPlayer "CoreMediaErrorDomain error -12939 - byte range length mismatch" or similar video streaming failures when a proxy/edge/CDN service sits between the client and object storage (GCS…. Proxy Range Header Forwarding is an agent skill from divinevideo/divine-mobile. Fix iOS AVPlayer "CoreMediaErrorDomain error -12939 - byte range length mismatch" or similar video streaming failures when a proxy/edge/CDN service sits between the client and object storage (GCS, S3, R2).
Proxy Range Header Forwarding fits situations like: IOS video fails with -12939 byte range length mismatch - should be length 2 is length N; curl with Range: bytes=0-1 returns full file instead of 2 bytes; one URL path works with Range but another path to the same storage doesnt; proxy advertises Accept-Ranges: bytes but returns 200 with full file for range requests.
Run `npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a claude-code`. Or copy the skill folder (.agents/skills/proxy-range-header-forwarding in divinevideo/divine-mobile) into .claude/skills/proxy-range-header-forwarding in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a codex`. Or copy the skill folder (.agents/skills/proxy-range-header-forwarding in divinevideo/divine-mobile) into .agents/skills/proxy-range-header-forwarding in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill proxy-range-header-forwarding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/proxy-range-header-forwarding, .gemini/skills/proxy-range-header-forwarding, .github/skills/proxy-range-header-forwarding and .opencode/skills/proxy-range-header-forwarding in your project.
Going by SKILL.md and its folder, Proxy Range Header Forwarding needs the command-line tools its instructions call (curl).
SKILL.md names 3 domains. As links in the text: developer.mozilla.org, cloud.google.com and developer.apple.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Proxy Range Header Forwarding is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Proxy Range Header Forwarding: Reverse Flow (lingbol088-spec/reverse-flow-skill, 936 stars), iOS Fix (MacMagazine/app-iOS, 171 stars), Fix GitHub Issue (Shopify/flash-list, 7.2k stars) and AppsFlyer Unity Bridge Debugging (AppsFlyerSDK/appsflyer-unity-plugin, 178 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 8, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.