Analysis updated 2026-05-18
Use as a starting point to understand how Apple Intelligence-generated Safari extensions are structured and where they are stored.
Customize YouTube pages on Safari across Mac, iPhone, and iPad by editing the extension files directly.
Learn how to extract the source code of any AI-generated Safari extension using the feedback form trick.
| adm1nsys/safari-ai-extension | abivan-tech/zvec-mcp | loafdaddy/discoverr-bot | |
|---|---|---|---|
| Stars | 8 | 9 | 7 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires macOS 27, iOS 27, or iPadOS 27 developer beta, not available on any released OS version.
Safari on macOS 27, iOS 27, and iPadOS 27 can generate a complete browser extension from a plain text description. You describe what you want, the on-device model writes the necessary files, and Safari installs it immediately. This repo is a working example of one such extension, created with that "Describe an Extension" feature and then edited by hand. The extension itself is a small YouTube customization: it lets you change the country code next to the YouTube logo, recolor the logo, add a frosted-glass header effect, and show like and dislike counts. Those features are not the point. The point is to show developers exactly what an AI-generated extension looks like, where it is stored on the device, and how to find, extract, and modify the source files. Finding the source requires a bit of digging. Apple presents the feature as a no-files, no-code experience, so the generated code is not in an obvious location. The repo documents that these extensions land in a specific Safari container folder called MagicExtensions. Each extension there has a standard set of web extension files plus the original text prompt that created it. Editing files in that folder directly updates the extension in Safari. The repo also explains a second method for extracting source code: using Safari's own feedback form. Submitting feedback on a generated extension causes Safari to bundle a complete snapshot of all the files into a temporary folder, which you can copy before closing the form. For iteration, you can go back to the AI assistant in Safari and refine the extension in plain language, or edit the files directly for more precise control. The repo recommends generating a first draft with AI and then hand-tuning the code, which is the approach used to build this example. The extension runs on all three Apple platforms since it uses the standard Web Extension format. Cross-device installation by copying the folder is documented but marked experimental, as Safari's internal registration behavior is not fully confirmed. The repo targets developer beta software and notes that file paths may change before public release.
A working reference example of a Safari extension generated by Apple Intelligence on OS 27, showing how to find, extract, and manually edit AI-created browser extensions.
Mainly JavaScript. The stack also includes JavaScript, Safari Web Extension API, macOS 27.
MIT license: use freely for any purpose, including commercial projects, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.