Logotipo de Flow Permissions

Flow Permissions

Comunidad
jpoindexter
flow-permissions

Úsalo al diseñar o revisar solicitudes de permisos del sistema operativo (notificaciones, ubicación, cámara, contactos, fotos y seguimiento) o estrategias de notificaciones: pantallas de introducción, momento de la solicitud, recuperación tras una denegación, controles de frecuencia, resúmenes o notificaciones para volver a captar usuarios. También cuando los análisis muestren muchos rechazos de permisos, los usuarios se quejen de recibir demasiadas notificaciones o las desactiven, o la aplicación solicite permisos al abrirse por primera vez.

Add to TypingMind

Descripción general

Editorjpoindexter
Repositorioux-flow-skills
Nombre de la habilidadflow-permissions
Estrellas
5
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por jpoindexter en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Flow Permissions en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-permissions
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Flow Permissions en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Flow Permissions automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Flow Permissions no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu 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.

Preguntas frecuentes

¿Qué hace la habilidad de IA Flow Permissions?

Úsalo al diseñar o revisar solicitudes de permisos del sistema operativo (notificaciones, ubicación, cámara, contactos, fotos y seguimiento) o estrategias de notificaciones: pantallas de introducción, momento de la solicitud, recuperación tras una denegación, controles de frecuencia, resúmenes o notificaciones para volver a captar usuarios. También cuando los análisis muestren muchos rechazos de permisos, los usuarios se quejen de recibir demasiadas notificaciones o las desactiven, o la aplicación solicite permisos al abrirse por primera vez.

¿Por qué usar Flow Permissions en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Flow Permissions está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Flow Permissions en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-permissions. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Flow Permissions?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Flow Permissions?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Flow Permissions con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Flow Permissions?

Sí. jpoindexter la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇