icp-deploy-check

icp-deploy-check is a skill for Claude Code, Codex from aeonfun/aeon. It costs 76 tokens per session (1,384 once invoked), scanned A, original, MIT.

A read-only checklist for Internet Computer Rust canisters before deployment. An Internet Computer canister is a smart-contract-like service running on that network.

In plain words
What is it for?
Use it to inspect a local canister repository and report pass or fail results for these deploy-time security checks.
Why use it?
It catches deployment risks such as missing controller backups, anonymous access to admin functions, development-only network calls, and unsafe upgrades before they reach production.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect a local canister repository and report pass or fail results for these deploy-time security checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aeonfun/aeon/icp-deploy-check
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aeonfun/aeon --skill icp-deploy-check
Clone the repo
git clone --depth 1 https://github.com/aeonfun/aeon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for icp-deploy-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/aeonfun/aeon/icp-deploy-check/github.svg)](https://agentmods.dev/skills/aeonfun/aeon/icp-deploy-check)
Your own site
<a href="https://agentmods.dev/skills/aeonfun/aeon/icp-deploy-check"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/icp-deploy-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for icp-deploy-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/aeonfun/aeon/icp-deploy-check"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/icp-deploy-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01384
Opus 5.5 $0.00030 $0.00554
Sonnet 5.5 $0.00015 $0.00277
Haiku 4.5 $0.00008 $0.00138

Measured 21d ago against content hash 8efdc284fece, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

icp-deploy-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/icp-deploy-check/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

${var} — Repository-relative or absolute path to a local canister repo/dir (default .). Pass fixture:token_vault to read the bundled canister-audit fixture. Remote owner/repo selectors are not supported; this read-only skill does not clone or fetch. It never deploys, calls mainnet, or needs an identity.

Today is ${today}. Read memory/MEMORY.md before starting.

Why this exists

The most expensive IC mistakes are set at deploy time and hard to undo: a single controller with no backup, an admin method reachable by the anonymous principal, a fetch_root_key() left on a mainnet path, or an upgrade that traps and strands the canister. This skill is the pre-flight checklist — a fast, static, read-only gate the operator runs before dfx deploy / icp canister install, so those footguns are caught on a workstation, not in production. It is the deploy-time sibling of the deeper canister-audit skill (which forks, scans, and PoC-verifies); this one just reads the repo in front of you and reports pass/fail per check.

Knowledge source

The checks are the deploy-relevant subset of the 12 canister-security pitfalls, embedded from dfinity/icskills canister-security. The full checklist lives at skills/canister-audit/references/ic-security-checklist.md (reuse the knowledge, do not install the ICP skill). The load-bearing deploy checks are inlined below so this skill is self-contained.

Checklist (read the source, report pass / warn / needs-human per check)

Detect a Rust canister first (Cargo.toml with ic-cdk/candid, or #[ic_cdk::update]/#[query], or a .did). If it is not a Rust canister, log not-a-rust-canister and exit clean.

  1. Anonymous-principal rejection (#2) — for every #[update]/#[query] that changes or exposes privileged state, confirm it rejects Principal::anonymous() or sits behind a guard. Use the harness Read, Glob, and Grep tools to find entrypoints, then open each method and inspect its guard. Do not invoke Semgrep: bare semgrep is intentionally restricted to write-mode scanner skills, while this checklist is genuinely read-only. Report each unguarded privileged entrypoint as warn (triage, not auto-fail).
  2. Unguarded admin method (#8) — mint/migrate/config/set_* updates must have an owner/controller check. warn on any that don't.
  3. No mainnet fetch_root_key (#7) — this is an agent/client call (@dfinity/agent in JS/TS, or ic-agent in a Rust client), not canister code, so check the repo's frontend/client, not the canister's Rust. fetchRootKey() / fetch_root_key() disables replica-signature verification; it must be gated behind an explicit local-only flag, never a default/mainnet path. Any ungated call = fail; a repo with no client code = n/a.
  4. Controller backup (#6) — look for a dfx.json/deploy doc/README describing the controller set. A single-controller or plaintext-dev-key setup is needs-human: recommend a multisig/threshold or backup controller before mainnet.
  5. Upgrade safety (#4) — if #[pre_upgrade]/#[post_upgrade] exist, confirm state is persisted with stable structures (or a bounded serialize) rather than an unbounded heap copy that can trap and brick the upgrade. warn on an unbounded pre_upgrade serialize.
  6. CallerGuard footgun (#3) — let _ = CallerGuard::new(...) drops the lock immediately. Any hit = fail.
  7. Secrets in state (#9) — scan for high-entropy constants / keys committed into canister state. warn (and recommend canister-audit/TruffleHog for a verified pass).

Read the full file on GitHub · 98 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago First seen · 98 lines · 76 tokens per session scan A 8efdc284fece

Subscribe to this mod's changes

icp-deploy-check is a skill published in the GitHub repository aeonfun/aeon (800 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,384 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.

Related

icp-deploy-check compared with skills from other repositories

icp-deploy-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
icp-deploy-checkaeonfun/aeonSkill800todayMITA76Claude Code, Codex
flowcraft-deployGizClaw/flowcraftSkill4105d agoMITA142Codex
blockchain-web3travisjneuman/.claudeSkill115yesterdayMITA55Claude Code
agent-blockchain-developertravisjneuman/.claudeSkill115yesterdayMITA81Claude Code
api-interface-designMohitGoyal09/AgentForgeSkill679d agoMITA23Claude Code, Codex
exploreMohitGoyal09/AgentForgeSkill679d agoMITA15Claude Code, Codex
unit-converterpolymind-inc/agent-framework-jsSkill622d agoMITA19Claude Code, Codex