一键导入
auth-setup
Walk through API key creation, wallet JWT authentication, and environment config for the Andamio API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Walk through API key creation, wallet JWT authentication, and environment config for the Andamio API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
The public front door for contributing to Andamio's public repos. Show what's open across public repos, orient contributors, and help file new issues — reflecting only public state.
Welcome to Andamio Dev. Detect what the developer needs, whether they're learning or operating, and route to the right skill.
Calculate ADA costs for Andamio operations. Estimate total cost for courses, projects, and user scenarios with four-component breakdowns.
Project lifecycle guidance — create projects, manage tasks, handle contributors, fund treasury, and issue credentials. CLI-first with API alternatives.
Compatibility wrapper for the portable Build on Andamio assignment assessment protocol. Canonical instructions live in skills/assess-assignment/SKILL.md.
Compatibility wrapper for the portable Build on Andamio lesson delivery protocol. Canonical instructions live in skills/deliver-lesson/SKILL.md.
| name | auth-setup |
| description | Walk through API key creation, wallet JWT authentication, and environment config for the Andamio API. |
| license | MIT |
| compatibility | Requires the Andamio CLI for wallet authentication. Install via brew install andamio-platform/tap/andamio. |
| metadata | {"author":"Andamio","version":"0.1.0"} |
Walks developers through authenticating with the Andamio API. Covers API key (read-only), wallet JWT (read+write), and CI/CD configuration. Detects existing credentials and skips completed steps.
${CLAUDE_PLUGIN_ROOT} is set): Read reference from ${CLAUDE_PLUGIN_ROOT}/reference/.reference/ relative to project root.reference/andamio-cli-context.md for the complete auth command reference.# Check if CLI is installed
andamio --version 2>/dev/null
# Check existing auth state
andamio auth status 2>/dev/null
andamio user status 2>/dev/null
# Check environment variables
echo "ANDAMIO_API_KEY: ${ANDAMIO_API_KEY:-(not set)}"
echo "ANDAMIO_JWT: ${ANDAMIO_JWT:-(not set)}"
# Check config file
cat ~/.andamio/config.json 2>/dev/null | python3 -m json.tool 2>/dev/null
Always default to preprod.
Which environment are you targeting?
1. Preprod (recommended) — Cardano testnet. Free test ADA. Safe to experiment.
2. Mainnet — Real ADA. Production use only.
If the developer selects mainnet, warn:
Mainnet operations cost real ADA. Make sure you've tested your integration on preprod first. Proceed?
Configure the environment:
# Preprod (default)
andamio config set-url https://preprod.api.andamio.io
# Mainnet
andamio config set-url https://mainnet.api.andamio.io
What level of access do you need?
1. Read-only — Browse courses, projects, and public data. (API key only)
2. Read + Write — Create courses, submit assignments, build transactions. (API key + wallet JWT)
3. CI/CD pipeline — Automated access for scripts and workflows. (API key + ANDAMIO_JWT env var)
Every developer needs an API key. Walk through:
Register a developer account:
https://preprod.app.andamio.io/api-setup (or https://app.andamio.io/api-setup for mainnet)Generate an API key:
ant-)Store the key in the CLI:
andamio auth login --api-key <your-key>
andamio auth status # Verify it works
andamio course list --output json
If the developer selected read-only access, auth setup is complete.
For write operations, the developer also needs a wallet JWT:
Prerequisites:
Authenticate:
andamio user login
# Opens browser for CIP-30 wallet signing
# Signs a challenge nonce to prove wallet ownership
# JWT stored at ~/.andamio/config.json
andamio user status
# Shows: alias, JWT expiry time, access token status
andamio user me --output json
Note: JWT expires after ~24 hours. Re-authenticate with andamio user login when it expires.
For automated pipelines:
export ANDAMIO_API_KEY="ant-your-key-here"
export ANDAMIO_JWT="your-jwt-token-here"
The CLI reads ANDAMIO_JWT from the environment, overriding the stored config. This is useful for CI/CD where browser wallet signing isn't available.
For headless signing (no browser):
andamio user login --skey /path/to/payment.skey
After setup, present a summary:
Auth Setup Complete
Environment: preprod
API Key: configured (read-only access)
Wallet JWT: configured (read+write, expires in ~24h)
Config: ~/.andamio/config.json
You're ready to:
- Browse courses and projects (/explore-api)
- Use the CLI for operations (/cli-guide)
- Create courses (/course-ops) or projects (/project-ops)
What would you like to do next?
If the developer says "I already registered but haven't verified my email":
If the developer says "I don't have an Access Token":
brew install andamio-platform/tap/andamio