solana-vault-standard: Agent for Claude Code

.claude/agents/defi-engineer.md

defi-engineer is an agent for Claude Code from solanabr/solana-vault-standard. It costs 100 tokens per session (3,167 once invoked), scanned A, a copy of defi-engineer, MIT.

A coding agent focused on connecting Solana applications to decentralised finance protocols, services for trading, lending, borrowing, staking, and liquidity. It covers protocols such as Jupiter, Drift, Kamino, Raydium, Orca, Meteora, Marginfi, and Sanctum, plus price-feed services.

In plain words
What is it for?
Use it to build Solana swaps, lending and borrowing features, liquidity or yield strategies, staking with liquid tokens, and oracle price integrations.
Why use it?
It helps handle protocol-specific integration details such as swap routes, slippage, composable transactions, error recovery, and stale price data.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is solanabr/solana-vault-standard's own configuration. It tells Claude Code how to work on solana-vault-standard itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything solana-vault-standard configures →

Reuse

Borrowing it

Nothing to install: this file belongs to solanabr/solana-vault-standard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/solanabr/solana-vault-standard/main/.claude/agents/defi-engineer.md
Clone the repo
git clone --depth 1 https://github.com/solanabr/solana-vault-standard

Made for: Claude Code.

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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/solanabr/solana-vault-standard/defi-engineer/github.svg)](https://agentmods.dev/agents/solanabr/solana-vault-standard/defi-engineer)
Your own site
<a href="https://agentmods.dev/agents/solanabr/solana-vault-standard/defi-engineer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-vault-standard/defi-engineer/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-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/solanabr/solana-vault-standard/defi-engineer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-vault-standard/defi-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,167 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% 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.00100 $0.03167
Opus 5 $0.00050 $0.01584
Sonnet 5 $0.00020 $0.00633
Haiku 4.5 $0.00010 $0.00317

Measured 9d ago against content hash 00a9366e3a68, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

defi-engineer scanned grade A with 0 findings 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 9d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to defi-engineer — 3 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.

.claude/agents/defi-engineer.md · 372 lines

How it starts

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

You are a DeFi integration specialist with deep expertise in composing Solana DeFi protocols. You build secure, efficient integrations with Jupiter, Drift, Kamino, Raydium, Orca, Meteora, Marginfi, Sanctum, and oracle networks. You prioritize correct slippage handling, atomic composability, and production-grade error recovery.

Core Competencies

Domain Expertise
DEX Integration Jupiter V6 API, Raydium CLMM, Orca Whirlpools, Meteora DLMM
Lending Protocols Marginfi, Kamino Lend, Drift spot lending
Yield Strategies LP provision, vault strategies, LST staking via Sanctum
Oracle Integration Pyth pull oracles, Switchboard on-demand, staleness checks
Token Routing Jupiter routing API, multi-hop paths, split routes
Slippage Management Dynamic slippage, price impact estimation, sandwich protection
Perpetuals Drift perps, funding rates, liquidation mechanics
Composability Multi-protocol atomic transactions, CPI chains

Read the full file on GitHub · 372 lines

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. 9d ago First seen · 372 lines · 100 tokens per session scan A 00a9366e3a68

Subscribe to this mod's changes

defi-engineer is an agent published in the GitHub repository solanabr/solana-vault-standard (23 stars, last pushed 5mo ago), licensed MIT. It adds 100 tokens to every session and 3,167 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to defi-engineer, differing in 3 lines, and is treated as a copy.

Related

Other agents, from other repositories

chainaware-ltv-estimator

Estimates the 12-month revenue potential (Lifetime Value) of any Web3 wallet using behavioral signals from ChainAware's Prediction MCP. Combines on-chain experience, activity categories, risk profile, forward-looking intent, and fraud-based retention probability into a USD revenue range. Use this agent PROACTIVELY…

ChainAware/behavioral-prediction-mcp · 297 tokens

chainaware-counterparty-screener

Real-time pre-transaction counterparty screening using ChainAware's Behavioral Prediction MCP. Returns a fast go/no-go Interaction Risk Level (Safe / Caution / Block) with a one-line reason before a trade, transfer, or contract interaction. Use this agent PROACTIVELY whenever a user is about to interact with an…

ChainAware/behavioral-prediction-mcp · 231 tokens

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

crypto-analyst

Cryptocurrency market analyst - price trends, fundamentals, risk assessment using CoinPaprika data for 12,000+ cryptocurrencies and 350+ exchanges.

coinpaprika/claude-marketplace · 34 tokens

defi-engineer

DeFi integration specialist for composing with Solana protocols including Jupiter, Drift, Kamino, Raydium, Orca, Meteora, Marginfi, and Sanctum. Handles swap routing, lending/borrowing, staking, liquidity provision, and oracle price feeds. Use when: Integrating DeFi protocols, building swap interfaces, implementing…

GeckoVision/gecko-surf · 100 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens