PostgreSQL & MySQL Deadlock Graph Unraveler
Reconstructs the wait-for graph from deadlock logs, shows which two transactions took the same locks in opposite order, and prescribes the ordering or index change that removes the cycle.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
About this skill
Deadlock Graph Unraveler A deadlock log tells you which transaction was killed. It does not tell you why the cycle existed.
Built for backend engineers and DBAs. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.
What's included:
- Defined input contract: deadlock log output from PostgreSQL or MySQL, with the statements involved.
- Deterministic decision engine: rebuilds the wait-for graph and the chronology - which transaction held what, which was waiting on what, and the acquisition order that made the cycle possible. The fix is almost always a consistent lock ordering, and the point is to show you which two code paths disagree.
- Index-aware analysis: a missing index widens the lock from a row to a range, so transactions that logically never touch the same row still collide. That is why a deadlock often disappears when an index appears, and why it is worth checking before rewriting the transaction.
- End-to-end execution pipeline: log ingestion with malformed payload rejection -> graph reconstruction -> root cause analysis -> prescription -> delivery to your channel.
- Audit-ready deliverable: a Deadlock Graph Analysis Report with the wait-for visualization, the locking chronology, and the index or query reordering fix.
Deadlocks are timing-dependent: a fix is confirmed by the rate under production-like concurrency, not by the error not reproducing once. Retry logic remains necessary regardless - a database that detects a cycle has to abort one side of it.
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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.