Logo de Flow Permissions

Flow Permissions

Comunidade
jpoindexter
flow-permissions

Use ao criar ou revisar solicitações de permissões do sistema operacional (notificações, localização, câmera, contatos, fotos, rastreamento) ou estratégias de notificação — telas de introdução, momento da solicitação, recuperação após uma recusa, controles de frequência, resumos ou notificações para reengajamento. Use também quando as análises mostrarem altas taxas de recusa de permissões, usuários relatarem excesso de notificações ou desativarem as notificações, ou o app solicitar permissões na primeira inicialização.

Add to TypingMind

Visão geral

Publicado porjpoindexter
Repositórioux-flow-skills
Nome da habilidadeflow-permissions
Estrelas
5
Forks
0
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 jpoindexter no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Flow Permissions 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/jpoindexter/ux-flow-skills/tree/main/skills/flow-permissions
  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/jpoindexter/ux-flow-skills.git /tmp/ux-flow-skills
mkdir -p .claude/skills
cp -r /tmp/ux-flow-skills/skills/flow-permissions .claude/skills/flow-permissions
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Flow Permissions 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 Flow Permissions 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, Flow Permissions 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á.

Notification & Permission Priming

Overview

The OS permission dialog is a one-shot, high-stakes ask — on iOS a notification denial is permanent until the user digs through Settings — so never spend it before the user understands the value. Prime first with your own UI, ask at the moment of obvious benefit, and treat every notification sent as spending trust you must earn back.

When to Use

  • Adding any OS-level permission request: push, location, camera, mic, contacts, photos, Bluetooth, ATT/tracking
  • Designing notification types, frequency rules, digests, or a preference center
  • Reviewing denial rates, opt-out rates, uninstalls after pushes, or "too many notifications" feedback
  • Building re-engagement / win-back messaging
  • NOT for: in-app authorization/roles (access control), or transactional email deliverability
  • NOT for: capabilities with no OS dialog on the target platform — when a dialog exists anywhere in scope, this skill applies

The Proven Flow

Pre-permission priming (the core pattern)

  1. Trigger: a user action that needs the permission. User enables order updates, follows a topic, sets a reminder, taps "find stores near me", starts a video call (camera/mic). Never app launch, never a timer, never "day 3 of usage".
  2. Priming screen (your UI, not the OS dialog). One screen or modal containing:
    • Icon or small visual tied to the benefit.
    • Benefit headline framed as the user's outcome: "Know the moment your order ships" — not "Enable push notifications".
    • 1–2 lines of specifics: what you'll send and roughly how often ("Order updates only — usually 2–3 per order").
    • Primary button: "Turn on notifications" / "Enable".
    • Secondary: "Not now" — never "No" or "Don't allow"; keep refusal soft and honestly re-askable.
    • Proven: Duolingo primes off the streak ("Don't lose your 7-day streak — remind me"); Airbnb primes location with "find homes near you"; Headspace ties the ask to the user's own chosen reminder time; Hopper primes with price-drop watch value.
  3. Branch on the soft answer:
    • "Not now" → dismiss; the OS dialog is never shown, so your one-shot is preserved. Re-prime later at the next high-intent moment. Cap: 2–3 primes total per permission, spaced days apart, each tied to a different concrete benefit. After the cap, stop — the answer is no.
    • "Enable" → fire the OS dialog immediately, same interaction. Acceptance here runs far above cold asks because the user already said yes once, and a rare OS-level denial no longer surprises you.
  4. OS dialog result:
    • Granted → deliver value instantly if possible (send the confirmation they enabled, show the nearby results) and continue the flow where they left off.
    • Denied despite priming → respect it, record it client- and server-side, don't loop. Route future feature touchpoints to the denial-recovery path.
  5. Provisional path (iOS, content notifications). Provisional authorization delivers quietly to Notification Center with no dialog at all; the user upgrades to full alerts or kills them from the notification itself. Use it to prove value before ever spending the formal ask.

Priming copy patterns

Instead ofWrite
"Enable push notifications""Know the moment your order ships"
"Allow location access to enhance your experience""Find pharmacies open near you right now"
"Acme would like to send you notifications" (raw dialog)Prime first: "Get a heads-up when prices drop on flights you're watching"
"Turn on notifications?" primary + "No" secondary"Remind me daily" primary + "Not now" secondary
"We need camera access""Scan the barcode to log this food" (ask on the scan tap)

Platform specifics

  • iOS: one shot at the notification dialog per install; denial is fixable only in Settings. Priming is mandatory practice. Location offers "While Using" vs "Always" — request "While Using" first; "Always" only later, in context, when a feature truly needs background location (the OS will re-confirm anyway).
  • Android 13+: notifications are runtime-requested (POST_NOTIFICATIONS); the system tolerates limited re-asks but two "deny" responses ≈ permanent ("don't ask again" behavior). Same priming pattern. Register notification channels per category from day one so users can kill one category without killing all.
  • Web: browsers punish premature Notification.requestPermission() — Chrome and Firefox quiet or auto-block sites that ask on load, and a dismissed prompt can trigger a temporary or permanent block. Soft-prompt first, always; request only inside a user-gesture handler.
  • ATT (iOS tracking): priming screens are allowed; incentivizing the grant or gating the app on it is forbidden by App Review. Expect majority denial; design the product to work without it.
  • Camera/mic/photos: lowest-friction permissions when asked in-context (user tapped the camera button — intent is self-evident); a full priming screen is often unnecessary, but never ask before the triggering tap. Photos on iOS: design for "Selected Photos" limited access as the normal case.

Timing decision guide

PermissionAsk atNever at
NotificationsUser enables a specific alert/reminder/watchLaunch, signup, day-N timer
LocationUser taps a "near me" / map featureLaunch, background upsell
Camera/micThe capture/call tap itselfFeature discovery, launch
ContactsUser taps "invite friends" / "find friends"Signup, onboarding wizard
PhotosUser taps upload/attachProfile-setup step 1
ATT/trackingAfter first value, with honest primingFirst launch cold

Denial recovery

  1. Check permission state before promising permission-dependent features anywhere in the UI.
  2. When a denied permission blocks something the user just tried to do ("Notify me about this auction"), show an inline explainer: what's off, why it matters right now, and a button deep-linking to the app's OS settings page (iOS app-settings: URL; Android app-notification-settings intent; web: instructions for the lock-icon site settings). Add a one-line pointer to the exact toggle they'll see.
  3. Never nag on a schedule. Recover only at moments of demonstrated intent.
  4. Always offer fallback channels: in-app inbox/activity feed (notifications' value without the permission), email or SMS opt-in, calendar export, badge-only updates.

Notification strategy: frequency, digests, re-engagement

  • Categorize every notification type before building:
    • Transactional (order shipped, security alert, direct payment) — always send; not user-disable-able except by law.
    • Social (mention, reply, follow) — send by default; per-category user control.
    • Promotional/engagement (digest, streak, tips, win-back) — strictly opt-in behavior, hard-capped. Never smuggle promo content through the transactional channel; it burns the channel and violates platform policy.
  • Digest pattern: batch low-urgency items into one daily or weekly summary at a user-chosen or engagement-inferred send time (LinkedIn, Substack, GitHub notifications). Default new non-urgent categories to digest, not instant — let users upgrade, don't make them defend their attention.
  • Frequency caps: promotional ≤1/day hard cap, fewer by default; respect quiet hours (default ~22:00–08:00 device-local, overridable); collapse bursts server-side ("3 new replies on your post" via collapse keys/thread IDs, not 3 pushes).
  • The three-question send test — every notification must pass all: Is it about the user's own activity or explicit interest? Can they act on it? Would they miss it if it never arrived? Any "no" → digest or drop.
  • Re-engagement without spam:
    • Trigger from user-created stakes: Duolingo's streak works because "your 12-day streak" is the user's own artifact, not the brand's neediness.
    • Reference specific abandoned state: "Your draft from Tuesday is still here", "3 people applied to your posting" — never content-free "We miss you 😢".
    • Cap win-backs at 1–2 attempts per lapse, then go silent; an uninstall or OS-level notification kill costs more than a lapsed user.
    • Auto-downgrade rule: a category with zero opens across N sends (5–10) drops itself to digest or off, with one in-app note saying so and how to resume.
  • Preference center (in-app, mandatory): per-category toggles with a one-line description + example under each, digest-frequency choice, "Pause all for 1 week", honored server-side immediately. Mirror the reachable-from-notification affordance (long-press → settings on mobile; unsubscribe-parity for email digests).

Re-engagement copy — user-stakes vs. brand-neediness:

Spam (brand's need)Earns the open (user's stake)
"We miss you! Come back 😢""Your 12-day streak ends at midnight" (Duolingo)
"Check out what's new in Acme""3 people applied to the job you posted"
"Don't forget about us!""Your draft 'Q3 plan' has been waiting since Tuesday"
"Big sale! Open now!""The flight you're watching dropped $84" (Hopper)

Layout & Structure

  • Priming screen: one benefit only; headline ≤8 words; body ≤2 lines; optional visual ≤~40% of screen height; primary CTA full-width at bottom (≥44pt iOS / 48dp Android); "Not now" as a text button directly below — equal tap-target size, lower visual weight, never an X-only escape.
  • One permission per moment. Never stack primes. Camera+mic may pair only when one feature needs both simultaneously (video call); notifications pair with nothing.
  • Copy rule: name the concrete trigger ("when your order ships", "when someone replies"), never the mechanism ("to send you push notifications") and never vague value ("to enhance your experience").
  • Denial-recovery banner: one line + "Open Settings" button, dismissible, reappears only on the next blocked intent — not on every screen view.
  • Preference center: grouped by category; each row = toggle + name + one-line example ("Weekly digest — top posts from people you follow"); show OS-level state when it overrides ("Notifications are off for this app in Settings — Open Settings"); place it ≤2 taps from any received notification and inside app settings.
  • Priming placement in flows: insert as an interstitial inside the triggering flow, then return the user exactly where they were — never eject to a home screen after the dialog.
  • Badging: app-icon badges count only actionable items; a badge that never clears trains users to ignore it — clear on view, not on tap-through of one item, unless items are discrete tasks.
  • Notification anatomy: title = the event in the user's terms ("Sara replied"), body = the specific content preview, deep link = the exact item (never the app home screen); rich attachments (image/actions) only when they let the user finish without opening the app (reply inline, mark done, snooze).
  • Actionable notifications: 1–2 quick actions max (Reply, Mark done, Snooze); every action must be idempotent and safe from a lock screen.
  • Accessibility: priming screens are fully keyboard/screen-reader operable; "Not now" is a real button in the accessibility tree, not a dismiss gesture only; notification copy makes sense read aloud without the visual context.

Quick Reference

SituationPattern
App first launchAsk for NOTHING; defer every permission
Feature needs permission after a user tapJust-in-time: prime → soft yes → OS dialog → continue flow
User tapped the camera/mic feature itselfIn-context ask, no priming screen needed; never earlier
User said "Not now"One-shot preserved; re-prime at next high-intent moment, ≤3 total
OS-level denialInline recovery at moment of need + Settings deep link + fallback channel
iOS location"While Using" first; "Always" only later, in context
iOS content app unsure users want pushesProvisional (quiet) delivery, upgrade from the notification
AndroidChannels per category; treat second deny as permanent
WebSoft prompt inside a user gesture; never on load
Low-urgency updatesDefault to digest; user upgrades to instant
Event burstOne collapsed summary notification
Lapsed userReference their own stakes/state; 1–2 attempts, then silence
Category repeatedly ignoredAuto-downgrade to digest/off; say so in-app
ATT/trackingPrime honestly, no incentives, product works on denial

Anti-Patterns

Anti-patternFix
OS permission dialog on first launchJust-in-time asks tied to user actions
Firing the OS dialog with no priming (push, location)Soft-ask screen first; escalate only on "yes"
Soft-prompt refusal labeled "No" / "Don't allow""Not now" — soft, honest, re-askable
Re-priming every session after "Not now"Cap 2–3, spaced days apart, new benefit each time
"Enable notifications to continue" wallNever gate core features on non-essential permissions
Promo pushes through the transactional channelStrict category separation; promo is opt-in
"We miss you 😢" content-free win-backsReference the user's own state (streak, draft, activity) or send nothing
One master notification togglePer-category preference center + digest options
Ignoring quiet hours / timezonesLocal quiet hours on by default for non-urgent sends
Denial → silently broken featureInline explainer + Settings deep link + fallback channel
Asking for contacts/location "for later use"Ask when the invite/map screen is actually open
Requesting "Always" location upfront"While Using" first; upgrade contextually
Badge that never clearsBadge counts actionable items only; clears on view
Measuring dialog-grant rate as successOptimize retained opt-in (still enabled at day 30)
Same push to all timezones at HQ timeSend-time per user's local time / inferred active hours
Stacking two OS dialogs back-to-backOne permission per moment; the second waits for its own trigger
Notification deep-links to the app home screenDeep-link to the exact item the notification names
Preference changes applied client-side onlyHonor server-side immediately; a re-sent muted category is spam

Success metrics: opt-in still enabled at day 30, notification-driven opens, and uninstall rate within 24h of a push — not day-0 grant rate.

Perguntas frequentes

O que a habilidade de IA Flow Permissions faz?

Use ao criar ou revisar solicitações de permissões do sistema operacional (notificações, localização, câmera, contatos, fotos, rastreamento) ou estratégias de notificação — telas de introdução, momento da solicitação, recuperação após uma recusa, controles de frequência, resumos ou notificações para reengajamento. Use também quando as análises mostrarem altas taxas de recusa de permissões, usuários relatarem excesso de notificações ou desativarem as notificações, ou o app solicitar permissões na primeira inicialização.

Por que usar Flow Permissions no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Flow Permissions é 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 Flow Permissions no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-permissions. 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 Flow Permissions?

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 Flow Permissions?

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

Sim. A habilidade é publicada no GitHub por jpoindexter 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 👇