LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

server - Server state machine implementation pattern

Implements state machine pattern for server lifecycle with atomic state reads and idempotent stop

Tags

Updated: 2026-05-28
serverstate machinelifecycleGo

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • start server
  • stop server
  • read state
  • transition state
  • track goroutines
  • cancel context

Inputs

  • server config
  • context

Outputs

  • server state
  • state change
  • error signal

Requirements

  • Go runtime

Source

  • Spec: SKILL.md
start server
stop server
read state
transition state
server config
context
server state
state change
error signal