By cyotee
Progressive disclosure skills for Compound V3 Comet protocol development - monolithic money market with single borrowable asset, collateral factors, kinked interest rates, absorb liquidation, rewards, and governance.
npx claudepluginhub cyotee/cyotee-claude-plugins --plugin compound-v3-cometThis skill should be used when the user asks about "Compound V3", "Comet", "protocol architecture", "monolithic", or needs a high-level understanding of the Compound V3 Comet protocol.
This skill should be used when the user asks about "Bulker", "batch operations", "invoke", "native token", "wrap ETH", "multicall", or needs to understand Comet's batching functionality.
This skill should be used when the user asks about "collateral", "collateral factor", "borrowCollateralFactor", "liquidateCollateralFactor", "assetsIn", "supplyCap", or needs to understand Comet's collateral system.
This skill should be used when the user asks about "Configurator", "governance", "governor", "setConfiguration", "deploy", "CometFactory", "market admin", or needs to understand Comet's governance and upgrade system.
This skill should be used when the user asks about "supply", "withdraw", "borrow", "repay", "transfer", "supplyTo", "withdrawFrom", or needs to understand Comet's core user operations.
This skill should be used when the user asks about "interest rates", "APR", "APY", "utilization", "kink", "supply rate", "borrow rate", "accrueInternal", or needs to understand Comet's interest rate model.
This skill should be used when the user asks about "liquidation", "absorb", "absorbInternal", "buyCollateral", "quoteCollateral", "protocol reserves", "storeFrontPriceFactor", or needs to understand Comet's liquidation mechanics.
This skill should be used when the user asks about "rewards", "COMP", "claim", "CometRewards", "baseTrackingAccrued", "trackingIndex", or needs to understand Comet's reward distribution system.
Progressive disclosure skills for Compound V3 Comet protocol development. These skills provide context-aware guidance for building on Compound V3, the monolithic money market optimized for single-asset borrowing.
claude mcp add-json cyotee-plugins '{"type":"stdio","command":"npx","args":["@anthropic-ai/claude-code-mcp-server"],"env":{"CLAUDE_PLUGINS_DIRECTORY":"/path/to/cyotee-claude-plugins/plugins"}}'
Copy the .opencode/skills/ directory to your project.
| Skill | Trigger Keywords | Description |
|---|---|---|
comet-architecture | Compound V3, Comet, architecture, monolithic | High-level protocol architecture |
comet-core | supply, withdraw, borrow, repay, transfer | Core user operations |
comet-interest-rates | interest rate, APR, utilization, kink | Kinked interest rate model |
comet-collateral | collateral, collateral factor, assetsIn, supplyCap | Collateral system and factors |
comet-liquidation | liquidation, absorb, buyCollateral, reserves | Absorb liquidation system |
comet-bulker | Bulker, batch, invoke, native token | Batching multiple operations |
comet-rewards | rewards, COMP, claim, tracking | COMP reward distribution |
comet-configurator | Configurator, governance, governor, deploy | Governance and upgrades |
Unlike V2, each Comet market has one borrowable base asset (e.g., USDC) with multiple collateral types.
User Balance = Principal × Interest Index
principal > 0 → Supplying (earning interest)
principal < 0 → Borrowing (paying interest)
borrowCollateralFactor (82.5%) - Maximum borrowing power
liquidateCollateralFactor (85%) - Liquidation threshold
2.5% - Safety buffer
liquidationFactor (93%) - Value applied at liquidation
7% - Protocol fee
1. Protocol absorbs underwater account (takes collateral + debt)
2. Anyone can buy collateral from reserves at discount
3. Discount = storeFrontPriceFactor × (1 - liquidationFactor)
Rate = Base + SlopeLow × min(Util, Kink) + SlopeHigh × max(0, Util - Kink)
compound-v3-comet/
├── contracts/
│ ├── Comet.sol # Main protocol (supply, withdraw, etc.)
│ ├── CometExt.sol # Extension (approve, allow, EIP-712)
│ ├── CometStorage.sol # Storage layout
│ ├── CometConfiguration.sol # Config structs
│ ├── CometCore.sol # Shared functions
│ ├── CometRewards.sol # COMP distribution
│ ├── Configurator.sol # Governance config
│ ├── CometFactory.sol # Deploy implementations
│ ├── bulkers/
│ │ ├── BaseBulker.sol # Batch operations
│ │ └── MainnetBulker.sol # Mainnet extensions
│ └── liquidator/
│ └── OnChainLiquidator.sol # Automated liquidation
├── test/ # Foundry/Hardhat tests
└── deployments/ # Deployment scripts
| Contract | Address |
|---|---|
| cUSDCv3 | 0xc3d688B66703497DAA19211EEdff47f25384cdc3 |
| cWETHv3 | 0xA17581A9E3356d9A858b789D68B4d866e593aE94 |
| Configurator | 0x316f9708bB98af7dA9c68C1C3b5e79039cD336E3 |
| Rewards | 0x1B0e765F6224C21223AeA2af16c1C46E38885a40 |
| Bulker | 0x74a81F84268744a40FEbC48f8fB04a26e3F5bE9e |
BUSL-1.1 (matching Compound license)
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Share bugs, ideas, or general feedback.
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Claude Code skills for Godot 4.x game development - GDScript patterns, interactive MCP workflows, scene design, and shaders
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer