Install
openclaw skills install copilotkit-runtime-patternsServer-side runtime patterns for CopilotKit. Use when setting up CopilotKit runtime endpoints (Express, Hono, Next.js), configuring remote agent endpoints, adding middleware, or securing the runtime. Triggers on backend tasks involving @copilotkit/runtime, CopilotRuntime, agent registration, or API endpoint configuration.
openclaw skills install copilotkit-runtime-patternsServer-side runtime configuration patterns. Contains 15 rules across 5 categories.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Endpoint Setup | CRITICAL | endpoint- |
| 2 | Agent Configuration | HIGH | runner- |
| 3 | Middleware | MEDIUM | middleware- |
| 4 | Security | HIGH | security- |
| 5 | Performance | MEDIUM | perf- |
endpoint-express-setup - Configure Express endpoint with CopilotRuntime and CORSendpoint-hono-setup - Configure Hono endpoint for edge runtimesendpoint-nextjs-route - Set up Next.js API route with copilotRuntimeNextJSAppRouterEndpointrunner-inmemory-vs-sqlite - Use persistent storage for production thread managementrunner-agent-registration - Register agents via remoteEndpointsrunner-multiple-agents - Configure routing for multi-agent setupsmiddleware-before-request - Use onBeforeRequest for auth, logging, context injectionmiddleware-after-request - Use onAfterRequest for response logging and cleanupmiddleware-error-handling - Handle errors in middleware without crashing the runtimesecurity-cors-config - Configure CORS for your specific frontend originsecurity-auth-middleware - Authenticate requests before agent executionsecurity-rate-limiting - Rate limit by user or API keyperf-streaming-response - Ensure streaming is not buffered by proxiesFor the complete guide with all rules expanded: AGENTS.md