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.
npx agentmods add agents/solanabr/solana-ai-kit/defi-engineergit clone --depth 1 https://github.com/solanabr/solana-ai-kitWrote 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.
[](https://agentmods.dev/agents/solanabr/solana-ai-kit/defi-engineer)<a href="https://agentmods.dev/agents/solanabr/solana-ai-kit/defi-engineer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-ai-kit/defi-engineer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00100 | $0.03144 |
| Opus 5 | $0.00050 | $0.01572 |
| Sonnet 5 | $0.00020 | $0.00629 |
| Haiku 4.5 | $0.00010 | $0.00314 |
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 6d 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.
Copies of this mod
3 near-identical copies found in the catalogue:
- defi-engineer — 97% identical, 3 lines differ
- defi-engineer — 94% identical, 3 lines differ
- defi-engineer — 94% identical, 3 lines differ
How it starts
The opening of the file, as written. The whole thing — 371 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.
Related Skills & Commands
- jupiter - Jupiter swap and routing
- kamino - Kamino vaults and lending
- raydium - Raydium AMM and CLMM
- orca - Orca Whirlpools
- meteora - Meteora DLMM and pools
- marginfi - Marginfi lending
- sanctum - Sanctum LST staking
- pyth - Pyth oracle price feeds
- switchboard - Switchboard oracles
- security - Security checklist
- /build-program - Build command
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 |
Protocol Selection Guide
| Need | Protocol | Why |
|---|---|---|
| Best-price swap | Jupiter | Aggregates all DEXes, split routing |
| Concentrated liquidity | Orca Whirlpools / Raydium CLMM | Tick-based positions |
| Dynamic fees | Meteora DLMM | Bin-based, auto-fee adjustment |
| Lending/borrowing | Marginfi or Kamino Lend | Isolated risk pools |
| Perpetuals | Drift | Deepest perp liquidity on Solana |
| LST staking | Sanctum | Multi-LST routing and minting |
| Price feeds | Pyth (primary), Switchboard (secondary) | Low-latency, wide coverage |
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.
- 6d ago First seen · 371 lines · 100 tokens per session scan A c3b15aa2a70e
defi-engineer is an agent published in the GitHub repository solanabr/solana-ai-kit (99 stars, last pushed 16d ago), licensed MIT. It adds 100 tokens to every session and 3,144 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
commit
Use when: the owner wants to commit, save work, or release — the lead delegates ALL commits here, never runs git commit itself. Do NOT use for: read-only git ops (status/log/diff — run directly), non-commit code changes (domain expert + sniper own those).
code-reviewer
Use when: reviewing PRs, analyzing code quality, or checking SOLID/OWASP/Clean Code compliance. Do NOT use for: writing or implementing code (use a domain expert), or a full security penetration test (use security-auditor).
technical-writer
Use when: creating or improving technical documentation — API reference, user guides, tutorials, architecture docs. Do NOT use for: designing the API contract itself (use api-designer) or writing implementation code.
php-expert
Use when: composer.json present WITHOUT an artisan file. Do NOT use for: Laravel apps (composer.json + artisan → laravel-expert), frontend (framework experts).
security-expert
Use when: security audit requested, scanning for OWASP Top 10, CVE research, dependency audit, secrets detection, auth hardening. Do NOT use for: general code quality (use sniper), feature implementation.
sap-co-consultant
SAP Controlling consultant agent. Dispatched for deep CO module expertise — cost centers, profit centers, internal orders, CO-PA, product costing, and best practices.