core-sdk

Build Kailash Core SDK workflows with WorkflowBuilder, runtimes, and observability.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/myeohVmzrka92/disease-risk-controller-S2 --skill core-sdk-myeohvmzrka92
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core-sdk
Source: https://github.com/myeohVmzrka92/disease-risk-controller-S2/tree/main/.claude/skills/01-core-sdk
Command: npx skills add https://github.com/myeohVmzrka92/disease-risk-controller-S2 --skill core-sdk-myeohvmzrka92

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes guesswork from building Kailash workflows by giving you the canonical patterns for nodes, connections, runtime execution, parameter passing, and observability, so you can create correct workflows faster and avoid common implementation mistakes.

Core Features & Use Cases

  • Workflow construction: Create string-based workflows with WorkflowBuilder, add nodes, connect outputs to inputs, and build before execution.
  • Runtime and execution: Choose LocalRuntime for scripts and CLI work, or AsyncLocalRuntime for Docker and FastAPI deployments.
  • Advanced workflow guidance: Handle async patterns, cyclic flows, error handling, MCP integration, PythonCodeNode usage, and tracing/metrics instrumentation.
  • Use case: A developer can use this Skill to assemble an ETL pipeline, route data conditionally, pass runtime overrides, and instrument the run for debugging and monitoring.

Quick Start

Ask for a simple Kailash workflow that reads input data, processes it with a PythonCodeNode, connects the nodes correctly, and tells you which runtime to use.

Frequently Asked Questions about core-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Kailash workflow with WorkflowBuilder and connect nodes correctly?

To build a Kailash workflow, use WorkflowBuilder to add nodes and connect outputs to inputs, then call build before execution. This ensures correct node configuration and valid data passing for reliable workflow execution.

When should I use LocalRuntime vs AsyncLocalRuntime for Kailash workflow execution?

Choose LocalRuntime for Kailash workflow execution in scripts and CLI work, and AsyncLocalRuntime for Docker and FastAPI deployments. Selecting the correct runtime ensures proper async execution and production-safe operation in your target environment.

How does parameter passing and runtime overrides work in Kailash ETL pipelines?

Parameter passing in Kailash ETL pipelines allows you to pass runtime overrides into nodes during execution. This standardizes data flow and conditional routing, enabling flexible pipeline configurations without modifying the core node patterns.

Can I integrate MCP and tracing instrumentation into Kailash workflows?

Yes, you can integrate MCP and tracing instrumentation into Kailash workflows. The Skill provides canonical patterns for adding metrics, tracing, and observability instrumentation to ensure production-safe execution and effective debugging.

What are the limitations when handling cyclic flows and error handling in Kailash workflows?

Handling cyclic flows and error handling in Kailash workflows requires applying specific node patterns to avoid execution failures. While the SDK supports these advanced patterns, incorrect configuration can break production-safe execution and disrupt async execution.