venus-protocol-ops

Analyze Venus Protocol lending/borrowing positions on BNB Chain with risk-first guidance. Use when users ask about Venus markets, collateral/borrow decisions, health factor, liquidation risk, APY/utilization comparison, isolated pools, or "can I borrow X safely" style what-if checks.

23 stars

Best use case

venus-protocol-ops is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Analyze Venus Protocol lending/borrowing positions on BNB Chain with risk-first guidance. Use when users ask about Venus markets, collateral/borrow decisions, health factor, liquidation risk, APY/utilization comparison, isolated pools, or "can I borrow X safely" style what-if checks.

Teams using venus-protocol-ops should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/venus-official-protocol-ops/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/defi/venus-official-protocol-ops/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/venus-official-protocol-ops/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How venus-protocol-ops Compares

Feature / Agentvenus-protocol-opsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Analyze Venus Protocol lending/borrowing positions on BNB Chain with risk-first guidance. Use when users ask about Venus markets, collateral/borrow decisions, health factor, liquidation risk, APY/utilization comparison, isolated pools, or "can I borrow X safely" style what-if checks.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Venus Protocol Ops

## Overview
Use this skill to provide **read-only**, risk-aware analysis for Venus Protocol. Prioritize liquidation safety, clarity, and explicit uncertainty over aggressive yield-chasing.

## Workflow

### 1) Classify user intent
Map request into one of these modes:
- **Market scan**: compare assets/pools (supply APY, borrow APY, utilization, caps)
- **Position check**: assess a wallet's current collateral/borrow health
- **What-if simulation**: estimate risk after a proposed borrow/supply/repay
- **Execution planning**: prepare step-by-step actions without broadcasting tx

If user asks for onchain execution, pause and request explicit confirmation + exact parameters. Use simulation first, then broadcast only after user confirms.

### 2) Collect data
Use scripts first:
- `scripts/fetch_markets.py` for market snapshot (official API base: `https://api.venus.io`, default scope: Core Pool only via `references/pool-filter.json`)
- `scripts/wallet_onchain_exposure.py` for real wallet onchain exposure
- `scripts/check_wallet_exposure.py` for manual/API fallback wallet summary
- `scripts/simulate_borrow.py` for hypothetical borrow impact
- `scripts/venus_deposit.js` for deposit preview/broadcast flow (approve + mint)
- `scripts/venus_withdraw.js` for withdraw preview/broadcast flow (redeem / redeemUnderlying) with post-withdraw HF prediction and safety line checks (default 1.2, user customizable)
- `scripts/venus_borrow.js` for borrow preview/broadcast flow
- `scripts/venus_repay.js` for repay preview/broadcast flow (approve + repayBorrow)
- `scripts/venus_collateral.js` for collateral enable/disable (enterMarkets / exitMarket)
- `scripts/hf_monitor.py` for threshold-based HF monitoring and advisory actions (includes ACCOUNT_UNHEALTHY alert when HF < safety line, default 1.2)

Example market query:
- `python scripts/fetch_markets.py --chain-id 56 --limit 200` (Core Pool default)
- `python scripts/fetch_markets.py --chain-id 56 --limit 200 --pool-scope all` (all pools)

If API is unavailable, continue with transparent assumptions and mark output as estimate.

### 3) Run risk rules
Apply rules from `references/risk-rules.md`:
- Compute health and safety buffer
- Flag borrow-cap / liquidity constraints
- Detect concentration risk (single volatile collateral)
- Classify risk: Low / Medium / High

### 4) Produce actionable output
Always include:
1. **Current state** (key numbers)
2. **Risk status** (Low/Medium/High + why)
3. **Safe range** (max suggested extra borrow or required extra collateral)
4. **Next best actions** (2-4 concrete steps)

Prefer concise bullets and exact numbers.

## Output format
Use this structure:
- **Summary**: one-line verdict
- **Metrics**: collateral, debt, health, utilization, APYs
- **Risk findings**: top 2-4 risks
- **Recommended plan**: concrete steps and limits
- **Assumptions**: data freshness, missing fields, estimate flags

## Guardrails
- Never claim guaranteed safety or returns.
- Never hide data gaps; explicitly note stale/missing data.
- Default to conservative thresholds when uncertain.
- Treat this as educational/risk tooling, not financial advice.
- For real transactions: run simulate mode first; require explicit confirmation for broadcast.
- For withdrawals: always predict post-withdraw HF; warn/block when predicted HF falls below safety line (default 1.2 unless user customizes).

## Quick usage
- One-command market check: `python scripts/venus_check.py --symbol vUSDT`
- Market + auto wallet risk check: `python scripts/venus_check.py --symbol vUSDT --wallet 0x...`
- What-if borrow (auto wallet): `python scripts/venus_check.py --symbol vUSDT --wallet 0x... --extra-borrow 120`
- Manual fallback: `python scripts/venus_check.py --symbol vUSDT --wallet 0x... --weighted-collateral 1500 --debt 1000`
- English brief mode: `python scripts/venus_check.py --symbol vUSDT --wallet 0x... --output brief --lang en`

## Protocol separation
- Venus Core scripts: `scripts/` root (e.g. `venus_*.js`, `fetch_markets.py`, `wallet_onchain_exposure.py`).
- Flux (Power by Fluid) scripts: `scripts/flux/`.
- Choose protocol-specific scripts directly so other agents can route quickly without mixing workflows.

## References
- Protocol overview: `references/protocol-overview.md`
- Risk thresholds and formulas: `references/risk-rules.md`
- Contract/address notes: `references/bnbchain-contracts.md`
- Terminology: `references/glossary.md`
- Venus CLI cookbook: `references/quick-commands.md`
- Flux CLI cookbook: `references/flux-quick-commands.md`
- Flux BNB addresses: `references/flux-bnb-addresses.json`

Related Skills

8004-MCP - Agent Registry Protocol

23
from jiayaoqijia/cryptoskill

Multi-chain MCP server for ERC-8004 Agent Registry. Query agents, reputation, and feedback across Solana + EVM chains.

cow-protocol

23
from jiayaoqijia/cryptoskill

MEV-protected DEX aggregator with quote building and order status tracking.

venus-heyanon-agent

23
from jiayaoqijia/cryptoskill

Safe execution layer for Venus lending with collateral ratio validation and pre-validated calldata generation.

cow-swap-cow-protocol

23
from jiayaoqijia/cryptoskill

MEV-protected swaps with batch auctions and surplus-capturing order routing.

cow-protocol-tools

23
from jiayaoqijia/cryptoskill

Tools for MEV-protected swap quotes, order status, trade history, and batch auction settlement.

aegisprotocol

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

aegis-protocol

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

aegis-protocol-security

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

aegis-protocol-defi-security

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

protocol-deep-dive

23
from jiayaoqijia/cryptoskill

Comprehensive single-protocol analysis combining TVL, fees, revenue, yields, events, income, and user activity. Produces a full protocol report. Use when the user asks for a complete overview, deep dive, "tell me everything about" a protocol, or a protocol research report.

compass-rose-protocol

23
from jiayaoqijia/cryptoskill

Cartography agent for protocol landscapes mapping dependencies and ecosystem gaps.

virtuals-protocol-acp

23
from jiayaoqijia/cryptoskill

Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) — extends the agent's action space by discovering and using agents on the marketplace, enables launching an agent token for fundraising and revenue, and supports registering service offerings to sell capabilities to other agents.