apps-script-ui SKILL.md skillB

apps-script-ui from bootgs/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bootgs/skills/apps-script-ui@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
bootgs/skills
Path
skills/apps-script-ui/SKILL.md
Versions recorded
2
Latest version
v1.0.0, committed Sep 22, 2026
First version recorded
Sep 13, 2026
Size
5,920 bytes
Repository stars
5
License
Apache-2.0

Builds Google Apps Script UI — custom menus, sidebars, modal dialogs, toast notifications, and alert/prompt dialogs via HtmlService and SpreadsheetApp.getUi(). Covers the modal progress-spinner pattern for long-running operations. Use when adding a menu item, sidebar, or dialog to a Sheets/Docs/Slides add-on, or when a dialog button silently does nothing. Framework-agnostic — applies with or without bootgs. Not for the quota, locking and batching concerns behind a slow action…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Apps Script UI

## Menus

`onOpen()` runs automatically when the file opens and builds the menu:

```ts
function onOpen(): void {
  SpreadsheetApp.getUi()
    .createMenu("My Add-on")
    .addItem("Do Something", "doSomething")
    .addSeparator()
    .addSubMenu(SpreadsheetApp.getUi().createMenu("More").addItem("Option A", "optionA"))
    .addToUi();
}
```

Menu item callbacks are referenced **by function name as a string**, not a reference — the function must be public (see Gotchas) and take no arguments.

## Sidebars

```ts
function showSidebar(): void {
  const html = HtmlService.createHtmlOutput('<h3>Quick Entry</h3><input id="value"><button onclick="submit()">Add</button>')
    .setTitle("Quick Entry")
    .setWidth(300);
  SpreadsheetApp.getUi().showSidebar(html);
}
```

Client-side JS in the HTML calls server functions through `google.script.run`:

```html
<script>
  function submit() {
    google.script.run
      .withSuccessHandler((result) => alert("Added!"))
      .withFailureHandler((err) => alert("Error: " + err.message))
      .addEntry(document.getElementById("value").value);
  }
</script>
```

## Modal dialogs and the progress-spinner pattern
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bootgs/skills/apps-script-ui@sha256:63d73be98438e3a5

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jkkh2byphgdez25s.svg)](https://markdownregistry.com/a/art_jkkh2byphgdez25s)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Sep 13, 2026 and Sep 22, 2026, about one every 9 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-22 0143178 5,920 BB view · diff
v1.0.02026-09-13 0a3e815 5,745 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5920 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

bootgs/skills · 5 stars · license Apache-2.0 · pushed 2026-09-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jkkh2byphgdez25s
GET https://markdownregistry.com/api/v1/resolve?ref=bootgs/skills/apps-script-ui
GET https://markdownregistry.com/api/v1/blob/63d73be98438e3a5de2c8dabd685d50af15c331189712fd697cba71331513725

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from bootgs/skills

create-pr SKILL.md skill
bootgs/skills · .agents/skills/create-pr/SKILL.md · Creates a GitHub pull request via the `gh` CLI with a title that matches the repository's own title convention…
v2.1.1 · audit A · 5 stars
gitea-tea SKILL.md skill
bootgs/skills · .agents/skills/gitea-tea/SKILL.md · Manages issues, pull requests, labels, comments, and releases on a Gitea server via the official `tea` CLI — detects…
v1.3.1 · audit B · 5 stars
skill-creator SKILL.md skill
bootgs/skills · .agents/skills/skill-creator/SKILL.md · Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a…
git:20260913.e5fa28f · audit A · 5 stars
AGENTS.md AGENTS.md file
bootgs/skills · AGENTS.md
git:20260922.4f092a2 · audit A · 5 stars
CLAUDE.md CLAUDE.md file
bootgs/skills · CLAUDE.md
git:20260922.f34363e · audit B · 5 stars
llms.txt llms.txt file
bootgs/skills · llms.txt
git:20260913.eb1e3c3 · audit A · 5 stars
apps-script-clasp-workflow SKILL.md skill
bootgs/skills · skills/apps-script-clasp-workflow/SKILL.md · Documents the clasp CLI workflow for Google Apps Script projects — login, project creation/cloning, push vs deploy…
v1.0.0 · audit A · 5 stars
apps-script-marketplace-publish SKILL.md skill
bootgs/skills · skills/apps-script-marketplace-publish/SKILL.md · Audits a Google Workspace add-on against the current official Google Workspace Marketplace app review requirements, and…
v1.0.0 · audit A · 5 stars
apps-script-services SKILL.md skill
bootgs/skills · skills/apps-script-services/SKILL.md · Idiomatic, quota-safe patterns for Google Apps Script's built-in services and runtime — batched SpreadsheetApp…
v1.0.0 · audit A · 5 stars
apps-script-triggers SKILL.md skill
bootgs/skills · skills/apps-script-triggers/SKILL.md · Explains Google Apps Script's simple vs installable triggers, their event object shapes, authorization differences, and…
v1.0.0 · audit A · 5 stars
apps-script-utils SKILL.md skill
bootgs/skills · skills/apps-script-utils/SKILL.md · Documents apps-script-utils, a standalone guard/utility library for Google Apps Script (isX/nonX/requireX convention…
v1.0.0 · audit A · 5 stars
bootgs-architecture SKILL.md skill
bootgs/skills · skills/bootgs-architecture/SKILL.md · Establishes a strict layered architecture for a bootgs project — Controller → Service → Repository → Domain…
v1.0.0 · audit A · 5 stars

Every file in bootgs/skills

Browse by kind, by grade B, or by owner.