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

fb

Skill7 starsChanged 9 months agoMITView on GitHub

FlareBank protocol — all-in-one. Dashboard, mint/burn BANK, claim/compound dividends, price checker. Triggers on "/fb", "/fbdashboard", "/bankrate", "flarebank", "bank token", "mint bank", "burn bank", "bank price", "bank rate".

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All FlareBank operations in one skill.

    line 8
  2. Very specific:

    When running /fb dashboard or /fbdashboard:

    line 56
  3. Distinctive:

    Do NOT summarize, truncate, or add commentary

    line 59
  4. Very specific:

    Default: ./keystore.json (set via AGENT_KEYSTORE) Agent wallet: (set via AGENT_WALLET env var)

    line 130

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

FlareBank Skill (Unified)

All FlareBank operations in one skill.

Quick Command

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

Subcommands

CommandDescription
dashboardFull protocol analytics (TVL, supply, rewards, validators, activity)
statusVault status, balances, pending dividends
mint <amount>Mint BANK by depositing FLR
burn <amount>Burn BANK to withdraw FLR
claimClaim pending dividends to wallet
compoundCompound dividends into more BANK
bankrateBANK price comparison — LP market vs contract mint/burn rates

Command Aliases

TriggerMaps To
/fbdashboard/fb dashboard
/bankrate/fb bankrate
/fb stats/fb dashboard
/fb sell/fb burn
/fb buy/fb mint
/fb withdraw/fb claim
/fb reinvest/fb compound
/fb rate/fb bankrate
/fb price/fb bankrate

Usage Examples

/fb dashboard        # Full protocol overview
/fb status           # Vault balances + pending divs
/fb mint 100         # Mint BANK with 100 FLR
/fb burn 10          # Burn 10 BANK for FLR
/fb claim            # Claim dividends
/fb compound         # Compound dividends
/fb bankrate         # LP vs contract price comparison

⚠️ Dashboard Output Rules

When running /fb dashboard or /fbdashboard:

  1. Run: node skills/fb/scripts/fb.js dashboard
  2. Copy-paste the ENTIRE output — every table, every section
  3. Do NOT summarize, truncate, or add commentary

Dashboard Sections

  • 📈 PROTOCOL TVL — FB Main, DAO Treasury, LP WFLR, IBDP queue
  • 🏦 BANK TOKEN — Supply, circulating, price, mint/burn prices, backing
  • 🏛️ DAO TREASURY — All token holdings with WFLR valuations
  • 💧 LP POSITIONS — Enosys V2, SparkDex V2, V3 details
  • 🌾 CDP EARN POOLS — Deposits, pending yield, liquidation collateral
  • 🎁 PENDING REWARDS — CDP yield and collateral claimable
  • 🥩 APS STAKING — DAO staked APS, held APS
  • 🔒 rFLR VESTING — Vested vs unvested
  • 🪂 FLAREDROP CLAIMS — DAO, IBDP, FB Main (All Time/30d/7d/24h)
  • 📊 FTSO DELEGATION REWARDS — Per source, per period
  • 🏛️ FTSO PROVIDER FEES — Provider fee breakdown
  • 🔐 VALIDATOR FEES CLAIMED — Self-bond + operation fees
  • 🌐 FTSO — Total WFLR delegated
  • 🔐 VALIDATORS — Stake, delegation, uptime, expiry
  • 💰 PROVIDER EARNINGS — Estimated per epoch/month/year
  • 🏭 MINT/🔥 BURN/📤 TRANSFER/🔄 SWAP STATISTICS — Activity + fee distribution
  • 📋 SUPPLY SUMMARY — Current, minted, burned
  • 💱 PRICES — FXRP, stXRP, sFLR, FLR/USD

Bankrate Output

  • LP Price — BANK/WFLR from Enosys V2 pool reserves
  • Contract Buy Price — Mint rate
  • Contract Sell Price — Burn rate
  • Spread — Buy vs sell difference
  • LP vs Contract — Premium/discount analysis

Protocol Overview

How BANK Works

  1. Minting: Send FLR → receive BANK at buyPrice() rate
  2. Burning: Send BANK → receive FLR at sellPrice() rate
  3. Spread: Buy price > sell price (value accrual)
  4. Dividends: 10% fee on all activity → distributed to holders
  5. Compounding: reinvest() auto-buys BANK with pending divs

Fee Structure

ActionFeeDistribution
Mint10% of WFLR80% holders, 15% team, 5% DAO
Burn10% of WFLR80% holders, 15% team, 5% DAO
Transfer1% burn + 1% fee80% holders, 15% team, 5% DAO
LP Swap1% burn + 1% fee80% holders, 15% team, 5% DAO

Contract Reference

ContractAddress
BANK Token (FB Main)0x194726F6C2aE988f1Ab5e1C943c17e591a6f6059
IBDP0x90679234fe693b39bfdf5642060cb10571adc59b
DAO Treasury0xaa68bc4bab9a63958466f49f5a58c54a412d4906
Enosys V2 BANK/WFLR0x5f29c8d049e47dd180c2b83e3560e8e271110335

Function Selectors

FunctionSelector
buy(address)0xf088d547
sell(uint256)0x35a4f939
withdraw()0x3ccfd60b
reinvest()0xfdb5a03e
buyPrice()0x8620410b
sellPrice()0x4b750334

Keystore

Default: ./keystore.json (set via AGENT_KEYSTORE) Agent wallet: (set via AGENT_WALLET env var)


Routing Guide

Use when...

  • Any FlareBank-related query: dashboard, minting, burning, prices, analytics
  • /fb, /fbdashboard, /bankrate commands
  • "bank price", "bank rate", "flarebank", "mint bank", "burn bank"

Don't use when...

  • Managing LP positions (use /lp or /fblpmanager)
  • General token prices unrelated to BANK (use /price)

Edge Cases

  • Dashboard output is intentionally long — send ALL tables
  • Script may take 10-20s due to many RPC calls
  • Contract includes 10% mint/burn fee — always account for it
  • LP price can diverge from contract during low liquidity

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.