canhelp

Installation
SKILL.md

Given a canister ID or name in $ARGUMENTS, fetch and summarize its Candid interface.

Steps

  1. Resolve the canister ID by running the resolve script from the skill's base directory:

    ./scripts/resolve-canister-id.sh "$ARGUMENTS"
    

    If $ARGUMENTS is already a valid principal, the script echoes it back. Otherwise, it queries the IC Dashboard API and outputs matches as <canister-id> <name> (one per line).

    • If there is a single result, clearly display the resolved canister ID and use it directly.
    • If there are multiple results, present the list to the user and ask them to pick one before continuing.
  2. Fetch the Candid interface using the resolved canister ID:

    ./scripts/fetch-candid.sh <resolved-canister-id>
    

    The script outputs the path to the downloaded .did file.

Related skills

More from dfinity/icskills

Installs
60
GitHub Stars
16
First Seen
Mar 30, 2026