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.
mdr add bootgs/skills/apps-script-ui@v1.0.0Pins 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
mdr add bootgs/skills/apps-script-ui@sha256:63d73be98438e3a5The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-09-22 | 0143178 | 5,920 B | B | view · diff |
| v1.0.0 | 2026-09-13 | 0a3e815 | 5,745 B | B | view |
Audit of the latest version
- 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
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.