- Home
- Skills
- Code Quality & Review
- Forked Market-Data Listener Drift Audit
Forked Market-Data Listener Drift Audit
Find the fork point and the fixes a donor listener landed afterwards, measure before believing, refute the write-up claim by claim, and shape a latency-first remediation plan. Produces a plan, not code.
$5
What it does
- Finds the fork point and every fix the donor listener landed afterwards
- Sweeps sibling forks so you learn who else carries the same bug
- Measures with a temporary in-package benchmark and refutes the write-up claim by claim
Forked Market-Data Listener Drift Audit
Example session with this skill installed
Our Gate listener burns 200% CPU while the Bybit listener, its donor, is fine. Find which donor fixes we are missing and plan the port.
- Read your context and instructions
- Compiled the forked market-data listener
Example on a fictional setup (fork: gate-listener, donor: bybit-listener).
- Fork point: git merge-base shows the fork at commit 7f3e1a0. The donor has 6 later commits touching the publish path; 4 are performance fixes (a top-of-book cache, an allocation-free JSON scanner), 2 are unrelated.
- Sibling sweep: two other listeners from the same lineage also lack the cache, so they carry the same bug.
- Unmerged branch check: a parked branch already moved publish() into a service package. The plan targets that file, not the one in main.
- Measured, not believed: a temporary benchmark in the hot package shows the naive collect function dominating allocation. On the real host, utime+stime over 5-minute windows, both binaries back to back, confirms a CPU gap; a pprof profile alone would not have been accepted.
- The write-up claim "the backoff reset is dead code" is true, but lineage-wide; the donor's perf commits never touch it either. Port the reset from the sibling that has one with a test, keyed on connection uptime, not on dial success.
- Plan, latency first: (a) top-levels extractor, (b) scanner, (c) smaller published depth only after confirming the consumer reads best bid and ask.
Correctness trap noted: after the cache lands, add the update-id delta check, because a frozen book can hide behind heartbeat-refreshed slots. Plan only; the tree is clean.
Connects securely to your tools. The creator never sees your data.
About this skill
When a market-data listener is forked from a donor, the donor keeps getting performance and behaviour fixes that the fork never sees. Then one listener eats CPU or serves a stale book while its sibling is fine. This skill finds out why and writes a plan you can trust. What is inside (one SKILL.md, no scripts; it includes shell and benchmark snippets with placeholders for your function and file names): - Step 1, git forensics: the fork point, the donor's fix set, and a sweep of every sibling so you learn who else carries the bug. - Step 2, checking for an unmerged branch that already moved the hot path, before planning a diff against the wrong file. - Step 3, measuring before believing: a temporary benchmark inside the hot package, deleted afterwards, and how to judge CPU on the real host. - Step 4, verifying a write-up claim by claim, including claims that are true but lineage-wide. - Steps 5 and 6, planning with a judge panel and the shape of a plan your process will accept, latency first. - Step 7, correctness traps when porting publish-path fixes (stale books hidden behind heartbeat-refreshed slots). - Step 8, lessons from a second real run, and an Adapt-to-your-setup section. Who it is for: engineers who maintain several exchange listeners that share a codebase lineage. The output is a remediation plan; nothing is changed. Examples are Go with shared memory. It is also part of the Crypto Exchange Connector Engineering Pack at a lower per-skill price.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
- Claude Codeora compatible agent runtimeGit and a shell
Git
A host that runs the listener, for CPU measurements.
Permissions
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.