defi-connector

defi-connector is a skill for Claude Code, Codex from kayzaa/k.i.t.-bot. It costs 28 tokens per session (3,037 once invoked), scanned A, a copy of defi-connector, MIT.

A connector for DeFi, or decentralised finance: blockchain-based services for staking, lending, liquidity provision, and yield farming. It also supports automatically reinvesting rewards.

In plain words
What is it for?
Use it to stake assets, lend through protocols such as Aave or Compound, provide liquidity, enable auto-compounding, and set exposure, loan, audit, and alert limits.
Why use it?
It brings several DeFi activities and safety settings into one configuration, reducing repeated manual transactions and oversight.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to stake assets, lend through protocols such as Aave or Compound, provide liquidity, enable auto-compounding, and set exposure, loan, audit, and alert limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kayzaa/k.i.t.-bot/defi-connector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kayzaa/k.i.t.-bot --skill defi-connector
Clone the repo
git clone --depth 1 https://github.com/kayzaa/k.i.t.-bot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for defi-connector

README.md
[![agentmods](https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/defi-connector/github.svg)](https://agentmods.dev/skills/kayzaa/k.i.t.-bot/defi-connector)
Your own site
<a href="https://agentmods.dev/skills/kayzaa/k.i.t.-bot/defi-connector"><img src="https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/defi-connector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for defi-connector

Your own site · 80×15
<a href="https://agentmods.dev/skills/kayzaa/k.i.t.-bot/defi-connector"><img src="https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/defi-connector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,037 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.03037
Opus 5 $0.00014 $0.01519
Sonnet 5 $0.00006 $0.00607
Haiku 4.5 $0.00003 $0.00304

Measured 12d ago against content hash 84b31522f021, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

defi-connector scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/defi_monitor.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

r = requests.get(f'https://api.llama.fi/protocol/{protocol}')
Origin

This is a copy

100% identical to defi-connector — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/defi-connector/SKILL.md · 380 lines

How it starts

The opening of the file, as written. The whole thing — 380 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DeFi Connector

Vollautomatische DeFi-Strategien: Staking, Lending, Yield Farming.

Overview

  • Staking - ETH, SOL, ATOM und mehr
  • Lending - Aave, Compound, MakerDAO
  • Yield Farming - Liquidity Mining
  • Auto-Compound - Rewards automatisch reinvestieren

🤖 AUTO-PILOT MODE

# ~/.kit/config/defi-connector.json
{
  "auto_pilot": {
    "enabled": true,
    "wallets": {
      "ethereum": "0x...",
      "solana": "...",
      "cosmos": "cosmos1..."
    },
    "strategies": {
      "staking": {
        "enabled": true,
        "auto_stake_idle": true,
        "min_stake_amount": 0.1
      },
      "lending": {
        "enabled": true,
        "protocols": ["aave", "compound"],
        "max_ltv_pct": 50,
        "health_factor_min": 1.5
      },
      "yield_farming": {
        "enabled": false,
        "require_approval": true,
        "max_position_pct": 20
      },
      "auto_compound": {
        "enabled": true,
        "interval_hours": 24,
        "min_reward_usd": 10
      }
    },
    "risk_management": {
      "max_protocol_exposure_pct": 30,
      "require_audit": true,
      "min_tvl_usd": 100000000
    },
    "alerts": {
      "health_factor_warning": 1.3,
      "apy_change_pct": 20,
      "reward_claimed": true
    }
  }
}

Supported Protocols

Protocol Chain Features
Aave ETH, Polygon, Arbitrum Lending, Borrowing
Compound Ethereum Lending
Lido ETH, SOL Liquid Staking
Rocket Pool Ethereum Decentralized Staking
Uniswap ETH, Polygon LP, Farming
Curve Multi-chain Stablecoin LP
Convex Ethereum Boosted Curve
Osmosis Cosmos LP, Staking

Commands

Check DeFi Positions

python3 -c "
import requests

# DefiLlama API for protocol data
def get_protocol_tvl(protocol):
    r = requests.get(f'https://api.llama.fi/protocol/{protocol}')
    return r.json()

protocols = ['aave', 'lido', 'compound', 'uniswap']

print('🌾 DEFI PROTOCOL OVERVIEW')
print('=' * 60)

for p in protocols:
    try:
        data = get_protocol_tvl(p)
        tvl = data.get('tvl', [{}])[-1].get('totalLiquidityUSD', 0)
        print(f\"{p.upper():12} TVL: \${tvl/1e9:.2f}B\")
    except:
        print(f'{p.upper():12} Error fetching data')
"

Read the full file on GitHub · 380 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 380 lines · 28 tokens per session scan A 84b31522f021

Subscribe to this mod's changes

defi-connector is a skill published in the GitHub repository kayzaa/k.i.t.-bot (5 stars, last pushed 6mo ago), licensed MIT. It adds 28 tokens to every session and 3,037 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to defi-connector, differing in 0 lines, and is treated as a copy.