maker

Interact with MakerDAO and Sky protocol vaults, DSR, liquidations, and token migration on Ethereum.

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

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, call the Vat directly instead of using DSProxy, and miss the Sky rebrand (USDS/SKY). This Skill provides verified contract addresses, correct interaction patterns, and production-ready code for Maker Vaults, DAI Savings Rate, Liquidation 2.0 Dutch auctions, MKR governance, and DAI-to-USDS migration. ## Core Features & Use Cases - Vault Operations: Open ETH-A vaults, lock collateral, draw DAI, and close positions via DSProxy + DssProxyActions with correct unit handling. - Savings & Migration: Deposit into DSR via DsrManager, upgrade DAI to USDS 1:1, convert MKR to SKY at 1:24000, and deposit USDS into the sUSDS ERC-4626 vault. - Liquidations & Governance: Trigger Dog.bark, participate in Clipper Dutch auctions, lock MKR in DSChief, vote on executive spells, and cast them after the GSM delay. - Use Case: An agent asked to "open a Maker vault with 5 ETH and draw 2000 DAI" uses the included viem template to get-or-create a DSProxy, execute openLockETHAndDraw, and read back vault state with correct art*rate debt math. ## Quick Start Ask the agent to open an ETH-A Maker vault with a specified ETH amount and DAI draw using the provided maker-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 vault by calling openLockETHAndDraw on DssProxyActions through your DSProxy's execute function, passing the CdpManager, Jug, ETH-A join adapter, DaiJoin, ilk bytes32, and DAI amount. This locks ETH and draws DAI in one transaction.

How do I convert DAI to USDS after the Sky rebrand?

Approve the DaiUsds converter contract to spend your DAI, then call daiToUsds with your address and amount. The conversion is always 1:1 with no fee, and both DAI and USDS coexist on mainnet.

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

Vat/not-safe means the vault would be undercollateralized after the operation, where ink times spot is less than art times rate. Add more collateral, draw less DAI, or call jug.drip first to update the stale rate accumulator.

What is the difference between wad, ray, and rad in MakerDAO?

Wad is 10^18 for token amounts and normalized debt, ray is 10^27 for rate accumulators, and rad is 10^45 for internal DAI balances in the Vat. Actual vault debt equals art multiplied by rate, and confusing these units causes precision errors.

Can I call the Vat contract directly instead of using DSProxy?

Direct Vat.frob calls are possible but strongly discouraged because they require manual rad-denominated math and prior vat.hope authorization. DssProxyActions via DSProxy handles unit conversion, jug.drip, and multi-step operations atomically.

Why does Clipper.take fail when participating in a liquidation auction?

Clipper.take fails if you lack internal Vat DAI rather than ERC-20 DAI, if you have not called vat.hope for the Clipper, if the auction needs a redo due to stale price, or if a partial take would leave dust collateral.