Logo de S2s Demo

S2s Demo

Organização
Cognigy
s2s-demo

Use when the user wants a speech-to-speech (S2S, also called voice-to-voice or V2V) voice agent, or a callable realtime voice demo for a customer from one prompt. Covers the GPT Live voice model, the agent's voice and voice prompt, the click-to-call page, and what to do when speech-to-speech is not enabled. Call it speech-to-speech in every reply, also when the user said V2V or voice-to-voice.

Visão geral

Publicado porCognigy
Repositóriocognigy-plugin
Nome da habilidades2s-demo
Estrelas
20
Forks
14
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por Cognigy no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA S2s Demo no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/s2s-demo
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Cognigy/cognigy-plugin.git /tmp/cognigy-plugin
mkdir -p .claude/skills
cp -r /tmp/cognigy-plugin/plugin/skills/s2s-demo .claude/skills/s2s-demo
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative S2s Demo em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega S2s Demo automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, S2s Demo não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Speech-to-speech (S2S) demo

Speech-to-speech (S2S) is the product's name for this. Users may also say voice-to-voice or V2V: it is the same thing. Call it speech-to-speech in every answer, also when the user said V2V or voice-to-voice: never write "V2V demo", "V2V" or "voice-to-voice" yourself.

A speech-to-speech demo is four things: a gpt-live-1 voice model (GPT Live), an AI Agent that keeps a normal text LLM and points at the voice model, a Voice Gateway endpoint on that agent, and its click-to-call page. Nothing on the endpoint says "speech-to-speech": a call runs speech-to-speech because the agent has a voice model. GPT Live hands the reasoning to the agent's text LLM, so the agent's role, instructions and tools still do the real work. The agent hears and speaks directly, for faster replies and natural interruptions.

Call it an "AI Agent" toward the user. Speech-to-speech is marked experimental on the platform; say so once in the hand-back.

Build order

The order matters: the only gated write (step 3) comes before anything that could be left half-built.

  1. Check the environment. check_capabilities.
    • aiAgents or s2s is unavailable: write nothing. Tell the user in one line that speech-to-speech is not enabled on this environment (an admin turns on FEATURE_ENABLE_V2V), and offer a cascaded voice demo (voice-gateway-setup skill) or a Webchat demo. Never switch to one of them without the user's yes.
    • s2s is unknown: carry on; step 3 is the hard gate.
  2. Project and text LLM. Pick or create the project, then make sure it has a connected text LLM: reuse one, through packages when it lives in another project (agent-creation skill). Do this before step 3: a project's first LLM becomes its default, even when it is GPT Live.
  3. The GPT Live model.
    • Reuse: list_resources { resourceType: "llm_model", projectId }, a row with modelType: "gpt-live-1" (modelGroup: "voiceToVoice").
    • Else import one from another project that has it (package-management skill: export the LLM, its Connection comes with it).
    • Else setup_llm { projectId, provider, modelType: "gpt-live-1", apiKey } with a provider from check_capabilities s2sProviders and a key the user gives you. Never invent one; ask, or stop and say a key is needed.
    • error: "s2s_not_enabled": stop as in step 1. Nothing else exists yet.
  4. The agent. manage_agent { operation: "create", projectId, agentType: "voice", name, role, description, instructions, largeLanguageModelReferenceId: <text LLM>, voiceLargeLanguageModelReferenceId: <gpt-live-1 referenceId>, realtimeVoice }, built from the customer brief. Add a brand persona when the brand voice matters, and mock tools with the http-request builtin (agent-creation skill). A _hints.warning that the voice fields "did not stick" means speech-to-speech is off for AI Agents here: stop and offer the alternatives from step 1.
  5. The voice. manage_agent { operation: "voice_prompt", agentId, projectId } lists realtimeVoices (default marin). Pick one that fits the brand, or ask when the user cares.
  6. The voice prompt. Keep the default template and shape the agent through its role, description, instructions, persona and tools. preview_voice_prompt { template } must come back without warnings. Edit the template (update { voicePromptTemplate }) only for a specific need, and keep the {{group.key}} tokens voice_prompt lists, above all those with warnIfMissing. voicePromptTemplate: null resets it.
  7. Test the answers. Two or three talk_to_agent { agentId, projectId, message } turns on the customer's main use cases. This tests the text LLM that GPT Live hands work to, not the voice.
  8. The click-to-call page. The WebRTC page needs the project's voice preview provider: manage_settings { operation: "set_voice_preview", projectId, provider, isNiceProvided: true } where check_capabilities reports niceSpeech: "available" (settings skill), else the provider's Connection. Then manage_voice_gateway { projectId, agentId, name, webrtcWidgetConfig: { label, avatarLogoUrl, tagline, theme } } with the customer's name, logo and tagline.
  9. Hand back. What was built (agent, text LLM, GPT Live model, endpoint) and the test result, then the webrtcDemoUrl last. The voice itself is tested by calling that link; say so.

Changing an existing agent

  • Turn speech-to-speech on: manage_agent { operation: "update", voiceLargeLanguageModelReferenceId }; off: the same with "".
  • Change the voice: realtimeVoice; null resets it to the default.
  • Never bind gpt-live-1 as largeLanguageModelReferenceId: the platform rejects it, and a text turn would fail.

Perguntas frequentes

O que a habilidade de IA S2s Demo faz?

Use when the user wants a speech-to-speech (S2S, also called voice-to-voice or V2V) voice agent, or a callable realtime voice demo for a customer from one prompt. Covers the GPT Live voice model, the agent's voice and voice prompt, the click-to-call page, and what to do when speech-to-speech is not enabled. Call it speech-to-speech in every reply, also when the user said V2V or voice-to-voice.

Por que usar S2s Demo no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade S2s Demo é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar S2s Demo no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/s2s-demo. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar S2s Demo?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com S2s Demo?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar S2s Demo com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA S2s Demo é gratuita?

Sim. A habilidade é publicada no GitHub por Cognigy sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇