Mantle Risk Evaluator logo

Mantle Risk Evaluator

Organization
Starchild-ai-agent
mantle-risk-evaluator

Use when a Mantle state-changing intent needs pre-execution slippage, liquidity, address-safety, allowance-scope, or gas/deadline checks.

Overview

PublisherStarchild-ai-agent
Repositoryofficial-skills
Skill namemantle-risk-evaluator
Stars
32
Forks
13
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Starchild-ai-agent on GitHub. Read the source before you install it.

Installation

Install the Mantle Risk Evaluator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Starchild-ai-agent/official-skills/tree/main/mantle/skills/mantle-risk-evaluator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Starchild-ai-agent/official-skills.git /tmp/official-skills
mkdir -p .claude/skills
cp -r /tmp/official-skills/mantle/skills/mantle-risk-evaluator .claude/skills/mantle-risk-evaluator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mantle Risk Evaluator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mantle Risk Evaluator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mantle Risk Evaluator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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:
    • operation type
    • token in/out and amount
    • target protocol/router/pool addresses
    • user risk parameters (slippage cap, deadline, max gas preference)
  2. Execute the checklist (see Checklist section below).
  3. Apply the threshold table (see Thresholds section below). Use user-specified parameters first; use defaults only when user constraints are absent.
  4. Classify each item:
    • pass
    • warn
    • fail
  5. Produce final verdict:
    • pass: no fails, optional warns.
    • warn: no critical fails, but user confirmation required.
    • block: one or more critical fails.

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":

  • operation_type
  • chain/environment
  • token in/out and amount
  • target contract/router/pool address

Checklist

1. Slippage check

  • The "proposed slippage" is the slippage tolerance the user (or protocol) has set for this transaction.
  • ALWAYS compare the proposed slippage against the default threshold table below, regardless of whether the user set it themselves.
  • A user choosing a high slippage tolerance does NOT make it safe -- the default thresholds still apply.
  • If the user also specifies a separate, stricter cap, apply whichever is more restrictive.
  • Fail when proposed slippage exceeds the fail threshold (> 1.0% by default).

2. Liquidity depth check

  • Estimate price impact from quote/simulation context.
  • Warn on moderate impact, fail on severe impact (see thresholds).
  • If liquidity data is unavailable, set warn with note "reduced confidence".

3. Address safety check

  • Verify all addresses against trusted registry/tooling.
  • pass: trusted and verified source.
  • warn: unknown but not explicitly flagged.
  • fail: flagged, blacklisted, or malformed address.

4. Allowance scope check

  • Detect approvals broader than required for intended amount.
  • pass: existing allowance fits intended spend scope.
  • warn: allowance materially larger than intended spend.
  • fail: new or existing near-unlimited approval without explicit user confirmation. Near-unlimited heuristic: raw allowance >= 2^255.

5. Gas and deadline sanity

  • Check gas estimate reasonableness versus recent baseline.
  • Check transaction deadline is not stale and not excessively long.
  • Apply thresholds below.

Thresholds (defaults when user has not specified)

CheckWarnFail
Slippage> 0.5%> 1.0%
Estimated price impact> 2%> 5%
Deadline horizon> 20 minutes> 60 minutes
Gas deviation from baseline> 20%> 40%

Verdict Rules

  • Any fail in ANY checklist item => final verdict block.
  • No fail and at least one warn => final verdict warn.
  • All checks pass => final verdict pass.

Confidence policy

  • high: all required signals present and consistent.
  • medium: one non-critical signal missing.
  • low: key signals missing (e.g., no liquidity data or unresolved address provenance).
  • If confidence is low, downgrade verdict one level toward caution (pass -> warn, warn -> block).

Blocking Conditions

  • Planned slippage exceeds user cap or exceeds 1.0% default.
  • Address risk check fails (flagged, blacklisted, or malformed counterparty).
  • Liquidity depth indicates severe price impact beyond 5%.
  • Gas deviation from baseline exceeds 40%.
  • Near-unlimited allowance (>= 2^255) without explicit user confirmation.
  • Mandatory intent field is missing (cannot evaluate safely).

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").

text
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

  • references/risk-checklist.md
  • references/risk-threshold-guidance.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Mantle Risk Evaluator AI skill do?

Use when a Mantle state-changing intent needs pre-execution slippage, liquidity, address-safety, allowance-scope, or gas/deadline checks.

Why use Mantle Risk Evaluator on TypingMind?

Because you install it once and use it with any model. Mantle Risk Evaluator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mantle Risk Evaluator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Starchild-ai-agent/official-skills/tree/main/mantle/skills/mantle-risk-evaluator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Mantle Risk Evaluator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mantle Risk Evaluator?

As many as you like. As long as a model supports skills, you can use Mantle Risk Evaluator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mantle Risk Evaluator AI skill free?

It is published on GitHub by Starchild-ai-agent. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇