← All skills
Tencent SkillHub Β· AI

CopilotKit-Runtime-Patterns

Server-side runtime patterns for CopilotKit. Use when setting up CopilotKit runtime endpoints (Express, Hono, Next.js), configuring remote agent endpoints, a...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Server-side runtime patterns for CopilotKit. Use when setting up CopilotKit runtime endpoints (Express, Hono, Next.js), configuring remote agent endpoints, a...

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
metadata.json, README.md, SKILL.md, rules/runner-inmemory-vs-sqlite.md, rules/security-rate-limiting.md, rules/endpoint-hono-setup.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.1

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

CopilotKit Runtime Patterns

Server-side runtime configuration patterns. Contains 15 rules across 5 categories.

When to Apply

Reference these guidelines when: Setting up CopilotKit runtime endpoints (Express, Hono, Next.js API routes) Configuring CopilotRuntime with service adapters (OpenAIAdapter, etc.) Registering agents via remote endpoints (LangGraph, CrewAI) Adding middleware for logging, auth, or request modification Securing the runtime (CORS, auth, rate limiting) Optimizing runtime performance

Rule Categories by Priority

PriorityCategoryImpactPrefix1Endpoint SetupCRITICALendpoint-2Agent ConfigurationHIGHrunner-3MiddlewareMEDIUMmiddleware-4SecurityHIGHsecurity-5PerformanceMEDIUMperf-

1. Endpoint Setup (CRITICAL)

endpoint-express-setup - Configure Express endpoint with CopilotRuntime and CORS endpoint-hono-setup - Configure Hono endpoint for edge runtimes endpoint-nextjs-route - Set up Next.js API route with copilotRuntimeNextJSAppRouterEndpoint

2. Agent Configuration (HIGH)

runner-inmemory-vs-sqlite - Use persistent storage for production thread management runner-agent-registration - Register agents via remoteEndpoints runner-multiple-agents - Configure routing for multi-agent setups

3. Middleware (MEDIUM)

middleware-before-request - Use onBeforeRequest for auth, logging, context injection middleware-after-request - Use onAfterRequest for response logging and cleanup middleware-error-handling - Handle errors in middleware without crashing the runtime

4. Security (HIGH)

security-cors-config - Configure CORS for your specific frontend origin security-auth-middleware - Authenticate requests before agent execution security-rate-limiting - Rate limit by user or API key

5. Performance (MEDIUM)

perf-streaming-response - Ensure streaming is not buffered by proxies

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
5 Docs1 Config
  • SKILL.md Primary doc
  • README.md Docs
  • rules/endpoint-hono-setup.md Docs
  • rules/runner-inmemory-vs-sqlite.md Docs
  • rules/security-rate-limiting.md Docs
  • metadata.json Config