CtrlK
BlogDocsLog inGet started
Tessl Logo

contracts-mev-sandwich

MEV sandwich attacks — front-run + back-run a victim swap on Uniswap V2/V3, Curve, Balancer; mempool monitoring via Flashbots / private RPC, slippage tolerance exploitation, JIT liquidity sandwich, multi-block MEV.

57

Quality

66%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Critical

Do not install without reviewing

Fix and improve this skill with Tessl

tessl review fix ./packages/decepticon/decepticon/skills/standard/contracts/mev-sandwich/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

50%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is well-structured and reasonably actionable but relies on pseudocode in places, lacks validation feedback loops for risky operations, and is monolithic with no progressive disclosure to bundle files.

Suggestions

Replace the comment-only Solidity blocks with executable contract snippets, or explicitly justify the pseudocode as illustrative.

Add an explicit validation/simulation checkpoint (e.g. simulate the bundle on a fork and confirm net profit before submitting) before the send step.

Move the tooling list and code patterns into reference files (e.g. references/patterns.md) and link to them from SKILL.md to enable progressive disclosure.

DimensionReasoningScore

Conciseness

The body is mostly code and lean concrete guidance, but it opens by restating the sandwich concept ("buy the same token before the victim...") and includes prose such as "Sandwich attacks are public mempool predation, generally legal but ethically grey" that Claude already knows, so it could be tightened.

2 / 3

Actionability

Real Python/JS snippets are present, but the Solidity blocks are comment-only pseudocode ("// Bundle: 3 tx in same block") and the JS example references undefined variables (attackerTx1, rawVictimTx), leaving key details incomplete.

2 / 3

Workflow Clarity

The front-run → victim → back-run sequence and a profitability threshold are stated, but there is no explicit validate→fix→retry feedback loop for these destructive mainnet operations, which caps workflow clarity at 2.

2 / 3

Progressive Disclosure

The ~105-line skill is a single monolithic file with no bundle files and no one-level-deep references; the tooling/reference lists and code patterns could be split out for clearer navigation.

2 / 3

Total

8

/

12

Passed

Description

82%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, niche-distinct, and rich in natural trigger terms, but it omits an explicit "Use when..." usage clause, which caps completeness at 2.

Suggestions

Append an explicit trigger clause, e.g. "Use when the user wants to build or analyze MEV sandwich attacks, front-running, or back-running on DEX swaps."

Soften jargon-only phrases like "slippage tolerance exploitation" by pairing them with user-facing terms (e.g. "profiting from loose slippage settings").

DimensionReasoningScore

Specificity

Lists multiple concrete actions across named DEXes — "front-run + back-run a victim swap on Uniswap V2/V3, Curve, Balancer", "mempool monitoring via Flashbots", "slippage tolerance exploitation", "JIT liquidity sandwich", "multi-block MEV" — matching the multiple-specific-actions anchor.

3 / 3

Completeness

Clearly answers "what does this do", but lacks any "Use when..." clause or equivalent explicit trigger guidance, so per the judging guidelines completeness is capped at 2.

2 / 3

Trigger Term Quality

Uses natural niche terms a searcher would actually say ("MEV sandwich", "front-run", "back-run", "Uniswap", "slippage", "Flashbots", "JIT liquidity") with good coverage of common variations rather than only abstract jargon.

3 / 3

Distinctiveness Conflict Risk

MEV sandwich attacks are a sharply defined niche with distinct, specialized triggers unlikely to collide with other skills.

3 / 3

Total

11

/

12

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
PurpleAILAB/Decepticon
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.