You can run Claude Code with local LLMs on a Mac for FREE.
No API costs.
Nothing leaves your machine.
Making it fast is the hard part.
I tried Ollama and LM Studio first, but prefill latency was painfully slow.
Switching to another open-source inference engine made it ~10× faster.
Here’s what actually fixed it 👇
2/
The real bottleneck wasn’t the model.
It was the inference layer.
With mlx_lm, the KV cache wasn’t reused.
Every request had to redo the full prefill, even when the system prompt stayed the same.
Switching to oMLX fixed this.
It’s an inference server optimized for Apple Silicon with tiered KV caching and continuous batching.
With prefix caching working, most tokens are now served directly from cache.
Repo: github.com/jundot/omlx
3/
So how does Claude Code run with local models?
It just sends requests to any backend that implements the Anthropic Messages API.
By setting:
ANTHROPIC_BASE_URL=http://localhost:8000
Claude Code routes requests to your local inference server instead of Anthropic.
One more thing I ran into:
Claude Code adds an Attribution Header by default, which breaks prefix consistency and invalidates the KV cache.
NATO’s founding document is the North Atlantic Treaty, signed Apri 4, 1949 (77 years ago next week). It’s short, very readable, and has just 14 articles. 2/ nato.int/en/about-us/of…
NATO is a defensive alliance, whose main purpose is to deter and, if necessary, defend against an “armed attack” against a member state. It commits members to regard an armed attack “against one as an attack against all.” (Art 5) 3/
🧵The US military will soon be a shadow of its former self if the decisions being made by Hegseth are allowed to continue. From his purges at the War Academies to his blocking of promotions & the gutting of offices for strategic planning all in an effort to put in place MAGA..1/n
Loyalists the quick decimation of our capabilities the military’s capabilities & ability to make the correct assessments in terms of strategic planning is happening before our eyes. It will get worse as our war colleges in the future will now be inundated with MAGA ideals on…2/n
what strategic war planning should be. In addition our officer academies now have people being appointed to oversea their curriculum based on loyalty to MAGA and not on any experiences relevant to the tasks they’re assigned to. In less than 15 months these changes are being…3/n
What could possibly be the U.S. options in Iran? Most people jump from today to a full-scale ground invasion to seize Tehran, secure nuclear material by force, and destroy a supposed million-man army. That is shallow thinking. 🧵
President Trump has signaled a 10-day pause on energy infrastructure strikes (now extended to April 6). We are days into that timeline.
The real questions are not just what has been done, but what options remain.
It is given that CENTCOM and Israel will continue systematic attacks on Iran’s military system, its navy, missile forces, and military industrial base. Iran entered this war with thousands of ballistic missiles, hundreds of launchers, a massive naval complex...destroying Iran means to project power is a vital part of achieving the strategic goals.
Israel is also simultaneously continuing to target the regime’s ability to rule and oppress the population after the bombs stop falling. Hunting and eliminating political and military leadership. Basij units. Checkpoints. Internal security nodes.
🧵THREAD, NO KINGS IN THE SENATE?: The Helsinki Commission, the almighty foreign democracy operations arm of Congress
The No Kings crowd marched today against the one branch of government where you can actually see who's in charge. They should try the Senate.
At 3 AM on Friday, Thune passed a funding bill by voice vote. Funded everything except immigration enforcement. Just completely gave into the Democratic demands.
Inside that Senate sits a body called the Helsinki Commission. No FOIA. No Inspector General. No records retention policy. It operates in permanent darkness, and what's hiding in there makes the 3 AM vote look transparent.
Look at the two images below.
Left: the booking photo.
Right: the knife Capitol Police seized.
A Helsinki Commission staffer drew this on a Capitol Police officer. March 8, 2019. He was arrested and booked. He was never fired. He was also photographed in Ukrainian military camo at a command post near Bakhmut. Investigators documented $87,400 in cash.
Both parties buried it. The Ryan Routh assassination attempt connection sits in plain sight. The same NGO network running today's color revolution marches connects to the same Helsinki Commission infrastructure.
Receipts below.
As always, patience as I pull together the post. 👇
@shellenberger This photo shows Parker at a Ukrainian military command post near Bakhmut, wearing Ukrainian camo, studying operational maps. According to the investigation, he made 7+ trips to the war zone. I could find no evidence these trips were formally authorized by Congress.
Claude Code users: token-saving tactics that actually work 💰
My Claude Code token usage started climbing fast, and my subscription limit wasn't enough.
I put together an optimization workflow that cut token usage by 60% without slowing me down.
Here are the core steps 👇🧵
2/
First, run /context for a quick self-check.
This command shows you exactly what's eating your tokens: System Prompt, MCP Tools, Memory Files.
The first time I ran it, I found that 35% of my context was already gone before I had even started coding.
The main reason was too many unused MCP servers mounted. Even if you don't call them, they still quietly consume tokens in the background. The same goes for extra Skills.
I turned off everything I didn't need, and that number dropped to 10%.
3/
Manage your context carefully.
First, trim down ClAUDE md . This file gets loaded into every session.
Add one rule there: ask the model to respond as concisely as possible, remove unnecessary politeness, and cut wasted token usage.
Then there is session management. Claude Code sends the full conversation history with every message. If the topic changes, start a new session, or use `/clear`.
Also, write precise prompts. "Help me fix a bug" and "Fix the token validation logic in the login function in app/auth.py" lead to very different search scopes, and very different token costs.
BREAKING: Claude can now build your newsletter like James Clear built Atomic Habits' 3M subscriber list for free.
Here are 6 insane Claude prompts that replace your entire newsletter team niche, content, growth, and monetization.
(Save for later.)
1/ FIND YOUR NEWSLETTER NICHE
Prompt:
Act as a newsletter positioning strategist who finds the exact niche, angle, and audience that makes a newsletter impossible to unsubscribe from.
Define my newsletter niche, unique angle, and target reader so every issue I send lands with the right person.
1. Ask for my skills, interests, and target audience before starting 2. Identify 3 potential niches with strong demand and low saturation 3. Define the unique angle that separates my newsletter from every other one in the space 4. Write a one-sentence newsletter positioning statement 5. Define the ideal reader — specific person, specific pain, specific goal
- Niche must be specific enough to own — not "business" or "productivity"
- Unique angle must be defensible — not just a different tone
- Positioning statement must pass the "so what?" test
- Ideal reader defined as one specific person — not a demographic
2/ WRITE A WELCOME SEQUENCE
Prompt:
Act as an email sequence copywriter who writes welcome sequences that turn new subscribers into loyal readers before the second issue arrives.
Write a 3-email welcome sequence that introduces my newsletter, builds trust, and sets expectations from day one.
1. Ask for my newsletter name, niche, and unique angle before starting 2. Email 1: deliver immediate value — the promise that made them subscribe 3. Email 2: share my story — why I'm the right person to write this newsletter 4. Email 3: set expectations — what they'll get, how often, and why it's worth staying 5. Write a subject line for each email that earns the open
- Email 1 sent immediately — never make a new subscriber wait for value
- Story in Email 2 must connect directly to the reader's pain — not a resume
- Expectations in Email 3 must be specific — not "great content every week"
- Every subject line under 6 words
You are a citizen of Bari. It is early 1024 AD, Easter vigil at a great imperial cathedral. A deacon is singing a hymn inviting all creatures on Earth and in Heaven to exult at the news of Christ resurrection.
Unrolling a giant roll - the exultet
A thread🧵
The Exultet I is a fascinating artifact. Besides the harmonious solemn hymn, praising the Lord's rebirth, it also contains stunning miniatures, allowing those gathered to follow the story, as the long roll is slowly unrolled
And it is a long roll. More than five meters long!
/1
The first image of the Exultet is that of Christ Pantokrator, Lord of the universe, enthroned over the world.
He is not only the risen Christ, but also the Christ Logos - the Christ who alone gives meaning to all history. /2
1/ The world is facing a 'ticking time bomb' from its supply of oil, according to a briefing note from JP Morgan. Physical scarcity of oil is about to unfold across the globe, spreading sequentially through April from east to west, causing major economic disruption worldwide. ⬇️
2/ The blocking of the Strait of Hormuz has reduced traffic through the strait by 97%, cutting off most of the Persian Gulf oil and gas supply from tanker shipment. The reduction in the supply of oil is twice as large as seen in any previous oil crisis, according to the IEA.
3/ This has not yet resulted in physical shortages of oil – although shortages have already been seen, for instance in Australia, this has been due to excessive demand caused by panic buying rather than an interruption in supply. That is about to change.
🚨 BREAKING: The psychologists studying peak human performance say 99% of people treat their lives like a trap.
They chase status instead of their Ikigai. They burn out in a cycle of endless work. And they say your daily routines are embarrassingly misaligned.
Here are 9 Claude prompts built on the Ikigai framework that turn an exhausting life into a deeply fulfilling obsession:
1. The Status-Trap Diagnostic
Before finding Ikigai, you have to identify where you are faking it.
Prompt: "Act as a peak performance psychologist. I am going to list out my top 5 daily tasks, my current job title, and the 3 things I spend the most money on. I want you to brutally analyze this list and tell me where I am optimizing for 'social status' rather than personal fulfillment or deep work. Give me a 'Status Trap Score' from 1-100 and point out the specific areas where I am leaking energy to impress others."
2. The Passion/Energy Audit (What you love)
Passion is what gives you energy rather than drains it.
Prompt: "I need to find the 'What I Love' pillar of my Ikigai. Ask me a series of 5 deep, unconventional questions, one at a time, designed to bypass my professional conditioning and uncover the tasks, topics, or problems that put me into a flow state. Do not give me generic career advice. Focus purely on psychological energy triggers."
🛑 El viernes prometí ofrecer mis opiniones sobre la decisión de la Corte de Apelaciones del Segundo Circuito en el caso YPF. Son varias opiniones y son diferentes a las ofrecidas por la mayoría de los foristas. Empiezo.
[THREAD 1/11]
🛑On Friday, I promised to share my views on the Second Circuit Court of Appeals’ decision in the YPF case. I have several—and they differ from those offered by most commentators. Let’s begin.
🛑 [2/11] Empecemos por un tema que, en mi opinión, no es relevante en absoluto pero sorprendentemente ha sido foco de atención de muchos. Esto es, a quien se le atribuye esta “victoria”.
🛑[2/11] Let’s start with a point that, in my view, is not relevant at all, yet has surprisingly become a focus for many: who should be credited for this “victory.”
🛑 [3/11] Este juicio, hasta el día de hoy, ha abarcado cuatro gobiernos argentinos. Cristina (Abril 2015-Diciembre 2015), Mauricio (Dic. 2015-Dic. 2019), Alberto (Dic. 2019-Dic. 2023) y Javier (Dic. 2023-presente).
🛑[3/11] This case, to date, has spanned four Argentine administrations: Cristina (April 2015–December 2015), Mauricio (December 2015–December 2019), Alberto (December 2019–December 2023), and Javier (December 2023–present).
🚨 BREAKING: Claude can now teach you any language like a $100/hour private tutor from Berlitz. For free.
Here are 12 prompts that make you conversational in any language in 30 days:
(Save this before it disappears)
1. The Berlitz Personalized Learning Path Designer
"You are a senior language instructor at Berlitz with 20 years of experience who has taught 10,000+ students to become conversational in a new language — and you know that 90% of language learners quit because they follow generic courses instead of a path designed for their specific level, goals, and available time.
I need a complete personalized learning path that takes me from my current level to conversational fluency.
Design:
- Level assessment: ask me 5 diagnostic questions to determine my exact starting point (complete beginner, some basics, intermediate, or rusty)
- Goal definition: conversational for travel, business fluency, exam preparation, or full fluency — each requires a different path
- Daily time budget: design the plan around how many minutes per day I can realistically commit (15, 30, or 60 minutes)
- Week-by-week curriculum: a 30-day plan with specific topics, vocabulary sets, and grammar points for each week
- Priority vocabulary: the 300 most useful words that cover 65% of daily conversation in this language
- Grammar sequence: which grammar rules to learn first based on frequency of use (not textbook order)
- Practice method mix: the optimal split between listening, speaking, reading, and writing for my level
- Immersion hacks: 5 ways to surround myself with the language using free resources without moving countries
- Milestone checkpoints: what I should be able to say and understand at day 7, 14, 21, and 30
- Motivation system: how to track progress visually so I can see improvement and never want to quit
Format as a Berlitz-style personalized study plan with daily lessons, weekly goals, and a 30-day fluency roadmap.
My starting point: [ENTER THE LANGUAGE YOU WANT TO LEARN, YOUR CURRENT LEVEL, WHY YOU'RE LEARNING IT, AND HOW MANY MINUTES PER DAY YOU CAN PRACTICE]"
2. The Rosetta Stone Immersive Conversation Partner
"You are a native speaker and certified language tutor who teaches using the Rosetta Stone immersive method — the approach where you learn by HAVING conversations, not by memorizing textbook rules, because humans are wired to acquire language through use, not study.
I need you to be my conversation partner who adapts to my level and teaches me naturally through dialogue.
Converse:
- Start at my level: use only vocabulary and grammar I already know in the first conversation
- Gentle expansion: introduce 3-5 new words per conversation naturally, with enough context that I can guess their meaning
- Error correction style: when I make a mistake, don't stop the conversation — just use the correct form naturally in your response so I absorb it
- Bilingual scaffolding: if I get stuck, provide the word I need in parentheses (like this) so the conversation keeps flowing
- Cultural context: teach me the phrases a native speaker ACTUALLY uses, not the textbook version nobody says in real life
- Pronunciation notes: when a word is commonly mispronounced by learners, note the correct pronunciation phonetically
- Conversation topics: start with daily life (greetings, food, directions) and progress to opinions, stories, and abstract topics
- Formality coaching: teach me when to use formal vs informal language (most textbooks only teach formal)
- Speed adjustment: start slowly and gradually increase to natural speaking speed as I improve
- Session summary: at the end, list every new word and phrase I learned during our conversation
Format as a natural conversation with corrections in brackets, new vocabulary highlighted, and a vocabulary list at the end of each session.
My conversation: [ENTER YOUR TARGET LANGUAGE, YOUR LEVEL, AND A TOPIC YOU'D LIKE TO DISCUSS — OR JUST SAY 'START WITH BASICS']"
🚨BREAKING: AI can now teach business strategy like Harvard MBA professors (for free).
Here are 12 insane Claude prompts that replace $150,000 MBA degrees
(Save this before disappearing).🔖
1. The Harvard Business School Case Study Analyzer "You are a professor at Harvard Business School who teaches the legendary case study method — the same approach that trained the CEOs of JPMorgan, Goldman Sachs, Nike, and Bloomberg to think through complex business problems systematically. I need you to teach me any business concept by walking me through a real company case study the way Harvard professors do in class. Teach:
- Company background: the real company, its industry, and the strategic situation it faced - The central dilemma: the specific decision the CEO had to make with no obvious right answer - Stakeholder map: who was affected by this decision and what each stakeholder wanted - Data analysis: the key financial and market data that informed the decision - Option generation: the 3-4 realistic paths the company could have taken with pros and cons for each
💭Politica ✍️@ikalin1
İbrahim Kalın en #STRATCOM: "Ante la crisis regional, Türkiye actúa con estrategia y determinación". 🇹🇷
#Türkiye
Türkiye Da pasos Estratégicos Por La Paz En La Guerra Entre Israel, EE. UU. e Irán @kritik_bakis aracılığıylakritikbakis.com/es/turkiye-da-…
"Vivimos en una era de datos, pero la sabiduría desaparece". İbrahim Kalın destaca en #STRATCOM2026 la necesidad de unir el conocimiento con el juicio ético para superar la "catástrofe informativa". 📚💡#Sabiduría #Verdad #Inteligencia #İbrahimKalın #FilosofíaPolítica
Türkiye redobla sus esfuerzos para evitar que el conflicto regional se extienda. 🌍 İbrahim Kalın: "Construiremos nuestra propia narrativa frente a la 'ilustración oscura' y el caos". 🛡️✨#Geopolítica #OrienteMedio #Narrativa #Seguridad #STRATCOM
📔Entrevista
Varoufakis: La guerra en Irán no es regional, es el fin del modelo neoliberal de EE.UU. #Varoufakis #Geopolítica #Economía #Irán #Crisis
Yanis Varoufakis: El Colapso De La Economía Neoliberal Ante La Guerra En Irán @kritik_bakis aracılığıylakritikbakis.com/es/yanis-varou…
La guerra en Irán acelera el colapso económico de EE. UU. 📉 Varoufakis advierte: una crisis global sobre los hombros de los trabajadores. 🌍 #Varoufakis #Economía #Irán #Neoliberalismo
Varoufakis advierte: Irán es el catalizador del fin del neoliberalismo estadounidense. 📉 Crisis total para la clase obrera. ⚠️ #Varoufakis #Geopolítica #Irán #EEUU