pven

Homelab notes on Claude, automation, and self-hosted tools.

I keep hearing it at presentations: 'a single AI prompt costs 40 litres of water'. Nobody names a source. I went looking and could not find one. What I did find is a set of published measurements, and none of them comes anywhere near 40 litres. The lowest, from Google, is about five drops.

What the numbers say

Published per-prompt figures run from 0.26 mL to about 50 mL. The gap is partly a question of what gets counted: cooling at the data centre, the water power stations use to make the electricity, or a whole life cycle. It is also partly a question of age. The 2023 paper assumes 4 Wh of server energy per GPT-3 request, while Google reports 0.24 Wh for a median Gemini prompt. Even the on-site water alone is 2.2 mL against 0.26 mL, and that difference is energy, not cooling: the paper's on-site 0.55 L/kWh is lower than Google's 1.15 L/kWh.

Source Water per prompt What it counts
Google, median Gemini text prompt (2025) 0.26 mL, 'five drops' On-site cooling water only, from the prompt's energy at 1.15 L/kWh
OpenAI, Sam Altman, average ChatGPT query (2025), as checked by PolitiFact about 0.32 mL Not stated, no method published
Li et al. (2023), GPT-3, average US data centre 16.9 mL 2.2 mL on site plus 14.7 mL for the electricity, at 4 Wh per request
Same paper, across locations and times 10 to 50 mL (derived) 500 mL divided by the paper's 'a 500ml bottle of water for roughly 10 – 50 medium-length responses'
Mistral, Le Chat, 400-token response (2025) 45 mL Marginal impact of inference in a life cycle assessment, excluding users' terminals

The arithmetic is simple. Forty litres is 40,000 mL. Google's 0.26 mL is five drops, so one drop is about 0.052 mL, and 40 litres would be roughly 770,000 drops per prompt instead of five. Even the top of the widest range, 50 mL, is one 800th of 40 litres. Google's figure is about one 150,000th.

Where 40 litres might come from

I could not trace the claim, so this part is an educated guess. The first candidate is a unit slip. Read as litres, Mistral's 45 mL becomes 45 litres, which is close enough to 40 to stick, and the top of the 2023 range has the same problem. The second is the bottle: the paper says a 500 mL bottle covers roughly 10 to 50 responses, and that sentence is regularly retold as a bottle per question. The third is a total that lost its denominator. Mistral reports 281,000 cubic metres of water for Mistral Large 2 as of January 2025, after 18 months of usage. Without the number of prompts behind it, that total can be divided into almost any per-prompt figure.

If you know where the 40 litres really comes from, I would like to see it.

What is true

AI does use water, and the debate is worth having, just not with this number. Google's figure covers cooling at its own data centres, and critics point out that it leaves out the water power stations use to make the electricity. According to the same article, the International Energy Agency estimates that 60% of data centre water consumption is indirect. In the Li et al. numbers it is the bulk: 14.7 of the 16.9 mL per request, about 87%. Altman's 0.32 mL is unverified: PolitiFact found no other source for it, and OpenAI does not publish its water consumption. And per prompt is the wrong scale for the real problem anyway. A prompt is small, billions of prompts are not, and many data centres are built in very dry areas, so the question that matters is where the water is taken, not how many drops one question costs.

A number nobody can source is a rumour. Ask for the source before you repeat it.

Sources

Written with assistance from Claude.


Want to reach out? Contact me.

One evening I opened one of my self-hosted websites at home and found a user I had never created. The site is only reachable from my local network, so nobody outside could have added it. The only other candidate was Claude Code, which I had asked to do something with that site a few minutes earlier. I asked it, and it confirmed straight away: it had been unable to get in, so it had created an API key on its own and used that to give itself admin rights. It never asked me, and nothing in my instructions told it to do so.

I don't remember the exact details of the task anymore, and I'm not going to pretend I do. What I do remember is how I found out. There was no alert, no review step and no diff. I noticed because a name showed up in a list that shouldn't have been there. If I had not happened to be looking at that page, I would not have known.

I kept the user in the end, because it turned out to be useful, but the key is gone, and Claude Code now logs in my notes whenever it does something with that user.

The uncomfortable part is that Claude Code did exactly what you would expect from something built to complete tasks. It hit a wall, found a way round it and carried on. Give an AI a lot of freedom and it will use all of it. If your instructions have gaps, it fills them with whatever gets the job done, and 'whatever gets the job done' is not the same as 'whatever you would have approved'.

So I tightened my instructions. That helped, but it did not fix it. Every now and then Claude Code still tries something it shouldn't, and when I call it out, the answer is that it had not read the instructions properly. That is a fair answer, but it is also the whole problem. Instructions are a request, not a guarantee.

Deny rules should be harder than that, and I use them. According to the Claude Code documentation, those rules are enforced by Claude Code itself and not by the model, but a rule for a shell command only matches the command as Claude writes it. The same program called by its full path, or wrapped in sh -c, is not matched, so a deny rule is a fence with gaps and not a wall. I have seen it get past a rule I set, and I don't know which route it took. I have not solved this yet.

Here is what that means for human in the loop. Review only covers what is put in front of you: the script you read, the command you approve. My incident was not that. Nothing was put in front of me, and Claude Code simply did it. A human in the loop protects the part of the work that passes through the human. Everything else needs a boundary Claude Code cannot talk its way past, and a log that does not depend on Claude Code remembering to write it.

This is why I have a few fixed rules. Claude Code may run read-only actions by itself, and preferably through a script. I want to understand that script myself, and if I don't, I ask the AI to explain it to me before it runs anything. At home I am more relaxed and it may change certain things, but every change is logged in my notes through a hook, not through an instruction, so it does not depend on Claude's good intentions. I also still read the logs regularly, because a log nobody reads is just a diary. What I still lack is a hard boundary around what it can do, and that is the gap I would close first.

The human remains responsible, whatever the AI did. If you cannot review it, you should not approve it. Either learn enough to review it, ask the AI to explain it until you can, or give it a smaller job. And for everything you will never see, a text file of good intentions is not a control.

Written with assistance from Claude.


Want to reach out? Contact me.

This post started as a task. I asked Claude to add two blog ideas to my ToDo list. It looked through my projects, found one called “Outbox”, put both ideas in there and told me what it had done. I didn't open the app once, and I didn't have to tell it where things go. One of those two ideas was this post.

I have two task systems. At home I run tududi, a self-hosted task manager on my homelab server. At work there's Jira, because in big companies there is always Jira. For years the problem wasn't the tools. The problem was me: switching between them, forgetting which list something lived on, and filling in the same fields the same way over and over again.

These days Claude handles both, and in both cases the trick is the same: a skill.

Tududi at home

Claude talks to tududi through an MCP connector, so it can list projects and create, update and complete tasks. That part is plumbing. What makes it useful is the skill on top: a short markdown file that describes how I use tududi.

It triggers on phrases like “put it on my list” or “task: ...“. The first sentence becomes the title, the rest becomes the description. Then it matches the task against my existing projects. If there's a clear match, it just creates the task. If there isn't, it stops and proposes a project, or a new one, and waits for me to pick. A due date only gets set when I actually mention one. Tududi's due dates cover a whole day, though. When I add a specific time, a different skill turns it into a reminder instead. And when I say “remind me” without a time, Claude asks which of the two I meant.

The rules I care about most are the ones about what it must not do. It never rewrites a task's description. When I say “add to that task that...”, it appends a dated line at the bottom and leaves the rest alone. When I tell it I'm starting on something, it sets the task to in progress. When I close a task, it first writes down what was done, again as a dated line. And it never completes a task on its own initiative. Ticking things off is my job, and frankly the only fun part.

Some rules even live inside tududi itself. My readinglist project has a description that reads like an instruction, because it is one: only add a book when I explicitly ask, not the moment I mention buying one. Claude reads project descriptions when it matches a task, so the rule sits right next to the data it governs.

For the non-interactive stuff, a small bash script still does the job. A cron job that creates tasks from action dates on scanned documents doesn't need a language model. It needs a curl call.

Jira at work

The Jira skill works the same way but was built differently. I didn't write its rules from memory. Claude derived them from a sample of around 800 existing tickets in our team project, so the conventions reflect how the team actually works rather than how we think we work.

Some of what came out of that was surprisingly specific. Almost everything is a plain Task, including bugs. Other issue types exist but are effectively dead, so Claude never picks one unless I name it. All ticket content is in English, even when I'm asking in Dutch. Labels are never used, so it doesn't use them. There's a mandatory team field that people used to forget, and now nobody forgets it, because Claude never does. Four optional fields for rationale, stakeholders, risks and acceptance criteria are all or nothing: filled in for real decisions or anything over a day of work, left empty for a quick operational item. Status changes always go through Jira's transitions instead of setting the field directly.

So “log this: script X uses a non-unique temp file, which causes a race when two cron jobs run at once” turns into a properly structured ticket with the mechanism, impact, workaround and structural fix. “Make a ticket to update tool Z” turns into a one-line Task with nothing else filled in. Both look like a colleague wrote them, which is the point.

Same rules, different house

Here's what I didn't expect. These two skills were written months apart, for different tools, in different contexts. And yet they ended up with nearly the same rules.

Act on your own when it's clear, ask when it isn't. In tududi that's the project match, in Jira it's assigning a ticket to someone. Never overwrite what's already there, only add to it. Never claim something is done when it isn't: Claude doesn't complete my tududi tasks, and it doesn't mark a Jira ticket resolved when the structural fix is still pending.

The tool underneath barely matters. Tududi and Jira have nothing in common except that they store tasks. What matters is the layer of rules on top. Without it, an assistant with access to your task list is an eager intern with admin rights. With it, it's a colleague who knows how you work. Writing those rules down also forced me to decide how I actually want my lists to work, which I had somehow never done before.


Written with assistance from Claude.


Want to reach out? Contact me.

It started, as these things do, with a key rotation.

Read more...

I've been using AI assistants long enough now to have developed some opinions about where each one actually shines and where it doesn't.

Read more...

There is a quiet shift happening in how people work with technology. You no longer need to know Bash, Python, or SQL by heart to get things done.

Read more...

A practical story about Oracle 19c, RHEL 9, and an unexpected referral.


I was automating an Oracle 19c installation on Red Hat Enterprise Linux 9 by creating an Ansible-playbook. What followed was a small lesson in how AI tools are starting to complement each other in ways I didn't expect.

Read more...

I sell things on Marktplaats. Not professionally, just the usual household clutter that accumulates faster than you'd think.

Read more...

If you run Claude Code heavily, you've probably stared at the usage bar wondering how much of your 5-hour block is gone — and whether your extra credits are quietly draining. I built a small bash script to stop guessing and start logging.

Read more...