<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muhammad Mohsin</title>
    <description>The latest articles on DEV Community by Muhammad Mohsin (@mohsinakram91).</description>
    <link>https://dev.to/mohsinakram91</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4190272%2Fbaa075ce-2134-4796-b313-c936c5c1ecd2.jpg</url>
      <title>DEV Community: Muhammad Mohsin</title>
      <link>https://dev.to/mohsinakram91</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohsinakram91"/>
    <language>en</language>
    <item>
      <title>The Idle-Session Tax — Your AI Forgets Everything, Then Charges You to Relearn It</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Wed, 25 Nov 2026 05:56:01 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/the-idle-session-tax-your-ai-forgets-everything-then-charges-you-to-relearn-it-g7l</link>
      <guid>https://dev.to/mohsinakram91/the-idle-session-tax-your-ai-forgets-everything-then-charges-you-to-relearn-it-g7l</guid>
      <description>&lt;p&gt;You finish a long coding session at 6 pm. The context is rich: your codebase structure, the plan, the decisions you made, the three dead ends you already ruled out. You close the laptop, have dinner, and come back at 9 pm to finish the last piece.&lt;/p&gt;

&lt;p&gt;You type one short message. The model answers — but it feels slightly off. It re-reads files it already read. It asks about things you settled hours ago. And somewhere in the background, your token meter just paid to rebuild a context you already paid to build once.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the cache actually works
&lt;/h2&gt;

&lt;p&gt;Most modern AI coding tools keep a cache of your conversation context. When you send a follow-up, the model does not re-read the whole conversation at full price — it reuses the cached prefix at a much lower rate. On Anthropic's API, for example, cached input costs roughly a tenth of fresh input. That discount is the whole reason long sessions can stay affordable.&lt;/p&gt;

&lt;p&gt;But the cache has a timer. The standard lifetime is about five minutes of inactivity, with some setups stretching it to an hour. Go quiet for longer and the cache expires. The next message starts cold: the entire context — every file, every earlier decision — is billed again at full price.&lt;/p&gt;

&lt;h2&gt;
  
  
  What an expired cache really costs
&lt;/h2&gt;

&lt;p&gt;Here is a worked example with illustrative numbers, based on the public pricing structure most API tools follow.&lt;/p&gt;

&lt;p&gt;Say your session has grown to 60,000 tokens of context — a normal size after two hours of real work on a real codebase. You take a 40-minute break. The cache expires.&lt;/p&gt;

&lt;p&gt;Your next message — a one-line "now add the error handling" — forces a full re-read of those 60,000 tokens at fresh-input price. If fresh input costs about $3 per million tokens and cached input about $0.30, that single message costs you roughly $0.18 instead of $0.018. Ten times more, for the exact same context, because you had dinner.&lt;/p&gt;

&lt;p&gt;Now multiply it across a week. Four sessions a day, each resuming after a break, each rebuilding a 40,000–80,000-token context. That is 160,000–320,000 tokens a day billed at full price for context you already built. Over a month, the idle tax alone can quietly cost more than the actual new work — and it never appears as its own line on the bill. It just looks like you "used more tokens."&lt;/p&gt;

&lt;p&gt;The worst version is the overnight session. You leave a big session open, come back the next morning, and the first message re-reads everything. Some people do this five days a week without noticing, because the tool never tells you "cache expired, full re-read in progress."&lt;/p&gt;

&lt;h2&gt;
  
  
  Three more places the tax hides
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. The "quick check" that restarts the clock.&lt;/strong&gt; You open a session just to ask one small question, then leave. If you come back an hour later, the cache is gone and the quick check cost you a full context reload.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Switching tools mid-task.&lt;/strong&gt; You start in one editor, move to a terminal agent, then to a web chat. Each new surface has no cache of the old one. Every switch is a full-price rebuild of the same context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The long, slow session.&lt;/strong&gt; Even without breaks, a session that drags across a whole afternoon accumulates context — and every cache refresh re-bills the growing prefix. A session that could have been closed and restarted cleanly at a natural breakpoint keeps paying rent on context it no longer needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to stop paying it
&lt;/h2&gt;

&lt;p&gt;You cannot change the cache timer. You can change how you work around it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Work in focused blocks, then close the session.&lt;/strong&gt; When a task is done, end the session. A fresh session for the next task starts with a small, deliberate context instead of inheriting yesterday's 80,000 tokens.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before a break, write the state down.&lt;/strong&gt; A short note — "done: auth flow; next: error handling on the upload route; dead end: don't use library X, it breaks on empty files" — costs you a few hundred tokens to paste into a new session. Rebuilding the same state from a cold cache costs tens of thousands. A one-paragraph handoff note is the best money you will ever save on AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep a session's context lean on purpose.&lt;/strong&gt; The bigger the context, the bigger the reload. If your session carries files you opened three tasks ago and a plan that has been revised five times, trim it before the break — or start fresh with just the files this task needs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your bill by session, not by day.&lt;/strong&gt; Most tools show usage per session or per request. Look for the pattern: a session whose first message after a gap costs ten times the ones before it. Once you see it, you will start closing sessions the way you close tabs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mindset shift
&lt;/h2&gt;

&lt;p&gt;The real lesson is not about a five-minute timer. It is that context is not free storage — it is rented space, billed every time it is read. Long sessions feel productive because the model "remembers" everything. But that memory has a price, and the price is charged again every time the cache goes cold.&lt;/p&gt;

&lt;p&gt;Treat your AI sessions the way you treat a hired contractor's time: give them a clear brief, let them work in a focused block, and when the block ends, write down where things stand and let them go. The next session starts cheaper, faster, and — because it only carries what matters — often smarter too.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I write about the real cost of building with AI — the leaks, the waste, and the fixes that actually work. If you want to see what your own AI spending looks like, I built a small tool for that: the AI Spend Tracker on my Gumroad store (&lt;a href="https://onyxailabs.gumroad.com" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com&lt;/a&gt;), and I share longer breakdowns on my YouTube channel (&lt;a href="https://www.youtube.com/@onyxaipk" rel="noopener noreferrer"&gt;https://www.youtube.com/@onyxaipk&lt;/a&gt;).&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What is the longest you have left a session idle before coming back — and did you notice the bill jump?&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>llm</category>
      <category>programming</category>
    </item>
    <item>
      <title>Your Subagents Are Carrying Your Whole Brain for a One-Line Job</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Wed, 18 Nov 2026 05:52:56 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/your-subagents-are-carrying-your-whole-brain-for-a-one-line-job-1039</link>
      <guid>https://dev.to/mohsinakram91/your-subagents-are-carrying-your-whole-brain-for-a-one-line-job-1039</guid>
      <description>&lt;h1&gt;
  
  
  Your Subagents Are Carrying Your Whole Brain for a One-Line Job
&lt;/h1&gt;

&lt;p&gt;Subagents are one of the best ideas in modern AI coding tools. Got a big job? Split it up. Let one agent research the codebase, another write the tests, another review the diff — while you watch it all come together. It feels like hiring a team.&lt;/p&gt;

&lt;p&gt;Here is the part nobody puts on the box: every subagent you spawn gets handed a copy of your context. Not a summary. Not the relevant slice. Often the whole thing — the conversation, the files, the plan, the history of everything you have done in this session so far. And you pay for every token of it, every time.&lt;/p&gt;

&lt;p&gt;I first noticed this the way most people notice a leak: not from one big charge, but from a bill that was bigger than the work felt. The tasks were small. The answers were short. The token counts were not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a small job costs a big context
&lt;/h2&gt;

&lt;p&gt;Think about what a subagent actually needs to do its job, versus what it usually receives.&lt;/p&gt;

&lt;p&gt;A subagent asked to "check whether this function handles empty input" needs: the function, maybe its callers, and a one-line instruction. That is a few hundred tokens of real context.&lt;/p&gt;

&lt;p&gt;What it often receives instead: the full session — thousands of tokens of earlier discussion, files you opened three tasks ago, a plan document that has grown through five revisions, and the output of every previous agent. The subagent reads all of it, because that is what it was given, and the meter runs on all of it.&lt;/p&gt;

&lt;p&gt;The waste compounds because subagents breed. One orchestrator spawns three researchers; each researcher spawns two helpers; each helper gets the same bloated context. A job that should have cost one careful read of a file now costs six or seven reads of your entire session. The work itself is cheap. The briefing is the bill.&lt;/p&gt;

&lt;p&gt;And it is invisible in the moment, because the cost shows up per agent, not per job. Each individual call looks reasonable. Add them up at the end of the week and the briefing tax is often the largest line on the bill — bigger than the flagship-model premium, bigger than long answers.&lt;/p&gt;

&lt;h2&gt;
  
  
  A worked example (illustrative numbers)
&lt;/h2&gt;

&lt;p&gt;Say your session context has grown to 40,000 tokens — a normal size after an hour of real work. You spawn five subagents to handle five small checks in parallel. If each one receives the full 40,000-token context, that is 200,000 input tokens before any of them has done a single useful thing.&lt;/p&gt;

&lt;p&gt;Now compare: if each agent had received only the 2,000 tokens actually relevant to its task, the same five checks would cost 10,000 input tokens. Same five answers. Twenty times less context billed.&lt;/p&gt;

&lt;p&gt;These are illustrative numbers, not a quote from any provider — your tool's exact behaviour and your prices will differ. But the shape holds whenever subagents inherit the whole session: the briefing cost grows with the number of agents times the size of the session, while the useful work stays flat. That is why the bill can double on a day when the work itself felt light.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four practical fixes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Brief the agent, don't forward the session.&lt;/strong&gt; Before spawning a subagent, write two or three sentences: what to do, what "done" looks like, and which files matter. If your tool lets you pass a short prompt instead of the full context, use it. A good brief is the cheapest token you will ever spend.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Shrink the session before you fan out.&lt;/strong&gt; If the context has grown large, start a fresh session for the parallel work, or summarize the plan into a short document and spawn agents from that document — not from the live session. The smaller the thing you hand over, the smaller the tax.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Ask whether it needs an agent at all.&lt;/strong&gt; A one-line check, a single file read, a quick grep — these are jobs for a direct call, not a subagent. Every spawn has a fixed cost: the briefing. If the job is smaller than the briefing, you have already lost money. A good rule: if you can describe the job in one sentence and it touches one file, do it directly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Cap the fan-out.&lt;/strong&gt; Three agents working from tight briefs will usually beat eight agents working from the full session — on cost, and often on quality too, because each one is actually focused on its own slice instead of wading through everyone else's context. Parallelism has a price. Pay it only where the speedup is real.&lt;/p&gt;

&lt;p&gt;One warning in the other direction: don't kill subagents entirely. For genuinely big, decomposable work — research across a codebase, a review pass, a multi-part build — they earn their keep many times over. The goal is not fewer agents. The goal is agents that arrive with a brief, not with your entire brain.&lt;/p&gt;

&lt;h2&gt;
  
  
  The question to take into your next session
&lt;/h2&gt;

&lt;p&gt;Before you spawn your next subagent, pause and ask: &lt;em&gt;what does this agent actually need to know — and what am I handing it that it doesn't?&lt;/em&gt; If the answer is "the whole session," write the three-sentence brief instead. Your bill will notice before your workflow does.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I write about the real cost of building with AI — and the tools I build to keep it under control — on my YouTube channel (&lt;a href="https://www.youtube.com/@onyxaipk" rel="noopener noreferrer"&gt;https://www.youtube.com/@onyxaipk&lt;/a&gt;) and my Gumroad store (&lt;a href="https://onyxailabs.gumroad.com" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com&lt;/a&gt;), where my AI Spend Tracker helps you see exactly where your AI money goes.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;What is the smallest job you ever handed to a subagent — and how much context did it carry to do it?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>llm</category>
      <category>programming</category>
    </item>
    <item>
      <title>Stop Paying for AI to Think Out Loud</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Wed, 11 Nov 2026 05:54:43 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/stop-paying-for-ai-to-think-out-loud-1dgn</link>
      <guid>https://dev.to/mohsinakram91/stop-paying-for-ai-to-think-out-loud-1dgn</guid>
      <description>&lt;h1&gt;
  
  
  Stop Paying for AI to Think Out Loud
&lt;/h1&gt;

&lt;p&gt;Most of us watch the wrong side of our AI bill. We obsess over what we type in — the prompt, the pasted document, the giant file we attached — and barely glance at what comes back. But on most major AI providers, output tokens cost more than input tokens. Often three to five times more. Every long-winded answer, every over-explained fix, every "here's a detailed breakdown" you didn't ask for is billed at the most expensive rate on the menu.&lt;/p&gt;

&lt;p&gt;I started noticing this when I looked at my own usage. The prompts were reasonable. The answers were the problem: a simple question returning a five-paragraph essay, a one-line bug fix arriving with a 400-word explanation of what the bug was, a request for a list returning a list — plus an introduction, a conclusion, and a friendly offer to explain further. None of it was wrong. All of it was billed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why output waste hurts more than input waste
&lt;/h2&gt;

&lt;p&gt;Think of it as two different prices for two different things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Input tokens&lt;/strong&gt; are what you send. They are usually the cheaper side.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output tokens&lt;/strong&gt; are what the model writes back. They are usually the expensive side — and they are the side you control least, because the model decides how much to say.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A prompt of 1,000 tokens might cost you a few cents. But if the model answers with 2,000 tokens of thorough explanation, the answer can cost several times the question. Now multiply that by every chat, every day, across every tool in your stack. The waste is quiet because no single answer looks expensive. The bill is where it adds up.&lt;/p&gt;

&lt;p&gt;Here is a small, concrete example. Say you ask an AI assistant to sort 50 customer messages into categories. The smart way to get that answer is a short table: message, category, done. Instead, the model writes a paragraph per message explaining its reasoning, then a summary, then a note about edge cases. The table would have been roughly 500 tokens. The essay version is closer to 2,500. Same result, five times the output cost — and you still have to read it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four habits that inflate every answer
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Asking open questions when you want a closed answer.&lt;/strong&gt; "What do you think about this code?" invites an essay. "List the three bugs in this function, one line each" invites a short list. The shape of your question decides the length of the answer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Never setting a format.&lt;/strong&gt; If you don't say how you want the answer, the model defaults to its most generous format: headings, introductions, bullet points, and a closing summary. A format instruction is the cheapest cost control you own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Accepting explanations you didn't ask for.&lt;/strong&gt; When a model fixes your code, it often explains the fix at length. If you already understand the area, that explanation is pure cost. Ask for the fix first, and the explanation only if you need it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Letting agents narrate their own work.&lt;/strong&gt; Coding agents and multi-step automations often log every thought, every tool call, every "let me check that" in the output stream. If that narration is saved, summarized, or passed along to the next step, you are paying to store and re-read a diary of the work instead of the work itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical fixes that actually work
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ask for the shape, not just the content.&lt;/strong&gt; "Answer in a table." "Five bullets, max." "One sentence per item." Models follow format instructions well, and a format is worth more than a word limit because it removes the filler, not just the length.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split "do it" from "explain it."&lt;/strong&gt; First message: do the task, output only. Second message, only when you need it: explain the tricky part. Most of the time you will never send the second message — and that is the saving.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use structured output for repeatable jobs.&lt;/strong&gt; If the same task runs daily — classifying messages, extracting fields, summarizing tickets — ask for JSON or a fixed table. Structured output is shorter, cheaper, and easier to feed into the next step without re-reading prose.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cap reasoning where the tool allows it.&lt;/strong&gt; Some providers and coding tools let you limit how much the model reasons before answering. For routine jobs, a short reasoning budget is plenty. Save the deep thinking for genuinely hard problems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit one week of output, not input.&lt;/strong&gt; Most usage dashboards show tokens in and tokens out. Look at the ratio. If your output tokens are consistently much larger than your input tokens, your prompts are fine — your answers are too long.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this means using AI less, or getting worse answers. It means getting the same answers in fewer words, at the expensive end of the bill. The best AI users I know are not the ones with the cleverest prompts. They are the ones who are specific about what should come back.&lt;/p&gt;




&lt;p&gt;I write about the real cost of building with AI — and the tools I build to keep it under control — on my YouTube channel (&lt;a href="https://www.youtube.com/@onyxaipk" rel="noopener noreferrer"&gt;https://www.youtube.com/@onyxaipk&lt;/a&gt;) and my Gumroad store (&lt;a href="https://onyxailabs.gumroad.com" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com&lt;/a&gt;), where my AI Spend Tracker helps you see exactly where your AI money goes.&lt;/p&gt;

&lt;p&gt;What is the longest, least useful answer an AI tool has ever given you — and how much of it did you actually read?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
      <category>llm</category>
    </item>
    <item>
      <title>The Wrong Model for the Job Is Quietly Eating Your AI Budget</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Wed, 04 Nov 2026 05:54:21 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/the-wrong-model-for-the-job-is-quietly-eating-your-ai-budget-2gpc</link>
      <guid>https://dev.to/mohsinakram91/the-wrong-model-for-the-job-is-quietly-eating-your-ai-budget-2gpc</guid>
      <description>&lt;h1&gt;
  
  
  The Wrong Model for the Job Is Quietly Eating Your AI Budget
&lt;/h1&gt;

&lt;p&gt;Here is a habit almost every AI user has, and almost nobody audits: we open the same model for everything. The flagship model becomes the default tab. Draft an email? Flagship. Summarize a meeting? Flagship. Sort fifty support messages into categories? Flagship — the most expensive model available, doing the simplest job on the list.&lt;/p&gt;

&lt;p&gt;Most daily AI work falls into three buckets:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Simple, high-volume jobs.&lt;/strong&gt; Summarizing, classifying, extracting fields from text, drafting routine replies, reformatting data. The answer is usually obvious once the text is read. These jobs want speed and low cost, not deep reasoning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skilled craft jobs.&lt;/strong&gt; Writing decent code, editing a draft, explaining a concept, planning a workflow. These need a capable general model, but not the biggest one on the menu.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hard reasoning jobs.&lt;/strong&gt; Debugging a subtle bug, designing an architecture, working through a genuinely tricky problem with many constraints. This is the only bucket where the flagship model reliably earns its price.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The waste happens when bucket 1 work gets bucket 3 pricing. A classification task that a small model handles in seconds does not get a better answer from a flagship model — it gets the same answer, slower, at many times the cost. And because these simple jobs are usually the high-volume ones, the waste compounds silently: hundreds of small overpayments, every week, that never appear as a single shocking line on the bill.&lt;/p&gt;

&lt;h2&gt;
  
  
  A worked example (illustrative numbers)
&lt;/h2&gt;

&lt;p&gt;Take a small, realistic routine: a freelancer sorts and drafts replies to 100 customer messages a day, at roughly 500 tokens per message. That is 50,000 tokens a day, or about 1.5 million tokens a month.&lt;/p&gt;

&lt;p&gt;Now imagine the flagship model costs, say, 10 times what a capable small model costs per token. The math is then simple and brutal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the small model: 1.5 million tokens at the small-model rate.&lt;/li&gt;
&lt;li&gt;On the flagship model: the same 1.5 million tokens at 10 times that rate — nine-tenths of the spend buying nothing extra.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are illustrative rates, not a quote from any provider — actual prices vary and change often. But the shape of the result does not depend on the exact numbers: whenever the price ratio between models is large and the task is simple, defaulting to the biggest model multiplies a routine cost for no return. Run the same arithmetic with your own provider's current prices and your own token counts, and the gap is usually the largest single saving available without changing anything about what you actually produce.&lt;/p&gt;

&lt;p&gt;I have seen the same pattern in my own workflow. The moment I started asking "which bucket is this task in?" before choosing a model, the expensive calls dropped sharply — not because I used AI less, but because the hard jobs finally had the budget room they deserved. The flagship model is a better tool when it is used only where it matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four practical fixes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Set your default to the smallest model that does the job well.&lt;/strong&gt; Make the flagship the exception, not the default. If your tool lets you set a default model, change it today; defaults decide more spending than decisions do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Route by task, not by habit.&lt;/strong&gt; Write down your five most common AI tasks and assign each one a model tier: small, medium, or flagship. Tape that list next to your monitor, literally or figuratively. "Summarize" and "classify" almost never belong in the flagship tier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Escalate on failure, not in advance.&lt;/strong&gt; Start small. If the output is wrong, unclear, or shallow, escalate that specific task to a bigger model. This one rule alone kills most of the waste: you pay flagship prices only for the tasks that proved they needed them, instead of pre-paying for difficulty that never arrives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Log the model, not just the prompt, for one week.&lt;/strong&gt; For seven days, note which model handled each task and whether the result was good enough. Most people discover two things: their simple tasks were nearly all fine on the small model, and one or two hard tasks genuinely deserved the flagship.&lt;/p&gt;

&lt;p&gt;One warning, in the other direction: do not overcorrect. Routing a genuinely hard reasoning task to a tiny model and then re-running it three times, plus fixing its mistakes by hand, costs more than one good flagship call. The goal is not "always use the cheapest model." The goal is the right model for each job, first time.&lt;/p&gt;

&lt;h2&gt;
  
  
  The question to take into your next session
&lt;/h2&gt;

&lt;p&gt;Before your next AI task, pause for five seconds and ask: &lt;em&gt;which bucket is this — simple, skilled, or hard?&lt;/em&gt; That one question is worth more than any prompt trick I know, because it attacks the bill at the level where the bill is actually decided.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I write about AI costs, billing, and automation that pays for itself, and I build one-time-purchase tools instead of monthly subscriptions. You can find the work at &lt;a href="https://onyxailabs.gumroad.com" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com&lt;/a&gt; and on YouTube at &lt;a href="https://www.youtube.com/@onyxaipk" rel="noopener noreferrer"&gt;https://www.youtube.com/@onyxaipk&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is the simplest task you have been running on the most expensive model — and what happened when you tried it on a smaller one?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>I Stopped Renting Software: 12 Tools I Built, Own Forever, and What They'd Cost One by One</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Tue, 03 Nov 2026 02:38:47 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/i-stopped-renting-software-12-tools-i-built-own-forever-and-what-theyd-cost-one-by-one-14g0</link>
      <guid>https://dev.to/mohsinakram91/i-stopped-renting-software-12-tools-i-built-own-forever-and-what-theyd-cost-one-by-one-14g0</guid>
      <description>&lt;p&gt;Every freelancer I know is paying the same quiet tax.&lt;/p&gt;

&lt;p&gt;A proposal tool here. A contract tool there. Something for content, something for client messages, something to track what the AI subscriptions themselves are costing. Each one is "only" $15–30 a month — until you add the column up and realise you're renting your own toolbox for over a thousand dollars a year.&lt;/p&gt;

&lt;p&gt;I build software for a living, so this year I did the stubborn thing: I built the tools instead, one by one, and I run them on my own machines. No subscriptions. No renewals. My client data never sits on someone else's server.&lt;/p&gt;

&lt;p&gt;Here's the full library, honestly priced the way a buyer would price it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For freelancers &amp;amp; creators&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ContractKit ($29)&lt;/strong&gt; — offline contract studio: 5 templates, signature pads, print-to-PDF. Works with no internet at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ProposaLite ($79)&lt;/strong&gt; — client proposals with built-in e-signature.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PrivateSuite ($39)&lt;/strong&gt; — AI meeting notes that never leave your laptop. 100% offline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Viral Content Machine ($49)&lt;/strong&gt; — a 28-node n8n automation: one topic in, a week of content for 5 platforms out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Spend Tracker ($29)&lt;/strong&gt; — shows exactly what Claude Code, Cursor and your API keys are really costing you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;For business operations&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PrimeERP ($59)&lt;/strong&gt; — self-hosted mini ERP: CRM, HR, inventory and finance in one dashboard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TenderOS ($99)&lt;/strong&gt; — tender &amp;amp; procurement management, end to end.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Digital Product Passport ($79)&lt;/strong&gt; — product passports with QR verification, built for the EU's incoming rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EmoSense B2B ($49)&lt;/strong&gt; — customer-emotion analytics for support teams.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Automation &amp;amp; AI&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;WhatsAppKit ($49)&lt;/strong&gt; — 4 ready-made WhatsApp business automations on n8n.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AgentKit ($59)&lt;/strong&gt; — 5 local AI agents on n8n that do real work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Content Tools ($19)&lt;/strong&gt; — a compact AI writing toolkit (runs on your own Gemini key).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Add that column up and it's &lt;strong&gt;$638&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So this week I put the whole library into one bundle: &lt;strong&gt;the Complete Bundle — all 12 tools for $319, once.&lt;/strong&gt; Half the one-by-one price, no subscription ever, and every tool ships with complete source files and a step-by-step START-HERE guide.&lt;/p&gt;

&lt;p&gt;Two honest notes, because I'd rather say them than have you find them:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;It's capped at the first 10 buyers.&lt;/strong&gt; That's a real launch cap, not a countdown timer trick — when the 10 are gone, the bundle closes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OnyxIQ, my YouTube growth tool, is NOT in this bundle.&lt;/strong&gt; It's sold separately. The bundle is the other 12 tools, exactly the list above.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And it carries the same 14-day money-back guarantee as everything in my store: one email, refund, no forms.&lt;/p&gt;

&lt;p&gt;If you're a freelancer, an agency, or a solo builder piecing together an AI automation tools pack one purchase at a time — this is the one-purchase version:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://onyxailabs.gumroad.com/l/complete-bundle" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com/l/complete-bundle&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions about any of the 12 — what it does, what it doesn't — ask me in the comments. I'd rather answer honestly than sell you the wrong tool.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>n8n</category>
      <category>indiehackers</category>
    </item>
    <item>
      <title>Dead-Code Ghost: Find Dead JavaScript and TypeScript Functions, Locally, with Gemma 3 1B</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Sat, 31 Oct 2026 07:10:38 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/dead-code-ghost-find-dead-javascript-and-typescript-functions-locally-with-gemma-3-1b-3a8e</link>
      <guid>https://dev.to/mohsinakram91/dead-code-ghost-find-dead-javascript-and-typescript-functions-locally-with-gemma-3-1b-3a8e</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Dead-Code Ghost&lt;/strong&gt; is a free, local, read-only tool that finds dead functions in JavaScript and TypeScript repos — functions that are never called anywhere — and writes a Markdown report about them, with a plain-English note and a last-touched date for each one. It runs entirely on your machine with Gemma 3 1B via Ollama: no cloud, no API key, no subscription.&lt;/p&gt;

&lt;p&gt;My interpretation of the theme is literal. A "ghost" in a codebase is a function that was written once and then abandoned — still sitting in the repo, never called by anything. Every real project accumulates them: the helper from a retired feature, the utility left over from a refactor, the exported function nobody imports anymore. They slow down readers, confuse new contributors, and make refactors risky. Ghost finds them so a human can decide what to do. It never deletes or modifies anything itself.&lt;/p&gt;

&lt;p&gt;It is built for developers and open-source maintainers cleaning up JavaScript and TypeScript codebases, and it is brand-new code written October 28–31, 2026, for this challenge — not a repackage of anything else I have built.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/onyxailabs/dead-code-ghost" rel="noopener noreferrer"&gt;https://github.com/onyxailabs/dead-code-ghost&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;There is no hosted demo — this is a local command-line tool, so the demo is a real terminal run. Here is the exact output from a scan of the sample repo that ships with the tool, run on a Windows 10 PC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt; npm test
PASS: dead=[deadTsHelper, idle, oldHelper, unusedCalc] exported-unused=[formatDate, publicApi] files=3 functions=9 sample-untouched=true

&amp;gt; node ghost.js scan sample-repo --out dead-code-report.md --no-model
Report written to dead-code-report.md
Files: 3 | Functions: 9 | Dead: 4 | Exported-unused: 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And the report it writes looks like this (excerpt):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## Dead functions (4) — never referenced anywhere, not exported&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; deadTsHelper, idle, oldHelper, unusedCalc
&lt;span class="gu"&gt;## Exported but never called internally (2) — review, not necessarily dead&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; formatDate, publicApi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;sample-untouched=true&lt;/code&gt; matters: the scan only reads your code. The only file it ever writes is the report you point it at.&lt;/p&gt;

&lt;p&gt;To verify the tool computes rather than returning a canned answer, I ran it on a second, completely different folder with different function names — a tiny shop example. It correctly found 4 dead functions (&lt;code&gt;applyOldCoupon&lt;/code&gt;, &lt;code&gt;removeFromCart&lt;/code&gt;, &lt;code&gt;legacyDiscount&lt;/code&gt;, &lt;code&gt;unusedHelper&lt;/code&gt;) and 2 exported-but-unused ones (&lt;code&gt;formatPrice&lt;/code&gt;, &lt;code&gt;taxRate&lt;/code&gt;) out of 10 functions. The same check was then repeated on a Windows 10 PC with the identical result. Same tool, unseen code, correct result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/onyxailabs/dead-code-ghost" rel="noopener noreferrer"&gt;https://github.com/onyxailabs/dead-code-ghost&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Zero-dependency Node.js. Run it with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;node ghost.js scan &amp;lt;your-repo-dir&amp;gt; &lt;span class="nt"&gt;--out&lt;/span&gt; dead-code-report.md &lt;span class="nt"&gt;--no-model&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Drop &lt;code&gt;--no-model&lt;/code&gt; once Ollama is running with Gemma 3 1B pulled (&lt;code&gt;ollama pull gemma3:1b&lt;/code&gt;) and the report carries a short plain-English note per dead function instead of the skipped-note line. &lt;code&gt;npm test&lt;/code&gt; runs the built-in verification suite.&lt;/p&gt;

&lt;p&gt;Try it on your own repo and tell me what it found.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The scanner parses &lt;code&gt;.js&lt;/code&gt;, &lt;code&gt;.jsx&lt;/code&gt;, &lt;code&gt;.ts&lt;/code&gt;, and &lt;code&gt;.tsx&lt;/code&gt; files and builds a name-based call graph: every function definition is collected, then every other reference to that name across the repo is counted. Comments and strings are stripped first, so a name mentioned only in a comment does not count as a use. Functions with zero references that are not exported are reported as dead; exported functions with zero internal references are listed separately, because code outside the repo might use them.&lt;/p&gt;

&lt;p&gt;The open-weight model is at the core of the notes, not bolted on. &lt;strong&gt;Gemma 3 1B, running locally through Ollama&lt;/strong&gt; (&lt;code&gt;http://127.0.0.1:11434&lt;/code&gt;), writes a 1–3 sentence plain-English note for each dead function — what it appears to do, without guessing beyond the code. If Ollama or the model is not reachable, the note says so plainly instead of inventing one. That honesty is deliberate: a cleanup tool that invents explanations would be worse than no tool at all.&lt;/p&gt;

&lt;p&gt;Last-touched dates come from &lt;code&gt;git log&lt;/code&gt; (definition line first, file level as fallback). If the folder is not a git repo, the date is reported as unavailable — never invented.&lt;/p&gt;

&lt;p&gt;Honest limits, stated in the report itself: the graph is name-based, not scope-resolved, so two functions sharing a name across files count as one name, and dynamic calls (&lt;code&gt;obj[name]()&lt;/code&gt;, &lt;code&gt;eval&lt;/code&gt;, string-built calls) are not seen. Detection is best-effort, never claimed perfect. The demo transcript above uses &lt;code&gt;--no-model&lt;/code&gt;, so what you see is the honest fallback; the Gemma note path is implemented and wired to local Ollama, and its first live run has now happened: on 31 October 2026 the same sample scan was re-run with gemma3:1b pulled and served locally through Ollama — same counts (Files 3 | Functions 9 | Dead 4 | Exported-unused 2), and this time every function carries a real Gemma note. Two examples, verbatim: unusedCalc — "This JavaScript/TypeScript function takes a number as input and returns its square." formatDate — "This function formats a date string into a human-readable format, likely displaying the date and time in a standard way." One honest operational note: on a cold model the first calls can hit the tool's 30-second timeout and fall back to the unavailable line; with the model warm, all six notes came back real.&lt;/p&gt;

&lt;p&gt;It runs on Windows 10/11 with Node.js and Ollama, no GPU, on an 8 GB machine — the 1B model class is the whole point.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Three things a closed API could not give this tool at the same time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;It works with the internet off.&lt;/strong&gt; The scan, the model, and the report are all local. A developer on a slow or metered connection — or on a plane — can still clean up a repo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your code never leaves your machine.&lt;/strong&gt; A cleanup tool reads your entire codebase. Sending that to a cloud API means trusting a third party with proprietary code. Here, nothing leaves the machine except the report you choose to share.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It cannot disappear or start charging.&lt;/strong&gt; No API key, no subscription, no service that might shut down or change its pricing. An open-weight 1B model that fits on an 8 GB laptop makes the whole thing free forever.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Open innovation is what makes a privacy-sensitive, offline, zero-cost tool possible at all — not just cheaper, but possible in a form a closed service cannot match.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; (featured category): Gemma 3 1B via local Ollama writes the plain-English notes that turn a list of function names into a report a human can actually act on. The model is not decoration — it is how the report becomes readable.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>javascript</category>
      <category>ai</category>
    </item>
    <item>
      <title>How to Check If ChatGPT Can See Your Website: A Free AI Visibility Check (With My Real Results)</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Sat, 31 Oct 2026 06:38:36 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/how-to-check-if-chatgpt-can-see-your-website-a-free-ai-visibility-check-with-my-real-results-38ka</link>
      <guid>https://dev.to/mohsinakram91/how-to-check-if-chatgpt-can-see-your-website-a-free-ai-visibility-check-with-my-real-results-38ka</guid>
      <description>&lt;h1&gt;
  
  
  How to Check If ChatGPT Can See Your Website
&lt;/h1&gt;

&lt;p&gt;Last week, people started asking AI assistants about products instead of Googling them. You already know this. What I didn't know — until I checked — is what those assistants actually say about &lt;em&gt;my&lt;/em&gt; business.&lt;/p&gt;

&lt;p&gt;So I ran a free AI visibility check on my own website. The short version: &lt;strong&gt;100 out of 100 AI answers about my business described a completely different company.&lt;/strong&gt; Wrong founder. Wrong country. Wrong products. Zero answers mentioned me.&lt;/p&gt;

&lt;p&gt;This post is the full check, step by step, with my real results as the worked example — including the parts that were my own fault, and the fixes I'm making first. You can run the same check on your site, free, in a few minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "AI visibility" actually means
&lt;/h2&gt;

&lt;p&gt;When someone asks ChatGPT or Google's AI Overviews "what is [your business]?", the assistant builds its answer from pages it can read and trust. Roughly, it depends on three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Can it read your site at all?&lt;/strong&gt; Plain, crawlable text. If your key facts only exist inside images, scripts, or vague marketing copy, the machine sees very little.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is your site's structure clear?&lt;/strong&gt; Headings, descriptive pages, and structured data (like an Organization schema block) tell a machine &lt;em&gt;what kind of thing you are&lt;/em&gt; without guessing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Do other pages agree with you?&lt;/strong&gt; Assistants lean on sources across the web. If third-party pages define you differently — or define someone else with your name — the assistant follows the louder, clearer signal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That third point is where my site fell apart.&lt;/p&gt;

&lt;h2&gt;
  
  
  The free check, step by step
&lt;/h2&gt;

&lt;p&gt;The tool I used is the &lt;strong&gt;Wellows AI Visibility Report&lt;/strong&gt; (free, launched this week — no account, no card). Here's the exact process:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Open the tool and enter your domain&lt;/strong&gt;, an email (the report link is sent there), and your country. I entered my own site, onyxailabs.me, with United States as the country.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wait for the audit.&lt;/strong&gt; The page promises about four minutes; mine took just over six. Behind the scenes, it asks four AI assistants — ChatGPT, Google AI Overviews, Gemini, and Google AI Mode — the same question, five times each, in fresh sessions, and saves every answer and every source.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read the headline result first.&lt;/strong&gt; Mine: 100 of 100 people who ask about Onyx AI Labs are told about something else. Google AI Overviews described something else every time. Gemini did too — it was reading the &lt;em&gt;other&lt;/em&gt; company's facts page as its source. ChatGPT sometimes went further and warned people about my brand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check what the answers actually say.&lt;/strong&gt; Two in three answers mentioned a headquarters or country — and named &lt;strong&gt;Canada&lt;/strong&gt;, not Pakistan. The founder they named was &lt;strong&gt;C. Michael Gibbs&lt;/strong&gt; — not me. Every answer described an enterprise AI company or an open-source search platform. None mentioned my actual products, my prices, my free tier, or my money-back guarantee. The report listed thirteen things my site says about the business; the assistants repeated &lt;strong&gt;none&lt;/strong&gt; of them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the sources.&lt;/strong&gt; This was the number that explained everything: &lt;strong&gt;0% of the assistants' sources were pages I own. For all four assistants.&lt;/strong&gt; Instead, one domain — onyxailabs.com, a different company, an enterprise AI lab in Toronto that owns the .com version of my name — held 75 of the 115 sources used. The assistants read the .com nine times out of ten and never opened my .me site at all. In sixteen answers, the very first source read was that company's homepage — and once an assistant reads the wrong page first, it builds the whole answer from it.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why it happened (the report's three causes, in order)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;My name belongs to someone else online.&lt;/strong&gt; The .com company has more pages, more links, and the conventional domain, so every assistant treats it as the real answer to the name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;First sources win.&lt;/strong&gt; If the first page an assistant reads defines the name wrong, the rest of the answer follows it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mixed signals on my own site — this one is on me.&lt;/strong&gt; The sentence that defines my business was on my homepage, but not at the top. And my structured Organization data was missing five of nine fields: description, founding date, address, rating, and contact.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That third point stung, because a day earlier I'd had to add a clearer "what this product does" section to the same homepage for an unrelated app verification — a human reviewer needed the same thing the AI did: &lt;em&gt;tell me plainly what this is, at the top, in one sentence.&lt;/em&gt; Machines aren't confused by different things than people are. They're confused by exactly the same things.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to fix first
&lt;/h2&gt;

&lt;p&gt;From the audit and the fix plan it generated, ranked cheapest first — this is my actual to-do list, and most of it applies to any small site:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Open your homepage with a definition.&lt;/strong&gt; Not a slogan — a sentence. The report handed me mine: &lt;em&gt;"Onyx AI Labs is an independent one-person studio run by Muhammad Mohsin in Pakistan."&lt;/em&gt; It goes in the first paragraph, above any sales claim, and into the meta description and title.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complete your structured Organization data.&lt;/strong&gt; Fill the boring fields — description, founding date, address, contact. Mine was missing five of nine, which means the one machine-readable summary of my business was mostly blank.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Say one consistent thing everywhere.&lt;/strong&gt; One clear price message ("pricing starts at $49"), the same founder name, the same location — on every page. Contradictions and vagueness are what let a louder namesake win.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add one worked example.&lt;/strong&gt; Who used your product, for what, and what happened. Assistants quote concrete stories; they can't quote your feature list into a reputation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Get independent pages to define you the same way.&lt;/strong&gt; A LinkedIn company page, a directory listing, a profile — three pages that aren't yours, all saying the same sentence about you. Then re-run the same question later and measure whether the answer changed.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The honest limits
&lt;/h2&gt;

&lt;p&gt;A free report is a snapshot, not a ranking. Mine was one question, asked five times per assistant, on one day — AI answers vary, and one round proves very little. The free audit also allows one check per brand and country every thirty days; ongoing tracking is the paid product. And no report fixes anything by itself — it hands you the list. The fixing is still yours.&lt;/p&gt;

&lt;p&gt;You don't even need the tool. The manual version from Wellows' own guide: write down the real questions your buyers ask, ask them in a private browser window, and log three things in a spreadsheet — &lt;em&gt;were you mentioned, was your website quoted, and what did the answer reveal about you?&lt;/em&gt; Repeat weekly.&lt;/p&gt;

&lt;p&gt;My own plan is exactly that: do the week-one fixes, then re-run this same audit in twelve weeks and publish whether the answer changed. Whatever it shows.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I build small AI tools and free utilities at &lt;a href="https://onyxailabs.me/" rel="noopener noreferrer"&gt;onyxailabs.me&lt;/a&gt; — the PDF tools there are free, and OnyxIQ Basic, a YouTube growth tool, is &lt;a href="https://onyxailabs.gumroad.com/l/onyxiq-basic" rel="noopener noreferrer"&gt;free on Gumroad&lt;/a&gt; if that's your world.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Run the check on your own site before your next customer asks AI about you. Then tell me honestly in the comments: did it describe your business — or someone else's?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>seo</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Automation That Actually Saves Money — And the 3 Tests That Kill the Rest</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Wed, 28 Oct 2026 05:53:17 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/automation-that-actually-saves-money-and-the-3-tests-that-kill-the-rest-3egk</link>
      <guid>https://dev.to/mohsinakram91/automation-that-actually-saves-money-and-the-3-tests-that-kill-the-rest-3egk</guid>
      <description>&lt;h1&gt;
  
  
  Automation That Actually Saves Money — And the 3 Tests That Kill the Rest
&lt;/h1&gt;

&lt;p&gt;Every automation demo looks like it saves money. A workflow runs, a screen fills itself in, and the audience nods. Then the bill arrives — a subscription for the automation tool, a subscription for the AI model inside it, a server fee, and a maintenance afternoon nobody put on the slide.&lt;/p&gt;

&lt;p&gt;I build automations for a living, mostly with n8n, and I have killed more of my own workflows than I have shipped. The survivors all pass three tests; the failures always failed at least one. Run your next idea through these before you build it — you will save more money by &lt;em&gt;not&lt;/em&gt; building the wrong thing than by building anything at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test 1: Does it replace recurring spend, or just recurring effort?
&lt;/h2&gt;

&lt;p&gt;There are two kinds of savings, and only one shows up in your bank account. Replacing effort feels good; replacing spend is what pays. A workflow saving twenty minutes a week is worth building only if those minutes were going to cost you something — a freelancer's hour, a missed order, a late fee. If the task was free but boring, the automation itself has to be nearly free, or you have traded boredom for a bill.&lt;/p&gt;

&lt;p&gt;A concrete example: a small shop owner asked me why a WhatsApp bot should cost $50 a month. His shop mostly needed one thing — take orders and answer the same ten questions (prices, delivery areas, opening hours) on WhatsApp. A vendor plan at $50 a month is $600 a year, charged whether he sells anything or not. The version I built for him runs on n8n, self-hosted, using Meta's official WhatsApp Cloud API — no vendor markup, no monthly bot fee. The remaining costs are his own: a small server and Meta's own messaging pricing, both of which he controls.&lt;/p&gt;

&lt;p&gt;Before you automate anything, write down the recurring number it removes. If you cannot name one, the automation is a hobby, not a saving.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test 2: Count the hours honestly — including maintenance
&lt;/h2&gt;

&lt;p&gt;This is where most automation math quietly lies: people count the hours saved and forget the hours spent. A realistic ledger is 3–6 hours to build something genuinely useful, at least an hour a month fixing it (the API changes, the site redesigns, the model updates and your prompt stops working the same way), plus someone noticing when it breaks. A workflow that fails silently for two weeks has not saved anything — it has hidden a problem.&lt;/p&gt;

&lt;p&gt;Do the arithmetic over a year. A workflow saving 30 minutes a week saves 26 hours a year; if it costs 5 hours to build and 12 hours a year to maintain, you net 9 hours. If it saves 30 minutes a &lt;em&gt;month&lt;/em&gt;, you lose. I have seen workflows that "saved" an hour a month and cost an afternoon every quarter to repair, kept only because deleting your own work feels like admitting defeat. Delete it anyway.&lt;/p&gt;

&lt;p&gt;Give every workflow a 90-day review date and the one number that decides whether it lives — without that, it quietly becomes another subscription you forgot you owned.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test 3: Does it run on infrastructure you control?
&lt;/h2&gt;

&lt;p&gt;An automation built on a vendor's platform, calling a vendor's AI, storing data on a vendor's server, has three separate price levers pointed at it — and you control none of them. The platform can raise its price, change its plan limits, or shut down a feature your workflow depends on, and the rebuild always costs more than the original build.&lt;/p&gt;

&lt;p&gt;The alternative is not "never use a service." It is: keep the moving parts on infrastructure you can move — self-hosted n8n on your own server, data in your own spreadsheet or database, AI calls through an API key you can swap between providers. If one provider doubles its price, you change a credential, not rebuild a business. That is also why I track my own AI coding spend: you cannot negotiate a bill you cannot see. When I first measured my own usage, the leaks were mundane — idle sessions re-reading expired context, subagents carrying full context for small jobs, a flagship model doing cheaper work (I covered these in an earlier article). Measurement comes before automation, because automating a wasteful process just produces waste faster.&lt;/p&gt;

&lt;h2&gt;
  
  
  The automations that pass all three
&lt;/h2&gt;

&lt;p&gt;Three kinds of automation almost always pass:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The same ten questions, answered the same way.&lt;/strong&gt; FAQs, order-taking, appointment confirmations. High volume, low variation — a shop owner answering "what time do you close?" forty times a day is not doing anything else in those minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The content pipeline with a queue, not a dump.&lt;/strong&gt; One idea turned into a week's posts replaces the ten hours &lt;em&gt;after&lt;/em&gt; the idea — hooks, drafts, platform versions, scheduling — with one supervised run, published every few hours instead of all at once. The key word is supervised: a fully unsupervised content machine eventually publishes something you have to apologise for, and apologies are expensive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The bill you can finally see.&lt;/strong&gt; Spend tracking, usage alerts, a weekly summary of what your tools actually cost per project. It does not feel like automation, but it makes every other decision cheaper — including the decision to cancel something.&lt;/p&gt;

&lt;p&gt;Notice what is missing: automations that replace judgement. Approving a refund, answering an angry customer, deciding whether a lead is worth a call — every time I have seen those fully automated, the saving was real and the damage was bigger. Automate the repetitive middle; keep a human at both ends.&lt;/p&gt;

&lt;p&gt;What is one automation you built that quietly cost more than it saved — and when did you realise it? The best automation lessons I have learned all came from other people's deleted workflows.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I build one-time-purchase automation tools and write about AI costs and YouTube growth — you can find the tools at &lt;a href="https://onyxailabs.gumroad.com" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com&lt;/a&gt; and the channel at &lt;a href="https://www.youtube.com/@onyxaipk" rel="noopener noreferrer"&gt;https://www.youtube.com/@onyxaipk&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>productivity</category>
      <category>n8n</category>
    </item>
    <item>
      <title>I Tested GPT-6's Intelligent UI by Building 3 Real Tools (Free Methods Inside)</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Mon, 26 Oct 2026 14:00:39 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/i-tested-gpt-6s-intelligent-ui-by-building-3-real-tools-free-methods-inside-2hd1</link>
      <guid>https://dev.to/mohsinakram91/i-tested-gpt-6s-intelligent-ui-by-building-3-real-tools-free-methods-inside-2hd1</guid>
      <description>&lt;p&gt;Watch the video here: &lt;a href="https://www.youtube.com/watch?v=nK0dfocgf9k" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=nK0dfocgf9k&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I just published a new video testing OpenAI's GPT-6 Intelligent UI in a practical way: instead of talking about features in the abstract, I built three working tools inside ChatGPT and checked whether the results were actually usable.&lt;/p&gt;

&lt;p&gt;The idea behind Intelligent UI is simple. You describe what you want, and ChatGPT builds an interactive interface for it, rather than giving you only text. That sounds useful, but it only matters if the tools work with real inputs and correct results. So I tested it with everyday examples.&lt;/p&gt;

&lt;p&gt;The first tool was a Bill Splitter. I entered a bill of Rs 4,500 and added a 10% tip. The tool calculated Rs 450 in tip, a total of Rs 4,950, and Rs 2,475 each for two people. That is the kind of small calculation that is easy to get wrong in a hurry, so I checked the numbers rather than accepting them at face value.&lt;/p&gt;

&lt;p&gt;The second tool was a Budget Calculator. With Rs 4,000 in income and Rs 2,200 in spending, it showed Rs 1,800 left. Again, the value is not in a fancy layout. It is in getting a clear answer from a simple input, without needing a separate app or spreadsheet.&lt;/p&gt;

&lt;p&gt;The third tool was different: a small school game built inside ChatGPT itself. It shows that this approach is not limited to calculators. The same workflow can produce something interactive that students can use directly, without installing anything extra.&lt;/p&gt;

&lt;p&gt;I should be honest about one limitation. The ChatGPT Playground route was blocked for me because of sign-in requirements, a US-adults-only restriction, and limited tokens. The video therefore shows the in-ChatGPT path, which is the route that worked and that most readers can try without running into the same block.&lt;/p&gt;

&lt;p&gt;If you want to try these yourself, the exact prompts for all three tools are in the video description. You can copy them, change the numbers, and see how the tools respond to your own inputs.&lt;/p&gt;

&lt;p&gt;Watch the video here: &lt;a href="https://www.youtube.com/watch?v=nK0dfocgf9k" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=nK0dfocgf9k&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Onyx AI Labs / OnyxIQ is a project from this channel, and you can find it here: &lt;a href="https://onyxailabs.gumroad.com" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>ai</category>
      <category>openai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>6 Days Late to My Landlord: I Built "Kal Karo" ('Do It Tomorrow') — a Local AI That Does the Dreaded Task For You</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Fri, 23 Oct 2026 15:40:46 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/6-days-late-to-my-landlord-i-built-kal-karo-do-it-tomorrow-a-local-ai-that-does-the-4agf</link>
      <guid>https://dev.to/mohsinakram91/6-days-late-to-my-landlord-i-built-kal-karo-do-it-tomorrow-a-local-ai-that-does-the-4agf</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;In Urdu and Hindi, when you want a task to go away, you say &lt;strong&gt;"kal karo" — do it tomorrow.&lt;/strong&gt; I say it a lot. To the landlord's email (six days old). To my Downloads folder (an archaeological site). To the meeting notes where somebody agreed to do something and nobody remembers who.&lt;/p&gt;

&lt;p&gt;Every productivity tool I have tried responds to this by giving me &lt;em&gt;more&lt;/em&gt; work: a better list, a smarter dashboard, a notification that says the quiet part louder. So for this challenge I built the opposite. &lt;strong&gt;KalKaro&lt;/strong&gt; takes the dreaded list and &lt;em&gt;does&lt;/em&gt; it — the boring 90% of it, today, on your own machine.&lt;/p&gt;

&lt;p&gt;You write your tasks in plain words, one per line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Reply to my landlord Mr. Rashid about the kitchen tap that has been leaking — his email came 6 days ago...
Sort out my Downloads folder at last — it is a mess of receipts, scans, screenshots and random files...
Make sense of my meeting notes from Tuesday's team call...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;A local open-weight model breaks each task into micro-steps and labels every one &lt;strong&gt;DOABLE-BY-MACHINE&lt;/strong&gt; or &lt;strong&gt;NEEDS-HUMAN&lt;/strong&gt; (with the tiniest possible first action). Then KalKaro executes the machine steps itself, with three skills:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Drafter&lt;/strong&gt; — writes the actual reply you have been avoiding, ready to copy, paste and send.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Organizer&lt;/strong&gt; — classifies, renames and sorts a messy folder into &lt;code&gt;Category/YYYY-MM/&lt;/code&gt; with clean names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Digester&lt;/strong&gt; — turns rambling notes into a summary, the decisions, and who-owes-what action items.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything lands in one &lt;strong&gt;done-for-you report&lt;/strong&gt;: what was finished, the drafts themselves, the digests, measured timings — and for whatever is left, one tiny human step per task. KalKaro &lt;strong&gt;never sends, posts or deletes anything&lt;/strong&gt;. Pressing send stays gloriously human, takes about four seconds, and is rather the point. The whole thing runs 100% locally on Llama 3.2 1B via Ollama: no cloud, no API key, no subscription, and your most embarrassing overdue tasks never leave your disk.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Results at a glance&lt;/strong&gt; (from the real demo run below): 3 dreaded tasks finished · 5 of 5 files filed · 1 reply drafted · 1 set of notes digested · &lt;strong&gt;0 failures&lt;/strong&gt; · about 13 measured minutes of machine time on a contended 2-core VM — against roughly 30 minutes by hand for the notes task alone. The full payoff table, quality flaws included, is at the end.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;No deployed link and no "coming soon" — KalKaro is a local tool, so the demo is a real run you can inspect and reproduce. The repo's &lt;code&gt;demo/&lt;/code&gt; folder holds the dreaded list, the messy folder and the messy notes; &lt;code&gt;run-demo.sh&lt;/code&gt; executes the whole pipeline on a copy and saves the unedited transcript to &lt;code&gt;demo/DEMO-OUTPUT.txt&lt;/code&gt;. Here is that run, condensed only by removing repetition:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;▸ Task 1: Reply to my landlord Mr. Rashid about the kitchen tap…
  ⛨ guardrail: added the Drafter step the planner missed
  ✓ draft written → drafts/draft-1.md
  done in 3m 8s

▸ Task 2: Sort out my Downloads folder at last…
  ⛨ planner failed (model call timed out after 150s (wall-clock limit)) — deterministic fallback plan: organizer only
  ✓ organiser: 5 file(s) moved
  done in 4m 49s

▸ Task 3: Make sense of my meeting notes from Tuesday's team call…
  ⛨ guardrail: dropped a Drafter step — a notes task needs a digest, not a message
  ✓ notes digested → digests/digest-1.md
  done in 5m 17s
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;The draft it wrote for the six-days-late landlord email:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Hello Mr. Rashid,&lt;/p&gt;

&lt;p&gt;I wanted to follow up on my email from six days ago regarding the kitchen tap that has been leaking. I've been meaning to address this issue, but I've been putting it off. I'm now at a point where I need to apologize for the delay and ask for your assistance in sending a plumber to fix the problem this week. I would greatly appreciate it if you could provide a specific time for the plumber to arrive. I've been keeping track of the time, and I'm expecting the plumber to arrive sometime this week. I'm hoping this will be resolved soon, and I'm grateful for your understanding in this matter. I'm looking forward to hearing back from you and finding a solution to this issue. Thank you for your time and assistance.&lt;/p&gt;

&lt;p&gt;Best regards&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Not perfect — it muddles who emailed whom (it "follows up on &lt;em&gt;my&lt;/em&gt; email", when Mr. Rashid's email is the one being answered) and breezily announces "I'm expecting the plumber to arrive sometime this week", which is the landlord's call to make, not the tenant's. But the apology is in there, the ask is in there, and it is sendable after a 30-second tidy. That tidy is the remaining human step, and the report leaves it to you under its first move: &lt;em&gt;"Compose email."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The folder, before → after:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fehisx9ru9r8yud4dqeyj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fehisx9ru9r8yud4dqeyj.png" alt="The Downloads folder, before and after the KalKaro demo run of Oct 22, 2026 — five files, five filed correctly" width="799" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Before&lt;/th&gt;
&lt;th&gt;After&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;IMG_4021.png&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Media/2026-10/img-4021.png&lt;/code&gt; (filed by filename — the model can't see photos)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;expense-export-sept.csv&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Document/2026-10/expense-export-sept.csv&lt;/code&gt; (classified from its own content)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;fix-login-bug.js&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Code/2026-10/fix-login-bug.js&lt;/code&gt; (by extension — no model call at all)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;receipt-coffee-shop.jpg&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Receipt/2026-10/receipt-coffee-shop.jpg&lt;/code&gt; (by filename)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;scan_003.pdf&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Invoice/2026-10/scan-003.pdf&lt;/code&gt; (recognised as an invoice from its own text — but it kept its scanner name this run)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Five files, five filed in the right category — and note how the folder task got there: its planner call timed out, so a deterministic fallback plan (organizer only, no planner involved) did the filing. The notes digest is the honest weak spot of this run. The summary carries the big calls (landing page v2; discount until Oct 31) — and then repeats them, near-verbatim, in a second paragraph. The Decisions section itself came back &lt;strong&gt;empty&lt;/strong&gt;. The nine action-item lines cover what is really four jobs: Sara's banner sizes twice, Dev's invoice chase four times under two different owners, the blog read-through given to the wrong person, two lines that invent owners for jobs the notes left unassigned — and Dev's image-compression job, the most concrete task in the notes, missing entirely. All of it, including the flaws, is in the transcript.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One more digest test, because the demo's notes are kind compared to real ones.&lt;/strong&gt; I keep a nastier fixture: client call notes where the annual discount is explicitly left open — &lt;em&gt;"annual discount could be 10% or 15%. Nadia will decide after finance reviews it. Nobody agreed a final discount on this call."&lt;/em&gt; An earlier build of the Digester filed that line under &lt;strong&gt;Decisions&lt;/strong&gt;, stated as calmly as the settled items. That is the one sin a notes tool must never commit: presenting an undecided thing as decided is worse than missing it entirely, because somebody will act on it. So the fix is not a sterner prompt — it is a deterministic pass in code. Any extracted "decision" carrying an unresolved marker or an either/or figure is split out into an &lt;strong&gt;Open questions&lt;/strong&gt; section, and the summary is checked for sentences that contradict the split. After the fix I re-ran that fixture three times end-to-end (between half a minute and just over two minutes a run): the discount never appeared as a decision again. Once the summary itself flagged it as unresolved; once it surfaced as what it actually is — an action item, &lt;em&gt;"Nadia — decide on annual discount."&lt;/em&gt; The fixture ships in the repo as &lt;code&gt;demo/notes-hard.txt&lt;/code&gt; (its task line is &lt;code&gt;demo/tasks-hard.txt&lt;/code&gt;) and the three re-runs are written up in &lt;code&gt;QA-RERUN-REPORT.md&lt;/code&gt; — the claim is checkable, not asserted. A 1B model will keep trying to tidy open questions into answers. A rule can simply refuse to let it.&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/onyxailabs" rel="noopener noreferrer"&gt;
        onyxailabs
      &lt;/a&gt; / &lt;a href="https://github.com/onyxailabs/kalkaro" rel="noopener noreferrer"&gt;
        kalkaro
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      KalKaro — a local AI agent that does the dreaded task for you (files, notes, drafts). Runs on your own machine with Ollama.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;KalKaro&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;"Kal karo" is Urdu/Hindi for "do it tomorrow."&lt;/strong&gt; It is also, not coincidentally, what I have been saying to the same three tasks for about a week.&lt;/p&gt;

&lt;p&gt;KalKaro is a small local AI agent that takes the list of tasks you keep postponing, breaks each one into micro-steps, and then &lt;strong&gt;does the machine-doable 90% itself&lt;/strong&gt; — today, on your own machine. What it leaves you is the tiny human step at the end: press send, glance at a summary, pick a morning.&lt;/p&gt;

&lt;p&gt;It runs &lt;strong&gt;100% locally&lt;/strong&gt; on an open-weight model (Llama 3.2 1B via Ollama). No cloud, no API key, no subscription — and your dreaded tasks, including the embarrassing overdue ones, never leave your disk.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What it does&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;Give KalKaro a plain-words list of dreaded tasks:&lt;/p&gt;

&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;Reply to my landlord Mr. Rashid about the kitchen tap that has been leaking — his email came 6 days ago
Sort&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/onyxailabs/kalkaro" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;Plain Node (18+), zero dependencies beyond Ollama itself. The interesting files: &lt;code&gt;kalkaro.mjs&lt;/code&gt; (planner, executor, routing guardrails, report writer), &lt;code&gt;skills/drafter.mjs&lt;/code&gt; (refusal detection + voice), &lt;code&gt;skills/organizer.mjs&lt;/code&gt; (few-shot classification + date grounding), &lt;code&gt;skills/digester.mjs&lt;/code&gt; (decomposed extraction), and &lt;code&gt;demo/DEMO-OUTPUT.txt&lt;/code&gt; (the proof). The full build log — every failure included — is &lt;code&gt;BUILD-REPORT.md&lt;/code&gt; in the repo root.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Around the model, honestly.&lt;/strong&gt; KalKaro's intelligence is Llama 3.2 1B Instruct (q4_K_M, ~800 MB) served by Ollama on localhost. I chose a 1B model on purpose: it runs on any laptop CPU, costs nothing, and keeps private tasks private. Then I spent the week learning what a 1B model actually needs around it — because the first versions were a mess, and each fix taught me something real:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stream everything.&lt;/strong&gt; My first end-to-end run died at exactly 5m 02s with &lt;code&gt;fetch failed&lt;/code&gt; — with non-streaming calls, Ollama sends nothing until generation completes, and Node's fetch gives up at 300s. The model was fine; the plumbing wasn't.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The grammar shapes JSON, not its length.&lt;/strong&gt; Ollama's structured output gave me valid JSON — pretty-printed across 111 lines until it hit the token cap mid-string. Fix: demand single-line output, cap generation, and make the parse-retry ask for a &lt;em&gt;much shorter&lt;/em&gt; plan instead of repeating the request that overflowed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small models refuse and drift.&lt;/strong&gt; Llama 1B declined to draft a landlord email ("I can't fulfill this request", and once, memorably, that the message "could be used to deceive or mislead"). It also writes in the third person about you, and invents dates. Fixes: concrete first-person prompts with a small example of the voice, a refusal detector with a plain-language retry, and a rule that a date in a new filename must literally exist in the source file or it gets stripped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decompose, then guardrail.&lt;/strong&gt; One prompt asking for summary + decisions + action items reliably produced two sections and stopped — always dropping the action items. So the Digester makes focused calls per section and assembles the brief in code. And around the planner sit deterministic &lt;strong&gt;routing guardrails&lt;/strong&gt; grounded in your own words: a task that never mentions a folder does not get an Organizer step; a notes task does not get a draft; code files file themselves by extension. Every guardrail prints a &lt;code&gt;⛨&lt;/code&gt; line in the transcript when it fires. The model proposes; the rules dispose; you can watch both.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Development happened on a shared 2-core VM that also renders my videos, which is why the demo's timings swing wildly. The run transcribed above took about 13 minutes wall-clock on a box whose load average spiked past 8 — heavy enough to time the folder task's planner out at 150s, which is why you can watch the fallback plan fire in the transcript. A day earlier, the identical demo on the same contended machine took 41 minutes; a single notes task on a warm, quieter machine today finished in 29 seconds. I left the timings in as measured rather than tidying them; on your own laptop, budget minutes — a 1B model is a tortoise, albeit a reliable one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Because the tasks on a dreaded list are exactly the data you least want in someone else's cloud. "I owe my landlord an apology and my rent conversation is six days stale" is not a prompt I want on a usage dashboard, metered by the token. An open-weight model on my own machine makes KalKaro possible at all: zero cost (a tool for postponers cannot itself be a subscription you postpone cancelling), total privacy by architecture rather than by policy, and — just as important — &lt;em&gt;inspectable&lt;/em&gt;. Every trick in the How I Built It section exists because I could watch my own model's raw behaviour, retry it, re-prompt it and wrap rules around it without asking anyone's permission or paying for the privilege of debugging. Open weights turned "AI assistant" from a service I rent into a part I can build with. A part, notably, that works offline, on a train, on a laptop from 2019, in Muzaffargarh or anywhere else the cloud is far away.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I built KalKaro with an AI coding agent as a pair, in this workspace, across one long day — and the session nearly didn't survive it: the development VM restarted often enough to kill four builder attempts mid-work (once mid-demo, wiping the temp folder). The countermeasure was unglamorous and total: a &lt;code&gt;BUILD-REPORT.md&lt;/code&gt; checkpoint updated after every verified step, so any restart lost minutes, never the thread. That log ships in the repo, timestamps, failed runs and all. I don't have a DevRelay embed to offer — the build log is the session record, and I'd rather show you the real artefact than a polished replay.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Real numbers, from the demo run above (KalKaro's own report, unedited; timings measured on the contended dev VM — see the note in How I Built It):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dreaded task&lt;/th&gt;
&lt;th&gt;Days postponed&lt;/th&gt;
&lt;th&gt;By hand (planner's estimate)&lt;/th&gt;
&lt;th&gt;KalKaro (measured)&lt;/th&gt;
&lt;th&gt;Your remaining step&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Reply to landlord about the leaking tap&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;no estimate&lt;/td&gt;
&lt;td&gt;3m 8s&lt;/td&gt;
&lt;td&gt;Compose email&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sort out the Downloads folder&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;no estimate&lt;/td&gt;
&lt;td&gt;4m 49s&lt;/td&gt;
&lt;td&gt;Open the folder and eyeball the new layout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Make sense of Tuesday's meeting notes&lt;/td&gt;
&lt;td&gt;7*&lt;/td&gt;
&lt;td&gt;~30 min&lt;/td&gt;
&lt;td&gt;5m 17s&lt;/td&gt;
&lt;td&gt;Open the digest and star your action items&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;*The planner's guesses are rough — it read "sitting there all week" as 7 days. The 6 days it got exactly right, because the task text said so and KalKaro takes the number from your own words when the planner drops it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;And the honest failure count, because a payoff table without one is marketing: in the two plans the planner returned it proposed 9 steps; 3 machine steps executed, none were marked prepared-only, and the routing guardrails had to correct the plan in 2 of 3 tasks — adding the Drafter step the planner forgot on the landlord task, and removing the one it invented for the notes. The third plan never arrived (150s timeout), and its task finished anyway on the fallback. The draft needed a human tidy (the who-emailed-whom muddle above). The digest was the run's weakest output, as detailed in the Demo section: a right-but-repetitive summary, an empty Decisions section, and nine noisy action lines for four real jobs. &lt;strong&gt;Zero tasks failed&lt;/strong&gt; — but "did not fail" and "did it well" are different claims, and for the notes this run only earns the first. What KalKaro actually saved was not the minutes in the middle column — it was the activation energy. The reply existed. The folder was filed. The notes had a summary and names next to actions, two of them wrong. Each task went from "anxiety with no shape" to "one small step with a first move attached", and that, if you are the kind of person who says &lt;em&gt;kal karo&lt;/em&gt;, is the whole game.&lt;/p&gt;

&lt;p&gt;Slow and steady, indeed: the tortoise here is a 1B model on a laptop CPU, and it still finished the list before tomorrow.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I Built 50 PDF Tools That Never Upload Your Files — Here's How They Run Entirely in the Browser</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Fri, 23 Oct 2026 13:00:56 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/i-built-50-pdf-tools-that-never-upload-your-files-heres-how-they-run-entirely-in-the-browser-41o7</link>
      <guid>https://dev.to/mohsinakram91/i-built-50-pdf-tools-that-never-upload-your-files-heres-how-they-run-entirely-in-the-browser-41o7</guid>
      <description>&lt;p&gt;Think about the last time you used a "free PDF tools" site.&lt;/p&gt;

&lt;p&gt;You needed to merge two PDFs, compress a scan, or sign a contract. So you dragged your file into the browser and watched a progress bar while a copy of that document — a contract, a bank statement, a scan of your ID — was uploaded to a server owned by people you have never met.&lt;/p&gt;

&lt;p&gt;Does the site delete it afterwards? Maybe. There is no way for you to verify it. The privacy policy says "we take your privacy seriously," which is easy to write and impossible to audit.&lt;/p&gt;

&lt;p&gt;Here's the part that bothered me enough to start a project: &lt;strong&gt;the upload was never actually necessary.&lt;/strong&gt; It's a habit the industry formed when browsers were weak. Modern browsers ship with WebAssembly, Web Workers, and more than enough CPU power to do this work locally. A PDF doesn't need to travel to a datacenter to be merged, split, encrypted, or OCR'd — it can be processed in the same tab where it already lives.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://onyxailabs.github.io/onyxpdf/" rel="noopener noreferrer"&gt;OnyxPDF&lt;/a&gt;&lt;/strong&gt;: 50 PDF and image tools that run entirely in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was built
&lt;/h2&gt;

&lt;p&gt;OnyxPDF is a set of &lt;strong&gt;50 tools — 32 PDF tools and 18 image tools — that run 100% client-side.&lt;/strong&gt; No server processing, no uploads, no account, and no cost.&lt;/p&gt;

&lt;p&gt;The simple tools are the ones you'd expect: rotate, reorder pages, extract pages, resize and convert images. The interesting engineering was in the hard ones:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Merge, split, compress, and convert&lt;/strong&gt; PDFs without the file ever leaving the tab&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OCR in 7 languages&lt;/strong&gt;, turning scanned pages into searchable, selectable text&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True redaction&lt;/strong&gt; — actually removing the underlying text and image data, not just drawing a black rectangle over it that anyone can peel back&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signing&lt;/strong&gt; documents directly in the browser&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real AES-256 encryption&lt;/strong&gt;, the strongest encryption the PDF format supports, applied locally&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI background removal&lt;/strong&gt; for images, using a segmentation model that runs on-device instead of a remote API&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;h3&gt;
  
  
  PDF parsing and manipulation in a Web Worker
&lt;/h3&gt;

&lt;p&gt;PDFs are parsed, manipulated, and rebuilt entirely with JavaScript and WebAssembly. All of that heavy work runs inside a &lt;strong&gt;Web Worker&lt;/strong&gt;, so the main thread stays responsive and the UI never freezes — progress bars keep animating even while a long document is being rebuilt page by page.&lt;/p&gt;

&lt;p&gt;The shape of it looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Main thread: hand the bytes off, stay responsive&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;worker&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Worker&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;pdf-worker.js&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;worker&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;postMessage&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;merge&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;files&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;bufA&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;bufB&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="nx"&gt;worker&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;onmessage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;saveResult&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;output&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// pdf-worker.js: the heavy lifting happens off the UI thread&lt;/span&gt;
&lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;onmessage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;output&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;mergeDocuments&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;files&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;postMessage&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;output&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  OCR via a WebAssembly build of Tesseract
&lt;/h3&gt;

&lt;p&gt;OCR is the feature people most assume "needs" a server. It doesn't. Tesseract, the open-source OCR engine, has a build that compiles to WebAssembly, so the same engine that powers server-side OCR pipelines can run inside a browser tab. OnyxPDF uses it to recognize text in 7 languages, entirely on your machine.&lt;/p&gt;

&lt;h3&gt;
  
  
  Encryption, implemented client-side
&lt;/h3&gt;

&lt;p&gt;AES-256 isn't something you bolt onto a PDF afterwards — it's part of the PDF format itself, and it's the strongest variant the spec defines. Because the format supports it natively, the encryption can be applied completely on the client. Your password never gets transmitted, and neither does the document. Which is good, because "upload your confidential file so we can encrypt it for you" is a sentence that should make everyone pause.&lt;/p&gt;

&lt;h3&gt;
  
  
  Background removal with an on-device model
&lt;/h3&gt;

&lt;p&gt;Most background-removal tools are a thin frontend over someone else's hosted API: your photo gets uploaded, processed remotely, and billed by the call. OnyxPDF instead ships a segmentation model that runs &lt;strong&gt;on-device&lt;/strong&gt;, in the browser. Your photos stay on your machine, and there is no per-image API cost hiding anywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gotcha: large files and browser memory limits
&lt;/h2&gt;

&lt;p&gt;The hardest problem wasn't any single tool. It was memory.&lt;/p&gt;

&lt;p&gt;A server can throw RAM at a problem. A browser tab can't — it lives under strict heap limits, and those limits are tighter on mobile devices. A PDF that looks harmless on disk can balloon in memory once you start decoding it. Render a long scan at high resolution and suddenly you're holding hundreds of megabytes of raw page bitmaps at once.&lt;/p&gt;

&lt;p&gt;What made it workable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Chunking&lt;/strong&gt; — process page by page instead of loading the whole decoded document into memory: handle a page, release it, move on&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workers everywhere it matters&lt;/strong&gt; — long tasks and their garbage stay off the main thread&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Releasing decoded pages aggressively&lt;/strong&gt; as soon as a page is finished, instead of letting bitmaps accumulate&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streaming results out&lt;/strong&gt; where possible, rather than building one giant in-memory structure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this is exotic. It's just the discipline of treating the browser as the resource-constrained environment it actually is — the same discipline server-side tools never had to learn, because the server could always be given more RAM.&lt;/p&gt;

&lt;h2&gt;
  
  
  The proof anyone can run
&lt;/h2&gt;

&lt;p&gt;You don't have to take any of this on faith, because the architecture makes it verifiable in about thirty seconds:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open &lt;a href="https://onyxailabs.github.io/onyxpdf/" rel="noopener noreferrer"&gt;OnyxPDF&lt;/a&gt; and let the page load.&lt;/li&gt;
&lt;li&gt;Switch your device to &lt;strong&gt;airplane mode&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Pick any tool and process a file.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Everything still works — because there is no server to disconnect from.&lt;/p&gt;

&lt;p&gt;Prefer a second test? Open your browser's &lt;strong&gt;Network tab&lt;/strong&gt; while converting a file and watch the requests. Beyond loading the page itself, nothing uploads your document. Zero file uploads, because there is nowhere for them to go.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;OnyxPDF is free, needs no account, and lives here:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://onyxailabs.github.io/onyxpdf/" rel="noopener noreferrer"&gt;https://onyxailabs.github.io/onyxpdf/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It's built by &lt;strong&gt;Onyx AI Labs&lt;/strong&gt;, and it's actively maintained. Feedback is genuinely wanted — if there's a tool you wish existed, or you hit a bug, I want to hear about it.&lt;/p&gt;

&lt;p&gt;I'll close with the question that started this whole project:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which PDF tool do you still have to upload files to a random site for?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>privacy</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How I Automated WhatsApp Orders for a Small Business with n8n (Full Workflow Breakdown)</title>
      <dc:creator>Muhammad Mohsin</dc:creator>
      <pubDate>Fri, 23 Oct 2026 07:55:40 +0000</pubDate>
      <link>https://dev.to/mohsinakram91/how-i-automated-whatsapp-orders-for-a-small-business-with-n8n-full-workflow-breakdown-238d</link>
      <guid>https://dev.to/mohsinakram91/how-i-automated-whatsapp-orders-for-a-small-business-with-n8n-full-workflow-breakdown-238d</guid>
      <description>&lt;p&gt;If you run a small business, your "storefront" probably isn't a website. It's a WhatsApp number.&lt;/p&gt;

&lt;p&gt;And your "checkout flow" is a stream of chat messages like this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Hi, is the blue one available?"&lt;br&gt;
"2 chicken burgers and a fries, deliver to Green Town"&lt;br&gt;
"How much total?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Every one of those messages needs a human to read it, figure out what the customer actually wants, reply, and write the order down somewhere before it gets buried under newer chats. On a slow day, that's fine. On a busy day, messages get missed, orders get mixed up, and sales are lost simply because nobody could type fast enough.&lt;/p&gt;

&lt;p&gt;So I built an automation for it in n8n. This post is the full breakdown: what the workflow does, why each step exists, and the gotchas to avoid if you build your own.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: one chat, four separate headaches
&lt;/h2&gt;

&lt;p&gt;WhatsApp ordering looks simple from the outside — "just take the order." In practice, four different jobs land in the same chat window:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Order capture.&lt;/strong&gt; Someone has to turn a free-form message ("send 2 of the chicken one and one zinger") into a structured order: item, quantity, name, delivery address.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lead qualification.&lt;/strong&gt; Not every message is an order. Some people are price-shopping, some want a bulk quote, some are just browsing. They shouldn't all get the same treatment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FAQs.&lt;/strong&gt; "What time do you close?" "Do you deliver to my area?" "Is cash on delivery available?" The same handful of questions, answered again and again, every single day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Follow-ups.&lt;/strong&gt; The customer who asked about a price three hours ago and went quiet. Without a nudge, that conversation just dies.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A good automation has to handle all four — which is why "just connect WhatsApp to a chatbot" usually disappoints. The trick is to route first, automate second.&lt;/p&gt;

&lt;h2&gt;
  
  
  The workflow, step by step
&lt;/h2&gt;

&lt;p&gt;Here's the architecture I ended up with. It's a single n8n workflow with a clear path:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WhatsApp message → Webhook trigger → Parser → Intent router → branch (sheet + confirmation reply) → Human handoff for everything else&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: The trigger (webhook)
&lt;/h3&gt;

&lt;p&gt;The workflow starts with a Webhook node. When a customer sends a WhatsApp message, the WhatsApp Business API (or a provider built on it) POSTs the message to that webhook URL, and n8n wakes up with the sender's number and the message text in the payload.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why a webhook:&lt;/strong&gt; it's event-driven. You don't poll anything, you don't burn executions while idle, and the customer gets a reply in seconds instead of whenever someone notices the phone buzzing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: The parser
&lt;/h3&gt;

&lt;p&gt;Raw chat text is useless to a database, so the next step extracts structure from it: which items were mentioned, what quantities, a name if the customer gave one, and the delivery address if present. A simple approach is keyword matching against your menu or product list. A more flexible one is sending the message to an LLM with a strict JSON output schema (item, quantity, name, address) and validating the result before anything downstream touches it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why this step exists on its own:&lt;/strong&gt; parsing fails sometimes ("the usual pls"). If parsing is a separate step, you can inspect exactly what it extracted, log the failures, and improve it without touching the rest of the workflow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: The intent router
&lt;/h3&gt;

&lt;p&gt;This is the heart of the design. A Switch node classifies each message into one of three intents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Order&lt;/strong&gt; — the customer wants to buy something.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Question&lt;/strong&gt; — they're asking about hours, delivery areas, payment methods.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lead&lt;/strong&gt; — bulk orders, catering, resale, anything that deserves a real conversation and a follow-up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why route before acting:&lt;/strong&gt; each intent needs different handling, different data, and a different tone. An order needs accuracy. A question needs speed. A lead eventually needs a human — but a &lt;em&gt;logged&lt;/em&gt; human conversation, not one buried in a chat list.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Log the order (Google Sheets or Airtable)
&lt;/h3&gt;

&lt;p&gt;Order-branch messages get written as a row in Google Sheets (or Airtable, if you want nicer views): timestamp, customer number, name, items, quantities, address, status = "New". The team works from the sheet, moving the status from "Preparing" to "Delivered".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why a spreadsheet and not something fancier:&lt;/strong&gt; the business owner already knows Sheets. Zero training, zero new logins. The fanciest system in the world loses to the one people actually open.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: The automatic confirmation reply
&lt;/h3&gt;

&lt;p&gt;Immediately after logging, n8n sends a WhatsApp reply back through the API: a summary of the order exactly as it was parsed — something like "2× Chicken Burger, 1× Fries, deliver to Green Town. Reply YES to confirm, or tell me what to change."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why this matters more than it looks:&lt;/strong&gt; the confirmation doubles as an error check. If the parser misread the order, the customer corrects it &lt;em&gt;before&lt;/em&gt; anyone starts preparing anything. And customers stop sending "???" follow-ups, because they know the order landed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6: The human handoff rule
&lt;/h3&gt;

&lt;p&gt;Anything the router can't confidently classify — complaints, unusual requests, a plain "call me" — does &lt;strong&gt;not&lt;/strong&gt; get an automated guess. It gets flagged, written to a "Needs attention" list, and the owner gets a notification. A human takes over from there, in the same chat.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gotchas (learned the hard way)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Always keep a human fallback.&lt;/strong&gt; The goal is to remove repetitive work, not to remove humans. A bot that confidently misunderstands a customer is worse than no bot at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never let a bot guess prices.&lt;/strong&gt; Prices must come from your actual price list — a lookup in the same sheet — never from the parser's imagination. If the item or price isn't found, that's a handoff, not a hallucination opportunity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Confirm before you commit.&lt;/strong&gt; The confirmation message in Step 5 isn't politeness. It's your validation layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Log everything, even failures.&lt;/strong&gt; The messages your automation can't handle are a goldmine: they're your next FAQ entries and your parser's best test cases.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  This pattern generalizes
&lt;/h2&gt;

&lt;p&gt;Swap "orders" for "bookings" and the same shape works in a lot of places:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Salons and barbers&lt;/strong&gt; — booking requests get parsed into service + time, logged to a sheet, and confirmed automatically; rescheduling questions route to the FAQ path.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clinics&lt;/strong&gt; — appointment requests vs. general questions vs. "I need to speak to someone" (always a human, and fast).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Course sellers and coaches&lt;/strong&gt; — lead qualification up front: which course, what level, ready to enroll or just curious — each answer gets a different follow-up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The industries change. The pattern — trigger, parse, route, log, confirm, hand off — doesn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you want the ready-made version
&lt;/h2&gt;

&lt;p&gt;Full disclosure: after building this pattern more than once, I packaged it as &lt;strong&gt;WhatsAppKit&lt;/strong&gt; — 4 production n8n workflows covering the four headaches from earlier: an &lt;strong&gt;Order Bot&lt;/strong&gt;, a &lt;strong&gt;Lead Qualifier&lt;/strong&gt;, an &lt;strong&gt;FAQ Bot&lt;/strong&gt;, and an &lt;strong&gt;Opt-in Broadcast&lt;/strong&gt; workflow. It's the same architecture described in this article, just pre-built and tested, so you can import it instead of wiring every node yourself.&lt;/p&gt;

&lt;p&gt;It's $49 one-time on Gumroad, and the code &lt;strong&gt;WHATSAPP10&lt;/strong&gt; brings it to $39: &lt;a href="https://onyxailabs.gumroad.com/l/ttxqw" rel="noopener noreferrer"&gt;https://onyxailabs.gumroad.com/l/ttxqw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The full catalog of tools is here, if you want to browse: &lt;a href="https://onyxailabs.github.io/Catalog/" rel="noopener noreferrer"&gt;https://onyxailabs.github.io/Catalog/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And honestly, if you'd rather build it yourself, everything above is genuinely enough to do it — that's the point of the breakdown.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;What would you automate first in your business chats?&lt;/strong&gt; Order-taking, FAQs, follow-ups — or something else entirely? I'm curious what breaks first in other people's inboxes, so drop it in the comments.&lt;/p&gt;

</description>
      <category>n8n</category>
      <category>whatsapp</category>
      <category>automation</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
