ShareShortcuts
Fork “Offline Ai”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so mepfiter gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
14K
Saved
0
Actions
61
Category
API
Version
1.0
Language
EN

You all wanted a Ai that works offline, do task like normal Ai offline, and help you writing the device, but now there is! Meet offline Ai - Device-On by apples! It’s created to help you offline do tasks, and entertain you, and you want be surprised. It can even help you create images and use writing tools. However this feature only works with apple intelligence due to it being part of apple intelligence.

Update log 1.0 Added offline Ai with 2 hidden features.

What's New

Version 1.0

First release

Version History
1.0 Jun 22, 2025

First release

What it does

61 actions
  1. Show Alert
    Loading..
  2. Find Notes
  3. If
  4. Show Alert
    New user Detected!
  5. Create Note
  6. Show Alert
    IMPORTANT
  7. If
  8. Repeat
  9. Choose from Menu
    Hello there!
  10. Choose from Menu
    Start a Chat
  11. Show Alert
    Important
  12. Repeat
  13. Text
  14. Open Note
  15. Ask for Input
    Ask On-Device Anything! (Cancel to leave chat, limit response per chat is 200, your number of response used is …)
  16. Append to Note
  17. Append to Note
  18. If
  19. Show Result
  20. Generate Image
    com.apple.GenerativePlaygroundApp
  21. Append to Note
  22. Append to Note
  23. If
  24. If
  25. Replace Text
  26. Choose from Menu
    Sure let's use writing tools for "…" what would you like to change?
  27. Choose from Menu
    Adjust Tone of Text
  28. Adjust Text Tone
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  29. Choose from Menu
    Make list from Text
  30. Make List From Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  31. Choose from Menu
    Make table from Text
  32. Make Table From Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  33. Choose from Menu
    Proofread Text
  34. Proofread Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  35. Choose from Menu
    Rewrite Text
  36. Rewrite Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  37. Choose from Menu
    Summarize Text
  38. Summarize Text
    com.apple.WritingTools.WritingToolsAppIntentsExtension
  39. Replace Text
  40. Replace Text
  41. Text
  42. Show Result
  43. Append to Note
  44. Append to Note
  45. If
  46. If
  47. Text
  48. Show Result
  49. If
  50. Use Model
  51. Show Result
  52. Append to Note
  53. Append to Note
  54. Choose from Menu
    Hidden Commands
  55. Text
  56. Show Result
  57. Choose from Menu
    Settings
  58. Choose from Menu
    Settings
  59. Choose from Menu
    Update Log
  60. Text
  61. Show Result

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define color red
#define glyph appleIntelligence

alert("Waiting for a server to response..", "Loading..")
rawAction("is.workflow.actions.filter.notes", {
	"AppIntentDescriptor": ""
})

if Note['Name'] !contains "Offline Ai" {
	alert("You seem to be new!", "New user Detected!")
	rawAction("com.apple.mobilenotes.SharingExtension", {
		"AppIntentDescriptor": "",
		"WFCreateNoteInput": "Offline Ai",
		"WFNoteGroup": "",
		"folder": ""
	})
	alert("This is in Beta! You can ask it anything you desire, some questions can be inappropriate and misleading and the Model will respond with a no assist, be sure to make it welcome!", "IMPORTANT ")
} else {
}

repeat _ for 128 {
	menu "Hello there!" {
	item "Start a Chat":
		alert("To access hidden command again type show commands", "Important")
		repeat _ for 200 {
			const Text = "Offline Ai"
			openNote(Text)
			const AskForInput = prompt("Ask On-Device Anything! (Cancel to leave chat, limit response per chat is 200, your number of response used is {@RepeatIndex})")
			appendNote(Text, "\n-----------------------\n")
			appendNote(Text, "You:\n{AskForInput}")
			if AskForInput contains "Create a image" || AskForInput contains "Generate a image" || AskForInput contains "Create image" || AskForInput contains "Generate image" {
				show("Here is the create image of your prompt!{}")
				generateImage(AskForInput)
				appendNote(Text, "\n-----------------------\n")
				appendNote(Text, "Device-On:\nSure here is a created image of the desired prompt. {}")
			} else {
				if AskForInput contains "Revise me" {
					replaceText("Revise me", ".", AskForInput)
					menu "Sure let's use writing tools for \"{AskForInput}\" what would you like to change?" {
					item "Adjust Tone of Text":
						adjustTextTone(, Ask)
					item "Make list from Text":
						generateList()
					item "Make table from Text":
						generateTable()
					item "Proofread Text":
						generateProofread()
					item "Rewrite Text":
						generateRewrite()
					item "Summarize Text":
						generateSummary()
					}
					replaceText("Write me:", ".", AskForInput)
					replaceText("Revise me:", ".", AskForInput)
					show()
					appendNote(Text, "\n-----------------------\n")
					appendNote(Text, "Device-On:\nHere is the revised or rewritten form of your writing:  {}")
				} else {
					if AskForInput contains "Show commands" || AskForInput contains "Show command" {
						show()
					} else {
						askLLM("Always answer questions in english! Here is my question or need of help: {AskForInput}", "Apple Intelligence on Device")
						show()
						appendNote(Text, "\n-----------------------\n")
						appendNote(Text, "Device-on:\n{}")
					}
				}
			}
		}
	item "Hidden Commands":
		show()
	item "Settings":
		menu "Settings" {
		item "Update Log":
			show()
		}
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by mepfiter

See All

You Might Also Like

See All
Advertisement