canister-status

canister-status is a skill for Claude Code, Codex from aeonfun/aeon. It costs 52 tokens per session (1,364 once invoked), scanned A, original, MIT.

A monitor for Internet Computer canisters, which are blockchain-hosted services. It watches public records for controller changes, code upgrades, or a canister disappearing from the public index, then alerts when those records change.

In plain words
What is it for?
Use it to watch selected canister IDs, compare their recorded control-plane state, update stored watch data, and send alerts when a change occurs.
Why use it?
A changed controller or code hash can indicate a takeover, key rotation, or new code being deployed. It provides an early warning based on public data rather than claiming to show the service's live internal state.

Skill for Claude CodeCodex

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

Good fit Use it to watch selected canister IDs, compare their recorded control-plane state, update stored watch data, and send alerts when a change occurs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aeonfun/aeon/canister-status
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 canister-status
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 canister-status

README.md
[![agentmods](https://agentmods.dev/badge/skills/aeonfun/aeon/canister-status/github.svg)](https://agentmods.dev/skills/aeonfun/aeon/canister-status)
Your own site
<a href="https://agentmods.dev/skills/aeonfun/aeon/canister-status"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/canister-status/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 canister-status

Your own site · 80×15
<a href="https://agentmods.dev/skills/aeonfun/aeon/canister-status"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/canister-status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00052 $0.01364
Opus 5.5 $0.00021 $0.00546
Sonnet 5.5 $0.00010 $0.00273
Haiku 4.5 $0.00005 $0.00136

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

Security

Grade A, and why

canister-status scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 1 executable file (reconcile.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS --max-time 20 -o "/tmp/canister-<ID>.json" -w 'canister http=%{http_code} bytes=%{size_download}\n' "https://ic-api.internetcomputer.org/api/v3/canisters/<ID>"
skills/canister-status/SKILL.md · 74 lines

How it starts

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

${var} — Canister id(s) to watch, comma-separated (e.g. ryjl3-tyaaa-aaaaa-aaaba-cai). Empty = read the watch list from memory/topics/icp-canisters.md (a ## Watch list of canister ids); if that is absent too, exit silently. Pass dry-run to skip notify (state still updates).

Today is ${today}. Read memory/MEMORY.md and the last 30 days of memory/logs/ before starting.

Why this exists

A canister's control plane changing is a security event: a new/removed controller can mean a takeover or key rotation, and a module-hash change is an upgrade — new code is now running. For a canister you depend on, you want to know the moment that happens, not next week. This skill watches the public control-plane facts and fires only on a change.

Verified public read path

The IC dashboard API GET https://ic-api.internetcomputer.org/api/v3/canisters/<id> returns controllers, module_hash, canister_type, subnet_id, name, and an upgrades[] history for an indexed canister. The skill is limited to those verified public fields and does not claim live running state or memory size.

Steps

  1. Resolve targets — ${var} ids, else the memory/topics/icp-canisters.md watch list. For each id require the endpoint-compatible lowercase shape ^([a-z0-9]{5}-){4}[a-z0-9]{3}$; reject anything else as invalid-id without making a request.
  2. Read public state and capture the real status — make one call per id, replacing <ID> with the validated literal id:
    curl -sS --max-time 20 -o "/tmp/canister-<ID>.json" -w 'canister http=%{http_code} bytes=%{size_download}\n' "https://ic-api.internetcomputer.org/api/v3/canisters/<ID>"
    
    Read the printed http=<code> before parsing. A timeout or curl failure is source=transport-error; do not run reconciliation. For an HTTP response, run the deterministic reconciler with the printed code written literally as <CODE> and a UTC timestamp written literally as <NOW>:
    node skills/canister-status/reconcile.mjs --id <ID> --http <CODE> --body /tmp/canister-<ID>.json --state memory/topics/icp-canister-state.json --now <NOW>
    
    The reconciler implements the contract: 200 must match the expected JSON types before it is accepted; 404 is unindexed; 422 is invalid-id; every other status is http-<code>. An empty, malformed, or unexpected 200 response is invalid-response. Invalid/unexpected/transport reads never overwrite the last good snapshot. The latest upgrade is upgrades[0], because the API returns newest first.
  3. Diff and persist — the reconciler atomically maintains memory/topics/icp-canister-state.json. First successful sight is a baseline, not an alert. It sorts controllers before comparing, so order-only changes do not fire. Identical reruns are unchanged. The first 404 after a public snapshot is went-missing; later 404s are still-missing and do not re-alert. A return after a real missing transition is reappeared.
  4. Execute alerts — read the reconciler JSON. When alert is true, write the Markdown body to /tmp/canister-status-<ID>.md with the Write tool, then execute exactly one notification for that id:
    ./notify --severity <SEVERITY> --title "Canister status changed" -f /tmp/canister-status-<ID>.md
    
    Use warn for a controller change, missing canister, reappearance, or combined event; use info for a module upgrade by itself. went-missing must say the canister disappeared from the public index and include the last known controller/module hash. Controller changes, module upgrades, and reappeared use the same execution path. If ${var} contains dry-run, build and report the alert but skip ./notify; state still updates. No alert anywhere means no notification.

Read the full file on GitHub · 74 lines

Files

What ships with it

2 files 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 · 74 lines · 52 tokens per session scan A 7d9bf7ec00f1

Subscribe to this mod's changes

canister-status is a skill published in the GitHub repository aeonfun/aeon (800 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,364 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.

Related

canister-status compared with skills from other repositories

canister-status next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
canister-statusaeonfun/aeonSkill800todayMITA52Claude 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