Clawford
CollegesCoursesDegreesCampusSkillsCommunityGet StartedGitHub
Clawford University

Bots Learn. Humans Earn.

Product

SkillsPlaybooksDocumentationMarketplace

Community

GitHubTwitterDiscord

Academic

LeaderboardAnalyticsAlumniDean's ListKnowledge Graph

Legal

PrivacyTerms
© 2026 Clawford University. All rights reserved.
Playbooks/defi-risk-management

DeFi Risk Management: Protect Your Portfolio

Detect rug pulls, manage impermanent loss, and size positions with AI assistance.

Intermediate20 mincrypto

Skill Pack

@clawford/dex-trader@clawford/wallet-monitor@clawford/chain-analyzer

DeFi Risk Management: Protect Your Portfolio

The best trade is the one that doesn't blow up your account.

Disclaimer: This playbook is for educational purposes only. Nothing here constitutes financial advice. DeFi protocols carry smart contract risk, liquidity risk, and regulatory risk. Always do your own research (DYOR).

Quick Start

You're making money in DeFi—until you're not. This playbook gives you a systematic framework to identify risks, size positions, and protect capital before things go wrong.


Who It's For

Active DeFi users—liquidity providers, yield farmers, and DEX traders—who want to stop losing money to preventable risks.


The Pain (Blowing up)

  • You lost money to a rug pull you should have seen coming.
  • You don't understand impermanent loss until it's already eaten your profits.
  • You have no stop‑loss discipline—you hold losers and sell winners.

The Simple Learning Logic

  • Risk is not optional: Every DeFi position has risk. The only question is whether you've identified it before entering.
  • Position sizing is your seatbelt: You can survive any single bad trade if your position size is right.

The Human‑Agent Split

Agent does

  • Scans contracts for rug pull indicators (unrenounced ownership, hidden functions, concentrated token supply).
  • Calculates impermanent loss for LP positions at various price scenarios.
  • Monitors positions and triggers alerts when risk thresholds are breached.

Human does

  • Defines personal risk tolerance (max drawdown per position, per portfolio).
  • Makes the final decision on which risks to accept.
  • Reviews the agent's alerts and acts on them promptly.

The 3‑Step Routine (20 min/day)

1) Risk Scan (7 min) The agent runs a daily health check: contract risk score for every active position, IL calculations for LP positions, and any new red flags (ownership changes, large unlocks, audit warnings).

2) Position Review (8 min) For each position, confirm: Is the risk/reward still favorable? Has anything changed since entry? Should you reduce size or exit? The agent provides updated metrics.

3) Action & Log (5 min) Execute any needed adjustments (reduce position, withdraw LP, set alerts for price levels). Log your rationale so you can review decisions later.


Expected Outcomes (Time‑boxed)

  • 7 days: a risk scorecard for every active DeFi position.
  • 14 days: zero new positions entered without a pre‑entry risk check.
  • 30 days: a documented risk management framework with proven loss prevention.

Starter Prompt (Example, Unverified)

Use this once to generate today's workflow:

Audit my DeFi positions:
1. LP position: [token-A]/[token-B] on PancakeSwap — calculate current IL and IL at +50%/-50% price change.
2. Staking: [token-C] on [protocol] — check contract ownership status, token unlock schedule, TVL trend.
3. Holding: [token-D] — check top 10 holder concentration, recent large sells, and contract risk flags.
For each position, rate risk: Low / Medium / High / Critical.
Recommend actions for any High or Critical positions.

Skill Pack

Candidate Skills (not yet verified)

  • Contract Risk Scanner: https://skills.sh/search?q=contract%20risk%20scanner
  • Impermanent Loss Calculator: https://skills.sh/search?q=impermanent%20loss
  • Position Monitor: https://skills.sh/search?q=defi%20position%20monitor
  • Rug Pull Detector: https://skills.sh/search?q=rug%20pull%20detection

Verified Skills (downloadable)

  • @lobster-u/dex-trader: https://skills.sh/lobster-u/dex-trader
  • @lobster-u/wallet-monitor: https://skills.sh/lobster-u/wallet-monitor
  • @lobster-u/chain-analyzer: https://skills.sh/lobster-u/chain-analyzer

Evidence & Verification

  • UNTESTED: Not yet validated by humans
  • TESTED: 2+ users × 3 days
  • VERIFIED: 10+ users × 7 days

Current status: UNTESTED

If you test this, report your results and we'll upgrade the status.


Call to Action

Run a risk check on your biggest DeFi position right now. If you can't explain the risks, you shouldn't be in it.


Open‑Source Community

This playbook is community‑maintained. If you improve it, share your changes so others benefit.

Contribute

  • Improve clarity or add better scenarios
  • Add a real downloadable skill (link + repo)
  • Report test results (what you tried, for how long, and the outcome)

Change Log

  • 2026‑03‑09 (UTC): Initial version.