From cyoda
Guide implementation of Cyoda compute nodes — external gRPC processors and criteria services. Language-agnostic. Covers connection lifecycle, tag routing, processor and criteria patterns, and production requirements. Auto-invoked when compute node implementation is discussed.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cyoda:computeWhen to use
When the user needs to implement a compute node processor or criteria service, asks about gRPC integration, or needs to connect external code to Cyoda workflows.
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
Compute nodes are **optional** — many Cyoda workflows work entirely with built-in processors and criteria. Only add a compute node when you need custom logic that Cyoda cannot express natively.
Compute nodes are optional — many Cyoda workflows work entirely with built-in processors and criteria. Only add a compute node when you need custom logic that Cyoda cannot express natively.
A compute node is needed when a workflow transition requires:
If your workflow only needs state changes, simple field criteria, or scheduled transitions — you likely don't need a compute node.
Refer to the detailed patterns reference: resources/grpc-patterns.md
Connection steps:
CloudEventsService.startStreaming via gRPCCalculationMemberJoinEvent with your tags — see grpc-patterns.mdCalculationMemberGreetEvent with your memberIdFor processor implementation: see examples/processor.md For criteria implementation: see examples/criteria.md
Use the JWT token from the active profile in ~/.config/cyoda/cyoda-plugin-config.json:
PROFILE=$(jq -r '.active // "default"' "$HOME/.config/cyoda/cyoda-plugin-config.json" 2>/dev/null || echo "default"); jq -r --arg p "$PROFILE" '.profiles[$p].token // "none — local mock auth"' "$HOME/.config/cyoda/cyoda-plugin-config.json" 2>/dev/null || echo "no token — local mock auth"
Include as bearer token in gRPC metadata: Authorization: Bearer {token}
For local cyoda-go with mock auth, authentication may not be required — check with /cyoda:docs.
Before writing any implementation code, fetch the authoritative schemas:
cyoda help grpc proto — CloudEvent proto definition; generate language-specific stubs from thiscyoda help cloudevents json — JSON schemas for every event type with exact field namesDo NOT rely on field names from grpc-patterns.md or examples/ — those show structure and sequence only. The schemas are the authoritative source for field names, required fields, and types. Using stale example field names instead of checking the schemas is a common source of bugs.
requestIdnpx 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.