binary-sync-migrate SKILL.md skillA

binary-sync-migrate from aqaddora/gaza-geo-sync is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aqaddora/gaza-geo-sync/binary-sync-migrate@git:20261006.6d6c75b

Pins git:20261006.6d6c75b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
aqaddora/gaza-geo-sync
Path
.claude/skills/binary-sync-migrate/SKILL.md
Versions recorded
1
Latest version
git:20261006.6d6c75b, committed Oct 6, 2026
Size
2,596 bytes
Repository stars
11
License
MIT

Convert an existing JSON polling or sync endpoint that returns live positions (vehicles, couriers, devices, riders) to gaza-geo-sync's binary frame while keeping JSON as the fallback. Use when the user asks to migrate, convert or shrink an existing positions/locations/sync API, or to make a map refresh cheaper on mobile data.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Migrate a JSON positions sync to gaza-geo-sync

Full guide: `docs/MIGRATION.md` in https://github.com/AQaddora/gaza-geo-sync. Work in this order;
each step ships on its own and nothing breaks between steps.

## 0. Find and measure first
- Locate the endpoint(s) and every client that calls them (`grep -rn "positions\|location\|/sync"`).
- Record today's numbers with the `binary-sync-verify` skill (bytes per refresh gzipped,
  refresh interval, upload interval). No baseline → no claim.
- Write down the exact JSON shape clients parse. That shape is the contract for the fallback
  and for the offline cache.

## 1. Cheap wins that need no binary
- Round coordinates to 5 decimals (`codec.round`) in the JSON too: ~30% less gzipped.
- Standing-still throttle on uploads (`worthSending`): fewer requests, which matters more than bytes
  for small uploads (HTTP headers are ~400–800 B each).

## 2. Give each object a stable small number
- Additive migration: `seq SERIAL UNIQUE` (or equivalent). Backfill happens automatically.
- Expose `n` in the JSON form of the object list so clients can learn it.

## 3. Server: negotiate
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aqaddora/gaza-geo-sync/binary-sync-migrate@sha256:43d576589a2320f5

The line at the top of this page pins the label git:20261006.6d6c75b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jdlrm7ha7vbzfjbp.svg)](https://markdownregistry.com/a/art_jdlrm7ha7vbzfjbp)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 6, 2026.

versioncommittedcommitsizeaudit
git:20261006.6d6c75b latest2026-10-06 6d6c75b 2,596 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2596 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aqaddora/gaza-geo-sync · 11 stars · license MIT · pushed 2026-10-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jdlrm7ha7vbzfjbp
GET https://markdownregistry.com/api/v1/resolve?ref=aqaddora/gaza-geo-sync/binary-sync-migrate
GET https://markdownregistry.com/api/v1/blob/43d576589a2320f53a2215cad71c37d12f67c41a5762167b75e8f0c7b6d17c8e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aqaddora/gaza-geo-sync

binary-sync-integrate SKILL.md skill
aqaddora/gaza-geo-sync · .claude/skills/binary-sync-integrate/SKILL.md · Add gaza-geo-sync (compact binary live-position sync with JSON fallback) to a web or Node project. Use when the user…
git:20261006.6d6c75b · audit A · 11 stars
binary-sync-verify SKILL.md skill
aqaddora/gaza-geo-sync · .claude/skills/binary-sync-verify/SKILL.md · Measure and test a gaza-geo-sync integration - payload bytes before/after, round-trip correctness of JSON vs binary…
git:20261006.6d6c75b · audit A · 11 stars
CLAUDE.md CLAUDE.md file
aqaddora/gaza-geo-sync · CLAUDE.md
git:20261006.6d6c75b · audit A · 11 stars

Every file in aqaddora/gaza-geo-sync

Browse by kind, by grade A, or by owner.