From cyoda
Diagnose Cyoda failures and observe entity history. Two modes — debugging (fix problems) and observation (audit trail, point-in-time lookup). Auto-invoked when transition failures, processor errors, or entity history questions arise.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cyoda:debugWhen to use
When a transition fails, a processor throws an error, an entity is in an unexpected state, connectivity is broken, or when investigating entity history and audit trails.
This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reading connection config:
Reading connection config:
PROFILE=$(jq -r '.active // "default"' "$HOME/.config/cyoda/cyoda-plugin-config.json" 2>/dev/null || echo "default"); jq --arg p "$PROFILE" '.profiles[$p] // {"endpoint":"none"}' "$HOME/.config/cyoda/cyoda-plugin-config.json" 2>/dev/null || echo '{"endpoint":"none"}'
Auth error rule: If any API call returns 401 or 403, invoke cyoda:auth to refresh the token, then retry the request once. If the retry also fails, surface the error to the user. Do not retry on any other error code.
Are you debugging a problem or observing entity history?
Identify the failure category and follow the relevant path:
curl -sf $AUTH "${ENDPOINT}/api/entity/${ENTITY_ID}"
curl -sf $AUTH "${ENDPOINT}/api/entity/${ENTITY_ID}/changes"
requestId and entityId?requestId correctly?cyoda/skills/compute/resources/grpc-patterns.md./cyoda:docs for schema management API details~/.config/cyoda/cyoda-plugin-config.json has correct endpoint valuetoken is not expired — re-run /cyoda:auth if neededPROFILE=$(jq -r '.active // "default"' "$HOME/.config/cyoda/cyoda-plugin-config.json" 2>/dev/null || echo "default")
ENDPOINT=$(jq -r --arg p "$PROFILE" '.profiles[$p].endpoint // "none"' "$HOME/.config/cyoda/cyoda-plugin-config.json")
curl -sf --max-time 5 "${ENDPOINT}/readyz" || echo "UNREACHABLE"
Investigate an entity's history for audit, compliance, or investigation purposes.
Browse entity lifecycle:
PROFILE=$(jq -r '.active // "default"' "$HOME/.config/cyoda/cyoda-plugin-config.json" 2>/dev/null || echo "default")
ENDPOINT=$(jq -r --arg p "$PROFILE" '.profiles[$p].endpoint // "none"' "$HOME/.config/cyoda/cyoda-plugin-config.json")
TOKEN=$(jq -r --arg p "$PROFILE" '.profiles[$p].token // ""' "$HOME/.config/cyoda/cyoda-plugin-config.json")
AUTH=$([ -n "$TOKEN" ] && echo "-H 'Authorization: Bearer $TOKEN'" || echo "")
# Entity change history
curl -sf $AUTH "${ENDPOINT}/api/entity/${ENTITY_ID}/changes"
Point-in-time state lookup:
# What state was this entity in at a specific time?
curl -sf $AUTH "${ENDPOINT}/api/entity/${ENTITY_ID}?pointInTime=2026-01-15T10:00:00Z"
Questions to answer with observation:
Before answering, invoke cyoda:docs to discover all available observation endpoints (audit trail, changes, point-in-time) and their query parameters. Use the endpoints as complementary sources — combine their results for a complete picture of the entity's history.
When investigating transactions or diagnosing failures, use ?level=DEBUG on the audit endpoint — it exposes step-by-step state machine execution detail: shard routing, TRANSACTION_EXEC events, each TRANSITION_MADE step, and actor identity per transaction.
npx claudepluginhub cyoda-platform/cyoda-skills --plugin cyodaGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.