Agent skill · AI & Agents

molykit

BotClient, OpenAI, SSE streaming, AI chat, molykit, PlatformSend, spawn(), ThreadToken, cross-platform async, Chat widget, Messages, PromptInput, Avatar, LLM

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill molykit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/ai-llm/molykit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MolyKit Skill Best practices for building AI chat interfaces with Makepad using MolyKit - a toolkit for cross-platform AI chat applications. **Source codebase**: `/Users/zhangalex/Work/Projects/FW/robius/moly/moly-kit` ## When to Use Use this skill when: - Building AI chat interfaces with Makepad - Integrating OpenAI or other LLM APIs - Implementing cross-platform async for native and WASM - Creating chat widgets (messages, prompts, avatars) - Handling SSE streaming responses - Keywords: molykit, moly-kit, ai chat, bot client, openai makepad, chat widget, sse streaming ## Overview MolyKit provides: - Cross-platform async utilities (PlatformSend, spawn(), ThreadToken) - Ready-to-use chat widgets (Chat, Messages, PromptInput, Avatar) - BotClient trait for AI provider integration - OpenAI-compatible client with SSE streaming - Protocol types for messages, bots, and tool calls - MCP (Model Context Protocol) support ## Cross-Platform Async Patterns ### PlatformSend - Send Only on Native ```rust /// Implies Send only on native platforms, not on WASM /// - On native: implemented by types that implement Send /// - On WASM: implemented by ALL types pub trait PlatformSend: PlatformSendInne

What's inside
Steps it walks through
  1. When to Use
  2. Overview
  3. Cross-Platform Async Patterns
  4. PlatformSend - Send Only on Native
  5. Platform-Agnostic Spawning
  6. Task Cancellation with AbortOnDropHandle
  7. ThreadToken for Non-Send Types on WASM
  8. BotClient Trait
  9. Implementing AI Provider Integration
  10. BotContext - Sharable Wrapper
  11. Protocol Types
  12. Message Structure
  13. Bot Identification
  14. Widget Patterns
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the molykit skill do?

BotClient, OpenAI, SSE streaming, AI chat, molykit, PlatformSend, spawn(), ThreadToken, cross-platform async, Chat widget, Messages, PromptInput, Avatar, LLM

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill molykit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going