Portfolio Risk & Optimization Analyzer for Openclaw

An AI-powered crypto portfolio analyzer that delivers deep risk metrics, stress testing, and automated optimization strategies while supporting a token buyback ecosystem.

kellyclaudeai
v0.1.0
Feb 2, 2026
0
3.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install portfolio-risk-analyzer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install portfolio-risk-analyzer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Portfolio Risk & Optimization Analyzer?

The Portfolio Risk & Optimization Analyzer is a sophisticated technical framework designed to provide traders with professional-grade risk management for decentralized assets. By integrating with Openclaw Skills, this tool scans multi-chain wallets in real-time to break down exposures across DeFi, memecoins, stablecoins, and NFTs. It bridges the gap between complex blockchain data and actionable intelligence, offering a voice-activated interface and a unique monetization model that creates constant buy pressure for the $BANKR token.

This skill is particularly valuable for users who need to monitor protocol risk, concentration risk, and potential liquidation scenarios across Ethereum, Base, Polygon, and other major chains. It automates the calculation of impermanent loss and suggests rebalancing strategies to protect capital during market volatility, making it a cornerstone for those utilizing Openclaw Skills to build robust financial automation.

Portfolio Risk & Optimization Analyzer Use Cases

  • Multi-chain wallet auditing for DeFi farmers and memecoin traders.
  • Stress testing portfolios against -20% to -80% market crash scenarios.
  • Yield optimization and rebalancing to maintain specific asset class exposures.
  • Voice-activated portfolio status updates via Twilio integration.
  • Automated token buyback execution for developers building circular economies.

How Portfolio Risk & Optimization Analyzer Works

  1. The system receives a wallet address via CLI, API, or a Twilio-powered voice call.
  2. Access is verified by checking the user's $BANKR token balance or validating a one-time payment transaction.
  3. The analyzer fetches real-time data using Alchemy RPC endpoints and crypto data APIs like CoinGecko and DefiLlama.
  4. A specialized risk scoring algorithm processes asset volatility, protocol safety, and concentration levels.
  5. The engine generates rebalancing and hedging recommendations based on the calculated risk profile.
  6. Collected service fees are automatically routed through Uniswap to execute $BANKR token buybacks.

Portfolio Risk & Optimization Analyzer Setup

To deploy this skill within the Openclaw Skills ecosystem, follow these steps:

# Install the skill via clawdhub
clawdhub install portfolio-risk-analyzer
cd skills/portfolio-risk-analyzer
npm install

# Configure your environment
export ETHEREUM_RPC="https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY"
export BASE_RPC="https://base-mainnet.g.alchemy.com/v2/YOUR_KEY"
export COINGECKO_API_KEY="your_key"
export PAYMENT_WALLET_KEY="your_private_key"

# Run a test analysis
./scripts/analyze-wallet.sh 0xYourWalletAddress

Portfolio Risk & Optimization Analyzer Data Schema & Taxonomy

The skill organizes its analysis into a structured JSON format to ensure compatibility with other Openclaw Skills.

Data Category Description
Asset Breakdown Categorized balances for stablecoins, blue chips, DeFi, and NFTs.
Risk Scores Numerical ratings (0-100) for concentration, volatility, and liquidation risk.
Exposures Percentage-based tracking of specific protocol and token concentrations.
Buyback Logs Records of fee collection, Uniswap swap hashes, and $BANKR amounts.
Recommendations Array of actionable strings for rebalancing and yield optimization.

Portfolio Risk & Optimization Analyzer Advanced Features

  • Voice Bot Integration: Full IVR flow for querying risk scores and liquidation levels via phone.
  • Stress Test Engine: Simulated scenarios for market crashes and high-gas exit costs.
  • Automated Buyback Logic: Scheduled cron jobs to swap USDC fees for $BANKR tokens when thresholds are met.
  • NFT Floor Price Integration: Real-time valuation of NFT collections via OpenSea API.
  • Multi-Agent Support: Webhook triggers for notifying other agents of high-risk portfolio changes.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*