<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Gaurav Jiandani on Medium]]></title>
        <description><![CDATA[Stories by Gaurav Jiandani on Medium]]></description>
        <link>https://medium.com/@jiandanigaurav?source=rss-c2f7e2e7a067------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XWWeNs05qTNPtVyUGROldQ.jpeg</url>
            <title>Stories by Gaurav Jiandani on Medium</title>
            <link>https://medium.com/@jiandanigaurav?source=rss-c2f7e2e7a067------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:23:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jiandanigaurav/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Copy Text From Claude Code Without Line Breaks]]></title>
            <link>https://medium.com/@jiandanigaurav/how-to-copy-text-from-claude-code-without-line-breaks-0ae6b73792c9?source=rss-c2f7e2e7a067------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ae6b73792c9</guid>
            <category><![CDATA[ai-coding]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Gaurav Jiandani]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 10:29:10 GMT</pubDate>
            <atom:updated>2026-10-26T10:29:10.853Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Why every mouse-copy from the Claude Code terminal arrives chopped into lines, why the usual workarounds fall short, and a small Claude Code mod that fixes the clipboard the moment you press ⌘C. The prompt to build it yourself is at the end.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_flFKxEpwFo3tIJ4UokRaw.png" /></figure><p>Last week Claude Code handed me a curl command to renew a TLS certificate through the Laravel Forge API. I selected it with the mouse, pressed ⌘C, typed ! in the prompt, pasted, hit Enter. The shell ran four commands instead of one: curl complained that -X had no argument, then zsh: command not found: POST. The line had wrapped on screen, and every wrap had become a real newline in my clipboard.</p><p>If you use Claude Code in a terminal, you have met this. It is not a quirk of my setup. It is the most upvoted open bug in the Claude Code repository.</p><ul><li><a href="https://github.com/anthropics/claude-code/issues/18170"><strong>#18170</strong></a><strong> copy/paste from terminal includes unwanted indentation and trailing spaces</strong> — 301 thumbs-up, 138 comments, open</li><li><a href="https://github.com/anthropics/claude-code/issues/15199"><strong>#15199</strong></a><strong> CLI output formatting artifacts break copy/paste</strong> — 111 thumbs-up, 28 comments, open, canonical</li><li><a href="https://github.com/anthropics/claude-code/issues/43113"><strong>#43113</strong></a><strong> add a flag to emit long lines and let the terminal wrap</strong> — 68 thumbs-up, 16 comments, open</li><li><a href="https://github.com/anthropics/claude-code/issues/81472"><strong>#81472</strong></a><strong> meta issue tracking 42 copy/paste reports</strong> — 15 thumbs-up, 10 comments, open</li></ul><p>The comments read the same way everywhere. “Please fix this, it’s driving me nuts. I have to keep asking Claude Code to generate plan documents when I would much prefer to quickly whip the text out of my Terminal window” (22 reactions). “Claude Code inserts a real \n at every wrap point, so one paragraph lands in my clipboard as a dozen hard-wrapped fragments.&quot; One person lost a Docker container to it: the clipboard got a hard newline inside sudo docker compose build &amp;&amp; sudo docker compose up -d, so the container was removed and rebuilt but never started. &quot;Took three tries before I figured out it wasn&#39;t my paste.&quot;</p><p>The bug has been open since December 2025 with no maintainer response on the canonical thread. So here is what is actually happening, what people have tried, and the fix I ended up with.</p><h3>Why the copy breaks</h3><p>Your terminal can wrap a long line two ways. A normal program prints the line as one long string and the terminal <em>soft-wraps</em> it to the window width. The wrap is only visual. Select and copy, and you get the original line back.</p><p>Claude Code renders its interface with Ink, a React renderer for terminals. Ink lays text out itself, and to do that it wraps with wrap-ansi in hard mode, which writes a real \n character wherever the line reaches the terminal width. The continuation rows also get two spaces of indentation from the layout box. On screen the two cases look identical. In the bytes, one has a space at the wrap point and the other has a newline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5CTa7p5r_S5Fu-nzoEbXlw.png" /></figure><p>Your terminal cannot tell the difference, because the newline really is there. That is why none of the terminal-level tricks work: iTerm2’s “copy with soft wraps joined”, tmux’s capture-pane -J, Ghostty, Windows Terminal block select. They all faithfully copy what was written.</p><h3>What people try, and why it is not enough</h3><p>I went through the threads so you do not have to.</p><ul><li><strong>/copy</strong> — Copies the last response from source, with a picker for code blocks. <em>Where it falls short:</em> Only the last response, only via a command, and you get Markdown source rather than what is on screen</li><li><strong>/tui fullscreen</strong> — In-app mouse selection that joins wrapped rows. <em>Where it falls short:</em> Heavier renderer, reports of the macOS clipboard being hijacked, breaks over SSH, drops text if rows scroll during the drag</li><li><strong>A CLAUDE.md rule “never hard-wrap”</strong> — Asks the model to format differently. <em>Where it falls short:</em> “It’s going to work until it doesn’t.” The model forgets, and it is the renderer wrapping, not the model</li><li><strong>Ask Claude to </strong><strong>pbcopy it</strong> — Puts the text on the clipboard from the Bash tool. <em>Where it falls short:</em> Works, but every copy becomes a round-trip through the model and a permission prompt</li><li><strong>Write it to a file</strong> — Avoids the screen entirely. <em>Where it falls short:</em> Same cost, and you still cannot copy a paragraph you are reading</li><li><strong>stty cols 9999, </strong><strong>COLUMNS=9999</strong> — Widen the layout. <em>Where it falls short:</em> Width is read via ioctl; COLUMNS is ignored and stty breaks the prompt</li><li><strong>Web and desktop “clipboard cleaners”</strong> — Strip the breaks after the fact. <em>Where it falls short:</em> You are pasting your clipboard into someone else’s tool. One closed-source app got the reply “Please no one download this”</li><li><strong>A </strong><strong>UserPromptSubmit hook</strong> — Could rewrite the paste before Claude sees it. <em>Where it falls short:</em> Hooks cannot rewrite the prompt, only block it or add context, and ! commands fire no hooks at all. And it would not help Slack</li></ul><p>The pattern is clear. Anything on the model side is fragile and costs tokens. Anything on the terminal side is blind. Anything on the paste side only fixes one destination.</p><p>The one place that sees every copy and every destination is the clipboard itself.</p><h3>The fix: clean the clipboard the moment you copy</h3><p>Since early October 2026 (version 2.1.287 and later) Claude Code can load <strong>mods</strong>: a plugin folder with a hooks module that runs inside Claude Code and gets a small API, including a way to spawn a process, write the clipboard, show a toast and register a slash command. That is all a clipboard cleaner needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tv7kfQZUnbFX7uXhvV6ekw.png" /></figure><p><strong>1. Notice the copy without polling.</strong> The mod spawns one long-lived osascript -l JavaScript child. That script imports AppKit and reads NSPasteboard.generalPasteboard.changeCount four times a second, printing one JSON line when the number changes. Reading a counter in-process costs microseconds. The naive alternative, running pbpaste twice a second, measured at 6.5 ms per call, about 1.3% of a core all day. The watcher sits at 0.0% in Activity Monitor and exits on its own when Claude Code does.</p><pre>ObjC.import(&#39;AppKit&#39;); ObjC.import(&#39;unistd&#39;);<br>const pb = $.NSPasteboard.generalPasteboard;<br>const out = $.NSFileHandle.fileHandleWithStandardOutput;<br>const ppid = $.getppid();<br>let last = null;<br>while (true) {<br>  if ($.getppid() !== ppid) break;            // Claude Code is gone, so are we<br>  const c = String(pb.changeCount);<br>  if (c !== last) {<br>    last = c;<br>    const s = pb.stringForType($.NSPasteboardTypeString);<br>    emit({ c, text: s.isNil() ? null : ObjC.unwrap(s) });<br>  }<br>  delay(0.25);<br>}</pre><p><strong>2. Decide which newlines were wraps.</strong> This is the whole problem. A copied shell script has real newlines; a copied paragraph has fake ones. The trick is that wrapped rows fill the width. Take the longest row as the wrap width W, then walk the rows in pairs:</p><ul><li>If row A plus one space plus the first word of row B would exceed W, the next word did not fit. That newline is a wrap. Join with a space.</li><li>If row A is exactly W wide and A&#39;s last word plus B&#39;s first word is longer than W, one long token (a URL, a path) was sliced at the width. Join with no space.</li><li>Otherwise the next word would have fit, so the author meant the line break. Keep it.</li></ul><p>Blank lines, list markers, lines ending in ;, &amp;&amp;, |, {, and lines starting with }, fi, done, # are never joined. And if W is wider than the terminal, the text came from another window and is left alone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gaz5DiyLOEKU9oNoYY-rCA.png" /></figure><pre>const fw = firstWordWidth(line)<br>const rowWidth = cellWidth(lastRow)<br>if (rowWidth === width &amp;&amp; lastWordWidth(lastRow) + fw &gt; width) {<br>  out[out.length - 1] += line        // a token cut at the width<br>} else if (rowWidth + 1 + fw &gt; width) {<br>  out[out.length - 1] += &#39; &#39; + line  // a word-boundary wrap<br>} else {<br>  out.push(line)                     // a real newline<br>}</pre><p><strong>3. Write it back and say so.</strong> $.ui.copy({ text }) writes the clipboard the same way /copy does. A toast in Claude Code reads Clipboard: joined 4 wrapped lines (/unwrap undo). /unwrap undo puts the raw copy back, /unwrap off stops the watcher, /unwrap runs it by hand.</p><p>That is the entire mod: about 330 lines including comments.</p><h3>Two things that bit me</h3><p><strong>The selection starts mid-indent.</strong> My first live test failed. Claude Code indents every row of a message by two spaces, but when you start dragging at the first word, the first row loses its indent and the continuation rows keep theirs. I was stripping the indent shared by <em>all</em> rows, which was zero, so the second row still started with spaces and my “indented line, leave it alone” guard blocked the join. The fix is to take the indent from the continuation rows and trim the first row by at most that much.</p><p><strong>Characters are not columns.</strong> The renderer wraps by terminal cells, not characters. A Japanese character or an emoji takes two cells. Measured in characters, a row of wide text looks half as long as it was drawn, and the rule above stops recognising wraps. Measuring in cells fixed it. It also exposed a bug in my test fixture: fold -w 80 counts bytes, which is wrong in a third way.</p><p>Both came out of testing against the real clipboard rather than unit tests alone. The engine’s test kit ran nine cases (the original curl, wrapped prose with the ⏺ marker, a short script that must stay untouched, a sliced URL, wide-character rows, undo), and then a shell script wrote each fixture into pbcopy, waited a second, and diffed pbpaste.</p><h3>Build it yourself in one prompt</h3><p>I built this with Claude Code itself, and you can too. Paste the following into Claude Code 2.1.308 or later on macOS. It loads the bundled plugin-authoring skill and specifies the mod closely enough that the result matches what is described here, tests included. When Claude Code asks &quot;Turn on the mods Claude writes in this session?&quot;, choose <strong>Turn them on</strong>.</p><pre>Build me a Claude Code mod called `clean-copy`. Load the `plugin-authoring` skill first and follow its layout (`.claude-plugin/plugin.json`, `hooks/hooks.json`, `hooks/register.ts`, a `tests/*.test.ts`, a README).</pre><pre>Problem it solves: Claude Code&#39;s terminal renderer wraps long lines by writing real newline characters at the terminal width. When I select output with the mouse and press ⌘C, commands arrive split over several lines and prose pastes with ragged breaks (open issue anthropics/claude-code #15199). Fix it on the clipboard, right after the copy, so it works for pasting anywhere.</pre><pre>Behaviour:<br>1. On `session.start`, spawn ONE long-lived watcher with `$.process.spawn`: `osascript -l JavaScript -e &lt;script&gt;`. The script imports AppKit and unistd, reads `NSPasteboard.generalPasteboard.changeCount` every 250 ms, exits when its parent pid changes, and prints one JSON line `{ &quot;c&quot;: &quot;&lt;count&gt;&quot;, &quot;text&quot;: &lt;string or null&gt; }` to stdout (via NSFileHandle, not console.log) whenever the count changes. Iterate the spawn&#39;s stdout, split on newlines, JSON.parse. Ignore the first emission (the clipboard from before the session). Put a unique marker comment like `/* clean-copy-pbwatch */` in the script so `pkill -f` can stop it.<br>2. For each new clipboard text: skip if empty, over 200 KB, without a newline, or equal to the last text we wrote. Otherwise run `unwrap(text, columns, minWidth)`.<br>3. `unwrap` (pure function, exported for tests):<br>   - normalise CRLF, strip trailing spaces; drop a leading `⏺ ` or `⎿ ` marker on the first row;<br>   - dedent by the indent shared by the continuation rows (not the first row: a selection often starts mid-indent);<br>   - measure in terminal cells, not characters: East Asian wide characters and emoji count 2, combining marks 0;<br>   - `W` = widest row. Return unchanged if `W &lt; minWidth` (default 60) or, when the terminal width is known, `W &gt; columns + 2` (text from a wider window is not ours);<br>   - walk the rows. Never join across a blank line, into a row that starts with whitespace or a list marker (`-`, `*`, `•`, `1.`), after a row ending in `;` `&amp;&amp;` `||` `|` `{` `then` `do` `else`, or into a row starting with `}` `fi` `done` `else` `elif` `esac` `#`. Otherwise: if the previous row is exactly `W` cells and its last word plus the next row&#39;s first word exceed `W`, a long token was cut: join with no space; else if `cells(prev) + 1 + firstWord(next) &gt; W`, a word-boundary wrap: join with one space; else keep the newline. Count joins. Use the previous ORIGINAL row for the test, not the accumulated line.<br>4. If joins &gt; 0: write the result back with `$.ui.copy({ text })`, remember it so the write-back is not reprocessed, keep the raw text for undo, and `$.ui.toast(&quot;Clipboard: joined N wrapped lines (/unwrap undo)&quot;)`.<br>5. Learn the terminal width from a `ui.render` hook on `{ component: &#39;AbovePrompt&#39; }`: store `e.props.bodyColumns`, then `return next(e)`.<br>6. Register `/unwrap` with `$.command.register` in `session.start` and answer it in a `command.run` hook: no argument runs the clean on the current clipboard (read with `$.process.run([&#39;pbpaste&#39;,&#39;-Prefer&#39;,&#39;txt&#39;])`, width from `e.columns`); `undo` writes the raw text back; `off` runs `pkill -f` on the marker; `on` restarts the watcher. Return `{}`.<br>7. `userConfig`: `auto` (boolean, default true) and `minWidth` (number, default 60). Wrap every `$` call in try/catch and toast at most one failure.</pre><pre>Tests, with `claude plugin test`, stubbing `process.run`, `ui.copy`, `ui.toast`, `command.register` and `session.start` beneath the plugin and driving `$.command.run({ command: &#39;unwrap&#39;, columns: 120 })`: a four-row wrapped curl command becomes one line; wrapped prose with a `⏺` marker and two-space indents becomes clean paragraphs with the blank line kept; a six-line short shell script is untouched; a URL cut exactly at the width is rejoined without a space; text wider than the terminal is untouched; a selection whose first row lost its indent still joins; `/unwrap undo` restores the raw text.</pre><pre>Then validate (`claude plugin validate`), run the tests, type-check, and tell me how to load it for every session via `CLAUDE_CODE_PLUGIN_DIRS` in `~/.claude/settings.json`. Finally prove it live: from your Bash tool, `printf` a wrapped four-row command into `pbcopy`, wait a second, `pbpaste`, and show me it came back as one line.</pre><p>To keep it for every session, add the folder to CLAUDE_CODE_PLUGIN_DIRS in ~/.claude/settings.json:</p><pre>&quot;env&quot;: {<br>  &quot;CLAUDE_CODE_PLUGIN_DIRS&quot;: &quot;/Users/you/mods/clean-copy&quot;<br>}</pre><h3>What it does not do</h3><ul><li><strong>macOS only</strong> as written. The watcher uses the macOS pasteboard through JavaScript for Automation. On Linux the same shape works with wl-paste --watch or an xclip loop; on Windows with a PowerShell Get-Clipboard loop.</li><li><strong>It is a heuristic.</strong> A script whose lines happen to fill the terminal width could be joined. That is what the toast and /unwrap undo are for: every automatic join announces itself, and one command reverses it.</li><li><strong>The mods API is marked early access.</strong> The hook names may change between releases. Everything here is against Claude Code 2.1.308.</li><li><strong>It is a workaround, not a fix.</strong> The right fix is in the renderer: emit long lines and let the terminal wrap, which is exactly what #43113 asks for. If this bug costs you time, add a thumbs-up on <a href="https://github.com/anthropics/claude-code/issues/15199">#15199</a> rather than a “+1” comment; the count is what gets noticed.</li></ul><p>Until then: select, ⌘C, paste. In one piece.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ae6b73792c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Paying $40 a Week to Clear Your Own Gallery]]></title>
            <link>https://medium.com/@jiandanigaurav/stop-paying-40-a-week-to-clear-your-own-gallery-fa8a947fd411?source=rss-c2f7e2e7a067------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa8a947fd411</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[photography]]></category>
            <dc:creator><![CDATA[Gaurav Jiandani]]></dc:creator>
            <pubDate>Mon, 07 Sep 2026 04:36:05 GMT</pubDate>
            <atom:updated>2026-10-26T10:29:45.959Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N1ZVVf2WitPuTI60_PJKGg.png" /></figure><p><em>Every Sunday my iPhone had a hundred new photos I would never open again. Now an app I built picks the keepers, explains itself, and asks before it touches anything.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q-Fs-2-GVwoDc6ER4TyYpQ.png" /></figure><p>It is Sunday night. The baby is finally asleep. I open Photos to send one picture to her grandparents and find eleven of the same one: the burst from the play mat, shot in a panic because in at least one of them her eyes had to be open. I zoom into the first. Then the second. By the sixth I cannot tell them apart any more, so I send the first one and leave all eleven where they are.</p><p>Scroll up a little. Nine good-morning forwards from the family WhatsApp group. Six screenshots: a delivery status, a payment confirmation, a tweet I meant to show someone. A photo of a receipt I needed for exactly one day. Over three months this added up to 993 photos, and the twenty I actually cared about were somewhere in the pile.</p><h3>The app that promised to fix it</h3><p>I downloaded the top cleaner in the App Store. It found “similar” photos and put a Best badge on one in each group. It did not say why. It wanted $11.99 a week. The reviews underneath told the rest of the story: “deleted years of photos”, “similar meant same room”, “five deletes a day unless you pay”. Apple’s own Duplicates album only catches exact copies and does nothing about bursts, forwards or screenshots.</p><p>I deleted the cleaner instead, and built the thing I wanted.</p><h3>What Sunday looks like now</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xp1alk4hB9hlr0Gp74SzQA.png" /></figure><p>The app scans the last three months, groups the bursts and re-takes, and marks one keeper in each group. Every other photo gets a sentence: “1 face with eyes closed”. “Lower face quality (0.61 vs 0.84)”. “Near-identical; keeper was taken first”. Disagree? Tap a different photo and it becomes the keeper. Want all eleven? Keep all. The app remembers your choice and never argues with it again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZTsgy0Zmyu_4R7c8otrwrQ.png" /></figure><p>Screenshots, WhatsApp forwards, receipts and screen recordings land in their own sections with a Select all button each. Then one tap on Apply. iOS shows its own “Allow PhotoCull to delete these photos?” dialog, and everything moves to Recently Deleted, where it waits thirty days in case I change my mind.</p><p>On my library that meant 84 groups and 193 photos, one keeper each, reviewed in the time it takes to drink a coffee. The next Sunday only the new photos are analysed, so the whole thing is a two-minute habit. Nothing leaves the phone. No account, no subscription, no ads, and it is free on GitHub.</p><h3>How it tells your kid from your sofa</h3><p>Nothing in the app is clever. It just uses things Apple already put in your phone and nobody bothered to wire together.</p><ul><li>Faces. iOS can score how good a photo of each face is, and whether the eyes are open and the person is smiling. Those three numbers decide most groups. A photo of a person is judged on the person, not on the composition.</li><li>“Utility” images. The same framework that scores photos for aesthetics also flags receipts, documents, whiteboards and memes. That flag alone finds most of the clutter.</li><li>WhatsApp forwards. When WhatsApp re-encodes an image it strips the camera make and model. A JPEG with no camera information is a photo you received, not one you took. No album needed.</li><li>Sameness. iOS can turn a photo into a fingerprint and measure how far apart two fingerprints are. Bursts and re-takes are close. Different scenes are far. All of it runs on the phone, about a tenth of a second per photo.</li></ul><h3>The day it grouped my whole afternoon</h3><p>The first version used the fingerprint distance everyone online seemed to use: 0.6. On my phone that put 81 percent of all compared photo pairs into groups. The baby on the mat, the baby on the bed and the birthday cake became one group with one keeper and ten deletions. It was, exactly, the failure from the one-star reviews, and I had built it in an afternoon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i12PJfLxj4gnFY53" /></figure><p>The fix was not a better number. It was a slider. I added a screen that draws every compared pair on a chart, lets me drag the threshold, and shows the groups that would form. At 0.05 the groups were exactly the bursts and re-takes, nothing else: 127 pairs instead of 3,053. Apple does not document the scale of that distance, and it changes between iOS versions. Whatever number you read anywhere, including here, is a guess until you have measured it on your own photos.</p><h3>For the engineers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OM-DL6aBS4LBq-hs" /></figure><p>The app is about 5,500 lines of Swift with one hard boundary. Everything that touches the device lives in the app target. Everything that decides lives in a pure-Swift package with no UIKit, Vision, PhotoKit or SwiftData imports and 70 unit tests that run on a Mac in seconds. The whole pipeline is one call: Planner(thresholds:).plan(metrics:distance:) takes per-photo metrics and a distance closure and returns groups, keepers, reasons and decisions.</p><p>The per-photo analysis is four Vision requests, one Core Image detector and an EXIF probe, all in iOS 18 and later:</p><pre>let handler = ImageRequestHandler(cgImage)<br>let print      = try await handler.perform(GenerateImageFeaturePrintRequest())<br>let aesthetics = try await handler.perform(CalculateImageAestheticsScoresRequest())<br>let faces      = try await handler.perform(DetectFaceCaptureQualityRequest())<br>// CIDetector adds eyes-open and smile per face, matched to Vision faces by IoU<br>// RecognizeTextRequest runs only when the result could change a decision</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wShZj9skmdP0uwln" /></figure><p>Deleting is the one thing the app must never get wrong, so the safety rules are structural. PHAssetChangeRequest.deleteAssets appears in exactly one place, behind the Apply screen&#39;s confirmed action, as a single performChanges call. Favorites are never candidates. Every candidate is re-fetched by identifier right before deletion and skipped if it was modified after analysis. Your own decisions are never re-scored. URLSession appears in one file, an optional Claude second opinion for genuine ties that is off by default, needs your own key, asks before every batch, and can only move the keeper inside the tie.</p><p>Videos get the same treatment with different signals: exact duplicates by duration, size and dimensions; same-take similarity from three sampled frames; screen recordings by exact screen dimensions. Nothing is ever downloaded from iCloud to analyse it.</p><p>The full write-up, with the timing numbers, the calibration data and the market comparison, is in the repo.</p><h3>Try it</h3><p>Clone <a href="https://github.com/GauravJiandaniGJ/photocull">github.com/GauravJiandaniGJ/photocull</a>, put your team and bundle id in project.yml, run xcodegen generate, and deploy to your phone. Then, before you trust a single group, open Settings, long-press the version number, and calibrate. Your number will not be my number. That is the point.</p><p>MIT licensed. If it saves you a Sunday, tell me what it got wrong.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa8a947fd411" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Wife Was Drowning in LinkedIn Revisions. So I Built Her a System.]]></title>
            <link>https://medium.com/@jiandanigaurav/my-wife-was-drowning-in-linkedin-revisions-so-i-built-her-a-system-d6461ceca98c?source=rss-c2f7e2e7a067------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6461ceca98c</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[linkedin]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Gaurav Jiandani]]></dc:creator>
            <pubDate>Sun, 01 Feb 2026 05:31:37 GMT</pubDate>
            <atom:updated>2026-02-01T15:46:34.061Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kXUlIQXb73i9RXCOW85NtA.png" /><figcaption>AI reflection system</figcaption></figure><p>My wife handles business development. LinkedIn is her battlefield.</p><p>One evening, she vented:</p><p>“Writing posts is easy now — ChatGPT does that. But reviewing them? Fixing the tone, simplifying jargon, sending it back to the junior, correcting it again… <strong>that’s</strong> what’s killing my time.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*clKugjfahxfK8_6Vi0uT9Q.png" /><figcaption>Wife busy with LinkedIn Revisions</figcaption></figure><p>I watched her go through six rounds of revisions for a single 60-word post.</p><p>As a developer, I knew there had to be a better way.</p><h3>Her Daily Reality</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7yFM3r46yE-_jnhy2HbwSw.png" /><figcaption>Review cycle of Writing -&gt; Updates -&gt; Re-drafting -&gt; Validation -&gt; Final touch -&gt; loop</figcaption></figure><p>Same cycle. Every single post.</p><p>Draft comes in. Too technical. Send it back. New version. Still jargon-y. Send it back. Revised again. Tone is off. Send it back.</p><p>4–6 rounds. Hours lost. For 60 words.</p><h3>She Was The Bottleneck</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgCDBNmKNqZne_S-nWP49w.png" /><figcaption><strong>Wife</strong> being the Bottleneck</figcaption></figure><p>Content waiting. One person reviewing.</p><p>Not because she wanted control. Because ChatGPT couldn’t tell when something was too technical for her audience.</p><p>It wrote fast. It couldn’t review itself.</p><h3>“Just Write Better Prompts”</h3><p>She tried that. We all have.</p><p>More context. Specific instructions. Examples. Personas.</p><p>The output improves. Then it flattens.</p><p><strong>One AI can’t catch its own blind spots.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Fct3mrQxzaGJTk-Eqbk7g.png" /><figcaption>AI can’t catch its own blind spots</figcaption></figure><h3>My Solution: Two AI Agents</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rdQJbpOVX2tdQaLqOU37Hw.png" /><figcaption>Two AI Agents reflecting each other’s work</figcaption></figure><p>What if we used two AIs instead of one?</p><p><strong>Writer</strong> creates drafts. Knows the technical stuff.</p><p><strong>Critic</strong> reads like a normal person. Doesn’t know jargon. Doesn’t want to learn.</p><p>They argue until the Critic understands.</p><p>Then it’s ready.</p><h3>How It Works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i1XWimy_VPywdze10PKeUQ.png" /><figcaption>system flow</figcaption></figure><p>Technical case study goes in.</p><p>Writer drafts. Critic questions. They iterate 2–4 times automatically.</p><p>Clean LinkedIn post comes out.</p><p><strong>30 seconds. Ready to publish.</strong></p><h3>The Transformation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_7CxKZcO_WaM78vhaDybdg.png" /><figcaption>Before | After</figcaption></figure><p>Before: Hours per post, mentally draining, she reviewed every revision.</p><p>After: 30 seconds, energy preserved, just a final glance.</p><p>Same quality. Zero drain.</p><h3>I Open-Sourced It</h3><p>The system works. So I made it available for anyone facing the same problem.</p><p><strong>What it does:</strong></p><ul><li>Takes any technical case study</li><li>Two AI agents refine it automatically</li><li>Outputs a crisp ~60 word LinkedIn post</li><li>Works with OpenAI, Gemini, or DeepSeek</li></ul><p><strong>GitHub</strong>: <a href="https://github.com/GauravJiandaniGJ/linkedin-case-studies-agentic">linkedin-case-studies-agentic</a></p><h3>The Lesson</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_f9MJ8TJLU4mith9QW1cJA.png" /></figure><p>Stop fighting AI with cleverer prompts.</p><p><strong>Design systems that think.</strong></p><p>Two agents working together beat one agent working harder.</p><h3>What’s Your Frustration?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-TgiDsGE9uT6Tcfge3ZKvg.png" /><figcaption>Reflection</figcaption></figure><p>I built this because someone I care about was frustrated.</p><p>Because I saw a repetitive problem that software could solve.</p><p>The best automation ideas are hiding in the daily friction of people around you.</p><p><em>What problem is someone near you struggling with that you could solve?</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6461ceca98c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No App. No Subscription. Just an iPhone Shortcut That Tracks Expenses in 5 Seconds.]]></title>
            <link>https://medium.com/@jiandanigaurav/no-app-no-subscription-just-an-iphone-shortcut-that-tracks-expenses-in-5-seconds-94d10779fed5?source=rss-c2f7e2e7a067------2</link>
            <guid isPermaLink="false">https://medium.com/p/94d10779fed5</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[expense-tracker]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[google-sheets]]></category>
            <dc:creator><![CDATA[Gaurav Jiandani]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 15:59:33 GMT</pubDate>
            <atom:updated>2026-01-26T06:28:22.144Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-akYaj6Pg5Vq1hwGhFlbLg.png" /></figure><p><em>Just a simple automation that changed how my wife and I manage money.</em></p><p>Tracking daily household expenses with my wife was chaos.</p><p>Every evening, one of us would forget to log something. Or we’d open the spreadsheet, scroll to find the right row, type the date, amount, description… and by the time we were done, we’d already forgotten another expense.</p><p>Sound familiar?</p><p>I’m a software engineer, and I kept thinking — there has to be a better way. Something faster. Something that doesn’t feel like a chore.</p><p>So one evening after work, I built a simple iPhone automation. It took me about 30 minutes to set up, and now?</p><p><strong>We log expenses in under 5 seconds. One tap. Done.</strong></p><p>No app to download. No subscription. Completely free.</p><p>Here’s exactly how I built it — and how you can too.</p><h3>What We’re Building</h3><p>A system where you tap an icon, enter an amount, and it’s instantly saved to Google Sheets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3wuH0TmjJ3_G_2RYPtUMZg.png" /></figure><p>That’s it. Three steps. Five seconds.</p><p>Both my wife and I have this shortcut on our phones. We use the same Google Sheet, so all our expenses are in one place. At the end of the month, we can see exactly where our money went.</p><h3>The Tech Stack (All Free)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fgAZW0pJKxCa5V1B3n9-rg.png" /></figure><ul><li><strong>iPhone Shortcuts</strong> — Apple’s built-in automation app</li><li><strong>Google Apps Script</strong> — A free webhook to receive data</li><li><strong>Google Sheets</strong> — Our “database”</li></ul><p>That’s it. No third-party apps. No APIs to pay for. No servers to maintain.</p><h3>Step 1: Create Your Google Sheet</h3><p>First, let’s set up where your data will live.</p><ol><li>Go to <a href="https://sheets.google.com/">sheets.google.com</a></li><li>Create a new spreadsheet</li><li>Name it something like “Daily Expenses”</li><li>In Row 1, add these headers:</li></ol><p>Date Amount Description Who</p><ol><li>Copy the <strong>Sheet ID</strong> from your URL. It’s the long string between /d/ and /edit:</li></ol><pre>https://docs.google.com/spreadsheets/d/THIS_IS_YOUR_SHEET_ID/edit</pre><p>Save this ID — you’ll need it in the next step.</p><h3>Step 2: Create the Google Apps Script</h3><p>This is the “backend” that receives data from your iPhone and adds it to the sheet.</p><ol><li>Go to <a href="https://script.google.com/">script.google.com</a></li><li>Click <strong>New Project</strong></li><li>Name it “Expense Logger”</li><li>Delete any existing code and paste this:</li></ol><pre>function doPost(e) {<br>  // Replace with YOUR Sheet ID<br>  const SHEET_ID = &#39;YOUR_SHEET_ID_HERE&#39;;<br>  <br>  const sheet = SpreadsheetApp.openById(SHEET_ID).getActiveSheet();<br>  const data = JSON.parse(e.postData.contents);<br>  <br>  sheet.appendRow([<br>    new Date().toLocaleString(&#39;en-IN&#39;, {timeZone: &#39;Asia/Kolkata&#39;}),<br>    data.amount,<br>    data.description,<br>    data.who<br>  ]);<br>  <br>  return ContentService.createTextOutput(&#39;OK&#39;);<br>}</pre><ol><li>Replace YOUR_SHEET_ID_HERE with your actual Sheet ID</li><li>Click <strong>Deploy</strong> → <strong>New deployment</strong></li><li>Choose <strong>Web app</strong> as the type</li><li>Set these options:</li></ol><ul><li>Execute as: <strong>Me</strong></li><li>Who has access: <strong>Anyone</strong> <em>(this is important!)</em></li></ul><ol><li>Click <strong>Deploy</strong></li><li>Authorize when prompted (click “Advanced” → “Go to Expense Logger”)</li><li>Copy the <strong>Web app URL</strong></li></ol><p>This URL is your webhook — it’s what your iPhone will call to save expenses.</p><h3>Step 3: Build the iPhone Shortcut</h3><p>Now for the fun part. Open the <strong>Shortcuts</strong> app on your iPhone.</p><p>Here’s the complete flow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MK44WVOTbwBwOtN1wXE5Cg.png" /></figure><p>Let me break it down step by step:</p><p><strong>Action 1: Ask for Input</strong></p><ul><li>Type: Number</li><li>Prompt: “Amount ₹”</li></ul><p><strong>Action 2: Set Variable</strong></p><ul><li>Name: amount</li></ul><p><strong>Action 3: Ask for Input</strong></p><ul><li>Type: Text</li><li>Prompt: “Description”</li></ul><p><strong>Action 4: Set Variable</strong></p><ul><li>Name: description</li></ul><p><strong>Action 5: List</strong></p><ul><li>Add two items: Your name, Partner’s name</li><li>(Put your name first — it becomes the default)</li></ul><p><strong>Action 6: Choose from List</strong></p><p><strong>Action 7: Set Variable</strong></p><ul><li>Name: who</li></ul><p><strong>Action 8: Text</strong></p><pre>{&quot;amount&quot;:&quot;[amount]&quot;,&quot;description&quot;:&quot;[description]&quot;,&quot;who&quot;:&quot;[who]&quot;}</pre><p><em>(Tap to insert the variables — no spaces around them!)</em></p><p><strong>Action 9: Get Contents of URL</strong></p><ul><li>URL: Your Web App URL from Step 2</li><li>Method: <strong>POST</strong></li><li>Headers: Add Content-Type = application/json</li><li>Request Body: <strong>File</strong></li><li>File: Select the Text from Action 8</li></ul><p><strong>Action 10: Show Notification</strong></p><ul><li>“₹[amount] saved ✓”</li></ul><h3>Step 4: Add to Home Screen</h3><ol><li>Long press your shortcut</li><li>Tap <strong>Share</strong> → <strong>Add to Home Screen</strong></li><li>Give it a name (I use “₹ Log”)</li><li>Choose a nice icon</li><li>Done!</li></ol><p>Now you have a one-tap expense logger right on your home screen.</p><h3>Setting Up for Your Partner</h3><p>The best part? Your partner can use the exact same system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MxshtQHIWHcBQP8EZsvtsQ.png" /></figure><ol><li>Share the shortcut to them (AirDrop or iMessage)</li><li>They edit the <strong>List</strong> action — drag their name to the top</li><li>They use the <strong>same webhook URL</strong></li><li>Both of you log to the same Google Sheet</li></ol><p>No need for a shared app, no syncing issues, no “did you update the spreadsheet?” questions.</p><h3>Why This Beats Expense Apps</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dzQ8RFRHTLjGEIMQpSNjkQ.png" /></figure><p>I’ve tried Splitwise, YNAB, and a dozen other expense apps. Here’s why this simple system beats them all:</p><p><strong>Speed</strong>: 5 seconds vs 30+ seconds to open an app, navigate, and enter data.</p><p><strong>Zero friction</strong>: It’s on my home screen. No login, no loading screens.</p><p><strong>Free forever</strong>: No subscription, no premium features locked away.</p><p><strong>Full control</strong>: It’s my data in my spreadsheet. I can export, analyze, or delete it anytime.</p><p><strong>Works for couples</strong>: Same sheet, two phones, no sync issues.</p><p><strong>Offline-friendly</strong>: The shortcut queues requests if you’re offline.</p><h3>The Result</h3><p>After a month of using this system, here’s what our sheet looks like:</p><p>Date Amount Description Who 18/1/2026, 9:30 AM ₹450 Grocery — BigBasket Gaurav 18/1/2026, 12:15 PM ₹80 Auto rickshaw Kaira 18/1/2026, 7:45 PM ₹1,200 Electricity bill Gaurav 18/1/2026, 8:30 PM ₹350 Dinner — Swiggy Kaira</p><p>Every expense, timestamped, with who paid. We can filter by person, add formulas for totals, create charts — it’s just a spreadsheet, so the possibilities are endless.</p><h3>Common Issues &amp; Fixes</h3><p><strong>“Script function not found: doPost”</strong> → Create a new deployment and update the URL in your shortcut.</p><p><strong>“400 Bad Request”</strong> → Wait 5 minutes (Google rate limits rapid requests), then try again with a new deployment.</p><p><strong>Data appearing in wrong columns</strong> → Check your JSON text block. There should be no spaces around variables. It should be {&quot;amount&quot;:&quot;[amount]&quot;...} not {&quot;amount&quot;:&quot; [amount] &quot;...}</p><p><strong>Google sign-in page appears</strong> → Make sure deployment is set to “Anyone” not “Anyone with Google account”.</p><h3>Get the Free Template</h3><p>I’ve open-sourced everything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*142YITsUtu5MU0yRZZdJ0A.png" /></figure><p><strong>GitHub</strong>: <a href="https://github.com/GauravJiandaniGJ/iphone-cash-logger-shortcut">github.com/GauravJiandaniGJ/iphone-cash-logger-shortcut</a></p><p>The repo includes:</p><ul><li>Complete Google Apps Script code</li><li>Step-by-step setup guide</li><li>Screenshots and diagrams</li><li>Troubleshooting tips</li></ul><p>⭐ Star the repo if you find it useful!</p><h3>What’s Next?</h3><p>I’m planning to add:</p><ul><li>Expense categories (Food, Transport, Bills, etc.)</li><li>Monthly summary automation</li><li>Budget alerts when spending exceeds limits</li><li>Siri voice integration (“Hey Siri, log expense 500 for groceries”)</li></ul><p>Follow me for updates when these are ready.</p><h3>Final Thoughts</h3><p>The best productivity system is the one you actually use.</p><p>For me, that meant making expense tracking so fast and frictionless that there’s no excuse not to do it. Five seconds. One tap. Done.</p><p>If you build this, let me know how it goes. I’d love to hear if it helps you and your family manage expenses better.</p><p><em>If you found this useful, follow me for more productivity automations.</em></p><p><strong>Gaurav Jiandani</strong><br>Senior Software Engineer • 10+ years building software</p><p><a href="https://twitter.com/gauravjiandani">Twitter</a> · <a href="https://github.com/GauravJiandaniGJ">GitHub</a> · <a href="https://gauravjiandani.com/">Website</a></p><h3>Tags</h3><p>Productivity Automation iPhone Google Sheets Personal Finance Expense Tracking Shortcuts No-Code Money Management</p><h3>About the Author</h3><p>Gaurav Jiandani is a senior software engineer with 9+ years of experience architecting backend systems for SaaS products, booking platforms, and e-commerce applications. He works across Laravel, Python, and Vue.js, with a focus on building systems that scale and don’t break at 2 AM. Outside client work, he tinkers with AI automation and shares what he learns.</p><p><a href="https://www.instagram.com/gj_288/">Instagram</a> • <a href="https://github.com/GauravJiandaniGJ">GitHub</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94d10779fed5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rephraser on iPhone — Now I Save Time Everywhere]]></title>
            <link>https://medium.com/@jiandanigaurav/rephraser-on-iphone-now-i-save-time-everywhere-a83548ad4430?source=rss-c2f7e2e7a067------2</link>
            <guid isPermaLink="false">https://medium.com/p/a83548ad4430</guid>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ios-shortcuts]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Gaurav Jiandani]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 15:42:35 GMT</pubDate>
            <atom:updated>2026-01-18T15:44:18.526Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WqbNMjYDzR9IV9iioryX5A.png" /></figure><p><em>Part 2 of my productivity automation series. </em><a href="https://medium.com/@jiandanigaurav/a83548ad4430"><em>Read Part 1: How I saved 16.5 hours/month with a Mac hotkey</em></a></p><h3>The Problem (Again)</h3><p>After building <a href="https://github.com/gauravjiandani/mac-rephraser">Mac Rephraser</a>, I realized I was still doing the ChatGPT dance on my <strong>iPhone</strong>.</p><p><strong>The old flow:</strong></p><pre>Write → Copy → Open ChatGPT → Paste → &quot;Rephrase this&quot; → Wait → Copy → Go back → Paste</pre><p>9 steps. On a small screen. With app switching. Painful.</p><h3>The Solution: iOS Shortcut + Action Button</h3><p>I built an iOS Shortcut that:</p><ol><li>Grabs text from clipboard</li><li>Sends it to OpenAI API</li><li>Copies the rephrased text back</li></ol><p>Triggered by the <strong>iPhone Action Button</strong> — one physical press.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jJaTp4WjsJYpnBKDYn-44Q.png" /></figure><h3>The New Flow</h3><pre>Select → Copy → Press Action Button → Paste</pre><p><strong>4 steps instead of 9.</strong></p><h3>How to Build It (10 minutes)</h3><h3>Prerequisites</h3><ul><li>iPhone with Action Button (iPhone 15 Pro or later)</li><li>OpenAI API key</li></ul><h3>Step 1: Create the Shortcut</h3><p>Open <strong>Shortcuts</strong> app → Tap <strong>+</strong></p><p>Add these actions in order:</p><p># Action Configuration 1 Get Clipboard — 2 URL https://api.openai.com/v1/chat/completions 3 Get Contents of URL Method: POST, Headers &amp; Body (see below) 4 Get Dictionary Value Key: choices 5 Get Item from List First Item 6 Get Dictionary Value Key: message 7 Get Dictionary Value Key: content 8 Copy to Clipboard — 9 Show Notification &quot;✨ Rephrased!&quot;</p><h3>Step 2: Configure the API Call</h3><p>In “Get Contents of URL”:</p><p><strong>Headers:</strong></p><ul><li>Authorization: Bearer YOUR_API_KEY</li><li>Content-Type: application/json</li></ul><p><strong>Request Body (JSON):</strong></p><ul><li>model: gpt-4o-mini</li><li>messages: Array with 2 items</li><li>Item 1: role = system, content = Rephrase the following text to fix grammar and improve clarity. Only output the rephrased text.</li><li>Item 2: role = user, content = [Select &quot;Clipboard&quot; variable]</li></ul><h3>Step 3: Set Up Action Button</h3><p><strong>Settings → Action Button → Shortcut → Select “Rephraser”</strong></p><p>Done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zeOSgwTaPo3Dh_KI-Z_nUA.png" /></figure><h3>The Complete Setup</h3><p>Device Trigger Time Saved</p><p>Mac Ctrl+Option+R ~17 sec/message</p><p>iPhone Action Button ~15 sec/message</p><h3>My Results</h3><p>After 1 week of using both:</p><p>Metric Value Mac uses 300+ iPhone uses 50+ Estimated time saved ~2 hours</p><h3>Get the Mac Version</h3><p>The Mac app is open source: <a href="https://github.com/gauravjiandani/mac-rephraser">github.com/gauravjiandani/mac-rephraser</a></p><h3>What’s Next?</h3><p>Thinking about:</p><ul><li>Sharing the iOS Shortcut as a downloadable</li><li>Adding tone options (formal/casual/concise)</li><li>Voice input integration</li></ul><p><em>If you found this useful, follow me for more productivity automations.</em></p><p><strong>Gaurav Jiandani</strong><br>Senior Software Engineer • 10+ years building software</p><p><a href="https://twitter.com/gauravjiandani">Twitter</a> · <a href="https://github.com/GauravJiandaniGJ">GitHub</a> · <a href="https://gauravjiandani.com/">Website</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a83548ad4430" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Saved 16 Hours a Month by Building a Tiny AI Tool on My Mac]]></title>
            <link>https://medium.com/@jiandanigaurav/saved-9-000-operations-a-month-by-building-a-tiny-ai-tool-on-my-mac-ed9d189b12c9?source=rss-c2f7e2e7a067------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed9d189b12c9</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[mac-apps]]></category>
            <dc:creator><![CDATA[Gaurav Jiandani]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 20:41:23 GMT</pubDate>
            <atom:updated>2026-01-26T06:14:32.586Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3sXUhHhKRrf2Ixk1Sj9xhA.png" /><figcaption>Mac Rephraser</figcaption></figure><p>I wasn’t trying to automate my life.<br>I was just tired of rewriting Slack messages.</p><p>Every client message followed the same ritual:</p><p>write → copy → open ChatGPT → paste → rephrase “…” → paste back.</p><p>Six tiny actions.<br>Hundred times a day.</p><p>That’s 16 hours <strong>a month</strong> — just to sound clearer.</p><pre>20 seconds for a message<br><br>100 messages a day = 2000 seconds = 33 minutes a day<br><br>33 x 30 days = 990 minutes = 16.5 hours a month<br><br>2 entire working days go into rephrasing &amp; sending messages</pre><p>So I stopped fixing the writing problem and fixed the workflow instead.</p><h3>The Insight: AI Works Best at the Friction Points</h3><p>Most AI tools want you to change how you work.<br>I wanted the opposite.</p><p>What if AI met me <em>where I already was</em>?</p><p>So I built a Mac-wide shortcut:</p><ul><li>Select text anywhere</li><li>Press Ctrl+Option+R</li><li>Text gets rephrased instantly</li></ul><p>No context switching. No tabs. No thinking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Dew0h4_Z4BlydlhaR4s-g.gif" /></figure><h3>Why This Matters for IT Professionals</h3><p>If you work in IT, you don’t waste time in big chunks.<br>You lose it in <strong>micro-frictions</strong>:</p><ul><li>Rewriting messages</li><li>Polishing tickets</li><li>Adjusting tone for clients</li></ul><p>AI isn’t powerful because it’s smart.<br>It’s powerful because it can remove these tiny costs — <em>if it’s placed correctly</em>.</p><h3>The Bigger Lesson About AI Automation</h3><p>The real win wasn’t speed.<br>It was <strong>mental load reduction</strong>.</p><p>I stopped thinking about <em>how</em> to say things and focused on <em>what</em> mattered.</p><p>That’s when AI becomes useful — not as a chatbot, but as infrastructure.</p><h3>If You’re Curious</h3><p><a href="https://github.com/GauravJiandaniGJ/mac-rephraser">GitHub - GauravJiandaniGJ/mac-rephraser: A Mac-wide text rephrasing tool powered by OpenAI. Select text anywhere, press **Ctrl+Option+R**, get it rephrased with proper grammar.</a></p><p>The tool is open-source.<br>Not because everyone needs it — but because someone might build a better version.</p><p>And that’s the real point: AI doesn’t need to be revolutionary.<br>It just needs to be <strong>well-placed</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed9d189b12c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>