Defi liquidation monitor
Skill auralshin/agent-skills/skills/defi-liquidation-monitor
DEFI-focused skill pack for agentic assistants
npx -y skills add auralshin/agent-skills --skill defi-liquidation-monitorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use this skill to monitor DeFi borrow/leverage positions for liquidation risk, stress-test buffer, and prioritize the most urgent positions.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.8 KB, 389 tokens by cl100k_base, as published. Nobody here has run it
DeFi Liquidation Monitor
Purpose
Track wallet or protocol positions that can be liquidated, estimate distance-to-liquidation, and rank urgent mitigation actions.
Use this skill when
- The user asks for liquidation watchlists.
- The user wants stress tests for collateral price drops.
- The user needs priority ranking for risky borrow positions.
Workflow
- Collect normalized borrow position data (collateral USD, debt USD, liquidation threshold, health factor if available).
- Compute liquidation metrics using
references/formulas.md. - Classify severity bands from
references/alert-bands.md. - Run stress scenarios (for example: -5%, -10%, -20% collateral move).
- Return ranked watchlist with recommended actions.
Required output format
{
"snapshot_time": "ISO-8601",
"positions": [
{
"position_id": "string",
"protocol": "string",
"chain": "string",
"collateral_usd": 0,
"debt_usd": 0,
"liquidation_threshold": 0,
"health_factor": 0,
"distance_to_liquidation_pct": 0,
"severity": "critical|elevated|watch|ok",
"stress_results": [
{
"collateral_shock_pct": -0.1,
"post_shock_health_factor": 0
}
],
"recommended_action": "string"
}
],
"summary": "2-4 sentence summary"
}
Bundled resources
references/formulas.md: Core lending liquidation formulas.references/alert-bands.md: Severity thresholds.scripts/liquidation_buffer.py: Deterministic stress calculations.assets/watchlist-template.csv: Starter watchlist layout.