add-example-chat

Convert encrypted shared chat URLs into TypeScript demo data and 21-language i18n YAML.

43|2|Updated Jan 25, 2024
One-click install
npx skills add https://github.com/glowingkitty/OpenMates --skill add-example-chat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-example-chat
Source: https://github.com/glowingkitty/OpenMates/tree/main/.agents/skills/add-example-chat
Command: npx skills add https://github.com/glowingkitty/OpenMates --skill add-example-chat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It solves the problem of manually authoring and localizing example chat content by turning a shared (encrypted) chat link into ready-to-use demo data and translations.

Core Features & Use Cases

  • Shared chat extraction: Decrypts and extracts full chat content from a provided share URL with an encryption key in the URL fragment.
  • Demo data generation: Produces a TypeScript example chat file with i18n-backed message content and preserved embed content.
  • 21-language i18n output: Generates YAML translation sources with consistent rules for code blocks, embed references, and markdown links.

Quick Start

Provide the share URL with the encryption key as the single input to add-example-chat and follow the prompts to choose the slug and let it generate the demo chat and translations.

Frequently Asked Questions about add-example-chat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract chat data from an encrypted share URL for a demo UI?

To extract chat data from an encrypted share URL, provide the link with its encryption key. The system decrypts the content and extracts messages and embeds to generate production-ready example chat assets for your demo UI.

How do I generate i18n YAML translations for example chat content?

You generate i18n YAML translations for example chat content by mapping user and assistant message bodies to i18n keys, which produces YAML translation sources for 21 languages with consistent rules for code blocks and markdown links.

What is the best way to create localized SEO demo pages from shared chats?

The best way to create localized SEO demo pages from shared chats is to decrypt the URL, extract TOON embed content as-is, and generate TypeScript data plus 21-language i18n YAML files to prepare deployment-ready assets.

Does the generated TypeScript demo data preserve embed content from the original chat?

Yes, the generated TypeScript demo data preserves embed content. It maps user and assistant message bodies to i18n keys while specifically preserving TOON embed content as-is during the chat data extraction process.

Can I use this to register a new example chat in a central store?

Yes, you can register a new example chat in a central store. The process extracts decrypted chat content, generates TypeScript data, builds translations, and registers the new chat to prepare deployment files.