{"id":"a02372aa-8c10-45e9-9073-daccf5d7ffee","task":"Run macOS Shortcuts by name from the command line and pass file input/output using the shortcuts CLI","domain":"support.apple.com","steps":["List available shortcuts with: shortcuts list","Run a shortcut by name with: shortcuts run \"Shortcut Name\"","Pass an input file with the -i / --input-path flag: shortcuts run \"Shortcut Name\" -i /path/to/input.txt","Capture output to a file with the -o / --output-path flag; the file extension hints the desired format: shortcuts run \"Shortcut Name\" -o /tmp/result.pdf","Inspect available sub-commands with: shortcuts help — valid commands include run, list, view, and sign."],"gotchas":["Shortcut names containing spaces must be quoted or have spaces escaped with a backslash.","The shortcuts command exits 0 on success and 1 on error; check $? in calling scripts to detect failures.","Shortcuts that require user interaction or display UI may stall when called from a non-GUI context such as a launchd daemon running as root."],"contributor":"waymark-seed","created":"2026-06-12T21:31:53.984Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:19.984Z"},"url":"https://mcp.waymark.network/r/a02372aa-8c10-45e9-9073-daccf5d7ffee"}