Agent skill

starknet-defi

Execute DeFi operations on Starknet including token swaps via avnu aggregator, DCA recurring buys, STRK staking, and lending/borrowing. Supports gasless transactions.

Internet Court1,389★ · +222/wk · 1 repos on radarProfile →
claude-codecodexcan modify filesNOASSERTION
Install
npx skills add internet-court/internet-court-skill --skill starknet-defi --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 9 KB
Bundled scripts: none
Allowed tools: BashReadWriteGlobGrepTask
Path: vendored/starknet/starknet-defi/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,536 · +147 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Starknet DeFi Skill Execute DeFi operations on Starknet using avnu aggregator and native protocols. ## When to Use - Swaps, DCA orders, staking, and lending or borrowing flows on Starknet. - Agent workflows that need AVNU routing, paymaster support, or protocol-specific DeFi execution. ## When NOT to Use - Plain wallet management without DeFi intent. - Cairo contract authoring, deployment operations, or security auditing. ## Quick Start 1. Install the AVNU + starknet.js dependencies and point the skill at a funded Starknet account. 2. Use [skills catalog](../README.md) when the flow expands into wallet setup, deployment, or auditing. ## Prerequisites ```bash npm install starknet@^8.9.1 @avnu/avnu-sdk@^4.0.1 ``` ## Token Swaps (avnu SDK v4) ### Get Quote and Execute Swap ```typescript import { getQuotes, executeSwap, type QuoteRequest } from "@avnu/avnu-sdk"; import { Account, RpcProvider, ETransactionVersion } from "starknet"; const provider = new RpcProvider({ nodeUrl: process.env.STARKNET_RPC_URL }); // starknet.js v8: Account uses options object const account = new Account({ provider, address, signer: privateKey, transactionVersion: ETransactionVersion.V3, }); // Resolve token

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Quick Start
  4. Prerequisites
  5. Token Swaps (avnu SDK v4)
  6. Get Quote and Execute Swap
  7. Quote Response Fields (SDK v4)
  8. Build Swap Calls (for multicall composition)
  9. Gasless Swap (Pay Gas in Token) - SDK v4 + PaymasterRpc
  10. DCA (Dollar Cost Averaging)
  11. Create DCA Order
  12. Check and Cancel DCA
  13. STRK Staking
  14. Stake STRK
Ships with 2 files
  • LICENSE
  • agents/openai.yaml
Commands it runs
npm install starknet@^8.9.1 @avnu/avnu-sdk@^4.0.1
More from internet-court-skill
All skills →
About this skill
What does the starknet-defi skill do?

Execute DeFi operations on Starknet including token swaps via avnu aggregator, DCA recurring buys, STRK staking, and lending/borrowing. Supports gasless transactions.

How do I install it?

Run `npx skills add internet-court/internet-court-skill --skill starknet-defi --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From internet-court/internet-court-skill, a repository with 1,536 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going