hello-world

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

Hello World Skill

A minimal skill example for OpenBotStack.

Structure

hello-world/
├── main.go         # Skill source code
├── manifest.yaml   # Skill configuration
└── README.md       # This file

Build

# Requires TinyGo
tinygo build -o main.wasm -target wasi main.go

Deploy

# Zip the skill
zip -r hello-world.zip manifest.yaml main.wasm

# Upload (future API)
curl -X POST http://localhost:8080/admin/skills -F "skill=@hello-world.zip"

Test locally

# Future CLI
openbotstack skill test ./

Documentation

Overview

Package main implements a production-like hello-world skill for OpenBotStack.

This is a standalone skill that can be compiled to WebAssembly and executed by the OpenBotStack runtime. It demonstrates:

  • Reading input from the host runtime
  • Processing user messages
  • Writing output back to the runtime
  • Using host APIs (logging, KV, LLM) - stubbed for local testing

Build for wasm:

tinygo build -o hello.wasm -target wasi -scheduler=none main.go

Test locally:

go test -v ./...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL