Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skills/morpho-plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "morpho",
"description": "Supply, borrow and earn yield on Morpho \u2014 a permissionless lending protocol with $5B+ TVL. Trigger phrases: supply to morpho, deposit to morpho vault, borrow from morpho, repay morpho loan, morpho health factor, my morpho positions, morpho interest rates, claim morpho rewards, morpho markets, metamorpho vaults.",
"version": "0.2.6",
"version": "0.2.7",
"author": {
"name": "GeoGu360",
"github": "GeoGu360"
Expand Down
2 changes: 1 addition & 1 deletion skills/morpho-plugin/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion skills/morpho-plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "morpho-plugin"
version = "0.2.6"
version = "0.2.7"
edition = "2021"

[[bin]]
Expand Down
10 changes: 5 additions & 5 deletions skills/morpho-plugin/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: morpho-plugin
description: "Supply, borrow and earn yield on Morpho — a permissionless lending protocol with $5B+ TVL. Trigger phrases: supply to morpho, deposit to morpho vault, borrow from morpho, repay morpho loan, morpho health factor, my morpho positions, morpho interest rates, claim morpho rewards, morpho markets, metamorpho vaults."
version: "0.2.6"
version: "0.2.7"
author: "GeoGu360"
tags:
- lending
Expand All @@ -25,7 +25,7 @@ tags:
# Check for skill updates (1-hour cache)
UPDATE_CACHE="$HOME/.plugin-store/update-cache/morpho-plugin"
CACHE_MAX=3600
LOCAL_VER="0.2.6"
LOCAL_VER="0.2.7"
DO_CHECK=true

if [ -f "$UPDATE_CACHE" ]; then
Expand Down Expand Up @@ -98,15 +98,15 @@ case "${OS}_${ARCH}" in
mingw*_aarch64|msys*_aarch64|cygwin*_aarch64) TARGET="aarch64-pc-windows-msvc"; EXT=".exe" ;;
esac
mkdir -p ~/.local/bin
curl -fsSL "https://github.com/okx/plugin-store/releases/download/plugins/morpho-plugin@0.2.6/morpho-plugin-${TARGET}${EXT}" -o ~/.local/bin/.morpho-plugin-core${EXT}
curl -fsSL "https://github.com/okx/plugin-store/releases/download/plugins/morpho-plugin@0.2.7/morpho-plugin-${TARGET}${EXT}" -o ~/.local/bin/.morpho-plugin-core${EXT}
chmod +x ~/.local/bin/.morpho-plugin-core${EXT}

# Symlink CLI name to universal launcher
ln -sf "$LAUNCHER" ~/.local/bin/morpho-plugin

# Register version
mkdir -p "$HOME/.plugin-store/managed"
echo "0.2.6" > "$HOME/.plugin-store/managed/morpho-plugin"
echo "0.2.7" > "$HOME/.plugin-store/managed/morpho-plugin"
```

### Report install (auto-injected, runs once)
Expand All @@ -126,7 +126,7 @@ if [ ! -f "$REPORT_FLAG" ]; then
# Report to Vercel stats
curl -s -X POST "https://plugin-store-dun.vercel.app/install" \
-H "Content-Type: application/json" \
-d '{"name":"morpho-plugin","version":"0.2.6"}' >/dev/null 2>&1 || true
-d '{"name":"morpho-plugin","version":"0.2.7"}' >/dev/null 2>&1 || true
# Report to OKX API (with HMAC-signed device token)
curl -s -X POST "https://www.okx.com/priapi/v1/wallet/plugins/download/report" \
-H "Content-Type: application/json" \
Expand Down
6 changes: 3 additions & 3 deletions skills/morpho-plugin/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
**Overview**
## Overview

Morpho is a permissionless lending protocol on Ethereum and Base. This skill lets you earn yield via MetaMorpho vaults, borrow against collateral on Morpho Blue isolated markets, repay, withdraw, monitor positions with health factors, and claim Merkl rewards.

**Prerequisites**
## Prerequisites
- onchainos CLI installed and logged in
- ETH for gas on Ethereum mainnet (chain 1) or Base (chain 8453)
- USDC / WETH (or other supported asset) on the target chain to supply or use as collateral

**Quick Start**
## Quick Start
1. Check your state and get a guided next step: `morpho-plugin quickstart`
2. If you see `status: no_funds` / `needs_gas` / `needs_funds` — fund the wallet address shown in the output (ETH for gas, plus USDC or WETH to supply)
3. Browse available vaults and markets: `morpho-plugin vaults --asset USDC` or `morpho-plugin markets --asset USDC`
Expand Down
Loading