agentleFS
canddao1-dotcomcanddao1-dotcom/flare-agent-skills/skills/upshift/SKILL.md

upshift

Skill7 starsChanged 9 months agoMITView on GitHub

Upshift Finance yield vaults. Deposit/withdraw from FXRP vault (earnXRP), check yields, monitor positions. Triggers on "/upshift", "upshift finance", "earnxrp", "fxrp vault", "yield vault".

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    NOT ERC4626 — custom interface, don't use standard vault ABIs

    line 88

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Upshift Skill

Interact with Upshift Finance yield vaults on Flare network.

  • /upshift, "upshift vault", "earnXRP"

Quick Command

node skills/upshift/scripts/upshift.js <command> [options]

Subcommands

CommandDescription
statusVault TVL, share price, your balance
deposit <amount>Deposit FXRP to vault
redeem <shares>Instant redeem earnXRP for FXRP
request <shares>Request redemption (queued)
balance [address]Check earnXRP balance

Usage Examples

# Check vault status
/upshift status

# Deposit 100 FXRP
/upshift deposit 100

# Redeem 50 earnXRP shares
/upshift redeem 50

# Check balance
/upshift balance

Contract Addresses

ContractAddress
Vault (Proxy)0x373D7d201C8134D4a2f7b5c63560da217e3dEA28
Implementation0xc689cc6441146f7c4986ed4f0e1eb6fc382859b2
Share Token (earnXRP)0xe533e447fd7720b2f8654da2b1953efa06b60bfa
Asset (FXRP)0xAd552A648C74D49E10027AB8a618A3ad4901c5bE

Interface (Non-standard)

NOT ERC4626 - Custom interface:

// Deposits - requires FXRP approval first
function deposit(address token, uint256 amount, address account)

// Redemptions
function instantRedeem(uint256 wNLPAmount, address to) returns (uint256)
function requestRedeem(uint256 _shares, address _token)

Notes

  • Share token is earnXRP (6 decimals)
  • FXRP is 6 decimals
  • Two-step redemption: instant or request/claim
  • Vault uses TransparentUpgradeableProxy pattern

Routing Guide

Don't use when...

  • Swapping FXRP (use /swap)
  • Managing LP positions (use /lp)
  • Checking portfolio (use /portfolio — includes Upshift)

Use when...

  • Depositing FXRP into Upshift yield vault
  • Checking earnXRP balance and vault status
  • Redeeming earnXRP back to FXRP

Edge Cases

  • NOT ERC4626 — custom interface, don't use standard vault ABIs
  • Deposit fee ~0.3%
  • Two redemption paths: instant (if available) or request queue
  • Requires FXRP approval before deposit

Success Criteria

  • Status shows vault TVL and share price
  • Deposit returns tx hash and earnXRP received
  • Redeem returns FXRP amount and tx hash

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.