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.
npx skills add aeonfun/aeon --skill canister-statusgit clone --depth 1 https://github.com/aeonfun/aeonWrote 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.
[](https://agentmods.dev/skills/aeonfun/aeon/canister-status)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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>" 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 frommemory/topics/icp-canisters.md(a## Watchlist of canister ids); if that is absent too, exit silently. Passdry-runto 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
- Resolve targets —
${var}ids, else thememory/topics/icp-canisters.mdwatch list. For each id require the endpoint-compatible lowercase shape^([a-z0-9]{5}-){4}[a-z0-9]{3}$; reject anything else asinvalid-idwithout making a request. - Read public state and capture the real status — make one call per id, replacing
<ID>with the validated literal id:
Read the printedcurl -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>"http=<code>before parsing. A timeout or curl failure issource=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>:
The reconciler implements the contract: 200 must match the expected JSON types before it is accepted; 404 isnode skills/canister-status/reconcile.mjs --id <ID> --http <CODE> --body /tmp/canister-<ID>.json --state memory/topics/icp-canister-state.json --now <NOW>unindexed; 422 isinvalid-id; every other status ishttp-<code>. An empty, malformed, or unexpected 200 response isinvalid-response. Invalid/unexpected/transport reads never overwrite the last good snapshot. The latest upgrade isupgrades[0], because the API returns newest first. - 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 areunchanged. The first 404 after a public snapshot iswent-missing; later 404s arestill-missingand do not re-alert. A return after a real missing transition isreappeared. - Execute alerts — read the reconciler JSON. When
alertistrue, write the Markdown body to/tmp/canister-status-<ID>.mdwith the Write tool, then execute exactly one notification for that id:
Use./notify --severity <SEVERITY> --title "Canister status changed" -f /tmp/canister-status-<ID>.mdwarnfor a controller change, missing canister, reappearance, or combined event; useinfofor a module upgrade by itself.went-missingmust say the canister disappeared from the public index and include the last known controller/module hash. Controller changes, module upgrades, andreappeareduse the same execution path. If${var}containsdry-run, build and report the alert but skip./notify; state still updates. No alert anywhere means no notification.
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.
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.
- 21d ago First seen · 74 lines · 52 tokens per session scan A 7d9bf7ec00f1
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.
canister-status compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| canister-statusaeonfun/aeon | Skill | 800 | today | MIT | A | 52 | Claude Code, Codex |
| flowcraft-deployGizClaw/flowcraft | Skill | 410 | 5d ago | MIT | A | 142 | Codex |
| blockchain-web3travisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 55 | Claude Code |
| agent-blockchain-developertravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 81 | Claude Code |
| api-interface-designMohitGoyal09/AgentForge | Skill | 67 | 9d ago | MIT | A | 23 | Claude Code, Codex |
| exploreMohitGoyal09/AgentForge | Skill | 67 | 9d ago | MIT | A | 15 | Claude Code, Codex |
| unit-converterpolymind-inc/agent-framework-js | Skill | 6 | 22d ago | MIT | A | 19 | Claude Code, Codex |