cdp
Skill7 starsChanged 9 months agoMITView on GitHub
Enosys Loans (CDP) protocol. Check stability pool deposits, deposit/withdraw CDP, view collateral rewards. Triggers on "/cdp", "enosys loans", "stability pool", "cdp earn", "liquity".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- wellwelwel/lagunetheir own version, first seen Oct 31, 2026
- browser-use/browser-harness-jstheir own version, first seen Oct 9, 2026
- huoshen80/ReinaManagertheir own version, first seen Oct 8, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- huoshen80/ReinaManager★ 737same name
- browser-use/browser-harness-js★ 490same name
- wellwelwel/lagune★ 177same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
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
- Distinctive: line 132
Address context: Default from agent wallet, accepts optional address override
≈ “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
CDP Skill (Enosys Loans)
Interact with Enosys Loans protocol - a Liquity V2 fork on Flare.
Quick Command
node skills/cdp/scripts/cdp.js <command> [options]Subcommands
| Command | Description |
status | Protocol stats, pool TVL, your positions |
balance [address] | Check CDP balance and SP deposits |
deposit <amount> <pool> | Deposit CDP to earn pool (fxrp/wflr) |
withdraw <amount> <pool> | Withdraw from earn pool |
claim <pool> | Claim yield + liquidation collateral |
pools | Show stability pool stats |
Usage Examples
# Check protocol status
/cdp status
# Check your position
/cdp balance
# Deposit 100 CDP to FXRP earn pool
/cdp deposit 100 fxrp
# Withdraw 50 CDP from WFLR pool
/cdp withdraw 50 wflr
# Claim all rewards from FXRP pool
/cdp claim fxrpContract Addresses
CDP Token
| Contract | Address |
| CDP Dollar | 0x6Cd3a5Ba46FA254D4d2E3C2B37350ae337E94a0F |
FXRP Branch
| Contract | Address |
| BorrowerOperations | 0x18139E09Fb9a683Dd2c2df5D0edAD942c19CE912 |
| TroveManager | 0xc46e7d0538494FEb82b460b9723dAba0508C8Fb1 |
| StabilityPool | 0x2c817F7159c08d94f09764086330c96Bb3265A2f |
| PriceFeed | 0xFc35d431Ce1445B9c79ff38594EF454618D2Ec49 |
WFLR Branch
| Contract | Address |
| BorrowerOperations | 0x19b154D5d20126a77309ae01931645a135E4E252 |
| TroveManager | 0xB6cB0c5301D4E6e227Ba490cee7b92EB954ac06D |
| StabilityPool | 0x0Dd6daab4cB9A0ba6707Cf59DBfbc28cc33CA24A |
Protocol Parameters
- MCR (Min Collateral Ratio): 110%
- CCR (Critical Collateral Ratio): 150%
- CDP Decimals: 18
Stability Pool Interface
// Deposit CDP to earn
function provideToSP(uint256 _topUp, bool _doClaim)
// Withdraw CDP
function withdrawFromSP(uint256 _amount, bool _doClaim)
// View functions
function getCompoundedBoldDeposit(address) → current deposit
function getDepositorYieldGain(address) → pending CDP yield
function getDepositorCollGain(address) → pending collateralRewards
- Yield: CDP interest from borrowers
- Collateral: Liquidated collateral (FXRP or WFLR) at discount
Routing Guide
Don't use when...
- Opening/managing CDP borrowing troves (this focuses on stability pool deposits only)
- Checking general token prices (use
/pricefor broad pricing data) - Managing LP positions (use
/lpfor concentrated liquidity positions) - Need CDP borrowing rates (check Enosys Loans directly for borrowing)
- Expecting guaranteed yields (liquidation gains vary with market conditions)
- Unfamiliar with Liquity V2 mechanics (complex collateral/borrowing interactions)
Use when...
- Depositing CDP tokens to stability pools for yield + liquidation collateral gains
- Checking stability pool positions and pending reward balances
- Claiming CDP yield and FXRP/WFLR liquidation rewards from protocol
- Earning passive income while maintaining CDP token exposure
- Immediate liquidity needs with CDP tokens (redeemable near-instantly)
Edge Cases
- Pool specificity: Two distinct pools (FXRP and WFLR) require explicit selection
- Claim mechanics: Single claim operation triggers BOTH yield + collateral withdrawal
- Liquidation volatility: Collateral gains fluctuate dramatically during liquidation events
- Protocol parameters: MCR 110%, CCR 150% - understanding for comprehensive context
- Yield delay: Rewards may not compound immediately after deposit
- Pool liquidity: TVL changes impact individual deposit proportions
Success Criteria
- Status confirmation: Shows accurate pool TVL and precise individual deposit amounts
- Transaction verification: Deposit/withdraw operations return confirmed tx hashes
- Reward execution: Claim operations display exact CDP yield + collateral amounts received
- Balance accuracy: Position tracking matches on-chain stability pool state
Input/Output Schema
Input Requirements
- Pool selection: FXRP | WFLR pool specification required
- Amount precision: Decimal values respecting CDP token 18-decimal precision
- Command specificity: deposit|withdraw|claim|balance subcommand required
- Address context: Default from agent wallet, accepts optional address override
Output Data Types
- Pool metrics: Total pool TVL, individual deposit amounts, current yield rates
- Reward breakdown: Separate CDP yield vs FXRP/WFLR collateral gain components
- Transaction records: Confirmed on-chain transaction hashes for all operations
- Error specificity: Pool selection, insufficient balance, invalid amounts
Risk Parameters
- Liquidation exposure: Rewards tied to FXRP/WFLR collateral liquidations
- Yield variability: 110% minimum collateralization ratios affect stability pool earnings
- Pool concentration: FXRP vs WFLR selection impacts reward source diversification
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.

