build

build is a command for Claude Code from viticci/shortcuts-playground-plugin. It costs 44 tokens per session (837 once invoked), scanned B, original, MIT.

A command that delegates the complete creation of a macOS or iOS Shortcut from a plain-language request. It produces a validated, signed Shortcut file and an XML archive.

In plain words
What is it for?
Use it to turn a request such as a weather lookup into an installable Apple Shortcut.
Why use it?
It removes the need to manually design, validate, sign, and package a Shortcut. It also checks that the final signed file exists.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude plugin — 1 skill, 2 commands, 2 agents, 1 hook shipped together

Good fit Use it to turn a request such as a weather lookup into an installable Apple Shortcut.

Compare 6 commands from other repositories ↓
About the project

viticci/shortcuts-playground-plugin is a Claude Code and Codex plugin that turns natural-language descriptions into signed Apple Shortcuts files for macOS and iOS. It helps users build, validate, and remix shortcuts by generating their XML and signing it with Apple’s shortcuts command-line tool. The catalogue entries are the plugin’s own agents, commands, skill, and hook.

viticci/shortcuts-playground-plugin · 1,085 stars · on GitHub · macstories.net

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add viticci/shortcuts-playground-plugin
Claude Code
/plugin install claude

Made for: Claude Code.

Or install claude, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 2 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build

README.md
[![agentmods](https://agentmods.dev/badge/commands/viticci/shortcuts-playground-plugin/build.svg)](https://agentmods.dev/commands/viticci/shortcuts-playground-plugin/build)
Your own site
<a href="https://agentmods.dev/commands/viticci/shortcuts-playground-plugin/build"><img src="https://agentmods.dev/badge/commands/viticci/shortcuts-playground-plugin/build.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 837 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00837
Opus 5 $0.00022 $0.00418
Sonnet 5 $0.00009 $0.00167
Haiku 4.5 $0.00004 $0.00084

Measured 8d ago against content hash 2a1eb11a2552, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

build scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Never grep `~/Documents` broadly, `~/Agent`, `~/.claude/skills`, `~/.claude/plugins`, `~/.claude/projects`, `~/Library`, `/Applications`, or `/System`.** Even when an agent escalates on "I don't know this schema." Th
claude/commands/build.md · 33 lines

How it starts

The opening of the file, as written. The whole thing — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Delegate to the shortcut-builder agent (via the Agent tool with subagent_type: shortcut-builder) to design, build, validate, sign, and archive a macOS/iOS Shortcut that satisfies the following brief:

$ARGUMENTS

The agent owns the full workflow end-to-end. Your job as the orchestrator is minimal:

  1. Invoke the agent via the Agent tool with subagent_type: shortcut-builder, passing the brief as the agent's prompt.
  2. Wait for the agent's result. The agent is responsible for: resolving the output directory, reading skill files, picking an icon, drafting, Craig-Loop validating, archiving, signing, verifying the signed file exists, and reporting absolute paths.
  3. Reject incomplete reports. If the agent returns only "validation passed", a draft XML path, or anything without a verified signed .shortcut path plus archive XML path, treat that as an incomplete build and re-delegate with: "Pipeline first: skip optional polish, run sign-shortcut on the current valid draft, verify the signed file exists, and report the signed and archive paths."
  4. Relay the agent's report to the user verbatim. Don't re-run any steps the agent already completed.

When the agent escalates

The agent will escalate to you (the orchestrator) if it cannot build — typically because of a documentation gap on an allowlisted action, a validator error it can't fix in 5 iterations, or a brief it can't parse. When that happens:

  • Do not do the agent's research for it. Do not grep ~/Documents, ~/Agent, ~/.claude, ~/Library, /Applications, /System, or any other user or system path looking for examples or schemas. Those directories are off limits for this command.
  • The only paths you may read from are:
    1. The plugin installation directory itself (${CLAUDE_PLUGIN_ROOT} — skill docs, bundled data, golden shortcuts, validator source). If the answer is here, read it and re-delegate to the agent with the answer as additional context.
    2. The file the agent just wrote under the OUTPUT_DIR it printed in step 0, if you need to inspect what it produced before responding.
  • Relay the escalation to the user if the plugin directory doesn't have the answer. Present the agent's escalation reason and any options it offered, and wait for user input. Do NOT paper over the escalation by improvising.

Read the full file on GitHub · 33 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 33 lines · 44 tokens per session scan B 2a1eb11a2552

Subscribe to this mod's changes

build is a command published in the GitHub repository viticci/shortcuts-playground-plugin (1,085 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 837 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.