Almost Timely News: đď¸ Improving AI With Command Line Tools (2026-04-12)
CLI > MCP
Almost Timely News: đď¸ Improving AI With Command Line Tools (2026-04-12) :: View in Browser
The Big Plugs
So many new things!
2ď¸âŁ My new GEO 101 course
3ď¸âŁ A free 25 minute webinar Katie and I did on GEO - even though it says the date is past, it still works and takes you to the recording.
Content Authenticity Statement
100% of this weekâs newsletter content was originated by me, the human. Youâll see me working with Claude Code in the video version. Learn why this kind of disclosure is a good idea and might be required for anyone doing business in any capacity with the EU in the near future.
Watch This Newsletter On YouTube đş
Click here for the video đş version of this newsletter on YouTube Âť
Click here for an MP3 audio đ§ only version Âť
Whatâs On My Mind: Improving AI With Command Line Tools
Last week I talked about the command line interface and how useful it was with todayâs agentic AI tools, and I gave three examples. Many of you wrote back to say âweâd like to see more examplesâ. So this issue is your wishes fulfilled.
Part 1: Why the Command Line Matters
For years now, weâve talked about how things like MCPs - model context protocol servers - were the way to connect AI to external systems. Thatâs true to a great degree, but it turns out MCP implementations are horrendously inefficient.
When you use an MCP to connect to a database or a web service, youâre telling your favorite AI tool how to talk to it and interact with it - pulling and pushing data. If this sounds familiar, it should. MCPs are to AI what APIs - application programming interfaces- are to regular software.
The difference is, in many, many measured tests, AI tools and agents use MCPs incredibly inefficiently. They do a lot of reinventing the wheel every time they interact with an MCP. For casual use where youâre typing into a tool like Claude or ChatGPT, that doesnât matter a ton. But once you start using AI agents, tools like Claude Code, Claude Cowork, OpenWork, OpenCode, Qwen Code, OpenClaw, etc., efficiency becomes very important.
The reason why is that AI agents produce far more inputs and outputs than humans do. To give you a sense of scale, if you spend half an hour chatting with a tool like ChatGPT, youâll probably generate somewhere in the range of 15-20 thousand words, about the length of a short business book. An agent like Google Antigravity or Claude Cowork, in that same half hour, will generate 15-20 MILLION words, three orders of magnitude greater.
Why? Partly because AI tools can read far faster than any human can, and partly because agent tools arenât sequential. When you use ChatGPT, itâs you and one conversation thread. When youâre using something like Claude Cowork, behind the scenes there can be 50 different agents working in 50 different conversations at the same time. My record was having 120 agents all in flight at the same time, all simultaneously. (It was writing and editing a book, so each chapter had 4 agents working together - a writer, an editor, a reviewer, and a proofer)
If an MCP is involved, AI agents are reinventing the wheel every time they interact with it. That makes it very slow, introduces the potential for lots of randomness and lots of mistakes, and when youâre using something like an API where you pay by the word, agents using MCPs can run up massive bills very quickly.
In the early days of OpenClaw, early adopters werenât watching the meter and more than a few got ten thousand dollar bills from companies like Anthropic. Oops.
The alternative to the MCP is the command line interface, or CLI. If youâre old like me, you used to use these when you interacted with computers. Back in the days of the Apple IIe and VisiCalc, AppleWorks, Lotus 1-2-3, and MS-DOS, there was no graphical user interface (GUI). There was no mouse. There was you and the text command line, and every program you interacted with had text-based commands.
Perhaps youâve heard of Zork or similar role-playing games where youâd type things like direction names, or instruct your character to open a treasure chest, and the game would tell you in words what was happening:
You have entered a dank, dark dungeon-like room. There is a desk in the corner. On the desk is a laptop open to someoneâs Google Analytics account. What do you do? Press 1 to look at their analytics. Press 2 to switch to Google Tag Manager. Press 3 to laugh loudly and mock their lack of UTM tagging. Press 4 to leave the room.
These text-based apps were all the rage until the Macintosh computer in 1984 (well, technically the Xerox PARC computer had the mouse and GUI first, but Apple commercialized it first) when we got the mouse and GUI. But the command line interface never went away. Itâs been present in every computer since the dawn of computing. On a Windows computer, itâs the Command Prompt, CMD. On a Mac and Linux, itâs the Terminal.
And operating systems themselves on computers have many, many little applications built into the command line, simple pieces of software that do one thing, but do it well. This was the original architecture of computer systems like UNIX, because memory was so scarce that it was better to have a tool that did one thing very well than a tool that tried to do many things and did them all poorly.
For example, on the Mac and Linux systems, thereâs an app called wc. wc counts things - letters, words, and bytes. Give it a text document like this:
wc -w input.txt
And it will tell you how many words are in that document. Thatâs all it does. Thatâs all it needs to do.
Hopefully you see where this is going. Who loves to type and is great at typing at ridiculous speeds?
AI.
Instead of a slow, cumbersome, error-prone MCP, a command line application (also known as a CLI) provides a deterministic (non-random) way to access the same services that provide MCPs. But hereâs the twist: in testing, many folks have found that AI agents burn through 2/3 less usage using a CLI as it does an MCP.
If youâre on Anthropicâs Claude subscription plans, youâve no doubt hit usage limits. If youâre using APIs, youâve no doubt gotten bills from AI providers. What if you could cut those bills down significantly?
With CLIs instead of MCPs, you can do exactly that.
Part 2: Switching Over
Thereâs a gotcha with CLIs. You have to tell AI agents how to use them. Depending on the system youâre working with, your AI agent may need to install it themselves (this is often the case in container-based systems like Claude Cowork, which run in a sandbox on your computer, isolated from the rest of your computer), or your AI agent may be able to access it directly (Claude Code, OpenClaw) which is more risky because the agent is working directly on your computer.
Thatâs the first hurdle to overcome. The easiest way to overcome it is to ask your AI tool of choice how it can access CLIs, what it needs to do.
I should point out here that NONE of the web-based tools (like ChatGPT, for example) can use CLIs at all, so MCPs are still the only way for those web-based tools to access third party services.
What AI tools can use CLIs? Anything agentic:
Coding tools: OpenAI Codex, Google Antigravity, Claude Code, Gemini CLI, Qwen Code, OpenCode
Coworking tools: Claude Cowork, OpenWork, et. Al.
Agentic frameworks: OpenClaw, MyClaw, NemoClaw, etc.
Itâs also worth pointing out that today, I use a coding environment (Claude Code and OpenCode) for almost all my AI usage including many, many non-coding tasks. I rarely, if ever, use the web-based chats any more. More on that in a second.
Your second step, after making sure youâve got AI that can use CLIs, is to determine what software youâd want to use a CLI with. Think of it this way: what software do you use every day that you wish you could have AI use on your behalf? What about GMail or Outlook? Microsoft Word? Google Sheets? NotebookLM? Your CRM?
Once youâve made a list of the things you wish you could hand off to AI in some capacity, itâs time to do a bit of Googling (or have an AI agent do it). Google for this:
{vendor} CLI tool Github
For example:
Joplin CLI tool GitHub
This will do a search to see if thereâs a CLI for my notetaking app, Joplin. And there is! Now I donât have to worry about APIs or MCPs or all kinds of contortionism to get AI to talk to my note-taking tool. Instead, I install the CLI and now thereâs a text-based way for AI to interact with it.
Not all software packages have CLI tools. As a sidebar, if you work for a software company and you donât offer a CLI, youâre almost obsolete. As more and more people use AI agents, the demand for interfaces like CLIs will become greater, and companies that fail to offer first class interfaces to AI will inevitably experience a lot of churn.
Okay, youâve figured out that your favorite software has a CLI. Install it, and then what? Great question. We have to tell AI that itâs available and how to use it. Thereâs an easy way to do this; almost every CLI tool has a documentation page of some kind. We point our AI tool at that page and ask it to make its own user guide. Hereâs a suggested prompt:
Make a concise guide for how to use {tool} based on the documentation at {documentation URL}. This tool will be installed locally and will be used by both a human and an LLM with tool handling, invoked by the command shell. Your concise guide should be in strict YAML format with the commands, command flags, a concise single sentence explanation of the command, a concise single sentence explanation of the use cases or when to use the command, and a concise single sentence explanation of when not to use the command (antipatterns). Prioritize lexical compression and lexical density to achieve conciseness. Write in second person imperative in active voice only.
What this will produce is a condensed version of the manual and documentation ready for AI to use. You can do this right inside your agentic system like Claude Cowork and have it write the YAML file to your hard drive.
Then, depending on you have your agentic system set up, you can give it brief instructions when you want to invoke the CLI, or better yet, incorporate it into skills and hooks so that your AI agent automatically knows when to use it and how. We talked a little about this on the Trust Insights Livestream this past week.
Itâs also worth pointing out that one advantage CLIs have over MCPs is that theyâre actual applications. If youâre old like me, you remember using apps back in the day exactly like this, and you can pick up and use these CLIs as apps, as a human. For example, suppose youâre using Atlassianâs Jira, but you find the website cumbersome to navigate. You can read the same manual that AI wrote for itself and use Jira in a Terminal just like your AI does. This is not for everyone, especially since younger folks have never had computers without GUIs, but depending on how your brain works, you might even prefer a CLI to a GUI app. If youâre easily distracted, CLIs can be a great way to single task and focus. If you or someone you know is low-vision, CLIs are AMAZING.
Part 3: Demo Walkthrough
In the video version of the newsletter, you can watch me set this up using Joplinâs CLI step by step to see the flow.
Part 4: A Compendium of Common CLIs
Now that youâve got the general idea about how to use these CLIs, letâs look at a roguesâ gallery of some of the most common ones, with links so you can go find them.
I would strongly, strongly encourage you to use a package manager for CLI tools when possible, because it makes keeping them up to date much easier. On the Mac, this is Homebrew. On Windows, this is Chocolatey. On Linux, itâs apt or yum or deb or⌠well, thereâs a gazillion package managers, honestly. Use the one thatâs best for your distribution. Read up on how to install the appropriate package manager, if youâre allowed to (some corporate IT departments frown on systems like this because it makes device management very difficult).
Some software companies have published official CLIs. Others have not, but because their software has APIs, folks have made unofficial versions. In general, prefer official CLIs over unofficial ones to minimize security and privacy risks. If you have to use an unofficial one and itâs on Github, you can ask your agentic coding tool of choice to audit it for safety, security, and privacy risks before installing it. This is a generally good best practice to get in the habit of and one of the primary reasons to use open source software - you can audit the software itself.
The list of CLIs is massive - 135 of them, so Iâll highlight a few here and put the rest as an appendix at the end of the newsletter.
Cloud Platforms & Infrastructure
AI & ML Platforms
Communication & Chat
CRM & Sales
Part 5: Wrapping Up
Command line interface tools are the best way for AI to interact with non-AI systems today. Theyâre deterministic - AI has mandated ways to interact with the tools and inputs and outputs are rigid. Theyâre incredibly efficient - unlike browsing a web site or managing a virtual keyboard and mouse, typing out commands is low bandwidth and low effort for AI and humans. They donât consume tokens/AI usage getting data in and out of the target systems because the CLI does that without AI; itâs a black box from AIâs perspective.
Your homework is to follow the process in this newsletter with the CLI of one of the tools you use, handing it to a system like Claude Code or Claude Cowork, and asking it to help you get set up to use that CLI in your work. You may be surprised to find out just how much AI can take on.
How Was This Issue?
Rate this weekâs newsletter issue with a single click/tap. Your feedback over time helps me figure out what content to create for you.
Hereâs The Unsubscribe
It took me a while to find a convenient way to link it up, but hereâs how to get to the unsubscribe.

If you donât see anything, hereâs the text link to copy and paste:
https://almosttimely.substack.com/action/disable_email
Share With a Friend or Colleague
Please share this newsletter with two other people.
Send this URL to your friends/colleagues:
https://www.christopherspenn.com/newsletter
For enrolled subscribers on Substack, there are referral rewards if you refer 100, 200, or 300 other readers. Visit the Leaderboard here.
ICYMI: In Case You Missed It
Hereâs content from the last week in case things fell through the cracks:
How to Beat Claudeâs Peak Hour Limits: A Smart Workaround with Minimax M2.7
Optimizing for Both: Why Your Content Strategy Needs a B2M Approach (Business to Machine)
The AI Curve Has Departed â Hereâs How to Stop Chasing It and Start Winning Anyway
Almost Timely News: đď¸ Making AI More Efficient (2026-04-05)
On The Tubes
Hereâs what debuted on my YouTube channel this week:
Skill Up With Classes
These are just a few of the classes I have available over at the Trust Insights website that you can take.
Premium
Free
đ New! From Text to Video in Seconds, a session on AI video generation!
Never Think Alone: How AI Has Changed Marketing Forever (AMA 2025)
Powering Up Your LinkedIn Profile (For Job Hunters) 2023 Edition
Building the Data-Driven, AI-Powered Customer Journey for Retail and Ecommerce, 2024 Edition
The Marketing Singularity: How Generative AI Means the End of Marketing As We Knew It
Advertisement: New GEO 101 Course
When I talk to folks like you, being recommended by AI is one of your top marketing concerns in 2026.
Weâve taken everything weâve learned from OpenAIâs documentation, Googleâs technical papers, patents, sample code, plus our years of experience in generative AI to assemble a high-impact 90-minute course on GEO 101 for Marketers.
In this course, youâll learn:
The three distinct phases of GEO and how they work
How to optimize for each phase (theyâre different!)
How to measure your GEO efforts in a meaningful and valid way
This course is meant to be used. In addition to the course itself, youâll also receive:
Your 90 day GEO action plan
How to set up Google Analytics for measuring GEO traffic
How to join Google Search Console data with GEO intent data
How to use our free AIView tool to improve your content and site for one of the three phases of GEO
A certificate of completion from TrustInsights.ai
And best of all, this is our most affordable course yet. GEO 101 for Marketers is USD 99 and is available today.
đ Enroll here in GEO 101 for Marketers!
Get Back To Work!
Folks who post jobs in the free Analytics for Marketers Slack community may have those jobs shared here, too. If youâre looking for work, check out these recent open positions, and check out the Slack group for the comprehensive list.
Director Of Marketing & Engagement at Western United States Agricultural Trade Association (WUSATA)
Head Of Demand Generation (Senior Manager) at CloudOne Digital
Head Of Demand Generation And Marketing Operations at SEO Brand
Head Of Growth & E-Commerce (Shopify + Amazon) at EarthFirst Organic
Product Marketing Director - Incentives (Workday) at Varicent
Vp, Group Account Director (Pharma Ad Agency Experience Required) at EVERSANA INTOUCH
West Coast Director, National Ad Sales (Linear Broadcast) at JLTV
Advertisement: My AI Book!
In Almost Timeless, generative AI expert Christopher Penn provides the definitive playbook. Drawing on 18 months of in-the-trenches work and insights from thousands of real-world questions, Penn distills the noise into 48 foundational principles-durable mental models that give you a more permanent, strategic understanding of this transformative technology.
In this book, you will learn to:
Master the Machine: Finally understand why AI acts like a âbrilliant but forgetful internâ and turn its quirks into your greatest strength.
Deploy the Playbook: Move from theory to practice with frameworks for driving real, measurable business value with AI.
Secure Your Human Advantage: Discover why your creativity, judgment, and ethics are more valuable than ever-and how to leverage them to win.
Stop feeling overwhelmed. Start leading with confidence. By the time you finish Almost Timeless, you wonât just know what to do; you will understand why you are doing it. And in an age of constant change, that understanding is the only real competitive advantage.
đ Order your copy of Almost Timeless: 48 Foundation Principles of Generative AI today!
How to Stay in Touch
Letâs make sure weâre connected in the places it suits you best. Hereâs where you can find different content:
My blog - daily videos, blog posts, and podcast episodes
My YouTube channel - daily videos, conference talks, and all things video
My company, Trust Insights - marketing analytics help
My podcast, Marketing over Coffee - weekly episodes of whatâs worth noting in marketing
My second podcast, In-Ear Insights - the Trust Insights weekly podcast focused on data and analytics
On Bluesky - random personal stuff and chaos
On LinkedIn - daily videos and news
On Instagram - personal photos and travels
My free Slack discussion forum, Analytics for Marketers - open conversations about marketing and analytics
Listen to my theme song as a new single:
Advertisement: Ukraine đşđŚ Humanitarian Fund
The war to free Ukraine continues. If youâd like to support humanitarian efforts in Ukraine, the Ukrainian government has set up a special portal, United24, to help make contributing easy. The effort to free Ukraine from Russiaâs illegal invasion needs your ongoing support.
đ Donate today to the Ukraine Humanitarian Relief Fund Âť
Events Iâll Be At
Here are the public events where Iâm speaking and attending. Say hi if youâre at an event also:
SSI, Charlotte, April 2026
SmarterX AI Writerâs Summit, May 2026
The Trust Insights Generative AI Workshop, sometime this spring!
SMPS AI Conference, Austin, November 2026
MarketingProfs B2B Forum, Boston, November 2026
There are also private events that arenât open to the public.
If youâre an event organizer, let me help your event shine. Visit my speaking page for more details.
Canât be at an event? Stop by my private Slack group instead, Analytics for Marketers.
Required Disclosures
Events with links have purchased sponsorships in this newsletter and as a result, I receive direct financial compensation for promoting them.
Advertisements in this newsletter have paid to be promoted, and as a result, I receive direct financial compensation for promoting them.
My company, Trust Insights, maintains business partnerships with companies including, but not limited to, IBM, Cisco Systems, Amazon, Talkwalker, MarketingProfs, MarketMuse, Agorapulse, Hubspot, Informa, Demandbase, The Marketing AI Institute, and others. While links shared from partners are not explicit endorsements, nor do they directly financially benefit Trust Insights, a commercial relationship exists for which Trust Insights may receive indirect financial benefit, and thus I may receive indirect financial benefit from them as well.
Thank You
Thanks for subscribing and reading this far. I appreciate it. As always, thank you for your support, your attention, and your kindness.
Please share this newsletter with two other people.
See you next week,
Christopher S. Penn



