Automating an iPhone used to be a punchline. The platform was sealed shut, and the closest you got to automation was muscle memory. Then Apple bought Workflow, rebuilt it as Shortcuts, gave it system access no third party ever gets, and quietly made the iPhone one of the more interesting automation platforms around.
The catch is that the ecosystem is layered in a way the App Store doesn't advertise. Shortcuts is the foundation, but it has real gaps, and two third-party apps — a-Shell and Scriptable — fill them in complementary ways. Used together, they cover far more ground than any one of them alone. Here's how the pieces fit.

Shortcuts: the foundation, warts and all
Shortcuts is free, built in, and the only automation app with deep system access: it can send messages, control HomeKit, resize images, hit web APIs, toggle settings, and chain hundreds of actions in one flow. Trigger it from the share sheet, a Back Tap gesture, a widget, an alarm, or a time of day.
Where it shines:
- Share sheet tools. A shortcut that takes any webpage, strips it, and saves clean text to a note takes five minutes to build and gets used daily.
- Media pipelines. Resize, convert, watermark, strip metadata from photos, and file them — all without a cloud service touching them.
- Web plumbing. Pulling JSON from an API, parsing it, showing a notification. Get Text and Repeat actions go a long way.
Where it falls over: the editor is clunky for anything long (a canvas of nested blocks that scrolls into oblivion), triggers are limited compared to desktop tools — no direct "when this app opens" or "when battery drops below X" without workarounds — and error handling is an afterthought. Big shortcuts become unmaintainable fast. The fix for that is knowing when to hand the work to the two apps below.
a-Shell: a real terminal in your pocket
a-Shell is a free, open-source terminal emulator that runs locally on the iPhone. It ships Python, JavaScript, Lua, and a pile of standard Unix tools — plus text processing utilities like grep and sed — all sandboxed like everything on iOS, but surprisingly capable within that fence.
It earns its place next to Shortcuts in two ways. First, quick one-off jobs: process a CSV, do quick math in Python, poke at a file you passed in from Files. Second, and better: a-Shell ships Shortcuts actions, so a shortcut can hand files to a Python script and take the result back. That combination — Shortcuts as the trigger and interface, Python doing the actual work — covers jobs that Shortcuts alone genuinely can't.
The honest limits: no background execution (long jobs die when you leave the app), no arbitrary package installs at the scale of a laptop environment, and it's a terminal, which is either a feature or a barrier depending on who you are.
Scriptable: JavaScript with a native vocabulary
Scriptable takes a different lane: instead of a terminal, it's a JavaScript editor where scripts call iOS APIs directly — files, notifications, web requests, calendars, and more — and, crucially, can render native widgets. A script that fetches a JSON endpoint and puts a live custom widget on your home screen is about thirty lines.
Scriptable also integrates with Shortcuts (scripts can be run as shortcut actions and exchange data), so the layering works here too: Shortcuts orchestrates, Scriptable does the parts that need real code and real UI. The free core is generous, with some advanced features under a subscription.
The trade-offs: it's JavaScript-specific, you're writing code rather than snapping blocks, and like everything on iOS its scripts only run when the app or widget is active. It also needs the Files app mental model — scripts live in iCloud or local folders — which trips up newcomers.
How to layer them
- Start with Shortcuts for everything trigger-and-glue: share sheet, widgets, time-of-day flows.
- When a shortcut needs real text processing or Python, hand that step to a-Shell via its Shortcuts actions.
- When you need a custom widget, tight web API logic, or cleaner code than nested blocks allow, call Scriptable.
None of these run a background daemon watching your phone, and none can automate other apps beyond what the system exposes — that's the iOS tax, and it applies to every tool here. Within those walls, though, the trio covers more than most people ever get around to automating.




No comments yet