From 626cf8fb4219856953b918adbdb414bafc2fc2e9 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 14 Feb 2026 13:46:29 +0200 Subject: Update content for html --- about/resources.html | 208 +++++----- ...eta-slash-commands-for-prompts-and-context.html | 252 ++++++++++++ gemfeed/atom.xml | 445 +++++++++++---------- gemfeed/index.html | 1 + index.html | 3 +- uptime-stats.html | 46 +-- 6 files changed, 626 insertions(+), 329 deletions(-) create mode 100644 gemfeed/2026-02-14-meta-slash-commands-for-prompts-and-context.html diff --git a/about/resources.html b/about/resources.html index 995042e5..fc8ac3a7 100644 --- a/about/resources.html +++ b/about/resources.html @@ -50,112 +50,112 @@ In random order:


Technical references



I didn't read them from the beginning to the end, but I am using them to look up things. The books are in random order:


Self-development and soft-skills books



In random order:


Here are notes of mine for some of the books

@@ -164,30 +164,30 @@ Some of these were in-person with exams; others were online learning lectures only. In random order:


Technical guides



These are not whole books, but guides (smaller or larger) which I found very useful. in random order:


Podcasts


@@ -197,20 +197,20 @@ In random order:


Podcasts I liked


@@ -219,9 +219,9 @@

@@ -230,28 +230,28 @@ This is a mix of tech and non-tech newsletters I am subscribed to. In random order:


Magazines I like(d)



This is a mix of tech I like(d). I may not be a current subscriber, but now and then, I buy an issue. In random order:


Formal education



diff --git a/gemfeed/2026-02-14-meta-slash-commands-for-prompts-and-context.html b/gemfeed/2026-02-14-meta-slash-commands-for-prompts-and-context.html new file mode 100644 index 00000000..3e086905 --- /dev/null +++ b/gemfeed/2026-02-14-meta-slash-commands-for-prompts-and-context.html @@ -0,0 +1,252 @@ + + + + +Meta slash-commands to manage prompts and context for coding agents + + + + + +

+Home | Markdown | Gemini +

+

Meta slash-commands to manage prompts and context for coding agents


+
+Published at 2026-02-14T13:44:45+02:00
+
+I work on many small, repeatable tasks. Instead of retyping the same instructions every time, I want to turn successful prompts into reusable slash-commands and keep background knowledge in loadable context files. This post describes a set of *meta* slash-commands: commands that create, update, and delete other commands and context files. They live as markdown in a dotfiles repo and work with any coding agent that supports slash-commands—Claude Code CLI, Cursor Agent, OpenCode, Ampcode, and others.
+
+
+    ┌─────────────────────────────────────────────────────────────┐
+    │  Cursor Agent                                    [~][□][X]  │
+    ├─────────────────────────────────────────────────────────────┤
+    │                                                             │
+    │   → /load-context api-guidelines                            │
+    │                                                             │
+    │   Context loaded: api-guidelines.md                         │
+    │   Ready. Ask me to implement something.                     │
+    │                                                             │
+    │   → /create-command review-pr                               │
+    │                                                             │
+    │   Analyzing "review-pr"...                                  │
+    │   Generated: description + prompt. Save to commands/ ? [Y]  │
+    │                                                             │
+    │   ✓ Saved. Use /review-pr anytime.                          │
+    │                                                             │
+    └─────────────────────────────────────────────────────────────┘
+                          │
+                          │  slash-commands
+                          ▼
+    ┌──────────┐  ┌──────────┐  ┌──────────┐  ┌──────────┐
+    │ /load-   │  │ /create- │  │ /update- │  │ /review-  │
+    │ context  │  │ command  │  │ command  │  │ pr        │
+    └──────────┘  └──────────┘  └──────────┘  └──────────┘
+         │              │              │              │
+         └──────────────┴──────────────┴──────────────┘
+                              │
+                    coding agent executes
+                    your prompt library	
+
+
+

Table of Contents


+
+
+

Motivation: collecting prompts for later re-use


+
+When I use a coding agent, I often find myself repeating the same kind of request: "review this function," "explain this error," "add tests for this module," "format this as a blog post" and may other cases. Typing long prompts from scratch is tedious, and ad-hoc prompts are easy to forget. I'd rather capture what works and reuse it.
+
+The solution is to treat prompts as first-class artefacts: store them as markdown files (one file per slash-command or per context), and use a small set of *meta* commands to manage them. The agent then creates, updates, or deletes these files through conversation—no hand-editing of markdowns. I can say /create-command review-code we just did a code review and the agent generates the command file based on the current agent's context, shows a preview, and saves it. Later I run /review-code and get a consistent workflow every time.
+
+Because everything is just markdown in a directory (e.g. ~/Notes/Prompts/commands/ for commands and ~/Notes/Prompts/context/ for context), I can version it in git, sync it across machines, and gradually build a library of prompts. If the number of commands grows too large, I might later split them into skills or expose them via a searchable MCP server—but for now, a flat directory of .md files is enough.
+
+

Loading whole context before asking the agent to do something


+
+A separate but related need is *context*: background information the agent should have before I ask it to do anything. For example, I might have a document describing our Kubernetes setup, API conventions, or the architecture of a specific service. If I ask "add a new endpoint for X" without that context, the agent guesses and without having a reference to an existing project with an AGENTS.md. If I first load the relevant context file, the agent knows the naming conventions, the existing patterns, and the infrastructure—and its edits are more accurate.
+
+So I keep two kinds of artefacts:
+
+
+The use case is: start a session, run /load-context api-guidelines (or whatever context name), then ask the agent to implement a feature or fix a bug. The agent already knows the guidelines. No need to paste a wall of text every time; the context is on demand (not implicit like with skills).
+
+

Works with any coding agent that supports slash-commands


+
+I use different agents depending on the task: Claude Code CLI, Cursor Agent (CLI), OpenCode, Ampcode and others. What they have in common is support for custom slash-commands (or the ability to read prompt files). My meta-commands and context files are just markdown; there is no lock-in. Point your agent at the same directories and you get the same prompts and context. I don't need an MCP server returning prompts right now—the files on disk are enough. If slash-commands ever become too many to manage in a flat list, I may later introduce an MCP server to expose them as skills or searchable prompts.
+
+

Commands that manage slash-commands


+
+These meta-commands create, update, and delete other slash-commands. The target files live in ~/Notes/Prompts/commands/ (or your chosen path). Each command is one .md file. You can see the commands (and the context files) here:
+
+https://codeberg.org/snonux/dotfiles/src/branch/master/prompts/commands
+https://codeberg.org/snonux/dotfiles/src/branch/master/prompts/context
+
+

/create-command


+
+Creates a new slash-command by inferring its purpose from the name you give.
+
+
+Example usage:
+
+
+/create-command review-code
+/create-command explain-error
+
+
+

/update-command


+
+Updates an existing slash-command step by step.
+
+
+Example usage:
+
+
+/update-command create-command
+/update-command review-code
+
+
+

/delete-command


+
+Removes a slash-command by deleting its definition file.
+
+
+Example usage:
+
+
+/delete-command testing
+/delete-command review-code
+
+
+

Commands that manage context files


+
+These meta-commands create, update, delete, and *load* context files. Context files live in ~/Notes/Prompts/context/. Loading a context injects its content into the conversation so the agent can use it for subsequent requests.
+
+

/create-context


+
+Creates a new context file.
+
+
+Example usage:
+
+
+/create-context epimetheus
+/create-context api-guidelines
+
+
+

/update-context


+
+Updates an existing context file by adding, modifying, or removing content.
+
+
+Example usage:
+
+
+/update-context epimetheus
+/update-context api-guidelines
+/update-context
+
+
+

/delete-context


+
+Deletes a context file after confirmation.
+
+
+Example usage:
+
+
+/delete-context epimetheus
+/delete-context old-api-guidelines
+/delete-context
+
+
+

/load-context


+
+Loads a context file into the conversation so the agent has that background for subsequent requests.
+
+
+Example usage:
+
+
+/load-context epimetheus
+/load-context api-guidelines
+/load-context
+
+
+

Summary


+
+
+| Meta-command       | Purpose                                      | Good for                                          |
+|--------------------|----------------------------------------------|---------------------------------------------------|
+| /create-command    | Create new slash-command from name           | Turning current or recurring tasks into commands  |
+| /update-command    | Edit existing slash-command                  | Refining commands over time                       |
+| /delete-command    | Remove slash-command file                    | Cleaning up unused commands                       |
+| /create-context    | Create new context file                      | Capturing project/infra knowledge once            |
+| /update-context    | Edit existing context file                   | Keeping context up to date                        |
+| /delete-context    | Remove context file                          | Removing outdated context                         |
+| /load-context      | Load context into conversation               | Giving the agent background before tasks          |
+
+
+Context is what the agent *knows*; commands are what the agent *does*. Both are markdown files you can create, update, and delete on the fly through the same coding agent—Claude Code CLI, Cursor Agent, OpenCode, Ampcode, or any other that supports slash-commands or prompt files. That's why these meta-commands are useful for ad-hoc creation, updating, and deleting of prompts and context without leaving the conversation.
+
+Other related posts:
+
+2026-02-14 Meta slash-commands to manage prompts and context (You are currently reading this)
+2026-02-02 A tmux popup editor for Cursor Agent CLI prompts
+
+E-Mail your comments to paul@nospam.buetow.org :-)
+
+Back to the main site
+ + + diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index e3b7b285..78173b79 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,11 +1,254 @@ - 2026-02-08T22:37:47+02:00 + 2026-02-14T13:44:46+02:00 foo.zone feed To be in the .zone! https://foo.zone/ + + Meta slash-commands to manage prompts and context for coding agents + + https://foo.zone/gemfeed/2026-02-14-meta-slash-commands-for-prompts-and-context.html + 2026-02-14T13:44:45+02:00 + + Paul Buetow aka snonux + paul@dev.buetow.org + + I work on many small, repeatable tasks. Instead of retyping the same instructions every time, I want to turn successful prompts into reusable slash-commands and keep background knowledge in loadable context files. This post describes a set of *meta* slash-commands: commands that create, update, and delete other commands and context files. They live as markdown in a dotfiles repo and work with any coding agent that supports slash-commands—Claude Code CLI, Cursor Agent, OpenCode, Ampcode, and others. + +
+

Meta slash-commands to manage prompts and context for coding agents


+
+I work on many small, repeatable tasks. Instead of retyping the same instructions every time, I want to turn successful prompts into reusable slash-commands and keep background knowledge in loadable context files. This post describes a set of *meta* slash-commands: commands that create, update, and delete other commands and context files. They live as markdown in a dotfiles repo and work with any coding agent that supports slash-commands—Claude Code CLI, Cursor Agent, OpenCode, Ampcode, and others.
+
+
+    ┌─────────────────────────────────────────────────────────────┐
+    │  Cursor Agent                                    [~][□][X]  │
+    ├─────────────────────────────────────────────────────────────┤
+    │                                                             │
+    │   → /load-context api-guidelines                            │
+    │                                                             │
+    │   Context loaded: api-guidelines.md                         │
+    │   Ready. Ask me to implement something.                     │
+    │                                                             │
+    │   → /create-command review-pr                               │
+    │                                                             │
+    │   Analyzing "review-pr"...                                  │
+    │   Generated: description + prompt. Save to commands/ ? [Y]  │
+    │                                                             │
+    │   ✓ Saved. Use /review-pr anytime.                          │
+    │                                                             │
+    └─────────────────────────────────────────────────────────────┘
+                          │
+                          │  slash-commands
+                          ▼
+    ┌──────────┐  ┌──────────┐  ┌──────────┐  ┌──────────┐
+    │ /load-   │  │ /create- │  │ /update- │  │ /review-  │
+    │ context  │  │ command  │  │ command  │  │ pr        │
+    └──────────┘  └──────────┘  └──────────┘  └──────────┘
+         │              │              │              │
+         └──────────────┴──────────────┴──────────────┘
+                              │
+                    coding agent executes
+                    your prompt library	
+
+
+

Table of Contents


+
+
+

Motivation: collecting prompts for later re-use


+
+When I use a coding agent, I often find myself repeating the same kind of request: "review this function," "explain this error," "add tests for this module," "format this as a blog post" and may other cases. Typing long prompts from scratch is tedious, and ad-hoc prompts are easy to forget. I'd rather capture what works and reuse it.
+
+The solution is to treat prompts as first-class artefacts: store them as markdown files (one file per slash-command or per context), and use a small set of *meta* commands to manage them. The agent then creates, updates, or deletes these files through conversation—no hand-editing of markdowns. I can say /create-command review-code we just did a code review and the agent generates the command file based on the current agent's context, shows a preview, and saves it. Later I run /review-code and get a consistent workflow every time.
+
+Because everything is just markdown in a directory (e.g. ~/Notes/Prompts/commands/ for commands and ~/Notes/Prompts/context/ for context), I can version it in git, sync it across machines, and gradually build a library of prompts. If the number of commands grows too large, I might later split them into skills or expose them via a searchable MCP server—but for now, a flat directory of .md files is enough.
+
+

Loading whole context before asking the agent to do something


+
+A separate but related need is *context*: background information the agent should have before I ask it to do anything. For example, I might have a document describing our Kubernetes setup, API conventions, or the architecture of a specific service. If I ask "add a new endpoint for X" without that context, the agent guesses and without having a reference to an existing project with an AGENTS.md. If I first load the relevant context file, the agent knows the naming conventions, the existing patterns, and the infrastructure—and its edits are more accurate.
+
+So I keep two kinds of artefacts:
+
+
    +
  • Commands — Reusable workflows (e.g. "review code", "explain error"). They live as .md files in a commands/ directory. Meta-commands create, update, and delete them.
  • +
  • Context — Reusable background (project rules, API notes, infrastructure docs, personas). They live as .md files in a context/ directory. I can create, update, delete, and—importantly—*load* them. Loading a context file injects that content into the conversation so the agent has it in mind for subsequent requests.
  • +

+The use case is: start a session, run /load-context api-guidelines (or whatever context name), then ask the agent to implement a feature or fix a bug. The agent already knows the guidelines. No need to paste a wall of text every time; the context is on demand (not implicit like with skills).
+
+

Works with any coding agent that supports slash-commands


+
+I use different agents depending on the task: Claude Code CLI, Cursor Agent (CLI), OpenCode, Ampcode and others. What they have in common is support for custom slash-commands (or the ability to read prompt files). My meta-commands and context files are just markdown; there is no lock-in. Point your agent at the same directories and you get the same prompts and context. I don't need an MCP server returning prompts right now—the files on disk are enough. If slash-commands ever become too many to manage in a flat list, I may later introduce an MCP server to expose them as skills or searchable prompts.
+
+

Commands that manage slash-commands


+
+These meta-commands create, update, and delete other slash-commands. The target files live in ~/Notes/Prompts/commands/ (or your chosen path). Each command is one .md file. You can see the commands (and the context files) here:
+
+https://codeberg.org/snonux/dotfiles/src/branch/master/prompts/commands
+https://codeberg.org/snonux/dotfiles/src/branch/master/prompts/context
+
+

/create-command


+
+Creates a new slash-command by inferring its purpose from the name you give.
+
+
    +
  • Parameter: command_name (e.g. review-code, explain-error, optimize-function)
  • +
  • What it does: The agent analyses the name, infers intent and parameters, writes a description and prompt, shows a preview, and saves {{command_name}}.md to the commands directory.
  • +
  • Good for: Turning the current task or a recurring need into a reusable command without editing files by hand.
  • +

+Example usage:
+
+
+/create-command review-code
+/create-command explain-error
+
+
+

/update-command


+
+Updates an existing slash-command step by step.
+
+
    +
  • Parameter: command_name (e.g. create-command, review-code)
  • +
  • What it does: Reads the existing .md file, shows the current content, asks what to change (description, parameters, prompt text), applies edits, shows a preview, and saves.
  • +
  • Good for: Refining a command after you've used it a few times or when requirements change.
  • +

+Example usage:
+
+
+/update-command create-command
+/update-command review-code
+
+
+

/delete-command


+
+Removes a slash-command by deleting its definition file.
+
+
    +
  • Parameter: command_name (e.g. testing, review-code)
  • +
  • What it does: Verifies the file exists, shows what will be deleted, asks for confirmation, then deletes the file.
  • +
  • Good for: Cleaning up experiments or commands you no longer use.
  • +

+Example usage:
+
+
+/delete-command testing
+/delete-command review-code
+
+
+

Commands that manage context files


+
+These meta-commands create, update, delete, and *load* context files. Context files live in ~/Notes/Prompts/context/. Loading a context injects its content into the conversation so the agent can use it for subsequent requests.
+
+

/create-context


+
+Creates a new context file.
+
+
    +
  • Parameter: context_name (without .md), e.g. epimetheus, api-guidelines
  • +
  • What it does: Checks if the context already exists, asks what the context should contain (background, structure, sections), then writes {{context_name}}.md to the context directory.
  • +
  • Good for: Capturing project rules, API conventions, or infrastructure notes once and reusing them via /load-context.
  • +

+Example usage:
+
+
+/create-context epimetheus
+/create-context api-guidelines
+
+
+

/update-context


+
+Updates an existing context file by adding, modifying, or removing content.
+
+
    +
  • Parameter: context_name (e.g. epimetheus, api-guidelines). If omitted, lists available context files.
  • +
  • What it does: Reads the existing file, asks what to change (add section, modify section, remove section, rewrite, or full overhaul), applies changes, and saves.
  • +
  • Good for: Keeping context up to date as the project or infrastructure evolves.
  • +

+Example usage:
+
+
+/update-context epimetheus
+/update-context api-guidelines
+/update-context
+
+
+

/delete-context


+
+Deletes a context file after confirmation.
+
+
    +
  • Parameter: context_name (e.g. epimetheus, old-api-guidelines). If omitted, lists available context files.
  • +
  • What it does: Verifies the file exists, shows a preview or summary, asks for confirmation, then deletes the file.
  • +
  • Good for: Removing outdated or unused context.
  • +

+Example usage:
+
+
+/delete-context epimetheus
+/delete-context old-api-guidelines
+/delete-context
+
+
+

/load-context


+
+Loads a context file into the conversation so the agent has that background for subsequent requests.
+
+
    +
  • Parameter: context_name (e.g. epimetheus, api-guidelines). If omitted, lists available context files.
  • +
  • What it does: Reads the context file, displays its content, and confirms it is loaded. From then on, the agent can use that information when you ask it to implement features, fix bugs, or answer questions.
  • +
  • Good for: Starting a session with "load our API guidelines" or "load our Kubernetes runbook" so the agent knows the infrastructure and conventions before you ask it to do something.
  • +

+Example usage:
+
+
+/load-context epimetheus
+/load-context api-guidelines
+/load-context
+
+
+

Summary


+
+
+| Meta-command       | Purpose                                      | Good for                                          |
+|--------------------|----------------------------------------------|---------------------------------------------------|
+| /create-command    | Create new slash-command from name           | Turning current or recurring tasks into commands  |
+| /update-command    | Edit existing slash-command                  | Refining commands over time                       |
+| /delete-command    | Remove slash-command file                    | Cleaning up unused commands                       |
+| /create-context    | Create new context file                      | Capturing project/infra knowledge once            |
+| /update-context    | Edit existing context file                   | Keeping context up to date                        |
+| /delete-context    | Remove context file                          | Removing outdated context                         |
+| /load-context      | Load context into conversation               | Giving the agent background before tasks          |
+
+
+Context is what the agent *knows*; commands are what the agent *does*. Both are markdown files you can create, update, and delete on the fly through the same coding agent—Claude Code CLI, Cursor Agent, OpenCode, Ampcode, or any other that supports slash-commands or prompt files. That's why these meta-commands are useful for ad-hoc creation, updating, and deleting of prompts and context without leaving the conversation.
+
+Other related posts:
+
+2026-02-14 Meta slash-commands to manage prompts and context (You are currently reading this)
+2026-02-02 A tmux popup editor for Cursor Agent CLI prompts
+
+E-Mail your comments to paul@nospam.buetow.org :-)
+
+Back to the main site
+
+
+
A tmux popup editor for Cursor Agent CLI prompts @@ -18245,206 +18488,6 @@ http://www.gnu.org/software/src-highlite -->
2024-03-03 A fine Fyne Android app for quickly logging ideas programmed in Go (You are currently reading this)

-Back to the main site
- - -
- - From `babylon5.buetow.org` to `*.buetow.cloud` - - https://foo.zone/gemfeed/2024-02-04-from-babylon5.buetow.org-to-.cloud.html - 2024-02-04T00:50:50+02:00 - - Paul Buetow aka snonux - paul@dev.buetow.org - - Recently, my employer sent me to a week-long AWS course. After the course, there wasn't any hands-on project I could dive into immediately, so I moved parts of my personal infrastructure to AWS to level up a bit through practical hands-on. - -
-

From babylon5.buetow.org to *.buetow.cloud


-
-Published at 2024-02-04T00:50:50+02:00
-
-Recently, my employer sent me to a week-long AWS course. After the course, there wasn't any hands-on project I could dive into immediately, so I moved parts of my personal infrastructure to AWS to level up a bit through practical hands-on.
-
-So, I migrated all of my Docker-based self-hosted services to AWS. Usually, I am not a big fan of big cloud providers and instead use smaller hosters or indie providers and self-made solutions. However, I also must go with the times and try out technologies currently hot on the job market. I don't want to become the old man who yells at cloud :D
-
-Old man yells at cloud
-
-

Table of Contents


-
-
-

The old *.buetow.org way


-
-Before the migration, all those services were reachable through buetow.org-subdomains (Buetow is my last name) and ran on Docker containers on a single Rocky Linux 9 VM at Hetzner. And there was a Nginx reverse proxy with TLS offloading (with Let's Encrypt certificates). The Rocky Linux 9's hostname was babylon5.buetow.org (based on the Science Fiction series).
-
-https://en.wikipedia.org/wiki/Babylon_5
-
-The downsides of this setup were:
-
-
    -
  • Not highly available. If the server goes down, no service is reachable until it's repaired. To be fair, the Hetzner cloud VM is redundant by itself and would have re-spawned on a different worker node, I suppose.
  • -
  • Manual installation.
  • -

-About the manual installation part: I could have used a configuration management system like Rexify, Puppet, etc. But I decided against it back in time, as setting up Docker containers isn't so complicated through simple start scripts. And it's only a single Linux box where a manual installation is less painful. However, regular backups (which Hetzner can do automatically for you) were a must.
-
-The benefits of this setup were:
-
-
    -
  • KISS (Keep it Simple Stupid)
  • -
  • Cheap
  • -

-

I kept my buetow.org OpenBSD boxes alive


-
-As pointed out, I only migrated the Docker-based self-hosted services (which run on the Babylon 5 Rocky Linux box) to AWS. Many self-hostable apps come with ready-to-use container images, making deploying them easy.
-
-My other two OpenBSD VMs (blowfish.buetow.org, hosted at Hetzner, and fishfinger.buetow.org, hosted at OpenBSD Amsterdam) still run (and they will keep running) the following services:
-
-
    -
  • HTTP server for my websites (e.g. https://foo.zone, ...)
  • -
  • ACME for Let's Encrypt TLS certificate auto-renewal.
  • -
  • Gemini server for my capsules (e.g. https://foo.zone)
  • -
  • Authoritative DNS servers for my domains (but buetow.cloud, which is on Route 53 now)
  • -
  • Mail transfer agent (MTA)
  • -
  • My Gogios monitoring system.
  • -
  • My IRC bouncer.
  • -

-It is all automated with Rex, aka Rexify. This OpenBSD setup is my "fun" or "for pleasure" setup. Whereas the Rocky Linux 9 one I always considered the "pratical means to the end"-setup to have 3rd party Docker containers up and running with as little work as possible.
-
-(R)?ex, the friendly automation framework
-KISS server monitoring with Gogios
-Let's encrypt with OpenBSD and Rex
-
-

The new *.buetow.cloud way


-
-With AWS, I decided to get myself a new domain name, as I could fully separate my AWS setup from my conventional setup and give Route 53 as an authoritative DNS a spin.
-
-I decided to automate everything with Terraform, as I wanted to learn to use it as it appears standard now in the job market.
-
-All services are installed automatically to AWS ECS Fargate. ECS is AWS's Elastic Container Service, and Fargate automatically manages the underlying hardware infrastructure (e.g., how many CPUs, RAM, etc.) for me. So I don't have to bother about having enough EC2 instances to serve my demands, for example.
-
-The authoritative DNS for the buetow.cloud domain is AWS Route 53. TLS certificates are free here at AWS and offloaded through the AWS Application Load Balancer. The LB acts as a proxy to the ECS container instances of the services. A few services I run in ECS Fargate also require the AWS Network Load Balancer.
-
-All services require some persistent storage. For that, I use an encrypted EFS file system, automatically replicated across all AZs (availability zones) of my region of choice, eu-central-1.
-
-In case of an AZ outage, I could re-deploy all the failed containers in another AZ, and all the data would still be there.
-
-The EFS automatically gets backed up by AWS for me following their standard Backup schedule. The daily backups are kept for 30 days.
-
-Domain registration, TLS certificate configuration and configuration of the EFS backup were quickly done through the AWS web interface. These were only one-off tasks, so they weren't fully automated through Terraform.
-
-You can find all Terraform manifests here:
-
-https://codeberg.org/snonux/terraform
-
-Whereas:
-
-
    -
  • org-buetow-base sets up the bare VPC (IPv4 and IPv6 subnets in 3 AZs, EFS, ECR (the AWS container registry for some self-built containers) and Route 53 zone. It's the requirement for most other Terraform manifests in this repository.
  • -
  • org-buetow-bastion sets up a minimal Amazon Linux EC2 instance where I can manually SSH into and look at the EFS file system (if required).
  • -
  • org-buetow-elb sets up the Elastic Load Balancer, a prerequisite for any service running in ECS Fargate.
  • -
  • org-buetow-ecs finally sets up and deploys all the Docker apps mentioned above. Any apps can be turned on or off via the variables.tf file.
  • -

-

The container apps


-
-And here, finally, is the list of all the container apps my Terraform manifests deploy. The FQDNs here may not be reachable. I spin them up only on demand (for cost reasons). All services are fully dual-stacked (IPv4 & IPv6).
-
-

flux.buetow.cloud


-
-Miniflux is a minimalist and opinionated feed reader. With the move to AWS, I also retired my bloated instance of NextCloud. So, with Miniflux, I retired from NextCloud News.
-
-Miniflux requires two ECS containers. One is the Miniflux app, and the other is the PostgreSQL DB.
-
-https://miniflux.app/
-
-
-

audiobookshelf.buetow.cloud


-
-Audiobookshelf was the first Docker app I installed. It is a Self-hosted audiobook and podcast server. It comes with a neat web interface, and there is also an Android app available, which works also in offline mode. This is great, as I only have the ECS instance sometimes running for cost savings.
-
-With Audiobookshelf, I replaced my former Audible subscription and my separate Podcast app. For Podcast synchronisation I used to use the Gpodder NextCloud sync app. But that one I retired now with Audiobookshelf as well :-)
-
-https://www.audiobookshelf.org
-
-

syncthing.buetow.cloud


-
-Syncthing is a continuous file synchronisation program. In real-time, it synchronises files between two or more computers, safely protected from prying eyes. Your data is your own, and you deserve to choose where it is stored, whether it is shared with some third party, and how it's transmitted over the internet.
-
-With Syncthing, I retired my old NextCloud Files and file sync client on all my devices. I also quit my NextCloud Notes setup. All my Notes are now plain Markdown files in a Notes directory. On Android, I can edit them with any text or Markdown editor (e.g. Obsidian), and they will be synchronised via Syncthing to my other computers, both forward and back.
-
-I use Syncthing to synchronise some of my Phone's data (e.g. Notes, Pictures and other documents). Initially, I synced all of my pictures, videos, etc., with AWS. But that was pretty expensive. So for now, I use it only whilst travelling. Otherwise, I will use my Syncthing instance here on my LAN (I have a cheap cloud backup in AWS S3 Glacier Deep Archive, but that's for another blog post).
-
-https://syncthing.net/
-
-

radicale.buetow.cloud


-
-Radicale is an excellent minimalist WebDAV calendar and contact synchronisation server. It was good enough to replace my NextCloud Calendar and NextCloud Contacts setup. Unfortunately, there wasn't a ready-to-use Docker image. So, I created my own.
-
-On Android, it works great together with the DAVx5 client for synchronisation.
-
-https://radicale.org/
-https://codeberg.org/snonux/docker-radicale-server
-https://www.davx5.com/
-
-

bag.buetow.cloud


-
-Wallabag is a self-hostable "save now - read later" service, and it also comes with an Android app which also has an offline mode. Think of Getpocket, but open-source!
-
-https://wallabag.org/
-https://github.com/wallabag/wallabag
-
-

anki.buetow.cloud


-
-Anki is a great (the greatest) flash-card learning program. I am currently learning Bulgarian as my 3rd language. There is also an Android app that has an offline mode, and advanced users can also self-host the server anki-sync-server. For some reason (not going into the details here), I had to build my own Docker image for the server.
-
-https://apps.ankiweb.net/
-https://codeberg.org/snonux/docker-anki-sync-server
-
-

vault.buetow.cloud


-
-Vaultwarden is an alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal. So, this is a great password manager server which can be used with any Bitwarden Android app.
-
-I currently don't use it, but I may in the future. I made it available in my ECS Fargate setup anyway for now.
-
-https://github.com/dani-garcia/vaultwarden
-
-I currently use geheim, a Ruby command line tool I wrote, as my current password manager. You can read a little bit about it here under "More":
-
-Sweating the small stuff
-
-

bastion.buetow.cloud


-
-This is a tiny ARM-based Amazon Linux EC2 instance, which I sometimes spin up for investigation or manual work on my EFS file system in AWS.
-
-

Conclusion


-
-I have learned a lot about AWS and Terraform during this migration. This was actually my first AWS hands-on project with practical use.
-
-All of this was not particularly difficult (but at times a bit confusing). I see the use of Terraform managing more extensive infrastructures (it was even helpful for my small setup here). At least I know now what all the buzz is about :-). I don't think Terraform's HCL is a nice language. It get's it's job done, but it could be more elegant IMHO.
-
-Deploying updates to AWS are much easier, and some of the manual maintenance burdens of my Rocky Linux 9 VM are no longer needed. So I will have more time for other projects!
-
-Will I keep it in the cloud? I don't know yet. But maybe I won't renew the buetow.cloud domain and instead will use *.cloud.buetow.org or *.aws.buetow.org subdomains.
-
-Will the AWS setup be cheaper than my old Rocky Linux setup? It might be more affordable as I only turn ECS and the load balancers on or off on-demand. Time will tell! The first forecasts suggest that it will be around the same costs.
-
-E-Mail your comments to paul@nospam.buetow.org :-)
-
Back to the main site
diff --git a/gemfeed/index.html b/gemfeed/index.html index 7d71eeda..a6a508f4 100644 --- a/gemfeed/index.html +++ b/gemfeed/index.html @@ -15,6 +15,7 @@

To be in the .zone!



+2026-02-14 - Meta slash-commands to manage prompts and context for coding agents
2026-02-02 - A tmux popup editor for Cursor Agent CLI prompts
2026-01-01 - Using Supernote Nomad offline
2026-01-01 - Posts from July to December 2025
diff --git a/index.html b/index.html index 21f10df3..96bd7345 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@

Hello!



-This site was generated at 2026-02-08T22:37:47+02:00 by Gemtexter
+This site was generated at 2026-02-14T13:44:46+02:00 by Gemtexter

Welcome to the foo.zone!

@@ -43,6 +43,7 @@

Posts



+2026-02-14 - Meta slash-commands to manage prompts and context for coding agents
2026-02-02 - A tmux popup editor for Cursor Agent CLI prompts
2026-01-01 - Using Supernote Nomad offline
2026-01-01 - Posts from July to December 2025
diff --git a/uptime-stats.html b/uptime-stats.html index ecce9b98..56f9885f 100644 --- a/uptime-stats.html +++ b/uptime-stats.html @@ -13,7 +13,7 @@

My machine uptime stats



-This site was last updated at 2026-02-08T22:37:47+02:00
+This site was last updated at 2026-02-14T13:44:46+02:00

The following stats were collected via uptimed on all of my personal computers over many years and the output was generated by guprecords, the global uptime records stats analyser of mine.

@@ -35,7 +35,7 @@ | Pos | Host | Uptime | Last Kernel | +-----+----------------+-----------------------------+-----------------------------------+ | 1. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 | -| 2. | *earth | 4 years, 1 months, 15 days | Linux 6.18.8-200.fc43.x86_64 | +| 2. | *earth | 4 years, 1 months, 19 days | Linux 6.18.8-200.fc43.x86_64 | | 3. | *blowfish | 4 years, 1 months, 6 days | OpenBSD 7.7 | | 4. | sun | 3 years, 9 months, 26 days | FreeBSD 10.3-RELEASE-p24 | | 5. | uranus | 3 years, 9 months, 5 days | NetBSD 10.1 | @@ -46,7 +46,7 @@ | 10. | tauceti | 2 years, 3 months, 19 days | Linux 3.2.0-4-amd64 | | 11. | mega15289 | 1 years, 12 months, 17 days | Darwin 23.4.0 | | 12. | tauceti-f | 1 years, 9 months, 18 days | Linux 3.2.0-3-amd64 | -| 13. | *mega-m3-pro | 1 years, 8 months, 14 days | Darwin 24.6.0 | +| 13. | *mega-m3-pro | 1 years, 8 months, 18 days | Darwin 24.6.0 | | 14. | *t450 | 1 years, 7 months, 26 days | FreeBSD 14.2-RELEASE | | 15. | mega8477 | 1 years, 3 months, 25 days | Darwin 13.4.0 | | 16. | host0 | 1 years, 3 months, 9 days | FreeBSD 6.2-RELEASE-p5 | @@ -69,7 +69,7 @@ | 2. | dionysus | 8 years, 6 months, 17 days | FreeBSD 13.0-RELEASE-p11 | | 3. | alphacentauri | 6 years, 9 months, 13 days | FreeBSD 11.4-RELEASE-p7 | | 4. | makemake | 4 years, 10 months, 16 days | Linux 6.9.9-200.fc40.x86_64 | -| 5. | *earth | 4 years, 7 months, 15 days | Linux 6.18.8-200.fc43.x86_64 | +| 5. | *earth | 4 years, 7 months, 20 days | Linux 6.18.8-200.fc43.x86_64 | | 6. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 | | 7. | *blowfish | 4 years, 1 months, 7 days | OpenBSD 7.7 | | 8. | sun | 3 years, 10 months, 2 days | FreeBSD 10.3-RELEASE-p24 | @@ -84,7 +84,7 @@ | 17. | callisto | 2 years, 3 months, 13 days | Linux 4.0.4-303.fc22.x86_64 | | 18. | tauceti-e | 2 years, 1 months, 29 days | Linux 3.2.0-4-amd64 | | 19. | tauceti-f | 1 years, 9 months, 20 days | Linux 3.2.0-3-amd64 | -| 20. | *mega-m3-pro | 1 years, 9 months, 10 days | Darwin 24.6.0 | +| 20. | *mega-m3-pro | 1 years, 9 months, 14 days | Darwin 24.6.0 | +-----+----------------+-----------------------------+-----------------------------------+
@@ -110,7 +110,7 @@ | 12. | *f2 | 0 years, 8 months, 22 days | FreeBSD 14.3-RELEASE-p7 | | 13. | *f1 | 0 years, 8 months, 22 days | FreeBSD 14.3-RELEASE-p7 | | 14. | sirius | 0 years, 8 months, 20 days | Linux 2.6.32-042stab111.12 | -| 15. | *earth | 0 years, 6 months, 30 days | Linux 6.18.8-200.fc43.x86_64 | +| 15. | *earth | 0 years, 7 months, 1 days | Linux 6.18.8-200.fc43.x86_64 | | 16. | deimos | 0 years, 5 months, 15 days | Linux 4.4.5-300.fc23.x86_64 | | 17. | joghurt | 0 years, 2 months, 9 days | FreeBSD 7.0-PRERELEASE | | 18. | host0 | 0 years, 2 months, 1 days | FreeBSD 6.2-RELEASE-p5 | @@ -128,7 +128,7 @@ | Pos | Host | Boots | Last Kernel | +-----+----------------+-------+------------------------------+ | 1. | alphacentauri | 671 | FreeBSD 11.4-RELEASE-p7 | -| 2. | *earth | 228 | Linux 6.18.8-200.fc43.x86_64 | +| 2. | *earth | 230 | Linux 6.18.8-200.fc43.x86_64 | | 3. | mars | 207 | Linux 3.2.0-4-amd64 | | 4. | callisto | 153 | Linux 4.0.4-303.fc22.x86_64 | | 5. | dionysus | 136 | FreeBSD 13.0-RELEASE-p11 | @@ -139,8 +139,8 @@ | 10. | makemake | 81 | Linux 6.9.9-200.fc40.x86_64 | | 11. | uranus | 59 | NetBSD 10.1 | | 12. | pluto | 51 | Linux 3.2.0-4-amd64 | -| 13. | mega15289 | 50 | Darwin 23.4.0 | -| 14. | *mega-m3-pro | 50 | Darwin 24.6.0 | +| 13. | *mega-m3-pro | 50 | Darwin 24.6.0 | +| 14. | mega15289 | 50 | Darwin 23.4.0 | | 15. | *fishfinger | 50 | OpenBSD 7.7 | | 16. | *t450 | 46 | FreeBSD 14.2-RELEASE | | 17. | *blowfish | 45 | OpenBSD 7.7 | @@ -159,7 +159,7 @@ | Pos | Host | Score | Last Kernel | +-----+----------------+-------+-----------------------------------+ | 1. | uranus | 340 | NetBSD 10.1 | -| 2. | *earth | 284 | Linux 6.18.8-200.fc43.x86_64 | +| 2. | *earth | 285 | Linux 6.18.8-200.fc43.x86_64 | | 3. | vulcan | 275 | Linux 3.10.0-1160.81.1.el7.x86_64 | | 4. | *blowfish | 259 | OpenBSD 7.7 | | 5. | sun | 238 | FreeBSD 10.3-RELEASE-p24 | @@ -173,7 +173,7 @@ | 13. | tauceti | 141 | Linux 3.2.0-4-amd64 | | 14. | makemake | 137 | Linux 6.9.9-200.fc40.x86_64 | | 15. | *t450 | 128 | FreeBSD 14.2-RELEASE | -| 16. | *mega-m3-pro | 109 | Darwin 24.6.0 | +| 16. | *mega-m3-pro | 110 | Darwin 24.6.0 | | 17. | tauceti-f | 108 | Linux 3.2.0-3-amd64 | | 18. | tauceti-e | 96 | Linux 3.2.0-4-amd64 | | 19. | callisto | 86 | Linux 4.0.4-303.fc22.x86_64 | @@ -192,7 +192,7 @@ | 1. | FreeBSD 10... | 551 | | 2. | Linux 3... | 550 | | 3. | *FreeBSD 14... | 339 | -| 4. | *Linux 6... | 213 | +| 4. | *Linux 6... | 215 | | 5. | Linux 5... | 162 | | 6. | Linux 4... | 161 | | 7. | FreeBSD 11... | 153 | @@ -208,7 +208,7 @@ | 17. | Darwin 22... | 12 | | 18. | Darwin 18... | 11 | | 19. | FreeBSD 6... | 10 | -| 20. | FreeBSD 7... | 10 | +| 20. | OpenBSD 4... | 10 | +-----+----------------+-------+
@@ -224,14 +224,14 @@ | 2. | *OpenBSD 7... | 8 years, 1 months, 7 days | | 3. | FreeBSD 10... | 5 years, 9 months, 9 days | | 4. | Linux 5... | 4 years, 10 months, 21 days | -| 5. | *Linux 6... | 3 years, 4 months, 15 days | +| 5. | *Linux 6... | 3 years, 4 months, 20 days | | 6. | *FreeBSD 14... | 2 years, 11 months, 5 days | | 7. | Linux 4... | 2 years, 7 months, 22 days | | 8. | FreeBSD 11... | 2 years, 4 months, 28 days | | 9. | Linux 2... | 1 years, 11 months, 21 days | | 10. | Darwin 13... | 1 years, 3 months, 25 days | | 11. | FreeBSD 6... | 1 years, 3 months, 9 days | -| 12. | *Darwin 24... | 0 years, 12 months, 21 days | +| 12. | *Darwin 24... | 0 years, 12 months, 25 days | | 13. | Darwin 23... | 0 years, 11 months, 3 days | | 14. | OpenBSD 4... | 0 years, 8 months, 12 days | | 15. | Darwin 21... | 0 years, 8 months, 2 days | @@ -255,7 +255,7 @@ | 2. | *OpenBSD 7... | 517 | | 3. | FreeBSD 10... | 406 | | 4. | Linux 5... | 317 | -| 5. | *Linux 6... | 228 | +| 5. | *Linux 6... | 229 | | 6. | *FreeBSD 14... | 211 | | 7. | Linux 4... | 175 | | 8. | FreeBSD 11... | 159 | @@ -269,8 +269,8 @@ | 16. | Darwin 18... | 32 | | 17. | Darwin 22... | 30 | | 18. | Darwin 15... | 29 | -| 19. | FreeBSD 5... | 25 | -| 20. | FreeBSD 13... | 25 | +| 19. | FreeBSD 13... | 25 | +| 20. | FreeBSD 5... | 25 | +-----+----------------+-------+
@@ -283,7 +283,7 @@ | Pos | KernelName | Boots | +-----+------------+-------+ | 1. | *FreeBSD | 1204 | -| 2. | *Linux | 1108 | +| 2. | *Linux | 1110 | | 3. | *Darwin | 155 | | 4. | *OpenBSD | 115 | | 5. | NetBSD | 1 | @@ -298,10 +298,10 @@ +-----+------------+-----------------------------+ | Pos | KernelName | Uptime | +-----+------------+-----------------------------+ -| 1. | *Linux | 28 years, 5 months, 8 days | +| 1. | *Linux | 28 years, 5 months, 13 days | | 2. | *FreeBSD | 12 years, 10 months, 8 days | | 3. | *OpenBSD | 8 years, 8 months, 18 days | -| 4. | *Darwin | 5 years, 4 months, 4 days | +| 4. | *Darwin | 5 years, 4 months, 8 days | | 5. | NetBSD | 0 years, 1 months, 1 days | +-----+------------+-----------------------------+ @@ -314,10 +314,10 @@ +-----+------------+-------+ | Pos | KernelName | Score | +-----+------------+-------+ -| 1. | *Linux | 1887 | +| 1. | *Linux | 1888 | | 2. | *FreeBSD | 912 | | 3. | *OpenBSD | 557 | -| 4. | *Darwin | 347 | +| 4. | *Darwin | 348 | | 5. | NetBSD | 0 | +-----+------------+-------+ -- cgit v1.2.3