lst
Skill2 starsChanged 8 months agoMITView on GitHub
Liquid staking via Endur on Starknet — stake STRK to receive xSTRK, redeem xSTRK back to STRK, check positions, and view protocol stats. Yield is embedded in the xSTRK share price (no manual claim needed). Use this skill when the user mentions liquid staking, LST, xSTRK, Endur, liquid staking token, share price, instant staking, tradeable staking position, or wants a staking token they can trade or use in DeFi — even if they don't say "liquid staking" explicitly.
In this repository13 other files it gives its agents.
- authenticate-walletSkill
- balanceSkill
- batchSkill
- confidentialSkill
- configSkill
- dcaSkill
- lendingSkill
- multi-swapSkill
- portfolioSkill
- sendSkill
- stakingSkill
- tradeSkill
- trovesSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 0 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 52
BEFORE staking, check balance --token STRK to confirm sufficient STRK.
- Very specific: line 53
Use lst-stats to check the current exchange rate, total STRK staked, and APR before staking.
- Very specific: line 54
Use lst-position to check the user's current xSTRK balance and its STRK value.
- Very specific: line 56
When the user asks about "how much yield" from LST, show lst-position which displays the current STRK value vs original deposit.
- Very specific: line 57
AFTER any transactional operation (stake, redeem, exit-all), verify with tx-status.
- Very specific: line 170
Use balance to check available STRK before staking.
- Very specific: line 171
Use staking for delegation staking (validator-based, manual reward claims).
- Very specific: line 172
Use troves to deposit xSTRK into yield vaults for additional yield.
- Very specific: line 173
Use portfolio for a full overview including LST positions with USD values.
- Very specific: line 174
Use batch to combine swaps with liquid staking in one transaction.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Liquid Staking (Endur LST)
Stake STRK tokens through the Endur liquid staking protocol to receive xSTRK — a liquid staking token whose value appreciates over time as staking yield accrues automatically.
Prerequisites
- Active session required.
- Sufficient STRK balance for staking + gas fees.
⚠️ Critical: Yield Model
Endur LST yield is NOT a claimable reward. The xSTRK share price increases automatically to reflect accumulated staking yield. To realize your yield, redeem xSTRK back to STRK — you will receive more STRK than you originally staked.
Do NOT use the staking skill's rewards --claim or rewards --compound for xSTRK positions. Those commands are for delegation staking only.
LST vs Delegation Staking
| Feature | Delegation Staking (staking skill) | Endur LST (lst skill) |
| Token received | None (position tracked on-chain) | xSTRK (ERC-20, tradeable) |
| Yield mechanism | Manual claim via rewards --claim | Automatic via share price |
| Liquidity | Locked until unstake cooldown | Liquid — trade xSTRK anytime |
| DeFi composability | Limited | xSTRK usable in Troves, lending |
| Unstaking | 2-step process with cooldown | Instant redemption |
Rules
- BEFORE staking, check
balance --token STRKto confirm sufficient STRK. - Use
lst-statsto check the current exchange rate, total STRK staked, and APR before staking. - Use
lst-positionto check the user's current xSTRK balance and its STRK value. - NEVER suggest using
rewards --claimorrewards --compoundfor LST positions. Yield is automatic. - When the user asks about "how much yield" from LST, show
lst-positionwhich displays the current STRK value vs original deposit. - AFTER any transactional operation (stake, redeem, exit-all), verify with
tx-status. lst-exit-allredeems the entire xSTRK balance — warn the user before executing.
Commands
# Check LST position (xSTRK balance and STRK value)
npx starkfi@latest lst-position [-a <symbol>] [--json]
# View Endur protocol stats (exchange rate, APR, total staked)
npx starkfi@latest lst-stats [-a <symbol>] [--json]
# Stake STRK to receive xSTRK
npx starkfi@latest lst-stake <amount> [-a <symbol>] [--json]
# Redeem xSTRK back to STRK (partial)
npx starkfi@latest lst-redeem <amount> [-a <symbol>] [--json]
# Redeem all xSTRK back to STRK
npx starkfi@latest lst-exit-all [-a <symbol>] [--json]Parameters
lst-position / lst-stats
| Parameter | Type | Description | Required |
-a, --asset | string | Underlying asset symbol (default: STRK) | No |
--json | flag | Output as JSON | No |
lst-stake
| Parameter | Type | Description | Required |
amount | number | Amount of the asset to stake | Yes |
-a, --asset | string | Asset to stake (default: STRK) | No |
--json | flag | Output as JSON | No |
lst-redeem
| Parameter | Type | Description | Required |
amount | number | Amount of LST shares to redeem | Yes |
-a, --asset | string | Underlying asset (default: STRK) | No |
--json | flag | Output as JSON | No |
lst-exit-all
| Parameter | Type | Description | Required |
-a, --asset | string | Asset to exit completely (default: STRK) | No |
--json | flag | Output as JSON | No |
Examples
User: "What's the current LST exchange rate?"
npx starkfi@latest lst-statsUser: "Stake 1000 STRK via liquid staking"
npx starkfi@latest status
npx starkfi@latest balance --token STRK
npx starkfi@latest lst-stats # Check current exchange rate
npx starkfi@latest lst-stake 1000
npx starkfi@latest tx-status <hash>User: "How much is my xSTRK worth?"
npx starkfi@latest lst-positionUser: "Redeem 500 xSTRK back to STRK"
npx starkfi@latest lst-position # Check available xSTRK balance
npx starkfi@latest lst-redeem 500
npx starkfi@latest tx-status <hash>User: "Exit all my liquid staking"
npx starkfi@latest lst-position # Show what will be redeemed
# WARN: This redeems all xSTRK. Confirm with user.
npx starkfi@latest lst-exit-all
npx starkfi@latest tx-status <hash>User: "Should I use regular staking or liquid staking?"
# Show both options for comparison
npx starkfi@latest lst-stats # LST: exchange rate, APR
npx starkfi@latest validators # Delegation: validator list
# Explain: LST = liquid + auto-yield; Delegation = locked + manual claimError Handling
| Error | Action |
Insufficient balance | Check balance --token STRK for staking, or lst-position for redeem. |
Not authenticated | Run authenticate-wallet skill first. |
Related Skills
- Use
balanceto check available STRK before staking. - Use
stakingfor delegation staking (validator-based, manual reward claims). - Use
trovesto deposit xSTRK into yield vaults for additional yield. - Use
portfoliofor a full overview including LST positions with USD values. - Use
batchto combine swaps with liquid staking in one transaction.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

