원클릭으로
troubleshoot
Debug Andamio API errors, CLI failures, and Cardano transaction rejections. Reads known gotchas and provides verified fixes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Debug Andamio API errors, CLI failures, and Cardano transaction rejections. Reads known gotchas and provides verified fixes.
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 | troubleshoot |
| description | Debug Andamio API errors, CLI failures, and Cardano transaction rejections. Reads known gotchas and provides verified fixes. |
| license | MIT |
| metadata | {"author":"Andamio","version":"0.1.0"} |
Diagnoses errors from the Andamio API, CLI, and Cardano transactions. Reads the knowledge base of known gotchas and provides verified fixes. When a new error pattern is resolved, offers to capture it via /compound.
${CLAUDE_PLUGIN_ROOT} is set): Read knowledge from ${CLAUDE_PLUGIN_DATA}/knowledge/ (user data), falling back to ${CLAUDE_PLUGIN_ROOT}/knowledge/ (seed data).knowledge/ relative to project root.knowledge/gotchas.yaml for known error patterns and verified fixes.knowledge/faq.yaml for related questions that may provide context.Ask the developer to paste the error output. If they describe the error verbally, ask for:
Parse the error to determine the source:
HTTP Status Codes → Gateway API issues:
| Code | Common Cause | Quick Fix |
|---|---|---|
| 401 Unauthorized | Missing or expired credentials | Check API key and JWT. JWT expires ~24h. |
| 403 Forbidden | Insufficient permissions for this endpoint | Endpoint may require JWT (not just API key), or a specific role (owner, teacher, manager). |
| 404 Not Found | Resource doesn't exist | Verify the course_id, project_id, or module_code. Use andamio course list --output json to discover valid IDs. |
| 409 Conflict | Duplicate operation | Usually safe to ignore — idempotent retry hit an existing resource. |
| 429 Too Many Requests | Rate limit or quota exceeded | Check andamio apikey usage. Wait for window reset or upgrade tier. |
| 500 Internal Server Error | Server-side issue | Retry after a moment. If persistent, check service health: GET /health. |
CLI Exit Codes → CLI issues:
| Code | Meaning | Quick Fix |
|---|---|---|
| 1 | Generic error | Check stderr output for details. Usually network or server issue. |
| 2 | Not found | Resource doesn't exist. Verify IDs with andamio course list --output json. |
| 3 | Auth required | No credentials or invalid credentials. Run andamio auth status and andamio user status. |
Transaction Errors → Cardano issues:
| Error | Common Cause | Quick Fix |
|---|---|---|
| InsufficientFunds | Wallet doesn't have enough ADA | Use /cost-estimator to calculate required amount. Get test ADA from faucet on preprod. |
| ScriptFailure | Validator rejected the transaction | Check transaction parameters. Usually wrong role (not a teacher, not a manager). |
| UTxOContention | Another transaction consumed the same UTxO | Retry after a few seconds. Common during concurrent operations. |
| ExUnitsExceeded | Script execution exceeded budget | Contact Andamio team — this shouldn't happen with normal operations. |
Search knowledge/gotchas.yaml for matching error patterns. If a match is found:
Known issue: [gotcha title]
Root cause: [explanation]
Fix: [verified solution]
This fix has been verified [frequency] times.
If no known gotcha matches, diagnose based on context:
Auth issues: Check both API key and JWT status
andamio auth status # API key
andamio user status # JWT + expiry
Missing resources: Verify the resource exists
andamio course list --output json | jq '.data[].course_id'
andamio project list --output json | jq '.data[].project_id'
Content format issues: Check for Tiptap JSON requirements
Network issues: Test connectivity
andamio config show # Check configured URL
curl -s https://preprod.api.andamio.io/health | python3 -m json.tool
Transaction issues: Check wallet balance and transaction status
andamio tx pending --output json
andamio tx status <hash> --output json
If you resolved a new error that isn't in the knowledge base, offer:
"This was a new error pattern. Want me to capture it so future sessions can reference this fix? Run /compound to save it."
"I can import modules but lessons aren't created":
andamio course slts <id> <module> --output jsondata: [] → SLTs need to be created first (gotcha-005)slt_index omitted, then re-import"Transaction succeeded but data isn't showing up":
andamio tx status <hash> --output jsonandamio tx register --tx-hash <hash> --tx-type <type> to re-registerandamio-cli/docs/TX-LIFECYCLE.md for the full state machine and recovery procedures"Transaction confirmed but DB update failed" (tx run state: failed):
andamio tx status <hash>andamio tx register --tx-hash <hash> --tx-type <type>"Everything works on preprod but fails on mainnet":
andamio config show