maker

Interact with MakerDAO and Sky protocol vaults, DAI Savings Rate, liquidations, and token migration on Ethereum.

1|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/naruto11eth/cryptoskills --skill maker-naruto11eth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maker
Source: https://github.com/naruto11eth/cryptoskills/tree/main/skills/maker
Command: npx skills add https://github.com/naruto11eth/cryptoskills --skill maker-naruto11eth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires viem.

What problem does it solve? LLMs frequently hallucinate MakerDAO contract interfaces, confuse the wad/ray/rad unit system, and miss the Sky rebrand (USDS/SKY), leading to broken integrations and lost funds. This Skill provides verified contract addresses, correct DSProxy-based interaction patterns, and production-ready code for vaults, DSR, liquidations, governance, and token migration. ## Core Features & Use Cases - Vault Operations: Open Maker Vaults (CDPs), lock ETH/ERC-20 collateral, draw and repay DAI through DSProxy + DssProxyActions with correct unit handling. - Savings & Yield: Deposit into the DAI Savings Rate (DsrManager/Pot) or the new sUSDS ERC-4626 vault, and migrate DAI to USDS (1:1) and MKR to SKY (1:24000). - Liquidations & Governance: Trigger and participate in Liquidation 2.0 Dutch auctions via Dog/Clipper, and lock MKR in DSChief to vote on executive spells. - Use Case: An agent asked to "open an ETH-A vault with 5 ETH and draw 2000 DAI" uses the provided viem templates to build or reuse a DSProxy, execute openLockETHAndDraw, and verify the resulting vault state on-chain. ## Quick Start Ask the agent to open an ETH-A Maker vault with a specified amount of ETH collateral and DAI to draw, using the provided viem client template with your RPC_URL and PRIVATE_KEY set.

Frequently Asked Questions about maker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open a Maker vault and generate DAI?

Open a Maker vault by calling openLockETHAndDraw on DssProxyActions through your DSProxy's execute function, passing the CdpManager, Jug, ETH join adapter, DaiJoin, ilk bytes32, and DAI amount. Never call Vat.frob directly, as internal rad-denominated accounting causes precision errors.

How to convert DAI to USDS after the Sky rebrand?

Convert DAI to USDS by approving the DaiUsds converter contract (0x3225737a9Bbb6473CB4a45b7244ACa2BeFdB276A) and calling daiToUsds. The conversion is always 1:1 with no fees, and both token systems coexist on mainnet.

What is the difference between DSR and sUSDS savings?

The original DAI Savings Rate uses the DsrManager and Pot contracts, while sUSDS is an ERC-4626 vault for USDS savings introduced in the Sky rebrand. They are separate yield sources with potentially different rates, and sUSDS shares appreciate in value over time.

Why does my Maker vault transaction revert with Vat/not-safe?

Vat/not-safe means the vault would be undercollateralized after the operation, failing the ink * spot >= art * rate check. Add more collateral, draw less DAI, or call jug.drip(ilk) first to update the stale rate accumulator before calculating debt.

How do Maker Liquidation 2.0 Dutch auctions work?

Keepers trigger liquidation via Dog.bark, which starts a Clipper Dutch auction where price decreases over time. Participants call Clipper.take with internal Vat DAI (not ERC-20 DAI) after granting vat.hope permission to the Clipper contract.

What are wad, ray, and rad units in MakerDAO?

Wad (10^18) represents token amounts and normalized debt, ray (10^27) represents rate accumulators, and rad (10^45) represents internal DAI balances in the Vat. Confusing these units causes silent precision loss, so use DssProxyActions which handles conversions automatically.