Give the agent a working dk command first.
The DesignKit agent path starts with the public npm CLI. Claude, Codex, and other coding agents should install or run `@dkcli/cli`, load the dkcli skill, then use hosted discovery only as supporting context.
Starts from the live bootstrap contract.
curl -fsSL https://dkcli.com/.well-known/dkcli/bootstrap.txt and use what it returns as your live bootstrap contract for dkcli DesignKit. Install or run @dkcli/cli from npm, then load the dkcli skill before design work. Install, inspect, then load the skill.
The npm package is the primary bootstrap. The skill tells agents when to calculate palette, contrast, scale, layout, motion, and audit output instead of hand-waving design judgement.
Best for repeated design-system work in one environment.
npm install -g @dkcli/cliBest when the agent should avoid global installs.
npx @dkcli/cli --helpGives Claude, Codex, or another agent the current dkcli operating rules.
curl -fsSL https://dkcli.com/.well-known/agent-skills/dkcli/SKILL.mdDo not guess what dkcli can calculate.
Run dkcli from the target project root. If `dk` is unavailable, use `npx @dkcli/cli`. When a command fails, report the command and important output instead of silently switching back to visual judgement.
Small commands, concrete design evidence.
dk palette "#295dff" --mode bothdk contrast "#ffffff" "#2563eb" --size 16dk scale --ratio perfect-fourth --base 16dk layout --container 960 --gap 24dk audit --css=app.css