Mantle risk evaluator

From Starchild-ai-agent/official-skills · View interactive version

Mantle risk evaluator is an AI agent skill from the GitHub repository Starchild-ai-agent/official-skills. Use when a Mantle state-changing intent needs pre-execution slippage, liquidity, address-safety, allowance-scope, or gas/deadline checks.

How to use this skill

Skill file

Mantle Risk Evaluator

Overview

Run a mandatory pre-flight checklist and return a clear pass, warn, or block verdict. Prevent unsafe execution when any critical condition fails.

Workflow

  1. Normalize intent input:
  1. Execute the checklist (see Checklist section below).
  2. Apply the threshold table (see Thresholds section below). Use user-specified parameters first; use defaults only when user constraints are absent.
  3. Classify each item:
  1. Produce final verdict:

Mandatory Input Fields

All of the following MUST be present in the intent. If any is missing, immediately set the final verdict to block with blocking reason "mandatory field missing":

Checklist

1. Slippage check

2. Liquidity depth check

3. Address safety check

4. Allowance scope check

5. Gas and deadline sanity

Thresholds (defaults when user has not specified)

| Check | Warn | Fail |

|---|---|---|

| Slippage | > 0.5% | > 1.0% |

| Estimated price impact | > 2% | > 5% |

| Deadline horizon | > 20 minutes | > 60 minutes |

| Gas deviation from baseline | > 20% | > 40% |

Verdict Rules

Confidence policy

Blocking Conditions

Output Format

Always use this exact structure. You MUST include ALL five checklist items in every response, even when blocking early due to missing fields. For checks that cannot be evaluated (e.g., because a required input is missing), mark them as fail with details explaining why (e.g., "cannot evaluate -- required field missing").

Mantle Preflight Risk Report
- operation:
- environment:
- evaluated_at_utc:

Checklist
- slippage_check: pass | warn | fail
  details:
- liquidity_depth_check: pass | warn | fail
  details:
- address_safety_check: pass | warn | fail
  details:
- allowance_scope_check: pass | warn | fail
  details:
- gas_and_deadline_check: pass | warn | fail
  details:

Final Verdict
- status: pass | warn | block
- blocking_reasons:
- user_action_required:

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.