用 Codex 自动化整理 iPhone 主屏幕图标布局
Organizing my iPhone Home Screen is the chore I hate most, and I've put it off f…
提供了极具实操价值的 AI Agent 工作流案例,将抽象的 Computer Use 能力转化为具体的设备管理任务,结构清晰且包含关键的技术避坑指南,对开发者读者很有参考价值。
Organizing my iPhone Home Screen is the chore I hate most, and I've put it off forever. 𝗔𝗜 𝗳𝗶𝗻𝗮𝗹𝗹𝘆 𝗱𝗶𝗱 𝗶𝘁 𝗳𝗼𝗿 𝗺𝗲.
整理 iPhone 主屏幕是我最讨厌的琐事,我一直拖延至今。𝗔𝗜 终于替我完成了这件事。
Codex's built-in Computer Use is way too inefficient through iPhone Mirroring. It can't drag icons, and every drag turns into a page swipe. The fastest way is to plug in a cable: it read my 𝟯 𝗽𝗮𝗴𝗲𝘀 𝗮𝗻𝗱 𝟭𝟴𝟯 𝗶𝗰𝗼𝗻𝘀 𝗶𝗻 𝗮 𝘀𝗲𝗰𝗼𝗻𝗱, sorted them into 16 folders, and wrote the layout back to the phone with one command.
Codex 内置的 Computer Use 功能通过 iPhone 镜像操作效率极低。它无法拖拽图标,每次拖拽都会变成页面滑动。最快的方法是连接数据线:它在一秒内读取了我的 𝟯 个页面和 𝟭𝟴𝟯 个图标,将它们整理到 16 个文件夹中,并通过一条命令将布局写回手机。
Plug your phone into your Mac and just drop this into Codex or Claude Code:
将手机连接到 Mac,然后将以下内容粘贴到 Codex 或 Claude Code 中:
Install leeguooooo/iphone-use from GitHub on this Mac and connect to my iPhone over the USB cable. Don't use iPhone Mirroring. For anything I have to do by hand (tapping Trust on the phone, turning on Developer Mode, signing in to an Apple ID in Xcode), stop and tell me exactly what to do. Once it's installed, export my whole Home Screen layout with iphone-use home-layout backup. Keep that original backup untouched so you can write it back if I don't like the result. Look at my current layout and the apps I have, then ask me which spots my thumb already knows and shouldn't move, which apps I use every day and need one tap away, and when I usually use my phone (commuting, work, workouts, before bed). Give me your guess for each question so I can correct it. Once I answer, leave the muscle-memory spots where they are, put daily apps on page one within thumb reach, and sort the rest into folders by situation. No folder longer than 2 pages. Don't touch the widgets or the Dock. Every time you generate a plist to write back, strip the fractional seconds from every date in it first, or the phone will report success and silently ignore it. Show me apply --dry-run first and only write after I confirm. After writing, run backup again and check it against the plan to confirm it actually changed. iOS will put apps that were only in the App Library back on the Home Screen. Find them by comparing with the original backup and move them back to the App Library.
在这台 Mac 上从 GitHub 安装 leeguooooo/iphone-use,并通过 USB 线缆连接到我的 iPhone。不要使用 iPhone 镜像功能。对于任何需要我手动操作的事项(如在手机上点击“信任”、开启开发者模式、在 Xcode 中登录 Apple ID),请停下来并明确告诉我具体该怎么做。 安装完成后,使用 iphone-use home-layout backup 导出我的整个主屏幕布局。保留原始备份不动,以便如果我不满意结果,你可以将其写回。 查看我当前的布局和已安装的应用,然后询问我拇指已经熟悉的位置有哪些不应移动,哪些是我每天使用且需要一键直达的应用,以及我通常在什么场景下使用手机(通勤、工作、锻炼、睡前)。针对每个问题给出你的推测,以便我进行纠正。 在我回答后,保持肌肉记忆中的位置不变,将日常应用放在第一页且在拇指可触及范围内,其余应用按使用场景归类到文件夹中。每个文件夹不超过 2 页。不要触碰小组件和 Dock 栏。 每次生成用于写回的 plist 文件时,先移除其中所有日期的毫秒部分,否则手机会报告成功但静默忽略。先向我展示 apply --dry-run 的结果,仅在得到我确认后执行写入。 写入完成后,再次运行备份,并与计划对比以确认更改确实生效。iOS 会将仅存在于 App 资源库中的应用放回主屏幕。通过与原始备份对比找到这些应用,并将它们移回 App 资源库。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力