Alexis Rondeau

My newsfeed

Everything I post, write, build and read, in the order it happened: dispatches from Twitter, posts and comments from Hacker News, videos from YouTube, my notes, my code on GitHub and the books I read on Kindle, archived here in full so they outlive the platforms.

1254 dispatches since January 2012 · page 15 of 51

1 like · 60 views

Wtf, I'm actually liking docker. Noooooo!!!!

What this does: apiKeyHelper tells Claude Code to run echo proxy-managed to get its API key. The sandbox’s network proxy intercepts outgoing API calls and swaps this sentinel value for your real Anthropic key, so the actual key never exists inside the sandbox.

From

DockerRun NanoClaw in Docker Shell Sandboxes | DockerLearn how to run NanoClaw, a Claude-powered WhatsApp assistant, inside a Docker Sandboxes shell sandbox for stronger isolation and proxy-managed API keys.↗ docker.com
1 like · 31 views
In reply to @RealistSec · Feb 16, 2026

And there lies the trap! 😂
It's because there isn't any proper auto-compacting for sessions.

Thus, if you create a tool in a session it is logged both to your
~/.openclaw/agents/main/sessions/sessions.json

AND will be linked as context via your current session's ~/.openclaw/agents/main/sessions/[UUID].jsonl
file - both of which are sent as context to the LLM inference API as context of the current chat/request.

So a simple, 'Hey' can actually contain the full build of your tool, and modifications of it, edits, uses, chats and versions and revisions of it, logged uses of it, + the session file + 'Hey'
= shedload of tokens!

Workarounds for building tools and in general:
1) Always use a subagent - just ask it to:
"use another agent to [do X,] and when done add it to 'memory' "
and it will be in a session file outside the main one,
1b) (make sure you have the memories skill enabled!)

2) When working on it for a while, and when done - before finishing the session use:
/compact slash command
to keep the tokens controlled, so even if it is referenced in the future it has been pruned.

3) When finished, run /new to clear the session/tokens and start out with just the base context/memories/last pruned session as context.

After a while though even memories etc can build up, that's when using lots of individual agents comes into it, the main agent becomes the orchestrator and only sends the relevant request and relevant context needed for it per task to the sub-agent.

Image from the post

Duuuude! Wow. Thank you so much for helping me understand this. That makes sense.

In Claude Code, for the exact same reason, we spent a bunch of time last year at work getting sub-agents to work reliably.

There it works well, I hadn't considered this is an option (or necessity) here.

Gonna read up on docs.openclaw.ai/tools/subagents and report back

Again, thank you for taking the time to write this up.

OpenClawSub-agents · OpenClawIndex of the OpenClaw sub-agent documentation, one page per reader job↗ docs.openclaw.ai
3 replies · 1 like · 49 views
In reply to @SpringStreetNYC · Feb 16, 2026

Okay, turns out: I was WRONG about tokens.

Hit rate limit after a day of low-intensity chat that included the aforementioned ad-hoc tool/skill building.

I'm not yet sure how I got to spend 18.4M tokens today (WTF?) but, yes, @RealistSec your assessment from earlier is correct.

I need to figure out what just at 18.4M tokens.

Image from the post
Image from the post
1 reply · 1 like · 47 views
In reply to @SpringStreetNYC · Feb 16, 2026

Hah! NICE! Thank you, much appreciated.

Looked at @virustotal and they're definitely hitting on a few concerns I had too: semantic worms and cognitive rootkits that would probably be in the skill description more than the actual code.

So maybe I'm wrong with the hot take. I'll have to think about this a bit :)

Okay, turns out: I was WRONG about tokens.

Hit rate limit after a day of low-intensity chat that included the aforementioned ad-hoc tool/skill building.

I'm not yet sure how I got to spend 18.4M tokens today (WTF?) but, yes, @RealistSec your assessment from earlier is correct.

I need to figure out what just at 18.4M tokens.

1 reply · 41 views
In reply to @RealistSec · Feb 16, 2026

@SpringStreetNYC @openclaw @virustotal I'm 100% the same, every ounce of my being want's to reject OpenClaw on security risk potential alone - autonomous AI is a whole new world.

And nah, I have @good_BOT_boi for spamming people, haha 👀

Hah! NICE! Thank you, much appreciated.

Looked at @virustotal and they're definitely hitting on a few concerns I had too: semantic worms and cognitive rootkits that would probably be in the skill description more than the actual code.

So maybe I'm wrong with the hot take. I'll have to think about this a bit :)

1 reply · 1 like · 39 views
In reply to @RealistSec · Feb 16, 2026

@SpringStreetNYC @openclaw Hey - I tried the same for a while, but found i was wasting tonnes of tokens creating things that already exist.

Then Clawdhub/OpenClaw partnered with @virustotal - so now all skills are verified properly so shouldn't be nearly as great a risk,

t.co/Prbrvjmo7v

Hey! Thank you for the heads-up.

I haven't run into wasting tokes so far, at least I haven't noticed. And for those quick, ad-hoc tools like an API wrapper, I've seen it be super efficient.

Plus: I believe that code-gen tokens will be extremely cheap long-term.

And to add for some context: USUALLY, I'm not even in the "not-invented-here" camp that rejects public code at all. I'd say it feels a bit backwards even to take that stand.

But I defintely had a strong impulse in the few days to say "Hm, do I want to risk installing something from the internet or just let it make it itself?"

One last thing: I hope your response, @RealistSec, was human-written and not just the result of a cron-job.

Are you human?

1 reply · 2 likes · 91 views

Another @openclaw -related hot take: Most AI-generated code will mostly be used by other AIs, not humans.

For context: Out of fear of downloading compromised skills, I've disabled my assistant from getting skills from clawdhub altogether.

Instead I let it write custom software directly for itself. On demand. And from scratch.

So, if I need a skill to connect to Todoist, I just let it write that for itself. Takes 20 seconds and is good enough to move ahead.

1 like · 124 views · 1 bookmark
In reply to @karpathy · Feb 11, 2026

New art project.
Train and inference GPT in 243 lines of pure, dependency-free Python. This is the full algorithmic content of what is needed. Everything else is just for efficiency. I cannot simplify this any further.
t.co/HmiRrQugnP

@karpathy Remarkable. I love how, with a bit of curiosity and 243 lines, practically anyone could learn how "it works." Thank you for sharing.

37 views

Giving @openclaw a heartbeat is the key in my opinion.

And I need to, ahem, BRAG that I (yes, me!) have experimented with this for two years now. Interestingly, I ended up disabling it and now I know the reason why: It was using macOS notifications and not WhatsApp.

Getting pings on WhatsApp from a trusted source feels right.

Quoting @SpringStreetNYC · May 5, 2023

Today, ChatGPT API "proactively" followed up with me as my accountability buddy. It sent ME a message.

I call this "Presence" and I built into our little macOS app called t.co/8fatWjEzI4. t.co/tBTaNuKClE

Accountability follow-up from ChatGPT API via a native macOS notification.
51 views
In reply to @nikitabier · Feb 11, 2026

Prediction: In less than 90 days, all channels that we thought were safe from spam & automation will be so flooded that they will no longer be usable in any functional sense: iMessage, phone calls, Gmail.

And we will have no way to stop it.

@nikitabier Hot take: Because of the upcoming and collective "Is this real or AI?" bewilderment, new apps will be proximity-first and built around Apple's Multipeer Connectivity APIs. Ya herrrrd!

(See

Apple Developer DocumentationMultipeer Connectivity | Apple Developer DocumentationSupport peer-to-peer connectivity and the discovery of nearby devices.↗ developer.apple.com
3 likes · 1.6K views
In reply to @lauriewired · Feb 5, 2026

We take randomness for granted.

Early PRNGs were BAD.

Thousands of scientific papers used to rely on RANDU, created by IBM in the 1960s. In 1D space, it looks ok!

Map in 3D…you start to see the issues. Now, there was a better solution...but it would cost you. t.co/qhVLyumonw

@lauriewired Oh this is really cool. I didn't know that there was this degree of conformity. This should kinda be part of any CS curriculum.

1 like · 2.6K views · 3 bookmarks
In reply to @justinskycak · Jan 30, 2026

The most transferable skill you can acquire is learning how to climb skill trees -- especially ones that are brutally hierarchical.

This meta-skill is abstract, but you acquire it by practicing on particulars. You gotta lean into specific domains and acquire measurable, demonstrable skills.

But once you see it, once you get a feeling for the process, you see it everywhere.

@justinskycak Thank you for sharing, will check it out!

Question: How different/similar is it to Josh Kaufman's "The First 20 Hours"?