shortcuts-generator

shortcuts-generator is a skill for Claude Code, Codex from malue-ai/dazee-small. It costs 19 tokens per session (644 once invoked), scanned A, original, MIT.

A generator for macOS and iOS Shortcuts, Apple's app for building automated workflows, by creating shortcut files programmatically.

In plain words
What is it for?
Use it to create workflows such as opening apps, showing notifications, taking screenshots, sending email, or organizing files.
Why use it?
It lets an agent produce reusable Apple automations without assembling every action manually in the Shortcuts app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create workflows such as opening apps, showing notifications, taking screenshots, sending email, or organizing files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malue-ai/dazee-small/shortcuts-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add malue-ai/dazee-small --skill shortcuts-generator
Clone the repo
git clone --depth 1 https://github.com/malue-ai/dazee-small

Made for: Claude Code, Codex.

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 shortcuts-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/malue-ai/dazee-small/shortcuts-generator/github.svg)](https://agentmods.dev/skills/malue-ai/dazee-small/shortcuts-generator)
Your own site
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/shortcuts-generator"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/shortcuts-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shortcuts-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/shortcuts-generator"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/shortcuts-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00019 $0.00644
Opus 5 $0.00010 $0.00322
Sonnet 5 $0.00004 $0.00129
Haiku 4.5 $0.00002 $0.00064

Measured 9d ago against content hash 944973c42c45, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

shortcuts-generator scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/library/shortcuts-generator/SKILL.md · 95 lines

What it actually says

快捷指令生成器

通过编程方式生成 macOS/iOS 快捷指令文件(.shortcut),实现自动化工作流。

使用场景

  • 用户说「帮我创建一个快捷指令,每天自动打开工作用的 App」
  • 用户说「做一个截图并发邮件的快捷指令」
  • 用户说「创建一个自动整理下载文件夹的快捷方式」

执行方式

原理

快捷指令本质是 .shortcut 格式的 plist 文件,可以通过 Python 生成并导入。

生成快捷指令

import plistlib
import uuid

def make_action(identifier, parameters=None):
    action = {
        "WFWorkflowActionIdentifier": identifier,
        "WFWorkflowActionParameters": parameters or {},
    }
    return action

shortcut = {
    "WFWorkflowMinimumClientVersion": 900,
    "WFWorkflowMinimumClientVersionString": "900",
    "WFWorkflowActions": [
        make_action("is.workflow.actions.openapp", {
            "WFAppIdentifier": "com.apple.Safari",
        }),
        make_action("is.workflow.actions.notification", {
            "WFNotificationActionBody": "工作模式已启动!",
        }),
    ],
    "WFWorkflowClientVersion": "2612.0.4",
    "WFWorkflowHasOutputFallback": False,
    "WFWorkflowIcon": {
        "WFWorkflowIconStartColor": 4282601983,
        "WFWorkflowIconGlyphNumber": 59511,
    },
    "WFWorkflowImportQuestions": [],
    "WFWorkflowInputContentItemClasses": [],
    "WFWorkflowOutputContentItemClasses": [],
    "WFWorkflowTypes": ["NCWidget", "WatchKit"],
}

output_path = "/tmp/work_mode.shortcut"
with open(output_path, "wb") as f:
    plistlib.dump(shortcut, f)

导入快捷指令

open /tmp/work_mode.shortcut

系统会弹出快捷指令 App 的导入确认界面。

常用 Action 标识符

功能 Identifier
打开 App is.workflow.actions.openapp
发送通知 is.workflow.actions.notification
获取剪贴板 is.workflow.actions.getclipboard
运行 Shell 脚本 is.workflow.actions.runscript
发送邮件 is.workflow.actions.sendmail
显示提醒 is.workflow.actions.alert

输出规范

  • 生成 .shortcut 文件后提示用户双击导入
  • 说明快捷指令的功能和触发方式
  • 复杂快捷指令先列出步骤让用户确认
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. 9d ago First seen · 95 lines · 19 tokens per session scan A 944973c42c45

Subscribe to this mod's changes

shortcuts-generator is a skill published in the GitHub repository malue-ai/dazee-small (36 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 644 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories