PM

    PostgreSQL & MySQL Deadlock Graph Unraveler

    by AllAccessData

    1

    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

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Frequently Asked Questions

    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.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use PostgreSQL & MySQL Deadlock Graph Unraveler on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.