Custom Native Screens · notibuddy 0.4.0+

Turn JSON into
native iPhone UI.

Send rich SwiftUI approval screens, KPI strips, checklists, forms, and inline diffs from any AI agent or shell script. Start with 8 built-in certified templates or compose your own from 12 native blocks—while every word, metric, and reply stays end-to-end encrypted.

Building with an AI agent? Point it at the full Markdown schema reference at notibuddy.app/screens.md (plain Markdown, English).

NotiBuddy custom native screen on iPhone with a KPI strip, a checklist and a Face ID approve button.

Built-in catalog

8 certified templates, ready to copy

Certified templates are pre-signed and cached on-device—just pass templateId, labels, and data to notibuddy_notify or nb notify --screen.

Release & CI Face ID gate
deployment_gate

Deployment Gate

Production release promotion gate with canary KPIs, artifact manifest, readiness checklist, confirmation toggle, and Face ID sign-off.

Best for: CI/CD release promotions, canary-to-production cutovers, and agent-triggered deploys.
Blocks: badgealertkpiStripkeyValueListchecklistformField (toggle)
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_7320257f323bb157…
{
  "title": "Promote api-gateway v2.4.1 to production",
  "screen": {
    "templateId": "tpl_7320257f323bb157a27a9f3eb40ca76a06a63b7cc3a6d877884f2450b68fb75a",
    "labels": {
      "s0": "Canary status",
      "s1": "Production",
      "s2": "Canary healthy across us-east and eu-central",
      "s3": "All 128 integration checks passed with zero elevated 5xx responses.",
      "s5": "Release manifest",
      "s7": "Pre-flight sign-off",
      "s9": "I verified the rollback image is pinned",
      "s10": "Promote to production",
      "s11": "Hold canary",
      "s12": "Abort deploy"
    },
    "data": {
      "s4": [
        {
          "label": "Success",
          "value": "99.98%"
        },
        {
          "label": "Errors",
          "value": "0.02%"
        },
        {
          "label": "P95",
          "value": "41 ms"
        }
      ],
      "s6": [
        {
          "key": "Service",
          "value": "api-gateway"
        },
        {
          "key": "Version",
          "value": "v2.4.1"
        },
        {
          "key": "Commit",
          "value": "8f3c19a"
        },
        {
          "key": "Triggered by",
          "value": "GitHub Actions"
        }
      ],
      "s8": [
        "Database backup verified",
        "On-call engineer notified",
        "Zero active P1 incidents"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen deployment-gate.json
Database Face ID gate
db_migration_approval

Database Migration Approval

Schema or data migration sign-off with warning banner, target cluster metadata, inline DDL diff viewer, pre-flight checklist, and Face ID gate.

Best for: Destructive SQL migrations, index changes, and agent-authored schema updates.
Blocks: badgealertkeyValueListdiffViewerchecklist
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_9a64eaa2fbf40f98…
{
  "title": "Run migration 20261123_drop_legacy_tokens.sql",
  "screen": {
    "templateId": "tpl_9a64eaa2fbf40f9821af64340dba6788893684e3c1fd39a2651850130c0cdeb3",
    "labels": {
      "s0": "Migration target",
      "s1": "Destructive DDL",
      "s2": "Table lock expected (~4 seconds)",
      "s3": "Dropping legacy_session_tokens removes 1.2M expired rows and frees 840 MB.",
      "s5": "DDL diff",
      "s7": "Safety checks",
      "s9": "Run migration",
      "s10": "Cancel"
    },
    "data": {
      "s4": [
        {
          "key": "Cluster",
          "value": "prod-postgres-primary"
        },
        {
          "key": "Migration",
          "value": "20261123_drop_legacy_tokens.sql"
        },
        {
          "key": "Estimated lock",
          "value": "4s (ACCESS EXCLUSIVE)"
        }
      ],
      "s6": {
        "filename": "migrations/20261123_drop_legacy_tokens.sql",
        "language": "sql",
        "original": "CREATE TABLE legacy_session_tokens (\n  id uuid PRIMARY KEY,\n  expires_at timestamptz NOT NULL\n);",
        "modified": "DROP TABLE IF EXISTS legacy_session_tokens;\n-- Snapshot archived to s3://db-backups/2026-11-23/"
      },
      "s8": [
        "Point-in-time snapshot completed",
        "Zero active readers on legacy_session_tokens"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen db-migration-approval.json
Incident Response Face ID gate
incident_triage

Incident Triage

On-call incident response screen with danger banner, live error KPIs, context metadata, severity picker, response note, and Face ID failover action.

Best for: Automated anomaly alerts, agent-detected regressions, and one-tap rollback or escalation.
Blocks: badgealertkpiStripkeyValueListdividerformField (picker, text)
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_efcaca7923b82253…
{
  "title": "P1: Elevated 502 rate on checkout-api",
  "screen": {
    "templateId": "tpl_efcaca7923b82253ed38e2b0f71950d967bc55d5085fb1d315b55b2953a65294",
    "labels": {
      "s0": "Active incident",
      "s1": "SEV-1",
      "s2": "502 spike after v2.4.1 rollout",
      "s3": "Error rate crossed 4.8% in us-east-1 for 3 consecutive minutes.",
      "s5": "Response & routing",
      "s7": "Assigned severity",
      "s9": "Action note",
      "s10": "Optional note (required for rollback)",
      "s11": "Acknowledge & investigate",
      "s12": "Rollback to v2.4.0",
      "s13": "Dismiss false positive"
    },
    "data": {
      "s4": [
        {
          "label": "502 Rate",
          "value": "4.8%"
        },
        {
          "label": "P99",
          "value": "1.9 s"
        },
        {
          "label": "Affected",
          "value": "us-east-1"
        }
      ],
      "s6": [
        {
          "key": "Service",
          "value": "checkout-api"
        },
        {
          "key": "Suspect commit",
          "value": "8f3c19a"
        },
        {
          "key": "Alert ID",
          "value": "INC-4921"
        }
      ],
      "s8": [
        "SEV-1 Critical",
        "SEV-2 High",
        "SEV-3 Moderate"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen incident-triage.json
Code Review One-tap reply
code_review_form

Code Review Form

Patch or pull-request review with summary, repo metadata, inline diff viewer, disposition picker, and required review comment.

Best for: Reviewing Claude Code, Codex, or Cursor patches from your iPhone before merging or committing.
Blocks: badgetextkeyValueListdiffViewerformField (picker, text)
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_516ea85f72e98ed5…
{
  "title": "Review patch: rate-limit retry backoff",
  "screen": {
    "templateId": "tpl_516ea85f72e98ed524aed18b1fc44b73f63e0b2a18fd1a85e5b6a64a7c0866d3",
    "labels": {
      "s0": "Patch summary",
      "s1": "Ready for review",
      "s2": "Adds capped exponential backoff with jitter when upstream returns HTTP 429.",
      "s4": "Changed file",
      "s6": "Your review",
      "s7": "Disposition",
      "s9": "Review note",
      "s10": "Explain approval or requested edits",
      "s11": "Submit review",
      "s12": "Cancel"
    },
    "data": {
      "s3": [
        {
          "key": "Repo",
          "value": "yourbit-network/notibuddy"
        },
        {
          "key": "Branch",
          "value": "fix/retry-backoff"
        },
        {
          "key": "Tests",
          "value": "42/42 passing"
        }
      ],
      "s5": {
        "filename": "src/retry.ts",
        "language": "typescript",
        "original": "const delayMs = 1000 * attempt;",
        "modified": "const base = Math.min(30_000, 500 * 2 ** attempt);\nconst delayMs = Math.round(base * (0.8 + Math.random() * 0.4));"
      },
      "s8": [
        "Approve & apply",
        "Request changes",
        "Comment only"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen code-review-form.json
Observability One-tap reply
kpi_status_card

KPI Status Card

Compact operational report with headline metrics, status badge, narrative summary, and detailed key-value breakdown.

Best for: Nightly cron digests, training run checkpoints, benchmark summaries, and daily cost reports.
Blocks: headingbadgekpiStripdividertextkeyValueList
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_6fa3fbdf264b1048…
{
  "title": "Eval run #142 completed",
  "screen": {
    "templateId": "tpl_6fa3fbdf264b1048364bf9b4179464ccc6795a1b5c67ade9e5e2ac8a00262526",
    "labels": {
      "s0": "Evaluation summary",
      "s1": "Prompt v14 benchmark",
      "s2": "Pass +4.2%",
      "s4": "Accuracy improved on tool-calling tasks with 18% fewer output tokens than v13.",
      "s5": "Run details",
      "s7": "Promote prompt v14",
      "s8": "Keep v13"
    },
    "data": {
      "s3": [
        {
          "label": "Pass rate",
          "value": "94.6%"
        },
        {
          "label": "Median latency",
          "value": "620 ms"
        },
        {
          "label": "Cost / 1k",
          "value": "$1.84"
        }
      ],
      "s6": [
        {
          "key": "Dataset",
          "value": "agent-eval-500"
        },
        {
          "key": "Baseline",
          "value": "v13 (90.4%)"
        },
        {
          "key": "Duration",
          "value": "11m 42s"
        }
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen kpi-status-card.json
Operations Face ID gate
action_checklist

Action Checklist

Step-by-step verification checklist paired with a required confirmation toggle that unlocks Face ID submission only when every item is checked.

Best for: App Store release checklists, key rotation runbooks, and irreversible cleanup scripts.
Blocks: headingtextchecklistdividerformField (toggle)
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_ab44ab504d7cc01c…
{
  "title": "Publish notibuddy@0.4.1 to npm",
  "screen": {
    "templateId": "tpl_ab44ab504d7cc01c05bd68f23d0c31550e6f66b6dc02b30f5a5f903dd068dcaa",
    "labels": {
      "s0": "Release overview",
      "s1": "npm publish checklist",
      "s2": "Confirm all release artifacts before the agent runs npm publish and updates the Homebrew formula.",
      "s3": "Required checks",
      "s4": "Pre-publish verification",
      "s6": "I confirm the changelog and git tag match v0.4.1",
      "s7": "Publish release",
      "s8": "Abort"
    },
    "data": {
      "s5": [
        "All unit and integration tests passed",
        "Tarball contents inspected with npm pack --dry-run",
        "No secrets or local fixtures bundled"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen action-checklist.json
Tuning Face ID gate
parameter_tuning_form

Parameter Tuning Form

Runtime configuration editor with current settings summary, integer stepper, mode picker, safety toggle, rationale note, and Face ID apply.

Best for: Adjusting worker concurrency, LLM temperature/budget caps, rate limits, or autoscaling parameters live.
Blocks: textkeyValueListformField (stepper, picker, toggle, text)
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_dd6f8732c37e9016…
{
  "title": "Adjust queue worker concurrency",
  "screen": {
    "templateId": "tpl_dd6f8732c37e901667a0c1e9d9764b36b878121a2ae5beac73bb2ad593dc4e4a",
    "labels": {
      "s0": "Current configuration",
      "s1": "Queue depth reached 4,200 jobs. Adjust concurrency and retry strategy before resuming workers.",
      "s3": "Updated parameters",
      "s4": "Max concurrent workers",
      "s5": "Routing mode",
      "s7": "Enable circuit breaker",
      "s8": "Change rationale",
      "s9": "Optional note for audit log",
      "s10": "Apply settings",
      "s11": "Keep current"
    },
    "data": {
      "s2": [
        {
          "key": "Current workers",
          "value": "10"
        },
        {
          "key": "Queue depth",
          "value": "4,200"
        },
        {
          "key": "Error budget",
          "value": "99.5%"
        }
      ],
      "s6": [
        "Balanced",
        "Throughput-first",
        "Cost-saving"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen parameter-tuning-form.json
Compliance Face ID gate
multi_choice_audit

Multi-Choice Audit

Structured compliance or security review with evidence rows, dual choice pickers, required auditor note, attestation toggle, and Face ID sign-off.

Best for: Access-grant approvals, dependency security audits, and signed compliance attestations.
Blocks: headingbadgetextkeyValueListformField (picker ×2, text, toggle)
notibuddy_notify payload (MCP / --screen JSON)
templateId: tpl_33d53edadb953581…
{
  "title": "Security audit: grant production read token",
  "screen": {
    "templateId": "tpl_33d53edadb953581c0d1dfe4c857c86c5a42d53e8dba668a4b091081057dbc99",
    "labels": {
      "s0": "Audit evidence",
      "s1": "Scoped token request",
      "s2": "Pending review",
      "s3": "Agent requested a 2-hour read-only token to inspect production billing metrics.",
      "s5": "Auditor decision",
      "s6": "Scope grant",
      "s8": "Expiration window",
      "s10": "Auditor rationale",
      "s11": "Required for approval or revocation",
      "s12": "I reviewed the requested scope and ticket",
      "s13": "Approve scoped token",
      "s14": "Revoke & alert security",
      "s15": "Deny"
    },
    "data": {
      "s4": [
        {
          "key": "Requester",
          "value": "billing-agent@mac"
        },
        {
          "key": "Ticket",
          "value": "SEC-1084"
        },
        {
          "key": "Requested scope",
          "value": "metrics:read"
        }
      ],
      "s7": [
        "metrics:read only",
        "logs:read + metrics:read"
      ],
      "s9": [
        "1 hour",
        "2 hours",
        "24 hours"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen multi-choice-audit.json

Composable primitives

12 native SwiftUI blocks

Every built-in and custom screen is assembled from these 12 native iOS blocks with full Dynamic Type, Dark Mode, and accessibility support.

vstack Layout

Vertical container with compact, regular, or relaxed spacing.

card Layout

Grouped native surface with an optional encrypted section header.

divider Layout

Subtle hairline separator between sections inside a card.

heading Content

Section heading at level 1, 2, or 3 with Dynamic Type scaling.

text Content

Body, caption, or monospaced text block.

badge Content

Status pill in neutral, info, success, warning, or danger tone.

alert Content

Highlighted callout banner with title, body, and severity.

kpiStrip Data

Compact horizontal metric strip of label/value KPI tiles.

keyValueList Data

Structured metadata rows for versions, targets, commits, or IDs.

diffViewer Data

Inline syntax-aware unified or before/after code and DDL diff viewer.

checklist Interactive

Interactive pre-flight items that can gate action buttons via allChecked.

formField Interactive

Native text, email, url, secret, date, toggle, stepper, or picker inputs.

Custom layouts

Or compose your own inline layout

Pass screen.template directly to notibuddy_notify or pre-register reusable layouts with nb screen register. The server validates and caches only the content-free structural skeleton for up to 30 days; all labels, metrics, diffs, and replies remain end-to-end encrypted.

Inline custom screen payload
{
  "title": "Approve nightly model eval",
  "screen": {
    "template": {
      "root": {
        "kind": "vstack",
        "spacing": "regular",
        "children": [
          {
            "kind": "card",
            "header": "Eval summary",
            "children": [
              { "kind": "badge", "tone": "success", "label": "All checks passed" },
              {
                "kind": "kpiStrip",
                "items": [
                  { "label": "Score", "value": "96.4%" },
                  { "label": "Latency", "value": "410 ms" }
                ]
              }
            ]
          }
        ]
      },
      "actions": [
        { "id": "promote", "label": "Promote weights", "role": "primary", "requireBio": true },
        { "id": "cancel", "label": "Cancel", "role": "decline", "requireBio": false }
      ]
    }
  }
}

Ready to wire Custom Screens into your agent?

Pair your iPhone once and start sending native screens from Claude Code, Cursor, Codex, Antigravity, GitHub Actions, or shell scripts.