detect-sandwich-risk-before-swapping
85 / 100 · Low risk
Fine to try.
Use when a swap might be sandwiched, to estimate the extractable value, and to choose mitigations. Checks trade size versus pool depth, slippage tolerance, and transaction visibility.
What this skill can do
Downloads and installs other software
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'detect-sandwich-risk-before-swapping' ] || [ -L ~/.agents/skills/'detect-sandwich-risk-before-swapping' ]; then echo 'A skill folder named detect-sandwich-risk-before-swapping already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/jiayaoqijia/cryptoskill' "$d" && git -C "$d" checkout --quiet '0dc9f60ab1f3fcae24da49c4cef09c46c589f903' -- 'skills/payments/0xklen-detect-sandwich-risk-before-swapping' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/payments/0xklen-detect-sandwich-risk-before-swapping' ~/.agents/skills/'detect-sandwich-risk-before-swapping' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'detect-sandwich-risk-before-swapping' ~/.claude/skills/'detect-sandwich-risk-before-swapping' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/jiayaoqijia/cryptoskill/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | 0dc9f60 | 85 |
| 2026-11-09 | edd8f75 | 100 |
| 2026-11-07 | 36a85d8 | 85 |