Logo de One Time Surface

One Time Surface

Comunidade
namedtoaster
one-time-surface

Build or check a surface that is meant to appear once and then stop, such as a coach mark, tooltip, tour, primer, upsell card or review ask. Covers the three questions that decide whether it works for real people, not just on your phone, plus the traps that silently take it to zero. Use when adding a hint or one time card, when one is not appearing, when one keeps reappearing, or before shipping a surface you have only ever seen on your own device.

Visão geral

Publicado pornamedtoaster
RepositórioThe-Last-Mile
Nome da habilidadeone-time-surface
Estrelas
39
Forks
2
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

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

  • Completa em si mesma

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

  • Código aberto

    Publicada por namedtoaster no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA One Time Surface 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 da pasta da habilidade exibida abaixo e confirme.
    https://github.com/namedtoaster/The-Last-Mile/tree/main/skills/one-time-surface
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL 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/namedtoaster/The-Last-Mile.git /tmp/The-Last-Mile
mkdir -p .claude/skills
cp -r /tmp/The-Last-Mile/skills/one-time-surface .claude/skills/one-time-surface
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative One Time Surface 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 One Time Surface 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, One Time Surface 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á.

One time surfaces

A hint, a coach mark, a primer, a review ask. They share a failure mode: they look right on the device that built them and reach nobody, or everybody, twice.

Three questions decide whether yours works. Each needs different evidence, and none of them is answered by looking at it on your own phone.

QuestionWhat answers it
Does it appear at all, for someone who is not you?Instrumentation, after a release. Nothing else
Does it appear at the right moment?Tests over the gates, plus one look on a device
Does it stay gone once it has been seen?The record you store, and a test of the rule

1. Store a count, never a boolean

A flag cannot express "three times, then stop", which is the rule that retires a surface before anyone is annoyed enough to dismiss it. Shipped consumer apps store counts, and more besides. Common shapes worth matching:

  • an impression count per surface
  • a lifetime ceiling, so it retires on its own
  • a separate dismissal record, because being seen and being dismissed are different events and the second is rarer than you expect
  • a per session record, so a surface cannot appear twice in one sitting
  • a version in the key, so a redesigned surface can legitimately show again

That last one is the one teams skip and cannot retrofit cleanly. Put a version in the key the day you write it.

Suppression does not have to run on a calendar. Counting against a domain event the person actually does, rather than days elapsed, is often truer to intent.

2. Decide nothing from a store that has not answered

This is where these surfaces go wrong most often. The gates are read asynchronously, they land in different orders, and the empty default of most of them is exactly what a brand new user looks like. So the surface either:

  • draws itself from unread state and is withdrawn a moment later, which reads as a glitch, or
  • is suppressed by a gate that has not loaded yet and never appears at all.

Two rules that prevent both:

  • Hold every surface that can withdraw itself until every read has ANSWERED. One rule for all of them, not a flag per surface, or the next surface is written without it.
  • A read that FAILS must still answer. Otherwise one unreadable table leaves a screen with nothing on it for the rest of the session, which is worse than the flash you were preventing. Set the answered flag in a finally.

3. Check what a gate actually means

Two specific confusions, both of which ship silently:

  • A one time key means "not dismissed", not "on screen now." Using it as a proxy for visibility suppresses other things long after the thing itself is gone. Gate on whether the surface is actually being drawn.
  • A boolean whose false means both "no" and "not read yet" will be read as a fact. Give it a third state, or a separate answered flag.

4. Prove it, in the order confidence allows

  1. Tests over the gates. Hold each read open in turn and assert the surface is NOT drawn. Then let them land and assert it is. Verify each by reverting the gate and watching the test go red: a test that passes either way proves nothing.
  2. One look on a real build. A recording of a cold open, frames extracted, is enough to show it arrives and is never taken back. A development build is not representative: its timings are nothing like what you ship.
  3. The number that matters, after release. Not how many obeyed it. How many eligible people never saw it. Every gate can take that to zero, and that is invisible until somebody measures the gap between who qualified and who was shown.

Emit an impression event and a resolution event with the outcome (obeyed, dismissed) from the day you build it. Without them, step 3 is impossible and you will be guessing for a release cycle.

5. When you want to know how others do it

Reading a shipped app of this kind tells you the STORAGE rules quickly: key names for counts, ceilings, sessions and versions are readable from an Android build's identifiers and strings. It will not tell you when anything fires, and it cannot tell you anything about whether YOUR surface reaches YOUR users.

Treat the shapes as evidence and any claim about timing as inference.

Perguntas frequentes

O que a habilidade de IA One Time Surface faz?

Build or check a surface that is meant to appear once and then stop, such as a coach mark, tooltip, tour, primer, upsell card or review ask. Covers the three questions that decide whether it works for real people, not just on your phone, plus the traps that silently take it to zero. Use when adding a hint or one time card, when one is not appearing, when one keeps reappearing, or before shipping a surface you have only ever seen on your own device.

Por que usar One Time Surface no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. One Time Surface é escrito 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. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar One Time Surface no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/namedtoaster/The-Last-Mile/tree/main/skills/one-time-surface. 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 One Time Surface?

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 One Time Surface?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar One Time Surface 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 One Time Surface é gratuita?

Sim. A habilidade é publicada no GitHub por namedtoaster 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, modelos de documento 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 para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: 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 todos

Crie seu próprio espaço de IA agora

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