openmates:add-example-chat

Convert encrypted OpenMates shared chat URLs into localized demo chat data.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It removes the repetitive manual effort of turning an encrypted shared chat link into a fully registered, multi-language example chat entry for the app demo system.

Core Features & Use Cases

  • Shared chat extraction: Decrypts chat content from a provided share URL and summarizes extracted title, message count, and embed count.
  • Deterministic demo data generation: Produces the TypeScript example chat data (with i18n key references for all message content) and copies embeds as-is.
  • 21-language i18n coverage: Generates YAML translation sources for the extracted chat content so the demo chat is fully localized.
  • Registry + translations + deploy prep: Registers the new chat in the example chat store, builds translations, and stages/deploys changes via the project’s deployment workflow.

Quick Start

Ask the AI to add a new example chat from your share URL with encryption key, and provide (or confirm) the SEO-friendly slug and category so the skill generates the TypeScript data and the 21-language i18n YAML entries.

Frequently Asked Questions about openmates:add-example-chat

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

FAQPage Schema
How do I convert a shared chat URL into localized TypeScript demo data?

Converting shared chat URLs into localized TypeScript demo data involves decrypting the chat content, generating TypeScript with i18n key references for messages, and producing 21-language YAML translations. You provide the share URL, encryption key, SEO slug, and category to register the example chat.

What is the best way to generate i18n YAML translations from an existing chat?

Generating i18n YAML translations from an existing chat requires extracting the decrypted messages and mapping the content to i18n keys. The process outputs translation sources covering 21 languages while preserving translation rules, ensuring the demo chat is fully localized.

How do I extract and register an encrypted shared chat for a demo UI?

Extracting and registering an encrypted shared chat for a demo UI requires the share URL and encryption key to decrypt content. The system summarizes the title, message count, and embed count, then registers the new entry in the example chat store and copies embeds as-is.

Do I need to manually update the example chat registry after adding new translations?

Updating the example chat registry after adding new translations is handled automatically. The process updates the example chat registry, builds the 21-language translations, and stages or deploys the changes via the project's deployment workflow without manual file edits.

Can I use shared chat extraction to create demo data without losing embeds?

Shared chat extraction preserves embeds when creating demo data by copying embeds as-is during the deterministic TypeScript data generation phase. This ensures the registered example chat maintains the exact embed structure from the original decrypted conversation.

Why does my shared chat localization workflow require an SEO-friendly slug?

Shared chat localization workflows require an SEO-friendly slug to identify the demo chat during registry and discovery. Generating the slug alongside the category allows the system to properly register the TypeScript data and map the i18n keys for the new example chat entry.