<?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 Jared  Kerdsri on Medium]]></title>
        <description><![CDATA[Stories by Jared  Kerdsri on Medium]]></description>
        <link>https://medium.com/@jiradett?source=rss-a0f56b385cda------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BrSRr6ZHkrZxxCWpVIxUYQ.jpeg</url>
            <title>Stories by Jared  Kerdsri on Medium</title>
            <link>https://medium.com/@jiradett?source=rss-a0f56b385cda------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:54:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jiradett/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[Is Brisbane really safer than Melbourne? What the crime data shows]]></title>
            <link>https://jiradett.medium.com/is-brisbane-really-safer-than-melbourne-what-the-crime-data-shows-ca5e723744e6?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca5e723744e6</guid>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Wed, 28 Oct 2026 23:29:43 GMT</pubDate>
            <atom:updated>2026-10-28T23:29:43.857Z</atom:updated>
            <content:encoded><![CDATA[<p>A friend told me Brisbane was safer than Melbourne. I wanted to know whether the numbers backed that up.</p><p>I started with the 2025 national figures, looked back over a decade, then examined areas within both cities. The clearest finding is that Victoria has lower recorded rates for some selected offences, but these data do not establish that Melbourne is safer than Brisbane — or the reverse.</p><p>The distinction matters: states are not cities, and a recorded crime rate is not a complete measure of personal safety. Here is what each chart can actually tell us.</p><h3>Start with the national picture</h3><p>This first chart compares selected police-recorded victim rates per 100,000 residents. Using rates rather than raw counts accounts for differences in population size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8io9MJBdirNjtyEXFpp_zQ.png" /></figure><p>In this selection, the Northern Territory has the highest assault and sexual-assault rates and the largest calculated total. Among the six states, Western Australia has the largest selected-category total, at 1,750.7 per 100,000.</p><p>That total needs a careful reading. It adds homicide, assault, sexual assault and kidnapping/abduction. Murder, attempted murder and manslaughter are shown for detail but are not counted again. It excludes offences such as burglary, robbery and vehicle theft, so it is neither an all-crime index nor a count of unique victims.</p><p>Victoria also has a crucial limitation: ABS does not publish its assault figures in this collection. The approximately 711.7 shown here is a CSA Victoria proxy using A21, A22 and A23 principal-offence person victim reports. Different counting rules make it unsuitable for a clean comparison with the ABS assault figures elsewhere. Victoria’s total of approximately 810.7 inherits that limitation.</p><h3>Victoria versus Queensland: the offence changes the answer</h3><p>For categories published by ABS for both states, the comparison is more specific. In 2025, Queensland’s sexual-assault rate was 161.8 per 100,000, compared with Victoria’s 95.1. Homicide rates were 1.6 and 1.3 respectively. Kidnapping/abduction went the other way: Victoria recorded 2.6, compared with Queensland’s 0.7.</p><p>The following ranking excludes assault from every jurisdiction. It therefore uses the same three-category basket — homicide, sexual assault and kidnapping/abduction — throughout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Wt2wQaUAzZr-41_VOFdkA.png" /></figure><p>Victoria’s combined rate is 99.0 per 100,000, compared with Queensland’s 164.1: about 40% lower for this narrow basket. Sexual assault dominates the sum. This supports saying that Victoria recorded a lower rate for these selected offences; it does not mean Victoria was “40% safer” overall.</p><p>Police records also depend on reporting and recording practices. They describe what was recorded, not every crime that occurred or an individual resident’s probability of victimisation.</p><h3>Why population matters</h3><p>Victoria had about 7.07 million residents in June 2025, compared with Queensland’s 5.67 million — roughly 25% more. A larger population can produce a higher crime count even when the rate is lower. That is why these charts compare rates per 100,000 residents: recorded count divided by population, multiplied by 100,000.</p><p>But population size does not mean Victoria necessarily records more crime. For sexual assault in 2025, Victoria recorded 6,722 victims and Queensland 9,173. Victoria was lower on both the count and the population-adjusted rate: 95.1 versus 161.8 per 100,000. The conclusion depends on the offence; these figures cannot establish which state is safer overall.</p><p>A rate per 100,000 is also not the percentage of residents who experienced crime. The selected-category sums are not counts of unique people, and recorded offences and victim reports use different counting rules.</p><h3>What changed over the decade?</h3><p>The trend chart returns to the broader four-category total used in the first figure, with every state and territory on a shared logarithmic scale. This keeps the Northern Territory visible while spreading out the lower rates. Equal vertical distances represent equal ratios: a move from 500 to 1,000 takes the same space as 1,000 to 2,000. Read the labelled rates rather than treating vertical gaps as equal differences. Victoria’s assault component remains an approximate, non-comparable proxy: its lower line is not evidence of a clean all-crime or safety advantage. Solid lines end in 2025; dashed extensions and open markers show illustrative 2026 estimates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICgYA2dXH5lRt0Ju82E_mg.png" /><figcaption>Logarithmic scale: equal distances show equal ratios. Right-hand labels are illustrative 2026 estimates per 100,000 residents; dashed lines and open markers distinguish them from source data. Victoria uses an approximate, non-comparable assault proxy.</figcaption></figure><p>Queensland’s complete total begins in 2022 because ABS assault data were not published for 2010–2021. The earlier gaps are unavailable data, not zero crime. In the available series, Queensland’s total fell from 1,276.3 in 2024 to 1,208.5 in 2025; Victoria’s approximate total moved from 813.2 to 810.7.</p><p>Those movements do not automatically describe Brisbane or Melbourne. They also cross changes in how crime is recorded: Queensland changed domestic and family violence recording practices in July 2021, the Northern Territory introduced a new recording system in November 2023, and classification changes in 2025 affect interpretation. The decade is useful context, not a perfectly consistent measure of underlying offending.</p><h3>What about 2026?</h3><p>As at 29 October 2026, full calendar-year 2026 national Recorded Crime — Victims data are not yet available. The latest ABS release covers 2025 and was released on 3 September 2026. Some state releases cover part of 2026 or a rolling year, but they are not a complete, comparable national calendar-year snapshot.</p><p>We can extrapolate a trend, provided we keep it separate from observed data. As a simple illustrative scenario, repeating the absolute change from 2024 to 2025 would put Queensland’s selected four-category total at 1,140.7 per 100,000 in 2026, and Victoria’s approximate total at 808.2. The calculation is 2025 rate + (2025 rate − 2024 rate). The same calculation is applied to every jurisdiction’s dashed extension in the chart. These are modelled rates, not observed 2026 figures or a forecast of total crime. No uncertainty interval has been estimated.</p><p>This scenario assumes the latest annual movement repeats. It does not model reporting changes, population changes, policy or uncertainty, and Victoria’s assault proxy remains unsuitable for a clean cross-state comparison. One annual change is a weak forecasting basis, especially around recording and classification changes. I would use it only to illustrate a possible continuation of recent movements — not to rank safety or predict Melbourne versus Brisbane.</p><h3>Now zoom in: places within each city differ</h3><p>The next two charts use 2024–25 all-recorded-offence rates. Unlike the national charts, they count offences rather than victims and include a wider set of categories. They should be read separately, within each publisher’s geography and definitions.</p><h3>Melbourne: 31 metropolitan councils</h3><p>The Melbourne chart shows the dashboard’s 31-council metropolitan grouping for the year ending June 2025. It is not an exact ABS Greater Melbourne boundary: the metropolitan part of Mitchell cannot be allocated from whole-council records and is excluded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nNMpoDPoJdjaV2p4dscMVA.png" /></figure><p>The City of Melbourne council recorded 23,570.9 offences per 100,000 residents. That figure belongs to the central council, not the whole metropolitan city. Other councils have substantially different rates — for example, Melton recorded 7,107.7.</p><h3>Greater Brisbane: nine statistical regions</h3><p>The Brisbane chart covers the nine SA4 regions making up ABS Greater Brisbane on 2021 boundaries, including Ipswich, Logan–Beaudesert and both Moreton Bay regions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*voWzhdgqvdPIObvhOkRI9w.png" /><figcaption>Source: Queensland Government Statistician’s Office, Crime report 2024–25, Table 8. Nine Greater Brisbane SA4 regions; compare areas within this chart.</figcaption></figure><p>Brisbane Inner City recorded 14,625.3 offences per 100,000 residents, while Brisbane–West recorded 4,493.4. That wide variation is a reason to ask which part of Brisbane someone means when they call it safe.</p><p>It would be tempting to put Melbourne’s 23,570.9 beside Brisbane Inner City’s 14,625.3 and declare a winner. But the boundaries are different, as are the state recording systems and offence classifications. Both central areas also attract visitors and businesses, while these rates divide by resident population. They are not direct measures of personal risk.</p><p>These two charts therefore show local variation, not a combined city league table. Their horizontal scales differ. Averaging council or regional rates would not produce a valid metropolitan rate.</p><h3>So, does the evidence support my friend’s claim?</h3><p><strong>Not as a blanket statement. The data assembled here do not establish that Brisbane is safer than Melbourne.</strong> They also do not establish the opposite, or show that the cities are close.</p><p>What we can say is more useful: Victoria recorded lower rates than Queensland for some selected offences in 2025, and both metropolitan areas contain places with very different recorded-offence rates. A state average cannot describe every neighbourhood.</p><p>A stronger city comparison would require matching metropolitan boundaries, reporting periods, offence definitions, counting rules and population denominators. The ABS Crime Victimisation TableBuilder includes capital-city geography, but a reviewed city-level extract with uncertainty estimates is still needed for that route.</p><p>My takeaway is to replace “Which city is safer?” with “Safer from which offence, in which area, and over what period?” These charts help make that conversation more precise. They cannot turn a personal impression into a universal safety ranking. The illustrative 2026 estimates do not change that conclusion.</p><h3>Sources and how the charts were made</h3><p>Population context: <a href="https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/jun-2025">ABS National, state and territory population, June 2025</a>. Published crime rates are retained from their original sources rather than recalculated using this rounded population context. Release coverage: <a href="https://www.abs.gov.au/statistics/people/crime-and-justice/recorded-crime-victims/latest-release">ABS Recorded Crime — Victims, latest release</a>, checked 29 October 2026. The 2026 scenario is the author’s simple extrapolation of the displayed 2024–2025 rates.</p><p>Australian Bureau of Statistics, Recorded Crime — Victims, 2025, especially Table 10 for state and territory rates and historical series: <a href="https://www.abs.gov.au/statistics/people/crime-and-justice/recorded-crime-victims/2025">https://www.abs.gov.au/statistics/people/crime-and-justice/recorded-crime-victims/2025</a></p><p>• ABS, Recorded Crime — Victims methodology, 2025, for counting rules, unavailable assault series and comparability changes: <a href="https://www.abs.gov.au/methodologies/recorded-crime-victims-methodology/2025">https://www.abs.gov.au/methodologies/recorded-crime-victims-methodology/2025</a></p><p>• Crime Statistics Agency Victoria, victim-report data tables. The Victorian assault proxy uses A21 + A22 + A23, with the December 2024 release for 2015 and December 2025 release for 2016–2025. This is an approximation, not a replacement ABS series: <a href="https://www.crimestatistics.vic.gov.au/crime-statistics/latest-victorian-crime-data/download-data">https://www.crimestatistics.vic.gov.au/crime-statistics/latest-victorian-crime-data/download-data</a></p><p>• Interactive companion dashboard, including source-cell details and geographic caveats: <a href="https://australian-crime-explorer.jiradett.chatgpt.site/?view=1&amp;tab=national">https://australian-crime-explorer.jiradett.chatgpt.site/?view=1&amp;tab=national</a></p><p>Charts and selected-category sums were prepared from the dashboard export. Rates are shown to one decimal place. Missing values remain missing, overlapping homicide categories are excluded from the sum, and Victorian proxy values are marked approximate. The chart data cover 2015–2025; 2025 is the current snapshot used for this article.</p><p>Regional data: <a href="https://www.qgso.qld.gov.au/issues/7856/crime-report-qld-2024-25.pdf">QGSO Crime report 2024–25, Table 8, printed page 17</a>; <a href="https://discover.data.vic.gov.au/dataset/data-tables-recorded-offences">CSA Victoria recorded-offence tables, Table 01</a>.</p><p>City geography and further analysis: <a href="https://www.abs.gov.au/statistics/microdata-tablebuilder/available-microdata-tablebuilder/crime-victimisation-australia">ABS Crime Victimisation TableBuilder</a>. National charts use 2015–2025 data, with 2025 as the current snapshot; regional charts use 2024–25. Rates are rounded to one decimal place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca5e723744e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Built a Local Voice Dictation App for AI Coding — and Cut the Lag from 20 Seconds to 2]]></title>
            <link>https://jiradett.medium.com/i-built-a-local-voice-dictation-app-for-ai-coding-and-cut-the-lag-from-20-seconds-to-2-fe25568fd00e?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe25568fd00e</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[whisper]]></category>
            <category><![CDATA[ollama]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Thu, 28 May 2026 00:54:22 GMT</pubDate>
            <atom:updated>2026-05-28T00:54:22.778Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*px5CI7zjoE8Alh45BPrFdQ.png" /></figure><p>It started with a YouTube binge.</p><p>You know the kind: you’re watching someone demo Claude Code or Codex CLI, and halfway through they stop typing entirely. They hold a hotkey, ramble for thirty seconds about what they want, release the key, and a polished, perfectly punctuated prompt appears in the terminal.</p><blockquote>No keyboard.<br> No friction.<br> Just thought → speech → AI.</blockquote><p>After about six videos in a row, I stopped paying attention to the demos and started obsessing over the workflow. The typing suddenly looked outdated. The voice interaction looked like the future.</p><p>I wanted that setup for myself.</p><h3>Why Not Just Use Existing Tools?</h3><p>The obvious option was Apple Dictation.</p><p>It works reasonably well, but it lacks a polish step. Every “um,” false start, and half-finished sentence gets dumped directly into the text field. That matters when you’re prompting an AI. Messy input produces messy output.</p><p>Then there are the commercial tools:</p><ul><li><a href="https://superwhisper.com/">SuperWhisper</a></li><li><a href="https://wisprflow.ai/">Wispr Flow</a></li></ul><p>Both are excellent. Both cost money. Both rely heavily on cloud processing.</p><p>As a Python data engineer, my brain automatically asks:</p><blockquote>“Do I really need a subscription for this?”</blockquote><p>before it asks:</p><blockquote>“Can I build it myself?”</blockquote><p>It turned out the answer to the second question was <strong>yes</strong>.</p><p>And the process of building it became the real project.</p><h3>The Architecture (and the Python Detour I Skipped)</h3><p>The pipeline I wanted was simple:</p><blockquote>Hold Right Cmd → record audio → transcribe → polish with LLM → insert at cursor</blockquote><p>My first instinct was to build a quick Python MVP:</p><ul><li>sounddevice for audio capture</li><li>Whisper API for transcription</li><li>Claude API for polishing</li><li>pyobjc for the menu bar</li><li>Quartz for global hotkeys</li></ul><p>But while sketching it out, I realized something important:</p><p>The “real” version I wanted wasn’t the Python prototype.</p><p>The real version was:</p><ul><li>fully local</li><li>low latency</li><li>offline capable</li><li>native macOS</li><li>no subscriptions</li><li>no cloud APIs</li></ul><p>Which meant the actual destination was already:</p><ul><li>Swift</li><li>whisper.cpp</li><li>local LLMs through Ollama</li></ul><p>So I skipped the MVP entirely and went straight to the final architecture.</p><p>That was intimidating because I’d never built a real macOS app before.</p><p>But Swift in 2026 is dramatically friendlier than it used to be, and the macOS APIs are surprisingly approachable once you stop being afraid of them.</p><p>The final stack looked like this:</p><ul><li>Menu bar app using pure AppKit</li><li>Swift Package Manager (no Xcode project)</li><li>Global hotkey via CGEventTap</li><li>Audio capture with AVAudioRecorder</li><li>Transcription using whisper.cpp</li><li>Grammar polish through Ollama</li><li>Text insertion using accessibility APIs first, synthesized keystrokes as fallback</li></ul><p>Everything runs locally on my Mac.</p><blockquote>No subscriptions.<br> No cloud round trips.<br> No audio leaving the laptop.</blockquote><h3>The “It Works But It’s Slow” Phase</h3><p>I got the full pipeline working in a day.</p><p>The first successful test felt magical.</p><p>I held Right Command, said:</p><blockquote>“This is a test of my new dictation app.”</blockquote><p>…and watched the sentence appear automatically in my editor.</p><p>Real magic.</p><p>The kind that makes you grin at your screen alone.</p><p>Then I actually started using it.</p><p>And the magic evaporated.</p><p>Every dictation took somewhere between 8 and 20 seconds from key release to text insertion.</p><p>That delay completely killed the experience.</p><p>By the time the text appeared, I’d already forgotten what I wanted to say next. The flow state I was chasing disappeared every single time.</p><p>So I did what every data engineer eventually does:</p><p>I instrumented everything.</p><pre>JKLogger.shared.log(&quot;transcription start&quot;)<br>// ... whisper call<br>JKLogger.shared.log(&quot;transcription complete chars=\(transcript.count)&quot;)</pre><p>I added timestamps to every stage in the pipeline and dictated a few sample prompts.</p><p>The logs immediately exposed the real bottleneck:</p><pre>02:10:47.781  transcription start<br>02:10:48.523  transcription complete       ← 0.74s<br>02:10:48.523  rule polish complete<br>02:11:07.526  ollama polish complete       ← 19.00s 🚨<br>02:11:07.528  inserting text<br>02:11:07.833  insert outcome: typed</pre><p>Whisper was fast.<br> Text insertion was trivial.</p><p>Ollama was destroying the latency budget.</p><h3>Fix #1 — Stop Reloading Whisper Every Time</h3><p>My first mistake was spawning whisper-cli as a subprocess for every dictation.</p><p>That meant reloading a 142 MB model file from disk every single time I pressed the hotkey.</p><p>Classic cold-start problem.</p><p>Fortunately, whisper.cpp ships with a built-in HTTP server that keeps the model loaded in memory:</p><pre>final class WhisperServer {<br>    func start() throws {<br>        let proc = Process()<br>        proc.executableURL = URL(fileURLWithPath: serverPath)<br>        proc.arguments = [<br>            &quot;--model&quot;, modelPath,<br>            &quot;--host&quot;, &quot;127.0.0.1&quot;,<br>            &quot;--port&quot;, &quot;8178&quot;,<br>        ]<br>        try proc.run()<br>    }<br>}</pre><p>That shaved about 0.5–1 second off each dictation.</p><p>Helpful, but not transformational.</p><h3>Fix #2 — Stop Using a Giant Model for Tiny Work</h3><p>This was the embarrassing one.</p><p>I had accidentally left Ollama configured to use a 9B parameter model:</p><pre>qwen3.5:9B</pre><p>For the incredibly demanding task of:</p><blockquote>“Fix grammar and capitalization on twenty spoken words.”</blockquote><p>On my M1 Pro:</p><ul><li>cold runs took ~19 seconds</li><li>warm runs took ~7 seconds</li></ul><p>Completely unnecessary.</p><p>I switched to:</p><pre>llama3.2:3b</pre><p>The difference was immediate:</p><ul><li>~2 seconds warm</li><li>~3 seconds cold</li></ul><p>Then I added a warm-up request during app startup:</p><pre>private func warmupOllama() {<br>    Task.detached {<br>        var request = URLRequest(url: endpoint)<br>        request.httpMethod = &quot;POST&quot;<br>        request.httpBody = try? JSONEncoder().encode([<br>            &quot;model&quot;: &quot;llama3.2:3b&quot;,<br>            &quot;prompt&quot;: &quot;&quot;,<br>            &quot;keep_alive&quot;: &quot;30m&quot;<br>        ])</pre><pre>        _ = try? await URLSession.shared.data(for: request)<br>    }<br>}</pre><p>End-to-end latency dropped from:</p><ul><li>8–20 seconds<br> to:</li><li>roughly 2–3 seconds</li></ul><p>That was the moment the app stopped feeling like a prototype and started feeling usable.</p><h3>The Prompt Was a Problem Too</h3><p>My original polish prompt was overly ambitious.</p><p>I told the model to:</p><ul><li>remove filler words</li><li>fix broken sentences</li><li>restructure for clarity</li></ul><p>The model obediently rewrote everything.</p><p>The result sounded polished, but it no longer sounded like me.</p><p>So I simplified the instructions dramatically:</p><blockquote>ONLY fix grammar, punctuation, and capitalization.</blockquote><blockquote>Replace a word only if it is clearly incorrect.</blockquote><blockquote>DO NOT restructure, summarize, reorder, or change the user’s voice.</blockquote><p>That change mattered almost as much as the latency improvements.</p><p>The app stopped sounding like an AI assistant and started sounding like me — just slightly cleaner.</p><h3>Lessons Learned</h3><h3>Measure Before You Optimize</h3><p>I assumed Whisper would be the bottleneck because it <em>felt</em> computationally heavy.</p><p>The logs said otherwise.</p><p>Three timestamps saved me from wasting weeks optimizing the wrong layer.</p><h3>Bigger Models Aren’t Automatically Better</h3><p>“Polish twenty spoken words” is not a difficult task.</p><p>A 3B model handled it nearly identically to a 9B model while using:</p><ul><li>less RAM</li><li>fewer watts</li><li>dramatically lower latency</li></ul><p>I had optimized for capability when I actually needed responsiveness.</p><h3>Prompting Is Product Design</h3><p>It’s easy to ask an LLM to do too much.</p><p>In this case, the best experience came from asking it to do less.</p><h3>What’s Next</h3><p>A few ideas are still on the roadmap:</p><ul><li>live waveform feedback while recording</li><li>per-app polish styles (Slack vs email vs code comments)</li><li>streaming transcription while speaking</li><li>context-aware prompting for terminals and editors</li></ul><p>But honestly?</p><p>The current version is already fast enough that I simply use it every day.</p><p>And that’s probably the best success metric any developer tool can have:</p><p>You stop noticing the tool and just get on with the work.</p><p>If you end up building something similar, I’d genuinely love to see it.</p><p>Hold down your right Cmd key and tell me about it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe25568fd00e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Dead PDFs to a Living Knowledge Graph: How I Turned Data Engineering Docs into a Self-Updating…]]></title>
            <link>https://jiradett.medium.com/from-dead-pdfs-to-a-living-knowledge-graph-how-i-turned-data-engineering-docs-into-a-self-updating-129981d3968b?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/129981d3968b</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[markdown]]></category>
            <category><![CDATA[wiki]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[obsidian]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Tue, 12 May 2026 08:11:09 GMT</pubDate>
            <atom:updated>2026-05-12T08:11:09.946Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Dead PDFs to a Living Knowledge Graph: How I Turned Data Engineering Docs into a Self-Updating Obsidian Vault</h3><p><em>How an AI agent converted four technical PDFs into a linked knowledge graph — and how MCP servers could make your documentation update itself</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_qkhEm_wtE-oVhvDje6WYw.png" /></figure><h3>The Problem Every Data Engineer Knows</h3><p>You finish a six-month project connecting Salesforce to Snowflake through Azure Data Factory.</p><blockquote>The pipelines run.<br> The triggers fire at 2 AM.<br> The data flows into the warehouse.<br> Everyone is happy.</blockquote><p>Then comes the documentation 😅</p><p>Four PDFs. 253 pages in total. Operation manuals, API object references, deployment guides, configuration walkthroughs — all carefully written, technically detailed, and useful.</p><p>But the moment they land in a shared folder, they begin to go stale.</p><blockquote>A new pipeline gets added.<br> A new Salesforce object is pulled in.<br> Someone changes a linked service name.<br> A trigger schedule is updated.<br> Nobody updates the PDF.<br> Nobody even remembers where the latest version lives.</blockquote><p>This is the documentation trap!</p><p>And I wanted to get out of it 😤</p><h3>The Idea: Documentation as a Knowledge Graph</h3><p>I had four PDFs describing a production data pipeline:</p><ul><li><strong>ADF ETL &amp; Snowflake DWH Operation Manual</strong> — 123 pages covering the full orchestration process</li><li><strong>ADF Integration with Snowflake and Salesforce</strong> — 59 pages covering OAuth2, Key Vault, and linked service configuration</li><li><strong>Azure DevOps ADF Deployment Manual</strong> — 33 pages covering CI/CD pipeline setup</li><li><strong>Salesforce API Objects &amp; Fields Reference</strong> — 38 pages covering objects, fields, and permissions</li></ul><p>The documents were technically accurate, but they were isolated.</p><p>You could not jump from a pipeline name in the operation manual to the Salesforce fields it depended on. You could not follow a deployment step to the linked service it deployed. You could not easily trace how a Salesforce object moved from ingestion to Snowflake.</p><p>Everything lived on its own PDF island.</p><p>What I wanted was a <strong>knowledge graph</strong>: documentation that links to related concepts, behaves more like a wiki, and can eventually become live.</p><p>I chose <a href="https://obsidian.md/">Obsidian</a> as the platform because it works beautifully with Markdown, supports [[wikilinks]], and gives you a visual graph of how your notes connect.</p><p>More importantly, Markdown is simple enough that an AI agent can generate and update it programmatically.</p><h3>Step 1: Turning PDFs into Obsidian Markdown</h3><p>I used an AI agent, Claude in Cowork mode and Codex, to do the heavy lifting.</p><p>The process was straightforward, but the results were surprisingly powerful.</p><p>For each PDF, the agent:</p><ol><li><strong>Extracted text and tables</strong> using pdfplumber, a Python library that can preserve layout and extract structured tables from PDFs</li><li><strong>Cleaned the extracted content</strong> by removing headers, footers, page numbers, and tables of contents that polluted the output</li><li><strong>Restructured the content</strong> into clean Markdown headings based on the original document numbering</li><li><strong>Converted PDF tables</strong> into proper Markdown tables</li><li><strong>Added Obsidian frontmatter</strong> with title, date, tags, and aliases</li><li><strong>Generated Mermaid diagrams</strong> for architecture flows and technical processes described in the documents</li></ol><p>That last part was where things became especially interesting.</p><p>One of the manuals described the high-level ADF integration architecture, but the actual diagram lived externally in Miro. In the PDF, that meant the diagram was basically a dead reference.</p><p>Instead of leaving it as a broken link, the agent read the textual explanation and generated equivalent Mermaid diagrams: flowcharts for the ETL path, sequence diagrams for OAuth2 authentication, and component diagrams for the full configuration process.</p><p>For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*CitHpSmDTvEKDk5W_Jp58A.png" /></figure><p>These diagrams render natively inside Obsidian.</p><ul><li>No external tools.</li><li>No screenshots.</li><li>No broken links.</li><li>Just documentation that is readable, searchable, and maintainable.</li></ul><h3>Step 2: Connecting the Dots with Wikilinks</h3><p>The real power of Obsidian comes from [[wikilinks]]. When you type [[another note]], Obsidian creates a connection between two notes. Do this across multiple technical documents, and your documentation starts becoming a genuine knowledge network.</p><p>The AI agent connected the documents based on their logical relationships:</p><ul><li>The <strong>Operation Manual</strong> links to the <strong>Configuration Manual</strong> when it mentions linked services</li><li>The <strong>Operation Manual</strong> links to the <strong>Salesforce API Objects Reference</strong> when it describes which objects are extracted</li><li>The <strong>Salesforce API Objects Reference</strong> links back to the OAuth2 setup section in the configuration guide</li><li>The <strong>Azure DevOps Deployment Manual</strong> links to the operation manual for post-deployment validation</li><li>A central <strong>hub note</strong>, or Map of Content, sits in the middle and connects everything together</li></ul><p>The hub note became the starting point for the whole vault.</p><p>It includes:</p><ul><li>A high-level architecture overview</li><li>Links to each converted manual</li><li>Environment details</li><li>Pipeline categories</li><li>Salesforce object references</li><li>Deployment and validation paths</li></ul><p>In Obsidian’s graph view, the result is exactly what I wanted: not four separate documents, but a connected map of the system.</p><p>You can start from a Salesforce object, jump to the pipeline that extracts it, move to the Snowflake layer that stores it, then continue to the deployment guide that controls how the pipeline is promoted.</p><p>That is a very different experience from scrolling through 253 pages of static PDFs.</p><h3>Step 3: Making It Live with Azure Data Factory</h3><p>The next step was where the documentation became much more valuable. After building the static knowledge graph, I connected the AI agent directly to <strong>Azure Data Factory via the Azure CLI</strong>.</p><p>With the correct factory name, resource group, and subscription, the agent could pull the live state of the production ADF environment, including:</p><ul><li>Pipelines</li><li>Datasets</li><li>Linked services</li><li>Triggers</li><li>Integration runtimes</li></ul><p>The agent pulled 67 live pipeline definitions, 11 datasets, 5 linked services, and 2 production triggers from crm-prod, then wrote them into the repository as structured JSON.</p><p>That alone was useful.</p><p>But the real value came next: the agent used that live metadata to update the Markdown documentation.</p><p>The operation manual’s pipeline inventory was replaced with the actual production pipeline list, grouped by type:</p><ul><li>Orchestration</li><li>Delta load</li><li>Full load</li><li>Reconciliation</li><li>Write-back</li><li>Utility</li></ul><p>The configuration manual was updated with the actual linked service types, including:</p><ul><li>SalesforceV2</li><li>SnowflakeV2</li><li>AzureKeyVault</li></ul><p>The hub note was also updated with an environment table covering PROD, UAT, and DEV, including their correct factory names and resource groups.</p><p>This was the key shift:</p><p><strong>The documentation now reflected what was actually running in production, not what was true when someone last exported a PDF.</strong></p><h3>The Vision: Documentation That Updates Itself</h3><p>What I described above is already useful.</p><p>But the bigger vision goes further — and this is where <strong>MCP</strong>, or Model Context Protocol, becomes exciting.</p><p>MCP servers allow an AI agent to connect directly to external systems such as databases, APIs, cloud platforms, file systems, and development tools.</p><p>Instead of copying information out of a system and pasting it into a document, the agent can query the system directly.</p><p>Imagine this workflow.</p><blockquote>You add a new Salesforce object to your ADF pipeline.</blockquote><blockquote>You create the linked service, dataset, copy activity, and Snowflake target table. You test the pipeline. It works.</blockquote><p>Then you ask the agent:</p><p>“Update the documentation to include the new BequestHistories object I just added.”</p><p>The agent could then:</p><ol><li>Connect to Azure Data Factory through an ADF MCP server and read the new pipeline definition</li><li>Connect to Snowflake through a Snowflake MCP server and query the actual schema</li><li>Retrieve field names, data types, row counts, and target table details</li><li>Update the <strong>Operation Manual</strong> note with the new pipeline entry</li><li>Update the <strong>Salesforce API Objects &amp; Fields</strong> note with the new object details</li><li>Create wikilinks between the object, pipeline, dataset, and Snowflake table</li><li>Refresh the hub note so the graph reflects the new production state</li></ol><p>The documentation does not go stale because the agent talks directly to the systems of record.</p><p>That is what I mean by <strong>living documentation</strong>.</p><blockquote>Not a wiki that relies on someone remembering to update it.<br> Not a PDF that is accurate for a few days after release.<br> But a knowledge graph that can stay aligned with the infrastructure it describes.</blockquote><h3>What This Changes for Data Engineering Teams</h3><p>Documentation debt is one of the most painful forms of technical debt.</p><p>It is invisible until a new team member joins, an audit begins, or something breaks in production at 2 AM and the manual describes a pipeline that no longer exists.</p><p>This approach is not a silver bullet. Someone still needs to ask the agent to update the documentation, or eventually wire the update into a workflow.</p><p>But the friction becomes low enough that the update is much more likely to happen.</p><p>And the payoff is significant!</p><h3>Onboarding becomes easier</h3><p>New team members no longer need to read hundreds of pages of disconnected PDFs. They can start from a hub note, follow links, explore the graph, and understand how systems connect.</p><h3>Debugging becomes faster</h3><p>A failing pipeline name is no longer just a string in an error message. You can jump from the pipeline to its linked service, dataset, Salesforce object, field permissions, Snowflake table, and deployment history.</p><h3>Auditing becomes more structured</h3><p>Every note can include YAML frontmatter with metadata such as environment, source system, object type, owner, and last updated date. This makes the vault searchable, filterable, and easier to govern.</p><h3>Architecture becomes easier to communicate</h3><p>Mermaid diagrams live beside the documentation. They are version-controlled, text-based, and render directly inside Obsidian. You do not need to maintain separate diagram files in another tool.</p><h3>Getting Started</h3><p>The core stack is simpler than it sounds:</p><ul><li><strong>Obsidian</strong> — for the knowledge graph interface</li><li><strong>Markdown</strong> — for portable, version-controlled documentation</li><li><strong>pdfplumber</strong> — for extracting content from PDFs</li><li><strong>Mermaid</strong> — for diagrams as code</li><li><strong>Azure CLI</strong> — for pulling live ADF metadata</li><li><strong>An AI agent</strong> — capable of running code, calling APIs, and editing files</li><li><strong>MCP servers</strong> — for connecting agents directly to systems such as Snowflake and Azure Data Factory</li></ul><blockquote>The PDF-to-Markdown conversion is mostly a one-time cost.</blockquote><blockquote>The real long-term value comes from keeping the graph aligned with production. This is where MCP servers and live system connections become powerful.</blockquote><blockquote>Once the documentation can query the actual systems it describes, it becomes much harder for it to drift away from reality.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QsYrWJLkDOvhecrJkxJYIA.png" /><figcaption>My sample Obsidian vault</figcaption></figure><h3>Final Thought</h3><ul><li>We spend enormous effort building data pipelines that are reliable, observable, and maintainable.</li><li>But the documentation explaining those pipelines often remains static, disconnected, and forgotten.</li><li>It does not have to be that way.</li><li>A knowledge graph that talks to your infrastructure is not science fiction. It is very achievable with today’s tools.</li><li>For me, the biggest mindset shift was this:</li></ul><blockquote><strong>Documentation should not just describe the system. It should be connected to the system.</strong></blockquote><p>Once you experience that, it is hard to go back to dead PDFs.</p><p><em>If you are working with Salesforce, Snowflake, Azure Data Factory, Obsidian, or AI agents for documentation, I would love to hear how you are approaching it. Drop a comment or connect with me on LinkedIn.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=129981d3968b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Switched from Claude Code to Codex for Managing My Obsidian Vault]]></title>
            <link>https://jiradett.medium.com/why-i-switched-from-claude-code-to-codex-for-managing-my-obsidian-vault-1733dc9e0b80?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/1733dc9e0b80</guid>
            <category><![CDATA[obsidian]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[markdown]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Wed, 06 May 2026 08:36:20 GMT</pubDate>
            <atom:updated>2026-05-06T08:36:20.554Z</atom:updated>
            <content:encoded><![CDATA[<p>For a long time, Claude Code was my main AI coding assistant for managing my Obsidian vault. I used it to organise notes, maintain memory files, work with Markdown, manage Git sync, and connect different tools through MCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ltBlhtTv2RdnAThSxheZA.png" /></figure><p>It worked well, but over time I started to notice a few limitations, especially around token usage and rate limits. As my Obsidian vault became more structured and more important to my daily workflow, I wanted something that could operate inside the vault more efficiently and consistently.</p><p>Recently, I switched my Obsidian vault workflow from Claude Code to Codex, and the result has been surprisingly smooth.</p><p>In fact, Codex reached almost the same working intelligence level inside my vault in a very short time.</p><h3>My Obsidian Vault Setup</h3><p>My Obsidian vault is stored in iCloud, so I can keep using Obsidian across devices as my live sync layer.</p><p>The vault path is:</p><pre>/Users/me/Library/Mobile Documents/iCloud~md~obsidian/Documents/Obsidian-Sync</pre><p>In this setup:</p><ul><li><strong>iCloud</strong> is my live Obsidian/device sync layer.</li><li><strong>GitHub</strong> is my checkpoint and handoff layer.</li><li><strong>Codex</strong> works directly inside the vault.</li><li><strong>AGENTS.md</strong> acts as the operational instruction file.</li><li><strong>Obsidian Markdown files</strong> remain the source of truth.</li></ul><p>Codex reads AGENTS.md, follows my vault organisation rules, and checks my note structure before creating, moving, or renaming files.</p><p>One of the most important instruction files is:</p><pre>[[Notes/Vault File Organisation]]</pre><p>This gives Codex the context it needs to understand how my vault should be structured.</p><h3>Why I Moved from Claude Code to Codex</h3><p>The biggest reason was efficiency.</p><p>With Claude Code, I often saw rate limits, especially when working across many files or asking it to analyse a large amount of vault context. For my workflow, this could interrupt the thinking process.</p><p>With Codex, I have noticed much lower token consumption. So far, I have not hit the rate limit in the same way I often did with Claude Code.</p><p>That makes a big difference when using AI as part of a personal knowledge management system. Managing an Obsidian vault is not just one task. It involves reading, writing, organising, linking, summarising, and sometimes committing changes to GitHub.</p><p>For that type of ongoing workflow, efficiency matters.</p><h3>Codex Can Do Almost Everything I Used Claude Code For</h3><p>One thing that surprised me was how much of my existing Claude Code workflow I could reuse.</p><p>I can use Codex in several ways:</p><ul><li>From the <strong>Codex app</strong></li><li>From <strong>VS Code</strong></li><li>From the <strong>terminal</strong></li><li>Through <strong>Codex CLI</strong></li><li>Directly inside my Obsidian vault folder</li></ul><p>This gives me flexibility. I can manage Markdown files from the terminal, inspect folders inside the Codex app, or use VS Code when I want a more developer-style interface.</p><p>Inside the Codex app, I can view the file and folder structure, access the terminal, and manage my Obsidian Markdown files in one place. This makes the workflow feel very natural.</p><h3>Reusing My Claude Code Skills</h3><p>Another big advantage is that I did not need to start from scratch.</p><p>I asked Codex to learn my installed Claude Code skills and reuse the same working patterns. This was important because I already had a lot of operational knowledge captured in my vault.</p><p>For example, I had already built knowledge graph notes and memory files to help Claude Code understand my workflow. Instead of rebuilding everything, I reused those same knowledge structures to teach Codex.</p><p>This worked better than expected.</p><p>The knowledge graph that I previously used to manage Claude Code memory can now be used to teach Codex. Because the context was already well-structured, Codex was able to understand my vault rules very quickly.</p><p>That was the moment I realised that the real asset was not the AI tool itself.</p><p>The real asset was the structured knowledge system inside Obsidian.</p><h3>Memory Management in Codex</h3><p>Claude Code has automatic memory hooks, but Codex does not automatically trigger those same hooks.</p><p>So I created a manual memory workflow.</p><p>Codex now writes session summaries into:</p><pre>memory-compiler/daily/YYYY-MM-DD - short-summary.md</pre><p>Each memory file includes:</p><ul><li>Obsidian-style frontmatter</li><li>A clear summary section</li><li>Early backlinks</li><li>Concise session entries</li><li>Important decisions and rules</li><li>Action items for future sessions</li></ul><p>This gives Codex a lightweight but reliable memory system.</p><p>For example, I created a memory entry that records how Codex was set up inside my vault. It includes the key rule that future Codex sessions should read:</p><pre>AGENTS.md</pre><p>and:</p><pre>[[Notes/Vault File Organisation]]</pre><p>before making structural changes to the vault.</p><p>This makes Codex behave more consistently over time.</p><h3>The /note Workflow</h3><p>I also improved the /note workflow.</p><p>The new workflow routes captured notes into the correct vault folder, preserves Obsidian-style YAML metadata, adds backlinks, and avoids automatic Git commits or pushes unless I explicitly ask.</p><p>That last part is important.</p><p>I do not want an AI agent automatically pushing changes to GitHub without my approval. Codex can prepare, organise, and update files, but Git operations are explicit.</p><p>The rule is simple:</p><p>Codex can edit the vault, but it should only commit or push when I ask.</p><h3>Using Hermes Agent Together with Codex</h3><p>Another part of my setup is Hermes agent.</p><p>I use Hermes to help organise files in the vault. This is useful because file organisation can consume a lot of context and tokens when done manually through an AI assistant.</p><p>By running Hermes locally, I can use Codex together with Hermes without needing to spend another token-based API workflow.</p><p>This gives me a more efficient division of labour:</p><ul><li><strong>Hermes</strong> helps organise files.</li><li><strong>Codex</strong> helps reason, write, edit, and manage the vault.</li><li><strong>Obsidian</strong> remains the knowledge base.</li><li><strong>GitHub</strong> remains the checkpoint layer.</li></ul><p>This combination works well because each tool has a clear role.</p><h3>Reusing MCP Setup</h3><p>Another benefit is that I can reuse my existing MCP setup.</p><p>I had already configured MCP tools for Claude Code, and much of that setup can be reused with Codex.</p><p>This means I do not need to rebuild my entire AI-agent environment from scratch. My previous investment in MCP, memory files, operational notes, and workflow documentation still has value.</p><p>This is one of the biggest lessons from the switch:</p><p>A well-documented AI workflow is portable.</p><p>When your instructions, memory, and knowledge graph are stored in Markdown, they are not locked into one AI assistant.</p><h3>Codex Inside the Obsidian Vault Feels Natural</h3><p>For my workflow, the most useful part is that Codex can run directly inside the Obsidian vault.</p><p>That means it can:</p><ul><li>Read my Markdown files</li><li>Follow vault organisation rules</li><li>Create new notes</li><li>Move or rename files when instructed</li><li>Add backlinks</li><li>Preserve YAML metadata</li><li>Summarise sessions</li><li>Work with GitHub checkpoints</li><li>Use terminal commands</li><li>Reuse existing project instructions</li></ul><p>This makes Codex feel less like a chatbot and more like a local AI operator for my knowledge base.</p><p>Because the vault is already synced through iCloud, I can keep using Obsidian normally on my devices. Codex does not replace Obsidian. It enhances the way I manage it.</p><h3>What I Learned</h3><p>The most important lesson from this switch is that the AI assistant is only one part of the system.</p><p>The real power comes from having:</p><ul><li>Clear folder structure</li><li>Good Markdown discipline</li><li>Obsidian backlinks</li><li>Operational instruction files</li><li>Daily memory summaries</li><li>GitHub checkpoints</li><li>Reusable MCP setup</li><li>Explicit rules for when to commit or push</li></ul><p>Once these foundations are in place, switching from one AI coding assistant to another becomes much easier.</p><p>Claude Code helped me build many of these patterns. Codex is now helping me run them more efficiently.</p><h3>Final Thoughts</h3><p>Switching from Claude Code to Codex for managing my Obsidian vault has been a very positive experience.</p><p>The biggest benefits so far are:</p><ul><li>Lower token usage</li><li>Fewer rate limit issues</li><li>Ability to work directly inside the vault</li><li>Terminal access inside the Codex app</li><li>Easy reuse of Claude Code skills</li><li>Reuse of MCP setup</li><li>Compatibility with my existing Obsidian knowledge graph</li><li>Better integration with local file management</li><li>Ability to work with Hermes agent without another token-based API workflow</li></ul><p>What surprised me most is how quickly Codex became useful once I gave it the right memory structure and operating instructions.</p><p>In the end, I did not really “move away” from Claude Code completely. I moved the intelligence layer into my Obsidian vault.</p><p>Now Claude Code, Codex, Hermes, MCP, GitHub, and Obsidian can all work around the same structured knowledge base.</p><p>That is the real upgrade!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1733dc9e0b80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Brain Is a Markdown File: How I Use Obsidian + Claude as a Second Mind]]></title>
            <link>https://jiradett.medium.com/my-brain-is-a-markdown-file-how-i-use-obsidian-claude-as-a-second-mind-ead7737635e2?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/ead7737635e2</guid>
            <category><![CDATA[obsidian]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[markdown]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 08:42:07 GMT</pubDate>
            <atom:updated>2026-04-13T08:42:07.393Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>How a vault structure, a memory compiler, and a terminal inside a note-taking app turned Claude into a collaborator that actually remembers my work.</em></h3><p>I’ve used AI tools long enough to notice a frustrating pattern:</p><p>you get a brilliant answer, close the tab… and the next session starts from zero.</p><blockquote>Claude doesn’t remember the architecture decision you made last Thursday.</blockquote><blockquote>It doesn’t know the API design you debated with yourself.</blockquote><blockquote>It has no idea why you chose one naming convention over another.</blockquote><p>Every conversation is a blank slate.</p><p>That changed when I stopped treating my Obsidian vault as a note archive — and started treating it as Claude’s <strong>persistent memory</strong>.</p><p>This is the setup I use, and why I think Markdown might be the most underrated interface for AI collaboration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qQr4CPkfz-Bn5eMG6enFRg.png" /></figure><h3>The Foundation: A Bottom-Up Knowledge System</h3><p>When Steph Ango (aka <em>kepano</em>) became Obsidian’s CEO, he brought a philosophy that quietly reshaped how I think about knowledge systems.</p><p>His vault template isn’t rigid. It’s <em>emergent</em>.</p><p>Instead of forcing structure upfront, it grows over time.</p><p>Instead of deep folder hierarchies, it emphasizes <strong>categories and connections</strong>.</p><p>The idea is simple:</p><blockquote><em>Organize by what things </em>are<em>, not where they </em>live<em>.</em></blockquote><p>I adapted that into four core buckets:</p><ul><li><strong>Areas</strong> — ongoing responsibilities (projects, domains, teams)</li><li><strong>Resources</strong> — reference material and research</li><li><strong>Notes</strong> — atomic ideas and observations</li><li><strong>Archive</strong> — completed or inactive work</li></ul><p>This structure matters because it’s <strong>predictable and machine-readable</strong>.</p><p>When Claude reads my vault, it’s not parsing random Markdown files.</p><p>It’s navigating a coherent knowledge system with explicit relationships.</p><h3>Claude Lives Inside Obsidian</h3><p>The turning point in my workflow was embedding Claude directly into Obsidian using the <strong>Terminal plugin</strong>.</p><p>Now my workflow looks like this:</p><ol><li>I’m writing a note about a problem</li><li>I open a terminal panel inside Obsidian</li><li>I run Claude Code in the same workspace</li><li>Claude reads and writes directly to the vault</li></ol><p>No copy-paste. No context switching.</p><p>Claude isn’t a separate tool anymore — it’s part of the environment.</p><p>When it generates:</p><ul><li>a decision log</li><li>a summary</li><li>a code explanation</li></ul><p>…it lands directly in the vault, becoming part of the knowledge graph.</p><p>That tight feedback loop is what makes the system <em>compound</em> over time.</p><h3>The Missing Piece: Memory That Evolves</h3><p>Even with tight integration, there’s still a problem:</p><p>AI sessions are ephemeral.</p><p>That’s where <strong>claude-memory-compiler</strong> comes in.</p><p>It turns raw interactions into structured, reusable knowledge.</p><p>Here’s what’s actually happening under the hood:</p><ul><li><strong>Session capture </strong>Every Claude session is recorded — not as raw transcripts, but as meaningful interactions.</li><li><strong>Signal extraction </strong>A second pass extracts what matters: decisions, patterns, failures, conventions.</li><li><strong>Knowledge compilation</strong>That signal is transformed into structured, cross-referenced articles.</li></ul><blockquote>The result isn’t just “memory.”</blockquote><blockquote>It’s a <strong>machine-readable knowledge base</strong>.</blockquote><p>When I start a new session, Claude doesn’t begin cold — it loads context:</p><ul><li>what the project is</li><li>what decisions were made</li><li>what failed and why</li></ul><p>It shows up prepared.</p><h3>One Workspace: Code and Context Together</h3><p>I keep <strong>VS Code and Obsidian in the same root directory</strong>.</p><p>That means:</p><ul><li>code and notes live side by side</li><li>design decisions sit next to implementation</li><li>documentation is never “somewhere else”</li></ul><p>This changes behavior in subtle but important ways.</p><p>I write better notes — not for documentation’s sake, but because I know Claude will read them.</p><p>And when Claude reads both:</p><ul><li>the code</li><li><em>and</em> the reasoning behind it</li></ul><p>…it produces significantly better output.</p><h3>The Core Insight: Claude Thinks Well in Markdown</h3><p>After months of using this setup, I’ve landed on a simple belief:</p><blockquote><em>Claude doesn’t just read Markdown well — it </em>thinks<em> well in it.</em></blockquote><p>Markdown naturally provides:</p><ul><li>structure (headers)</li><li>relationships (links)</li><li>metadata (frontmatter)</li></ul><p>When those are used properly, they form a lightweight <strong>knowledge graph</strong>.</p><p>And Claude uses that graph.</p><p>A note about a component links to:</p><p>→ an API</p><p>→ which links to a design decision</p><p>→ which links to a trade-off discussion</p><p>Claude follows those connections.</p><p>The result?</p><ul><li>less generic responses</li><li>more domain awareness</li><li>better continuity between sessions</li></ul><p>The model hasn’t changed.</p><p><strong>The context has.</strong></p><h3>What This Looks Like Day-to-Day</h3><p>A typical session:</p><ol><li>Open Obsidian (my project root)</li><li>Review recent notes and session logs</li><li>Launch Claude via the terminal panel</li><li>Claude loads the compiled knowledge base</li><li>Work: code, decisions, notes</li><li>End session → memory compiler runs</li></ol><p>Over time:</p><ul><li>the vault gets denser</li><li>links get richer</li><li>context improves</li></ul><p>And Claude gets better — not by training, but by <strong>accumulated context</strong>.</p><h3>Why This Is Bigger Than Productivity</h3><p>This isn’t just a workflow tweak.</p><p>It’s a different model of working with AI.</p><p>Most people treat AI like a stateless oracle:</p><blockquote><em>ask → answer → forget</em></blockquote><p>I treat it like a collaborator:</p><blockquote><em>work → remember → evolve</em></blockquote><p>That shift changes everything.</p><p>Obsidian’s “file over app” philosophy becomes critical here.</p><p>Your knowledge isn’t locked in a tool — it’s in Markdown.</p><p>That means it’s:</p><ul><li>human-readable</li><li>AI-readable</li><li>tool-agnostic</li><li>future-proof</li></ul><p>If AI becomes central to knowledge work (and it will), the real question isn’t:</p><blockquote>Which AI should I use?</blockquote><p>It’s:</p><blockquote>What format should my thinking live in?</blockquote><p>Markdown is a strong answer.</p><h3>Getting Started</h3><p>If you want to try this approach:</p><ol><li>Start with kepano’s vault template</li><li>Install the Terminal plugin in Obsidian</li><li>Set up claude-memory-compiler</li><li>Use a shared root for VS Code + Obsidian</li><li>Write notes for machines <em>and</em> humans</li></ol><p>The key is consistency.</p><p>Your vault won’t feel intelligent on day one.</p><p>But after a few weeks, something shifts:</p><ul><li>Claude stops repeating itself</li><li>context carries forward</li><li>your own thinking becomes clearer</li></ul><blockquote><strong>The tools are replaceable.</strong></blockquote><blockquote><strong>The workflow is adaptable.</strong></blockquote><blockquote><strong>The knowledge graph is the real asset.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ead7737635e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Local Agent Setup: Running “Claude Code” with Gemma and Qwen (Free + Private Hybrid)]]></title>
            <link>https://jiradett.medium.com/the-local-agent-setup-running-claude-code-with-gemma-and-qwen-free-private-hybrid-8136e44745e7?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/8136e44745e7</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[qwen]]></category>
            <category><![CDATA[gemma]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Tue, 07 Apr 2026 02:08:34 GMT</pubDate>
            <atom:updated>2026-04-07T02:08:34.060Z</atom:updated>
            <content:encoded><![CDATA[<p>For most developers, the ideal setup is simple: a capable coding agent that runs locally for privacy, but can scale to cloud-level reasoning when needed — without an ongoing API bill.</p><p>After a fair bit of trial and error (and a few Mac crashes along the way), I’ve landed on a setup that balances both:</p><ul><li><strong>Claude Code</strong> as the agent (CLI interface)</li><li><strong>Gemma 4 (local via Ollama)</strong> for offline work</li><li><strong>Qwen 3.6 Plus (via OpenRouter)</strong> for heavy tasks (free preview)</li></ul><p>This post walks through how the setup works and when to use each component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7LJ5sau-KZazu_5aNzslWw.png" /></figure><h3>1. Architecture: Agent vs Model</h3><p>A useful way to think about this setup is to separate responsibilities:</p><ul><li><strong>Agent (Claude Code) </strong>The execution layer. It reads files, runs commands, interacts with Git, and orchestrates tasks in your terminal.</li><li><strong>Model (Gemma / Qwen) </strong>The reasoning layer. It decides <em>what</em> to do — generate code, debug logic, or plan changes.</li></ul><p>This separation is what makes the setup flexible. You can swap models depending on the task without changing your workflow.</p><h3>2. Cloud Model via OpenRouter (High Context, No Local Limits)</h3><p>Running large models locally is still constrained by hardware — especially on MacBooks. Instead of forcing everything locally, I use a cloud model when needed.</p><p><strong>Qwen 3.6 Plus (via OpenRouter)</strong> is currently a strong option for:</p><ul><li>Multi-file refactoring</li><li>Large codebase analysis</li><li>Long-context tasks</li></ul><h3>Configuration</h3><pre># Route Claude Code to OpenRouter<br>export ANTHROPIC_BASE_URL=&quot;https://openrouter.ai/api&quot;<br><br># Use OpenRouter key<br>export ANTHROPIC_AUTH_TOKEN=&quot;sk-or-v1-your-key-here&quot;<br><br># Avoid conflicts with default Anthropic auth<br>export ANTHROPIC_API_KEY=&quot;&quot;<br><br># Set model<br>export ANTHROPIC_MODEL=&quot;qwen/qwen3.6-plus:free&quot;<br>export ANTHROPIC_SMALL_FAST_MODEL=&quot;qwen/qwen3.6-plus:free&quot;<br><br># Launch<br>claude</pre><p>This effectively “plugs” Claude Code into a different backend without changing how you interact with it.</p><h3>3. Key Concepts (Quick Explanations)</h3><h3>Unified Memory (Mac)</h3><p>Apple Silicon uses <strong>Unified Memory Architecture (UMA)</strong>, meaning CPU and GPU share the same RAM.</p><p>In practice:</p><ul><li>Large models (e.g. 30B+) can exhaust memory quickly</li><li>When memory pressure spikes → system instability or restart</li></ul><p>This is why offloading heavy workloads to cloud models is often more stable.</p><h3>Context Window</h3><p>The <strong>context window</strong> defines how much information a model can process in one request.</p><ul><li>Small models: a few thousand tokens</li><li>Larger models (like Qwen 3.6 Plus): up to ~1M tokens</li></ul><p>This matters for:</p><ul><li>Reading entire repositories</li><li>Processing long documents (e.g. Obsidian vaults, logs)</li></ul><h3>Mixture of Experts (MoE)</h3><p>MoE models activate only a subset of their parameters per task.</p><p>Simplified:</p><ul><li>Not all “neurons” are used every time</li><li>Improves efficiency without losing capability</li></ul><p>Result: better performance per compute compared to dense models.</p><h3>4. When to Use Each Model</h3><p>In practice, I rotate between three setups:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*_Ywqm8XtHibXJJG9Plf3Bw.png" /></figure><p>A simple rule:</p><ul><li><strong>Local first</strong> for speed and privacy</li><li><strong>Cloud when complexity increases</strong></li></ul><h3>5. Practical Use Case</h3><p>This setup works well across both lightweight and complex workflows. For example:</p><ul><li>Managing an <strong>Obsidian + Git sync setup</strong></li><li>Debugging data transformations before pushing to Snowflake</li><li>Reviewing pipeline logic without exposing sensitive code externally</li></ul><p>The key advantage is optionality — you decide when to stay local and when to scale up.</p><h3>Final Thoughts</h3><p>The shift isn’t about replacing cloud models — it’s about <strong>controlling when and how you use them</strong>.</p><p>A hybrid setup like this gives you:</p><ul><li>Local privacy by default</li><li>Cloud-scale reasoning when required</li><li>Minimal ongoing cost</li></ul><p>For engineering workflows, that balance is more practical than going fully local or fully cloud.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8136e44745e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built a Personal Health Dashboard with Claude, Supabase, React, and Vercel — in One Evening]]></title>
            <link>https://jiradett.medium.com/how-i-built-a-personal-health-dashboard-with-claude-supabase-react-and-vercel-in-one-evening-c48dcb1f8788?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/c48dcb1f8788</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[health]]></category>
            <category><![CDATA[vercel]]></category>
            <category><![CDATA[supabase]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Tue, 31 Mar 2026 02:44:36 GMT</pubDate>
            <atom:updated>2026-03-31T02:44:36.084Z</atom:updated>
            <content:encoded><![CDATA[<p><em>From scattered PDF health reports to a live, interactive dashboard on Mac and iPhone — accessible anywhere, without writing most of the code myself.</em></p><h3>The Goal</h3><p>I wanted a single place to view all my health data — anytime, on any device. Not just the latest blood test, but long-term trends across months and years, clearly visualised and colour-coded against reference ranges.</p><p>More importantly, I wanted to be able to pull up any metric instantly — even while sitting in a doctor’s office.</p><p>Here’s what that ideal setup looked like:</p><ul><li>Upload a new lab report → data is automatically structured and stored</li><li>Open a URL on Mac or iPhone → everything is visualised</li><li>Ask Claude Code to query or analyse data on demand</li><li>No apps to install, no servers to maintain, total cost: $0</li></ul><p>Here’s exactly how I built it.</p><h3>The Stack</h3><pre>| Layer           | Tool          | Why                                     |<br>| --------------- | ------------- | --------------------------------------- |<br>| Data ingestion  | Claude (chat) | Reads PDFs &amp; CSVs → structured Markdown |<br>| Notes / staging | Obsidian      | Human-readable structured data layer    |<br>| Database        | Supabase      | PostgreSQL, free tier                   |<br>| Frontend        | React + Vite  | Fast dev, Claude Code friendly          |<br>| Charts          | Recharts      | React-native, clean chart API           |<br>| Hosting         | Vercel        | One-command CLI deploy, free tier       |<br>| Custom domain   | Cloudflare    | Maps health.domain.com to Vercel       |</pre><h3>Why Not a BI Tool Like Metabase or Superset?</h3><p>I initially considered tools like Metabase and Apache Superset. They’re powerful, but designed for teams — not personal projects.</p><p>For a solo setup, they introduce unnecessary overhead:</p><ul><li>You need to host and maintain a server</li><li>Configuration takes longer than building what you actually need</li></ul><p>Other tools like Draxlr or Chartbrew are great for embedded analytics, but still more complex than necessary.</p><p>For a personal project — especially with a “vibe coding” workflow using Claude — building a lightweight web app is simply faster and more flexible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*hf00giwHAwZNm5eALCmHzg.png" /></figure><h3>Step 1 — Getting Health Data In: Claude Chat + Obsidian</h3><p>This is the part most tutorials skip: structuring messy data.</p><p>My lab results come as PDFs and CSV exports from different clinics. Formats vary wildly — inconsistent naming, units, and sometimes even scanned documents.</p><p>Manual entry would be slow and error-prone.</p><p>Instead, I upload them to Claude chat and use a simple prompt:</p><blockquote><em>“Read this blood test PDF and extract all results into a Markdown table with: date, metric_name, value, unit, reference_low, reference_high.”</em></blockquote><p>Claude:</p><ul><li>Reads the document</li><li>Normalises metric names</li><li>Outputs clean, structured Markdown</li></ul><p>I then save this directly into my Obsidian vault.</p><p>Obsidian becomes a <strong>human-readable staging layer</strong>:</p><ul><li>Each file = one lab visit</li><li>Consistent structure</li><li>Synced across devices via iCloud</li></ul><p>From there, Claude Code reads these Markdown files and upserts the data into Supabase.</p><p><strong>The pipeline:</strong></p><pre>Lab report (PDF/CSV)<br>  → Claude chat extracts &amp; structures<br>    → Markdown saved in Obsidian<br>      → Claude Code syncs to Supabase<br>        → Dashboard updates automatically</pre><p>Adding new data now takes ~2 minutes.</p><h3>Step 2 — Scaffold the Dashboard with Claude Code</h3><p>Once the data was in Supabase, I prompted Claude Code:</p><blockquote><em>“Create a React + Vite health dashboard connected to Supabase. Use Recharts to visualise blood test data with reference ranges.”</em></blockquote><p>It scaffolded everything:</p><ul><li>Project setup (package.json, Vite config)</li><li>Supabase client</li><li>Component structure</li><li>Initial chart components</li></ul><p>What normally takes hours was done in minutes.</p><p><strong>Key files:</strong></p><pre> • src/lib/supabase.js — database client<br> • src/lib/referenceRanges.js — biomarker ranges<br> • src/lib/metricInfo.js — metadata and descriptions<br> • src/components/MetricChart.jsx — core visualisation</pre><h3>Step 3 — Colour-Coded Trend Lines</h3><p>The first version used a single-colour line per metric. Functional, but not intuitive.</p><p>So I refined the prompt:</p><blockquote><em>“Make values above and below the optimal range display in different colours.”</em></blockquote><p>Recharts doesn’t support multi-colour lines natively, but Claude Code implemented a clever workaround:</p><ul><li>Split data into three layers:</li></ul><blockquote>🟢 Within range</blockquote><blockquote>🔴 Above range</blockquote><blockquote>🟡 Below range</blockquote><ul><li>Use null values to segment lines</li><li>Add “bridge points” so transitions stay visually continuous</li></ul><p>The result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xsTNys0oDUOd9QP-YeIyTA.png" /></figure><p>At a glance, I can instantly see what’s normal — and what’s not.</p><h3>Step 4 — Deploy with Vercel CLI (No GitHub Needed)</h3><p>For this project, I skipped GitHub entirely.</p><p>Using the Vercel CLI, deployment is just:</p><pre>npm install -g vercel<br>cd /Users/arm/health-dashboard<br>vercel</pre><p>Vercel:</p><ul><li>Authenticates via browser</li><li>Detects the Vite setup</li><li>Deploys automatically</li></ul><p>One small gotcha: project names can’t include spaces.</p><p>After the first deploy:</p><pre>vercel --prod</pre><p>That’s it — no commits, no CI/CD pipeline. Just build, test locally, and deploy.</p><h3>Step 5 — Custom Domain with Cloudflare</h3><p>The default Vercel URL works, but I wanted something cleaner:</p><p>health.kerdsri.com</p><p>Setup is straightforward:</p><p><strong>In Vercel:</strong></p><ul><li>Add domain in project settings</li><li>Copy the provided CNAME record</li></ul><p><strong>In Cloudflare:</strong></p><ul><li>Add DNS record</li><li>Set Proxy to <strong>DNS only</strong> (important for SSL)</li></ul><p>Within minutes, the domain is live with HTTPS.</p><h3>What the Final System Looks Like</h3><ul><li>New lab result → upload to Claude → save to Obsidian → auto-sync to Supabase</li><li>Open health.domain.com → view all metrics as trend charts</li><li>Red highlights flag abnormal values instantly</li><li>Ask Claude Code questions like:</li></ul><blockquote>“What’s my average cholesterol over 6 months?”</blockquote><ul><li>Total cost: <strong>$0</strong></li></ul><h3>The “Vibe Coding” Workflow</h3><p>Everything came together in one evening using a simple loop:</p><ol><li>Describe what I want (natural language)</li><li>Test locally (npm run dev)</li><li>Iterate quickly</li><li>Deploy with vercel — prod</li></ol><p>Each Claude tool plays a different role:</p><ul><li><strong>Claude chat</strong> → handles messy inputs (PDFs, CSVs) + ad hoc queries</li><li><strong>Claude Code</strong> → builds the app, writes sync logic, evolves features</li></ul><p>Together, they cover the entire pipeline — from raw data to live dashboard.</p><h3>Key Takeaways</h3><ul><li><strong>Claude chat is a powerful data ingestion tool</strong> — especially for messy PDFs</li><li><strong>Obsidian as a staging layer</strong> keeps data transparent and auditable</li><li>For personal projects, <strong>a simple web app beats BI tools</strong></li><li><strong>Vercel CLI without GitHub works perfectly</strong> for solo builds</li><li><strong>Cloudflare + Vercel setup is fast and free</strong></li><li>One URL replaces the need for any mobile app</li></ul><p><em>If you have health data sitting in PDFs or CSVs, this approach works just as well for you. Let Claude handle the messy extraction — so you can focus on understanding your data.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c48dcb1f8788" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sync Obsidian Tasks with Apple Reminders using obs-sync]]></title>
            <link>https://jiradett.medium.com/sync-obsidian-tasks-with-apple-reminders-using-obs-sync-4ee4fb6be34d?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ee4fb6be34d</guid>
            <category><![CDATA[icloud]]></category>
            <category><![CDATA[tasks]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[obsidian]]></category>
            <category><![CDATA[reminder]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Wed, 25 Mar 2026 02:24:47 GMT</pubDate>
            <atom:updated>2026-03-25T02:24:47.856Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>obs-sync</strong> is a free, open-source CLI tool that bidirectionally syncs your Obsidian Tasks with Apple Reminders — so you get notifications and mobile access without leaving your markdown workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AbrANNYVNu9epPgE1QjhHQ.png" /></figure><h3>Prerequisites</h3><ul><li>macOS 10.15+</li><li>Python 3.8+</li><li>Obsidian with the <strong>Tasks plugin</strong> installed</li></ul><h3>Step 1 — Install</h3><pre>git clone https://github.com/BoweyLou/obssync.git<br>cd obssync<br>chmod +x install.sh<br>./install.sh --extras macos<br>source ~/.zshrc</pre><p>Verify:</p><pre>obs-sync --help</pre><h3>Step 2 — Grant Reminders Permission</h3><p>Go to <strong>System Settings → Privacy &amp; Security → Reminders</strong> and enable access for <strong>Terminal</strong>.</p><h3>Step 3 — Create a Reminders List</h3><p>In Apple Reminders, create a new list called <strong>“Obsidian Task”</strong> under your <strong>iCloud account</strong> (so it syncs to all your Apple devices).</p><h3>Step 4 — Run Setup</h3><pre>obs-sync setup</pre><ul><li>Select your <strong>Obsidian Task</strong> list when prompted</li><li>Accept defaults for match score and other settings</li><li>Enable <strong>hourly automation</strong> when asked (I found problem using this, so I disable it!)</li></ul><h3>Step 5 — Configure Tag Routing</h3><p>To sync only tasks tagged #reminder, edit the config directly:</p><p>bash</p><pre>nano ~/.config/obs-sync/config.json</pre><p>Add your tag route inside the config:</p><pre>&quot;tag_routes&quot;: {<br>  &quot;reminder&quot;: &quot;YOUR-OBSIDIAN-TASK-LIST-UUID&quot;<br>}</pre><p>Find your list UUID from the setup output (e.g. 1A5D79A1-368B-47E5-A4C1-AF55722D4468).</p><h3>Step 6 — Test</h3><p>Add a task in any Obsidian note:</p><pre>- [ ] My first synced task #reminder<br>- [ ] Task with due date #reminder 📅 2026-04-01</pre><p>Preview:</p><pre>obs-sync sync</pre><p>Apply:</p><pre>obs-sync sync --apply</pre><h3>How it works</h3><p>DirectionWhat happensObsidian → Reminders#reminder tasks appear in your Obsidian Task listReminders → ObsidianCompletions and new tasks land in AppleRemindersInbox.md in your vaultAuto-syncRuns every hour via macOS LaunchAgent</p><h3>Key Commands</h3><p>bash</p><pre>obs-sync sync              # dry run — preview only<br>obs-sync sync --apply      # apply bidirectional sync<br>obs-sync automation status # check scheduler health<br>obs-sync automation logs   # view recent sync logs<br>obs-sync update            # pull latest version</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ee4fb6be34d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connecting Claude Code to Snowflake with SSO (and MCP) — A Practical Guide]]></title>
            <link>https://jiradett.medium.com/connecting-claude-code-to-snowflake-with-sso-and-mcp-a-practical-guide-2d313cc9cb24?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d313cc9cb24</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[snowflake]]></category>
            <category><![CDATA[data-engineer]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[mcp-protocol]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 07:36:04 GMT</pubDate>
            <atom:updated>2026-05-07T22:48:16.484Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re working with <strong>Claude Code</strong> and <strong>Snowflake</strong>, one of the most powerful setups you can build is connecting them via the <strong>Model Context Protocol (MCP)</strong>.</p><p>But what if your organisation uses <strong>Single Sign-On (SSO)</strong>?</p><p>That’s exactly the situation I ran into — and in this post, I’ll walk you through what actually works, what breaks, and how to fix it.</p><p>The Problem</p><p>I wanted to:</p><ul><li>Use Claude Code to query Snowflake</li><li>Keep using my organisation’s SSO (no passwords, no keys)</li><li>Avoid clunky manual workflows</li></ul><p>At first glance, it seems straightforward — Snowflake supports SSO, and Claude Code supports MCP.</p><p>But there’s a catch.</p><h3>✅ Can Claude Code Connect to Snowflake with SSO?</h3><p>Yes — but not directly in all cases.</p><p>The official <strong>Snowflake Labs MCP server</strong> supports SSO via the Snowflake Python connector using:</p><pre>authenticator = &quot;externalbrowser&quot;</pre><p>This means authentication happens via a browser pop-up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0Xyel8OowC5e6pMxeB2iA.png" /></figure><h3>⚙️ Step 1 — Configure Snowflake Connection</h3><p>Create or update on Terminal:</p><pre>~/.snowflake/connections.toml</pre><p>This is the sample setting:</p><pre>[SE02186-UQ41805]<br>account = &quot;SE02187-UQ41805&quot;<br>user = &quot;your.email@company.com&quot;<br>authenticator = &quot;EXTERNALBROWSER&quot;</pre><h3>⚙️ Step 2 — Configure Claude Code MCP</h3><p>In Terminal:</p><pre>~/.claude.json</pre><p>Add the Snowflake MCP server:</p><pre>&quot;snowflake&quot;: {<br>  &quot;type&quot;: &quot;stdio&quot;,<br>  &quot;command&quot;: &quot;uvx&quot;,<br>  &quot;args&quot;: [<br>    &quot;--from&quot;, &quot;git+https://github.com/Snowflake-Labs/mcp&quot;,<br>    &quot;mcp-server-snowflake&quot;,<br>    &quot;--connection-name&quot;, &quot;SE02187-UQ41805&quot;<br>  ],<br>  &quot;env&quot;: {}<br>}</pre><p>💡 Important:</p><ul><li>— connection-name must match your connections.toml</li><li>uvx is used to run the MCP server</li></ul><p>Before using Claude Code, you need to authenticate once manually.</p><h3>My Option — Using SnowSQL</h3><pre>snowsql -a SE02187-UQ41805 -u your.email@company.com --authenticator externalbrowser</pre><h3>💻 Using It in Claude Code</h3><p>Once authenticated, just type naturally:</p><ul><li>“Show me all databases in Snowflake”</li><li>“List tables in my landing schema”</li><li>“Check row counts across all tables”</li></ul><p>Claude Code automatically uses the MCP server in the background.</p><h3>🚀 What You Can Do Next</h3><p>Once connected, you can:</p><ul><li>Generate SQL instantly</li><li>Explore data without switching tools</li><li>Validate pipelines</li><li>Even build apps (e.g. Streamlit in Snowflake)</li></ul><p>Example:</p><blockquote><em>“Create a dashboard showing row counts for all landing tables”</em></blockquote><h3>Final Thoughts</h3><p>Connecting Claude Code to Snowflake with SSO <strong>does work</strong> — but it’s not plug-and-play.</p><p>The key insight:</p><blockquote><em>👉 MCP + SSO requires pre-authentication</em></blockquote><blockquote><em>👉 Cortex availability depends on region</em></blockquote><p>For me, the winning setup is:</p><ul><li>Cortex (where available)</li></ul><h3>⚠️ Snowflake Cortex in Australia — Why I Still Needed MCP</h3><p>You might ask:</p><blockquote><em>“Why not just use AI directly inside Snowflake?”</em></blockquote><p>Snowflake provides built-in AI via <strong>Snowflake Cortex</strong>, which includes:</p><ul><li>Text generation</li><li>Summarisation</li><li>AI-powered SQL assistance</li></ul><h3>🚧 The Reality in an Australian Region</h3><p>In my case, my Snowflake account is hosted in an <strong>Australian region</strong> on <strong>Microsoft Azure</strong>.</p><p>Here’s the key limitation:</p><p>👉 <strong>Not all Cortex features are fully available in every region (including Australia)</strong></p><p>This means:</p><ul><li>Some models or functions are <strong>not deployed locally</strong></li><li>Feature rollout can lag behind major regions (e.g. US)</li><li>Capabilities may differ depending on region</li></ul><h3>🌏 What About Cross-Region Inference?</h3><p>Snowflake does support <strong>cross-region inference</strong>, which allows you to call models hosted in other regions.</p><p>And yes — I <em>can</em> use it.</p><p>But there are trade-offs:</p><ul><li><strong>Latency increases</strong> (data travels across regions)</li><li><strong>Potential governance concerns</strong> (data residency, compliance)</li><li><strong>Not always enabled or preferred in enterprise environments</strong></li></ul><p>👉 So while cross-region works, it’s not always ideal for production workflows.</p><h3>🤖 Why Claude Code + MCP Still Wins (For Now)</h3><p>Because of these constraints, using <strong>Claude Code + MCP</strong> gives me:</p><ul><li>Full control over prompts and workflows</li><li>No dependency on regional AI feature availability</li><li>Seamless integration with my data engineering tasks</li></ul><p>👉 Especially for:</p><ul><li>Exploring schemas</li><li>Validating pipelines</li><li>Generating SQL</li><li>Debugging data issues</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d313cc9cb24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Connected Claude Code to Microsoft Fabric — and Started Vibe Coding My Data Pipelines from a…]]></title>
            <link>https://jiradett.medium.com/how-i-connected-claude-code-to-microsoft-fabric-and-started-vibe-coding-my-data-pipelines-from-a-44dd55abda51?source=rss-a0f56b385cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/44dd55abda51</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[microsoft-fabric]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <dc:creator><![CDATA[Jared  Kerdsri]]></dc:creator>
            <pubDate>Thu, 05 Mar 2026 02:48:23 GMT</pubDate>
            <atom:updated>2026-03-05T02:48:23.366Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Connected Claude Code to Microsoft Fabric — and Started Vibe Coding My Data Pipelines from a Mac</h3><p>As a data engineer working heavily with <strong>Microsoft Fabric and Snowflake</strong>, I’m always looking for ways to move faster without sacrificing control.</p><p>Recently, I connected <strong>Claude Code</strong> to my <strong>Microsoft Fabric workspace</strong> using the Fabric MCP server — and it completely changed how I build pipelines and customise Power BI models.</p><p>Now I can “<strong><em>vibe code</em></strong>” my Fabric pipelines and semantic models directly from my Mac. Here’s a simple, step-by-step guide on how I set it up — plus what you can actually do with it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QPk7AlXjBR4KtuOIxMcwVg.png" /></figure><h3>What Is MCP (in simple terms)?</h3><p><strong>MCP (Model Context Protocol)</strong> is a way to let AI tools talk directly to real systems.</p><p>Instead of just generating code, Claude Code (or other AI tools) can:</p><ul><li>Connect to your Fabric workspace</li><li>Read metadata</li><li>Generate pipeline JSON</li><li>Inspect tables</li><li>Help modify Power BI models</li></ul><p>Think of it like giving Claude a secure remote control to your Fabric environment.</p><h3>Step 0 — Install Azure CLI and UV on macOS</h3><p>Before connecting Claude to Microsoft Fabric, I needed two tools on my Mac:</p><ul><li><strong>Azure CLI</strong> — lets your machine authenticate with Microsoft Azure</li><li><strong>uv</strong> — a fast Python package manager used to run the Fabric MCP server</li></ul><h3>Install Azure CLI</h3><p>From Terminal:</p><pre>brew install azure-cli</pre><p>This installs the Azure CLI and its dependencies (Python, OpenSSL, certificates, etc.).</p><p>After installation, verify your login:</p><pre>az login</pre><p>A browser window will open asking you to authenticate (I’ll need to choose the subscription for my organization).</p><p>After login, I confirmed the active subscription:</p><pre>az account show</pre><h3>Step 1 — Install UV (Python Runtime Manager)</h3><p>Next, install uv:</p><pre>brew install uv</pre><p>uv is a lightweight and fast Python execution tool.</p><p>We use it to run the Fabric MCP server without manually managing environments.</p><h3>Step 2 — Verify Fabric MCP Server</h3><p>Now test whether the Fabric MCP server runs correctly:</p><pre>uvx ms-fabric-mcp-server --help</pre><p>In my case, it returned: MCP server for Microsoft Fabric — exposes Fabric operations as MCP tools.</p><p>If this fails, install the package:</p><pre>uv pip install ms-fabric-mcp-server</pre><h3>Step 3 — Register Fabric MCP in Claude</h3><p>Now connect it to Claude Code:</p><pre>claude mcp add fabric -- uvx ms-fabric-mcp-server</pre><p>Terminal confirmed: Added stdio MCP server fabric with command: uvx ms-fabric-mcp-server</p><p>File modified: /Users/me/.claude.json</p><p>This means Claude now knows how to launch the Fabric connector.</p><p>Your local Claude config file (~/.claude.json) now includes:</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;fabric&quot;: {<br>      &quot;command&quot;: &quot;uvx&quot;,<br>      &quot;args&quot;: [&quot;ms-fabric-mcp-server&quot;]<br>    }<br>  }<br>}</pre><p>That’s the bridge between Claude and Microsoft Fabric.</p><h3>Why This Setup Matters</h3><p>After this setup:</p><p>Claude is no longer just generating code.</p><p>It can:</p><ul><li>List my Fabric workspaces</li><li>Inspect Lakehouse tables</li><li>Generate Data Factory pipeline JSON</li><li>Modify Power BI semantic models</li><li>Validate metadata</li></ul><p>All directly from my Claude Code Desktop (or Terminal) on my Mac 😁</p><blockquote><em>Before AI:</em></blockquote><blockquote><em>Data Engineer = 70% writing JSON, 20% debugging, 10% explaining to stakeholders.</em></blockquote><blockquote><em>After AI:</em></blockquote><blockquote><em>Data Engineer = 70% describing architecture like a visionary, 20% reviewing AI output, 10% pretending this was always the plan 🤣</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44dd55abda51" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>