This guides Claude through the icp command-line tool for building and deploying Internet Computer applications. It's the successor to dfx, using YAML config instead of JSON and a recipe system for build templates. Use it when you're setting up projects, managing canister lifecycles, or dealing with deployment environments. The skill is heavy on migration gotchas: things like using `-e ic` instead of `--network ic` for mainnet, pinning recipe versions, and understanding that local networks are per-project, not global. It won't help with canister-level patterns like access control or inter-canister calls, just the CLI workflow.

skills.sh installs
385
GitHub stars
39
last updated
Aug 21, 2026

Install

$ npx -y skills add dfinity/icskills --skill icp-cli --agent claude-code

Installs into .claude/skills of the current project.

Files

ICP CLI

What This Is

The icp command-line tool builds and deploys applications on the Internet Computer. It replaces the legacy dfx tool with YAML configuration, a recipe system for reusable build templates, and an environment model that separates deployment targets from network connections. Never use dfx — always use icp.

Before generating any icp command not explicitly documented here, run icp --help or icp <subcommand> --help to verify the command and its flags exist. Do not infer flags from dfx equivalents — the CLIs are not flag-compatible.

Installation

npm install -g @icp-sdk/icp-cli @icp-sdk/ic-wasm

ic-wasm is required when using official recipes (@dfinity/rust, @dfinity/motoko, @dfinity/static-site, @dfinity/asset-canister) — they depend on it for optimization and metadata embedding. Requires Node.js >= 22. Also available via Homebrew and shell script installer — see the icp-cli releases.

Sponsors

Details

Repository
github.com/dfinity/icskills
Category
CLI & Terminal
First seen
Jun 3, 2026

More from dfinity/icskills

All 16
1jezweb avatarmcp-cli-scriptsjezweb/claude-skillsBuild CLI scripts alongside MCP servers for terminal environments. File I/O, batch processing, caching, richer output formats. Templates for TypeScript scripts 313skills.sh installs
2cinience avataralicloud-platform-aliyun-clicinience/alicloud-skillsAlibaba Cloud generic CLI skill for installing, configuring, and using aliyun CLI to call OpenAPI actions across products. Use when users need command-line oper278skills.sh installs
3onnokh avataratlassian-clionnokh/atlassian-cliUse for installing, upgrading, authenticating, and using Atlassian Command Line Interface (ACLI, `acli`) for Atlassian Cloud. Triggers include Jira CLI tasks (w219skills.sh installs
4josiahsiegel avatarpowershell-shell-detectionjosiahsiegel/claude-plugin-marketplacePowerShell vs Git Bash/MSYS2 shell detection and cross-shell compatibility on Windows. PROACTIVELY activate for: (1) detecting whether script runs under PowerSh209skills.sh installs
5joelhooks avatarcli-designjoelhooks/joelclawDesign and build agent-first CLIs with HATEOAS JSON responses, context-protecting output, and self-documenting command trees. Use when creating new CLI tools, a149skills.sh installs
6breaking-brake avatarccwf-clibreaking-brake/cc-wf-studioUse the `ccwf` CLI (from @cc-wf-studio/cli) to render, validate, preview, export, or run cc-wf-studio workflow JSON files from the terminal. Apply whenever the 0skills.sh installs