<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Rory Eckel's Blog</title>
        <link>https://2labz.com/</link>
        <description>Notes on AI coding agents, container infrastructure, self-hosting and open platforms, by Rory Eckel.</description>
        <lastBuildDate>Thu, 03 Dec 2026 19:06:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <copyright>All rights reserved 2026</copyright>
        <item>
            <title><![CDATA[Introducing Hooknostic]]></title>
            <link>https://2labz.com/blog/introducing-hooknostic</link>
            <guid isPermaLink="false">https://2labz.com/blog/introducing-hooknostic</guid>
            <pubDate>Sat, 14 Nov 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Hooknostic compiles portable hooks, skills, and MCP servers into native integrations for Claude Code, Codex, Copilot CLI, OpenCode, and Pi, and backs its support claims with recorded evidence, most of it from real harness sessions driven by a scripted model.]]></description>
            <content:encoded><![CDATA[
# Introducing Hooknostic

Every coding agent has its own idea of a hook. Claude Code fires `PreToolUse`. Codex borrows Claude's event names and reads the responses its own way. OpenCode loads a plugin. GitHub Copilot CLI reads a hooks file. Pi has another shape again. The guard I want is the same on all five; the code that delivers it is not.

I have written that guard more than once. A shell command that should be blocked, a tool call that should be rewritten, a note that should reach the model — each starts as a small piece of logic and ends up copied into every harness's configuration, in that harness's own protocol, with its own tests. The copies drift. A fix lands in one and misses the others.

**Hooknostic is the tool I built to stop doing that.** One portable TypeScript source, compiled into native hooks, skills, and MCP servers for Claude Code, Codex CLI, GitHub Copilot CLI, OpenCode, and Pi. Today it is at v0.13.0.

The hard part was not compiling hooks. It was modelling what each harness can actually do at each event.

---

## Events are not capabilities

Most portability layers assume that because two harnesses both fire a "before tool" event, the same things can happen at that event. They cannot. Every current harness lets a hook block a pending tool call. Only some let it ask the user to approve the call instead, or add context the model sees alongside it. Replacing a tool's output afterward ranges from exact to impossible.

**The central design rule in Hooknostic is that being told about an event and being allowed to act on it are two different things.** Each action is a named capability: `block`, `input.replace`, `output.replace`, `context.add`, `requestApproval`, `notify`, `prevent`, and so on. Every adapter ships a versioned capability profile, a table with one cell per event and capability, and the compiler resolves your hook against that table before it writes anything.

If a hook needs a capability the target does not have, `check` reports the shortfall before you build. Then you choose:

- raise or lower the minimum support level, globally or per target, up to exact behavior;
- turn the shortfall into a warning with `onBelowMinimum: "warn"`;
- mark the capability optional and branch on `ctx.capabilities.has()`;
- exclude the target from that hook.

What you cannot get is a required capability that quietly falls short. By default it must be at least emulated. An emulated cell is reported in the build. An approximate one fails the build until you change the policy, and is still reported after you do. An `unsupported` one, which the harness cannot provide at all, fails whatever the policy says.

Blocking is the easy case. The same interface covers the rest of the lifecycle:

- `addContext` loads conventions at session start.
- `updateShell` rewrites `npm test` to `pnpm test`.
- `replaceOutput` redacts a tool result: exactly on Copilot today, approximately on OpenCode and Pi.
- `requestApproval` escalates a destructive command instead of refusing it, on Claude, Codex, and Copilot.
- `notify` says something without changing what happens next.
- `preventStop` keeps the turn alive until a check passes. It is a loop, so you write its bound.

Each helper produces an effect that needs a capability: `updateShell`, for example, needs `input.replace`. Most of the value is in changing what the model sees and what runs next.

---

## One source, native outputs

A Hooknostic project is one `hooknostic.config.ts`:

```ts
import { defineConfig } from "@hooknostic/sdk";

export default defineConfig({
  entry: "./src/hooks.ts",                 // optional
  components: { root: "./portable" },      // plugin.json, skills/, mcp.json
  targets: {
    claude:   { version: ">=2.1 <3",     delivery: "package", output: "./dist/claude" },
    codex:    { version: ">=0.153 <1",   delivery: "package", output: "./dist/codex" },
    copilot:  { version: ">=1.0.101 <2", delivery: "package", output: "./dist/copilot" },
    opencode: { version: ">=2.0.17 <3",  delivery: "package", output: "./dist/opencode" },
    pi:       { version: ">=1 <2",       delivery: "package", output: "./dist/pi" },
  },
});
```

`entry` is the portable hook source. `components` points at an [Agent Plugins 1.0](https://agent-plugins.org/specification) package root — the directory holding `plugin.json` and usually `skills/` and `mcp.json` — or, with `project` delivery, at direct `components.skills` and `components.mcp` paths for a repository that does not want a manifest. At least one of `entry` and `components` is required, so a project can be hooks-only, components-only, or both. When it has both, `components.targets` can narrow which targets receive the components.

Each target carries a version range, a delivery mode, and an output directory. The range selects adapter behavior at build time, because a harness's hook surface changes between releases; it is not a check of what you have installed — `doctor` reports that side. The range also picks the OpenCode family, since v1 and v2 load plugins differently. `package` delivery produces a distributable plugin. `project` delivery is meant for `sync`, which writes repository artifacts, records their ownership, and owns the discovery wiring: `.claude/settings.json`, `.codex/hooks.json`, `.opencode/plugins`, the Copilot and Pi equivalents, skill copies, and MCP configuration.

```sh
hooknostic init --local       # scaffold a repository integration
hooknostic check              # compile and validate without writing artifacts
hooknostic build              # write native artifacts (project delivery uses sync)
hooknostic sync --dry-run     # preview the complete reconciliation
hooknostic sync               # write artifacts and own project wiring
hooknostic verify             # fail if the integration on disk has drifted
hooknostic doctor             # diagnose installed versions and activation
hooknostic dispatch           # replay portable events through your hooks
```

`check` and `dispatch` work without a model, which matters more than it sounds. Most of the interesting decisions a hook makes can be tested from a file of events — `dispatch --target <id> --events <file>` replays JSON Lines against one target, or reads them from stdin — and a hook you cannot test is a hook you find out about in production.

### Hooks are optional

Delete `entry` and the project is still valid, and still useful. A components-only build bundles no hook runtime; it validates the package and projects each component into the target's native layout. For Claude, `plugin.json` becomes `.claude-plugin/plugin.json`, the `skills/` tree is copied, and `mcp.json` becomes `.mcp.json`. Copilot reads the package model natively, so its output keeps `plugin.json`, `skills/`, and `mcp.json`, adding `com.github.copilot/hooks/hooks.json` only when there are hooks. Codex gets a native manifest that combines skills, MCP declarations, and any hooks into one plugin. OpenCode and Pi get their own package shapes.

The same compiler that maps `tool.before` onto five harnesses also maps a package onto five native layouts. Hooks are the component that needs a new contract; skills, MCP servers, and the manifest are the components the ecosystem already agreed on.

---

## A standard, and the part it left out

Hooknostic does not invent a package format for things that already have one. Agent Plugins 1.0 standardizes the portable package: a closed `plugin.json` manifest, Agent Skills under `skills/`, MCP servers in `mcp.json`, and reverse-domain client extensions. It reads a directory such as `com.anthropic.claude-code/` as an overlay, which is how a package can carry Claude-specific files without becoming a Claude-only package.

Hooknostic implements that surface rather than paraphrasing it. It ships the specification's JSON Schemas, reports unknown manifest fields the way the spec requires, enforces the plugin-name rules, validates skills against the Agent Skills specification, and reads `mcp.json` as the spec's closed union of `stdio`, `streamable-http`, and the deprecated `sse` — including the `command` and `cwd` rules and HTTPS for non-loopback endpoints.

Variable expansion is where harnesses disagree. The spec has clients replace `${PLUGIN_ROOT}` and `${PLUGIN_DATA}` in a single pass, only in `args`, `env` values, and `cwd`. For an Agent Plugins package, the launcher Hooknostic generates for stdio servers does exactly that, in repository integrations and in Codex, OpenCode, and Pi packages. A repository's direct MCP source also resolves `${NAME}` and `${NAME:-default}` from the launch environment, the way Claude does. Claude and Copilot expand more widely wherever they read the configuration themselves, so by default the build warns with `HN106` for each server they would read differently. Containment is enforced too: a server whose `./` command or working directory resolves outside the package root fails the build with `HN503` by default, as does a `${PLUGIN_DATA}` working directory that leaves the data directory. The spec already rejects a symlink that escapes the package root; where Hooknostic is stricter, it says so. Unless the path is listed in `components.exclude`, an escaping symlink fails the whole package before any component is parsed, because a projector must never read outside its declared input.

And then there is the gap.

> Agent Plugins v1 focuses on Agent Skills and MCP because both have established specifications outside this project and meaningful cross-client adoption. Other proposed component types — such as commands, hooks, agents, rules, and LSP servers — remain too client-specific for a stable portable contract and are outside the v1 format until their formats converge.
>
> — [Agent Plugins 1.0, Design Decisions](https://agent-plugins.org/specification#why-only-agent-skills-and-mcp-in-v1)

It is the right call for a standard, and it is precisely the hole I needed filled. Hooks are where every harness still disagrees, so a portable hook contract in v1 would have meant standardizing a moving target. Hooknostic takes the stable half as given and owns the unstable half itself: the `hook()` definition, the capability declarations, one dispatcher, and a versioned capability table per adapter. When a skills or MCP rule changes, the change follows a published specification. When a harness renames an event, the change lands in one adapter's table and every consumer sees it at `check`.

| Concern | Agent Plugins 1.0 | Hooknostic |
|---|---|---|
| Package and manifest | Closed `plugin.json`, `$schema` versioning, name rules | Ships the spec's schemas; validates and inventories offline |
| Skills and MCP | Fixed `skills/` and `mcp.json` discovery | The same components, projected into each harness's native layout |
| Paths and environment | Containment, `${PLUGIN_ROOT}` / `${PLUGIN_DATA}` expansion | Same rules; warns where a harness expands wider; a symlink escape fails the whole package |
| Client extensions | Reverse-domain namespaces and directories | Consumed as overlays; never generated beside the source |
| Hooks | Out of scope in v1, by design | Portable TypeScript hooks, capability declarations, one dispatcher |
| Compatibility | Left to each client | A versioned capability cell for every event, resolved before output |

---

## Publishing the output

For `package` delivery, `build` stops at the native package. Agent Plugins 1.0 defines no marketplace field, so each ecosystem has its own index or registry that points at the build output. Hooknostic builds the artifact the listing points at; registering a marketplace or submitting to someone else's remains an author step.

| Harness | Listed in | Consumer install | After a rebuild |
|---|---|---|---|
| Claude Code | `.claude-plugin/marketplace.json` | `claude plugin install <plugin>@<marketplace>` | Cached: bump the manifest version and update |
| Codex CLI | `.agents/plugins/marketplace.json` | `codex plugin add <plugin>@<marketplace>` | Cached: bump the manifest and the marketplace entry's version together |
| Copilot CLI | `.github/plugin/marketplace.json` | `copilot plugin install <plugin>@<marketplace>` | Live from a local path; git-hosted needs `copilot plugin update` |
| OpenCode v2 | npm | Add the npm coordinate to `plugins` in `opencode.json` | Publish a new version |
| OpenCode v1 | npm | `opencode plugin <name>` | Publish; consumers clear OpenCode's cache (`--force` is not enough) |
| Pi | npm | `pi install -l npm:<name>@<version>` | Publish; consumers install the new `@<version>` |

Each marketplace is registered once with `claude`, `codex`, or `copilot plugin marketplace add .`. Point each index's `source` at the built target — `./dist/claude`, `./dist/codex`, `./dist/copilot` — not at the portable package root, and list the index files in `components.exclude` so the listing is not baked into the plugin. For Claude that exclusion is required: an unexcluded `.claude-plugin/marketplace.json` fails the build with `HN503`.

**OpenCode and Pi take the npm route.** Their `package` output *is* an npm package: run `npm publish` in `dist/opencode` or `dist/pi`, or in the output of a second OpenCode target (any key, with `adapter: "opencode"`) pinned to a v1 range, such as `dist/opencode-v1`. Set `npmName` when the published name is scoped, because an Agent Plugins manifest name cannot contain `@` or `/`. Pi's package carries a `pi` manifest declaring its extension and skills, so the npm coordinate is all a consumer needs. The two OpenCode outputs carry different loaders, so give each its own `npmName` and install the one that matches the harness family. Either family also loads a local directory without publishing (v2 by absolute path). Bundle its dependencies, because on v1, at least, a local package's declared dependencies are not installed.

---

## A hook you write once

Here is the shape of a portable hook:

```ts
import { definePlugin, hook, block, updateShell } from "@hooknostic/sdk";

export default definePlugin({
  name: "portable-repo-hooks",
  hooks: [
    hook("tool.before", {
      id: "protect-shell",
      match: { kind: "shell" },
      capabilities: { block: "required", "input.replace": "optional" },
      run({ tool }, ctx) {
        // Normalized across harnesses. Undefined if this tool's shape was never
        // recorded or the input does not fit it; a guard refuses what it cannot read.
        const command = tool.shell?.command;
        if (command === undefined) return block(`Unrecognized ${tool.nativeName} input`);
        if (command.includes("rm -rf /")) return block("Refusing destructive root deletion");
        if (ctx.capabilities.has("input.replace") && command.startsWith("npm ")) {
          // Lands under whichever key this harness uses, siblings preserved.
          return updateShell({ command: command.replace(/^npm /, "pnpm ") });
        }
      },
    }),
  ],
});
```

The hook reads `tool.shell?.command`, a normalized field. It does not care whether the harness calls the tool `Bash`, `bash`, `shell`, or `powershell`; the adapter decodes the native payload into that shape. File tools get the same treatment: for a file tool whose payload shape has been recorded, and an input that fits it, `tool.file?.paths` lists the files it targets, whatever the harness names the argument. `tool.file` is undefined for search and listing tools, and for shell commands that touch files.

The `block` is required; the `input.replace` is optional. Every current target supports rewriting, so `npm` becomes `pnpm` everywhere. On Codex, whose protocol pairs every rewrite with `permissionDecision: "allow"`, the rewrite also settles the hook's permission decision; Codex's sandbox still applies. On a harness that could not rewrite, the hook would still block what it must and do nothing else, and the build report would record the gap. The required block resolves exactly on every target, and the enhancement degrades visibly.

Three runtime facts matter before you ship one:

- **Stateless.** On Claude, Codex, and Copilot every hook call is a fresh process; on OpenCode and Pi the hook is a module inside a long-running harness. The portable contract is stateless. Module state may happen to survive on OpenCode and Pi, but nothing promises it, so anything that must persist goes in a file.
- **Fail-open by default.** A handler that throws or exceeds its time budget is reported on stderr and dispatch continues, so a guard that times out does not block. `runtime.onHookError: "block"` turns a failed handler into a block wherever the event can block on that target. Since v0.13.0, on Claude, Codex, and Copilot, a hook source that fails outside any handler, with a stray rejection, a timer that throws, or a `process.exit`, is reported too, and the hooks still decide the outcome. OpenCode v2 now prints the report too, but the only path measured to show it is `opencode run --standalone --print-logs`.
- **Start-up allowance.** The budget covers only the handler. On Claude, Codex, and Copilot, the timeout Hooknostic writes into the harness configuration is the sum of the budgets of every hook on that event, plus a five-second start-up allowance by default (less where the harness caps that event), so a slow Node start does not read as a hung hook. OpenCode and Pi run hooks in-process, so there is no harness timeout to pad.

---

## The harness is real; the model is a script

The rule is that every support claim carries its evidence. Each capability profile records dated validation from captured sessions, live probes, router logs, or the harness's own docs, schemas, and type definitions. At least one record per profile is a capture, and every rating below exact carries a written reason.

Two layers run in CI without model credentials. The first replays every captured native input for a harness through the exact bundled artifact a consumer installs, which covers lifecycle events that are hard to induce in a short headless session. The second installs the harness version the adapter pins, loads the generated artifact through that harness's real discovery mechanism, and points the model transport at a loopback-only scripted server. The harness binary is real. The hook payloads are real. Only the model side is scripted — and scripted per request, so a test can prove an injected context arrived in *every* request instead of merely somewhere in the session. OpenCode v2 has its own playback suite: the same loopback scripted model against the real harness, without the fixture-replay layer.

Effects are asserted by outcome, not by log line. A marker file proves a blocked command never ran and a rewritten command ran as rewritten. A once-only stop prevention forces a second model turn. A real pseudo-terminal drives Claude's interactive permission prompt, because headless sessions decide without asking. On Codex, a test-only preload records each hook process's exit code, wall time, and output without altering them, so a failed run shows what the hook actually did.

Twenty scenarios in a registry cover every capability cell each adapter resolves at the version it pins, and CI fails if a cell is added that no scenario lists. OpenCode v2's cells are listed too, but its own suite, not the registry's drivers, exercises them. Explicitly unsupported cells get scenarios too — inverted watches that fail the day the channel starts working, because "we checked and it does not work" is a claim that can go stale.

What playback cannot decide, it records as `inconclusive` with a written reason instead of passing:

- compaction, on every harness except OpenCode v2, whose own suite drives it;
- Codex subagent lifecycle and its permission-request event;
- interactive approval on Codex and Copilot.

Those rest on captured live procedures, and an environment flag is not allowed to turn a loopback session into a claimed real-model validation. A paid real-model mode exists, but it runs only on manual dispatch.

`dispatch` is the same idea pointed at your own code: replay portable events through your hooks with no harness and no model.

---

## Release date and progress

The first commit is from August 20, 2026. Counting the first npm release, there have been thirteen releases, one of them a patch, in about seven weeks:

| Date | Release | Milestone |
|------|---------|-----------|
| August 20, 2026 | — | First commit |
| September 28, 2026 | v0.2.0 | First public npm release |
| October 17, 2026 | v0.7.0 | Pi support |
| October 21, 2026 | v0.9.0 | GitHub Copilot CLI support |
| November 14, 2026 | v0.12.0 | Native Zod 4 SDK and a start-up allowance for generated deadlines |
| November 17, 2026 | v0.13.0 | Hook authoring without Zod, and every failure in your code reported |

That pace was not a plan. It is what happened once the adapter model was real and each new harness exposed a different set of gaps.

It is still pre-1.0, and the last two releases both broke things for SDK consumers. v0.12.0 made the exported schemas native Zod 4, made Zod a peer dependency, and dropped the V3 error API. v0.13.0 moved those schemas to `@hooknostic/sdk/schemas`, so hooks and configuration never import Zod; the SDK keeps a required `zod@^4.6.7` peer, which npm and pnpm install for you. It also changed exit codes that scripts read: when a config or hook source fails while a command loads it, `check`, `build`, `sync`, and the other commands that load your code now report `HN501` and exit 2, instead of crashing, exiting with your code's own status, or hanging, and `dispatch` gained exit codes of its own. Keep the CLI and SDK on the same release; from v0.13.0 the CLI warns with `HN110` when they differ. The [v0.13.0 release notes](https://github.com/roryeckel/hooknostic/releases/tag/v0.13.0) give each break its upgrade step. I would rather make these breaks before 1.0 than freeze a shape I would have to live with. Later releases will break things too, less often, and the release notes will say so.

---

## It maintains itself

All five harnesses are supported for both package and project delivery today — six playback lanes, because OpenCode's v1 and v2 families are tested separately. Keeping that sentence true is where most of the automation goes.

A weekly [harness-watch](https://github.com/roryeckel/hooknostic/blob/master/docs/harness-watch.md) workflow runs every Monday at 05:23 UTC. It compares each harness's npm `latest` against the last playback-validated version, installs anything newer with package lifecycle scripts disabled, and runs the model-free playback suite through that harness's own discovery path. A pass opens a pull request that advances a dated `validatedOn` record in the adapter profile and regenerates the [support table](https://github.com/roryeckel/hooknostic/blob/master/docs/harness-support.md); a failure opens a deduplicated issue with a runbook. When playback fails or a harness jumps more than a patch version, a drift lane runs a real harness session (still against the scripted model) with hooks that record every native payload, then diffs those payloads against the fixtures. A changed payload is found before it becomes a bug report.

The automation is deliberately narrow. A pass writes only that record and the generated table; it never widens a version range. A build outside every known range files a range-extension issue instead, because widening a claim is a human decision that needs real captures behind it.

The same idea runs inside a consumer repository: `verify` rebuilds the integration in isolated storage and exits non-zero if the integration in the working tree has drifted, so CI catches it. In Hooknostic's own repository, Renovate PRs get their regenerated example artifacts pushed as a follow-up commit.

None of this makes the support table true by construction. It makes every validation record dated and attributed to a method, and checks each harness's newest npm release every week, re-running playback whenever it moves, which is as close to true as a moving target allows. The table also records where the evidence stops:

- **macOS** has unit and fixture coverage and shell-interpreter captures for every harness except Pi, but end-to-end playback is established only on Windows and Linux.
- **Codex** installed-plugin hooks need Codex 0.153 or later, a narrower range than its repository hooks.
- **Copilot** loads repository hooks only in a trusted folder, and only from the directory the session starts in.
- **OpenCode v2** injects context at two points only: per model request (approximately) and at compaction. Its stop behavior is approximate too.
- **Pi** has no permission event at all.

Those are not footnotes. They are the reason the capability model exists, and the reason the table is generated from each adapter's profiles and the evidence they record instead of written by hand.

---

## How idea genesis uses it

[idea genesis](https://ideagenesis.ai) is the first repository I moved onto Hooknostic, and it is still the best example of why the project exists.

> Before this, each [hook] was hand-ported into every harness's own config format and the copies drifted.
>
> — idea genesis, `.agents/hooknostic/README.md`

Today the repository has one portable source in `.agents/hooknostic` and three project targets — Claude Code, Codex, and OpenCode — with two hooks in `src/hooks.ts`:

- **`block-recursive-grep`** refuses recursive grep and its PowerShell and `findstr` equivalents, because a recursive search over this repository is expensive enough to be a mistake.
- **`block-misdirected-pyright`** refuses a pyright run whose import resolution points at the wrong checkout (a worktree versus the primary), which otherwise either floods the run with false import errors or, worse, reports a false clean against the wrong environment.

Both are `tool.before` hooks matched to shell calls, with `block` required and a four-second budget each. The matching logic still lives in `scripts/block-recursive-grep.mjs` and `scripts/block-misdirected-pyright.mjs`, where it has its own regression tests; the portable hook imports it, and Hooknostic bundles it into each artifact. What Hooknostic owns is the part that used to be duplicated: decoding each harness's payload, classifying the tool, and answering in that harness's protocol.

Skills and MCP are declared once too: canonical skills in `.agents/skills`, MCP in `.agents/mcp.json`. Codex and OpenCode read `.agents/skills` directly; Claude gets a copy Hooknostic manages. MCP entries go into Claude's `.mcp.json` and Codex's `.codex/config.toml`, with stdio servers routed through a generated launcher, and a generated OpenCode plugin module registers the same servers. The generated artifacts, the wiring, and `.hooknostic/integration.json` are committed, and CI runs `verify`, so a matcher edit that was never synced fails CI instead of rotting. Upgrading to v0.13.0 was the same deliberate step: bump the two pinned Hooknostic packages, `sync`, and commit a large diff that is almost all regenerated bundles, about 24,000 lines even though the pinned Zod and esbuild versions stayed put. The generated integration is reviewable, and that is the point.

Porting idea genesis also paid for the tool before its first release, surfacing five toolchain defects and two capability gaps. The ones I still think about: a helper module's "am I being run directly?" check is always true once bundled into the hook artifact, so its command-line code ran on every hook call and read the harness's event off stdin before Hooknostic could, leaving the guards blind; the OpenCode plugin imported one function from Hooknostic's core and dragged the esbuild bundler in with it, which OpenCode's Bun runtime tolerated but plain Node refused to load; and `hooknostic build` failed intermittently on Windows when moving its finished output into place hit `EPERM`. The first now raises the build warning `HN502`, the plugin is now a dependency-free module, and the build retries. A tool that has only ever run against fixtures does not find those.

Every agent hook in idea genesis now goes through this path. Adding another supported harness is a target entry, not another copy.

---

## What is next

The next idea I am exploring is portable agent definitions: define an agent once and carry it to each harness the same way hooks are carried today — not just the hook, but the agent configuration around it. Which harnesses can support that, and how faithfully, is something the capability model will answer, not something I will promise up front. Beyond that: adapter breadth, more captured evidence, and widening a version range only when captures justify it.

Hooknostic is not a sandbox and does not try to become one. Hooks run inside each harness's trust boundary, and Hooknostic never marks a folder trusted or answers a trust prompt for you. It reports differences; it does not hide them.

---

## Try it

Hooknostic needs Node.js `^22.22.2 || ^24.15.0 || >=26.0.0`. Give the project its own `package.json` first, or npm installs into the nearest parent folder that has one, and make it ESM:

```sh
npm init -y
npm pkg set type=module
npm install --save-dev @hooknostic/sdk hooknostic
npx hooknostic --help
```

With pnpm 12, `pnpm init` already sets the module type. Allow esbuild's install script when you add the packages, or pnpm exits 1 with `ERR_PNPM_IGNORED_BUILDS`, and run the CLI with `pnpm exec`, because npm's `npx` refuses to run in a project whose `devEngines` names pnpm:

```sh
pnpm init
pnpm add -D --allow-build=esbuild @hooknostic/sdk hooknostic
pnpm exec hooknostic --help
```

You do not install Zod yourself: hooks and configuration never import it, and both package managers install the SDK's peer. Only code that imports `@hooknostic/sdk/schemas` should list `zod@^4.6.7` in its own dependencies.

Start with the [documentation wiki](https://github.com/roryeckel/hooknostic/blob/master/docs/README.md). The [getting-started walkthrough](https://github.com/roryeckel/hooknostic/blob/master/docs/getting-started.md) takes an empty folder to installed hooks, the [project integration guide](https://github.com/roryeckel/hooknostic/blob/master/docs/project-integration.md) covers the repository workflow, and the [testing guide](https://github.com/roryeckel/hooknostic/blob/master/docs/testing.md) explains the model-free playback suite. If you maintain hooks for more than one harness, run `init --local`, `sync --dry-run`, `sync`, and `verify` against a repository you already have. The dry run tells you whether the port is worth it.

Source and docs are at [github.com/roryeckel/hooknostic](https://github.com/roryeckel/hooknostic), and the CLI is on npm as [hooknostic](https://www.npmjs.com/package/hooknostic). Apache-2.0.

The hook is the same. The harness is an implementation detail.
]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing idea genesis]]></title>
            <link>https://2labz.com/blog/introducing-idea-genesis</link>
            <guid isPermaLink="false">https://2labz.com/blog/introducing-idea-genesis</guid>
            <pubDate>Tue, 04 Aug 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[idea genesis turns any document into structured, repeatable output - vocabulary, action items, study guides, flashcard decks and more. It has been live at ideagenesis.ai since November 2025 - here is the proper introduction.]]></description>
            <content:encoded><![CDATA[
# Introducing idea genesis

I built idea genesis because I kept doing the same thing by hand: read something dense, pull the terms out, write the definitions, build a deck, repeat next week with a different chapter. It is mechanical work that resists a chat window, because what you want back is not a paragraph — it is a list with the same columns every time.

So the first version did exactly one thing. You gave it a document and it gave you vocabulary with definitions. That is what went live at [ideagenesis.ai](https://ideagenesis.ai) on November 23, 2025, and it is a fraction of what is there now — because vocabulary turned out to be one instance of a much more general shape. Vocabulary is still one of the most used things in the product, and still the shortest path from a chapter to a Quizlet or Anki deck. It just stopped being the only thing.

**idea genesis turns any document — a paper, a textbook, a lecture recording, a transcript — into structured output you can sort, export, and build on.** Not a summary you read once and lose. I kept building instead of announcing; this is the post I owed it.

---

## Not chat with your PDF

There are a lot of tools now that will let you ask questions about a document. They are genuinely useful, and idea genesis is not trying to be another one.

The problem with conversation as an interface is that it produces one loose answer at a time. Ask the same question of forty papers and you get forty differently-shaped replies that you then have to normalize by hand. Ask it again next week and you get a forty-first shape. Chat is great for exploring a document and terrible for *processing* one.

What I wanted instead was repeatable structure. Not "summarize this paper" but "give me the method, the sample size, and the stated limitation, as those three fields" — and then have that same instruction work identically on the next forty papers, so the results line up in a table instead of forty essays.

That instruction is what idea genesis calls a **schema**: a definition of the output you want, kept separate from any particular document you run it against. You choose one, point it at your material, and what comes back has the same shape every time. **Decide what you want out of a document once, and stop re-describing it.**

---

## Extract, transform, synthesize

Everything in the product is one of three operations, and they are deliberately kept separate because they have different shapes:

- **Extract** takes one source and produces many structured items. Vocabulary terms, action items, question-and-answer pairs, contacts, rows of a table.
- **Transform** takes each item and produces one refined item. Translate every definition into Spanish. Rewrite each extracted task with the context it came from. Expand every short answer.
- **Synthesize** takes many things and produces one. A study guide, a summary, an exam cram sheet, a consolidated FAQ.

The useful part is that they compose. Extract the terminology from a textbook chapter, transform every term to add the surrounding context it appeared in, then synthesize the whole set into a single study guide. Three passes, one document, and each intermediate result is saved and reusable rather than thrown away.

That progression — pull it apart, refine the pieces, put it back together — turns out to be most of what people actually do with dense material. The tool just makes each step explicit instead of asking you to hold it all in a chat window.

---

## What you can put in

PDF, DOCX, PPTX, XLSX, TXT, Markdown, and HTML files. Paste a URL and the page text gets pulled in. Drop in an audio or video file and it is transcribed first, then treated like any other document.

That last one matters more than it sounds. **idea genesis works on any document, not just research papers.** A recorded lecture, a conference talk, a two-hour meeting — these become searchable, extractable text that you can run the same schemas against as anything else. Most tools in this space quietly assume you are holding a PDF from a journal. A lot of people are holding a recording of a class instead.

For long documents you can pick which sections to process rather than paying to run the whole thing, which is the difference between analyzing one chapter and analyzing an eight-hundred-page book.

---

## What you get out

Results are structured, so they export cleanly: Markdown, CSV, XLSX, JSON, Quizlet, Anki, calendar files for anything with a due date, and DOCX from document templates.

You can also generate a public link to a result that anyone can open without an account, and everything you run is kept in a library with its lineage intact — so you can see that this study guide came from those terms, which came from that chapter.

The principle is that output should land where you already work. Obsidian, a spreadsheet, a flashcard app, a shared doc. Structured data is portable almost by definition, and I would rather you take it somewhere else than be stuck opening my site to look at your own notes.

---

## Schemas you did not have to write

The built-in schemas cover the cases that come up most: vocabulary, action items, question-and-answer pairs, contacts, spreadsheet rows, study guides, summaries, exam cram sheets, deadline lists. Between them they handle a lot more than I expected them to when I started.

The flexibility is in their parameters. The vocabulary schema alone lets you set the topic to focus on, filter to nouns or verbs or phrases, and dial the complexity of the definitions up or down — the same schema producing very different output for a linguistics seminar and a certification exam. Most of the adjusting people actually need turns out to be this kind, not a new schema from scratch.

Writing your own is the next significant thing on the roadmap. For now, the built-in set and its parameters are what is available.

---

## A schema, a URL, and a schedule

Everything above is something you do once. Schedules are for when you want it to keep happening.

Point a schedule at a URL, choose the schema to run against it, and idea genesis fetches that page on the cadence you set — every morning, once a week, whatever suits the material — and produces a fresh structured result each time. Those land in your library like any other run, so they accumulate: the same fields, in the same shape, dated, one after another. It behaves much more like a feed than a folder of one-off extractions.

A daily pass over a news or publications index gives you a dated series of structured rows you can scan in ten seconds, instead of a tab you keep meaning to open. A weekly run against a course or documentation page leaves you with a record of what the material said on each date you checked it. A recurring run through a schema built for dates and deadlines quietly assembles a calendar you can export. None of these are things you would remember to do by hand every Monday, which is rather the point.

Schedules are a Plus feature, capped at three running at once. Each run spends credits when it fires, and you can pause, resume, or trigger one early from the schedules page.

---

## An assistant that can actually use the app

This one is not live yet, but it is close, and it is the feature I am most interested in.

Most in-app AI assistants are search over the documentation. You ask where a setting is and they tell you where to click. The assistant coming to idea genesis knows what is on the page you are looking at and can work the controls itself — choose the schema, fill in the parameters, select which sections of a long document to include, and start the run. "Pull the key terms out of chapter four and keep it to what I would actually see on the exam" becomes something you say once instead of six things you click.

The other half of that is trust, and it matters just as much. Anything that spends credits stops and asks first, and the confirmation tells you what it will cost before it runs. An assistant that can operate the interface is only a good idea if it cannot quietly spend your money by misreading you.

A general assistant lands alongside it — questions answered against your documents, help shaping a schema, handing work off to a run without leaving the conversation. Both are coming soon rather than available today.

---

## Free and Plus

- **Free, forever.** Every document format, full history, and a credit allowance that refreshes several times a day. No sign-up required to try it — upload something and see what comes out.
- **Plus, $4/month.** A substantially larger allowance on a daily refresh, no ads, recurring scheduled runs, and better models behind the analysis.

Credits are priced per unit of work rather than per session: uploading a file costs nothing, extraction is charged per item produced, transcription is priced by the minute, and repeat visits to a page or recording you have already processed are free. Every action tells you what it will cost before you commit to it. Current allowances and pricing are on [the Plus page](https://ideagenesis.ai/plus).

I have tried to be straightforward about cost, because a study tool that surprises a student with a bill is a study tool they stop using.

---

## What is next

A browser extension is in the works — capture the page you are reading straight into your library, then decide what you want made from it. It works; it is not in the extension stores yet.

Custom schemas are the bigger one — describing the output you want in plain language and getting a schema for it, instead of choosing from the built-in set. The assistants described above land in the same stretch.

There is also something larger in development that I am not ready to show yet. The short version: a pile of extracted results is not the same thing as a way to learn the material, and the gap between those two is the most interesting problem in front of me right now. More on that when it is real.

---

## Try it

No account required to start. Upload something dense and see what falls out of it.

---

*Try it at [ideagenesis.ai](https://ideagenesis.ai). If you use it and something is missing, I would like to hear about it.*
]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing a Cross-Compatible Git Repo for AI Coding Agents]]></title>
            <link>https://2labz.com/blog/designing-cross-compatible-git-repo-for-ai-coding-agents</link>
            <guid isPermaLink="false">https://2labz.com/blog/designing-cross-compatible-git-repo-for-ai-coding-agents</guid>
            <pubDate>Tue, 10 Feb 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[A practical guide to structuring your git repository so that AGENTS.md, CLAUDE.md, agent skills, and third-party skill subtrees all work together across every major AI coding tool.]]></description>
            <content:encoded><![CDATA[
# Designing a Cross-Compatible Git Repo for AI Coding Agents

## Introduction

AI coding agents have become a daily part of my development workflow. I use [Claude Code](https://claude.com/claude-code), [opencode](https://opencode.ai/), and [GitHub Copilot](https://github.com/features/copilot) across different projects and contexts, and I've run into the same friction over and over: each tool has its own convention for reading project instructions. Claude Code reads `CLAUDE.md`. GitHub Copilot reads `AGENTS.md`. opencode reads `AGENTS.md` *and* supports a different skills directory.

After some experimentation, I landed on a simple pattern that keeps everything in sync without duplication: **write the canonical file once, then symlink it for every tool that needs a different name.** This applies to both the top-level instruction file (`AGENTS.md`) and the emerging [Agent Skills](https://agentskills.io/) format. In this post I'll walk through the setup, starting with the simpler `AGENTS.md` convention, then building up to skills and third-party skill management via git subtrees.

---

## AGENTS.md: The Universal Instruction File

`AGENTS.md` is a simple, open format for giving AI coding agents project-specific guidance — build commands, architecture notes, conventions, and anything else an agent needs to work effectively in your repository. Think of it as a README written specifically for agents. It was [released by OpenAI in mid-2025](https://openai.com/index/agentic-ai-foundation/) and quickly gained adoption across the ecosystem. In late 2025, the [Linux Foundation's Agentic AI Foundation (AAIF)](https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation) formally adopted it alongside MCP and goose.

The format is intentionally minimal — it's just a Markdown file, no schema or tooling required. You drop an `AGENTS.md` at the root of your repo and agents read it as part of their system context.

### Who Supports AGENTS.md?

The list is long and growing. As of early 2026, these tools all read `AGENTS.md`:

- **Codex** (OpenAI)
- **Jules** (Google)
- **Gemini CLI** (Google)
- **GitHub Copilot** coding agent
- **VS Code** (Copilot Chat/Agents)
- **Cursor**
- **Windsurf** (Cognition)
- **Devin** (Cognition)
- **Factory**
- **Aider**
- **goose**
- **opencode**
- **Zed**
- **Warp**
- **Amp**
- **RooCode**
- **Kilo Code**
- **Phoenix**
- **Semgrep**
- **Ona**
- **Autopilot & Coded Agents** (UiPath)

That's broad coverage. But there's a notable exception: **Claude Code only reads `CLAUDE.md`**, not `AGENTS.md`.

---

## The Symlink Strategy

Rather than maintaining two identical files, the solution is straightforward: **write `AGENTS.md` as the canonical source of truth, then symlink `CLAUDE.md` to it.**

On Linux/macOS:

```bash
# Write your instructions in AGENTS.md
vim AGENTS.md

# Create a symlink for Claude Code
ln -s AGENTS.md CLAUDE.md
```

On Windows (cmd.exe):

```bat
REM Create a symlink for Claude Code
mklink CLAUDE.md AGENTS.md
```

**Windows note:** Git for Windows does not recognize symlinks created with `ln -s` in Git Bash. You must use `mklink` from `cmd.exe` instead. You'll also need [Developer Mode enabled](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) (or an elevated prompt) and `git config --global core.symlinks true` so that git properly tracks the symlink rather than copying the file contents.

That's it. Both files resolve to the same content. When you update `AGENTS.md`, Claude Code sees the changes too. Git tracks the symlink, so every collaborator and CI system gets the same setup.

I even include a note at the top of my `AGENTS.md` to make the relationship explicit:

```markdown
# AGENTS.md

This file provides guidance to AI coding agents working with code
in this repository. It is symlinked as `CLAUDE.md` for Claude Code
compatibility.
```

This is a small thing, but it eliminates an entire class of drift bugs where one file gets updated and the other doesn't. One file, many consumers.

---

## Agent Skills: Beyond System Prompts

`AGENTS.md` is great for project-wide context, but it's a blunt instrument. Everything goes into a single file that gets loaded into the agent's system prompt on every interaction. As your instructions grow, you start wishing for something more modular — specialized instructions that only activate when relevant.

That's exactly what [Agent Skills](https://agentskills.io/) provide. A skill is a directory containing a `SKILL.md` file with YAML frontmatter and Markdown instructions:

```
my-skill/
├── SKILL.md          # Required: metadata + instructions
├── scripts/          # Optional: executable code
├── references/       # Optional: additional documentation
└── assets/           # Optional: templates, resources
```

The `SKILL.md` frontmatter declares when the skill should activate:

```yaml
---
name: playwright-cli
description: Automates browser interactions for web testing, form filling,
  screenshots, and data extraction. Use when the user needs to navigate
  websites, interact with web pages, or extract information from web pages.
---
```

Skills use **progressive disclosure** to manage context efficiently ([Agent Skills Specification](https://agentskills.io/specification)):

1. **Discovery** — at startup, agents load only the `name` and `description` of each skill (~50-100 tokens each)
2. **Activation** — when a task matches a skill's description, the full `SKILL.md` is loaded
3. **Execution** — the agent follows the instructions, loading referenced files or running bundled scripts only as needed

This means a skill with extensive reference documentation doesn't bloat your agent's context until it's actually relevant. The `references/` directory pattern is particularly useful here — you can include detailed guides that the skill instructions point to, and the agent fetches them on demand.

### Where Do Skills Live?

This is where tool fragmentation shows up again:

- **Claude Code** looks in `.claude/skills/`
- **Codex** (OpenAI) looks in `.agents/skills/`
- **opencode** looks in `.agents/skills/`
- **GitHub Copilot** looks in *both* `.agents/skills/` and `.claude/skills/`

The Agent Skills specification itself is tool-agnostic — it defines the format, not the directory path. But the emerging convention for cross-compatible agents is `.agents/skills/`, while Claude Code has its own path.

Because GitHub Copilot scans both directories, symlinking `.claude/skills` to `.agents/skills/` means Copilot will discover every skill twice — once from each path. In practice this is a minor issue: the duplicate metadata adds a small amount of token overhead during discovery, and Copilot handles it gracefully. For repos with a handful of skills it's an acceptable tradeoff to keep the symlink strategy simple. If you accumulate a large number of skills and the duplication becomes noticeable, you could skip the `.claude/skills` symlink on repos where you don't use Claude Code.

### The Same Symlink Pattern

The fix is identical to the `AGENTS.md` approach: **use `.agents/skills/` as the canonical directory, then symlink `.claude/skills` to it.**

On Linux/macOS:

```bash
# Create the canonical skills directory
mkdir -p .agents/skills

# Symlink for Claude Code
mkdir -p .claude
cd .claude && ln -s ../.agents/skills skills && cd ..
```

On Windows (cmd.exe):

```bat
mkdir .agents\skills
mkdir .claude
mklink /D .claude\skills ..\.agents\skills
```

Now any skill you add to `.agents/skills/` is automatically available to Claude Code as well. Your directory structure looks like this:

```
project-root/
├── AGENTS.md                  # Canonical instructions
├── CLAUDE.md -> AGENTS.md     # Symlink for Claude Code
├── .agents/
│   └── skills/
│       ├── blogging/          # Your custom skill
│       │   └── SKILL.md
│       └── playwright-cli/    # Third-party skill (see below)
│           ├── SKILL.md
│           └── references/
└── .claude/
    └── skills -> ../.agents/skills  # Symlink for Claude Code
```

One set of skills, accessible to every tool.

---

## Third-Party Skills with Git Subtrees

Writing your own skills is straightforward, but the real power of the Agent Skills format is **sharing skills across projects and teams**. Third-party skills are starting to appear — like Microsoft's [playwright-cli](https://github.com/microsoft/playwright-cli) skill for browser automation — and you'll want a clean way to pull them into your repo.

The naive approach is to copy the skill files into your `.agents/skills/` directory. This works, but it has problems:

- **Staleness** — you have to manually check for updates and re-copy files
- **Missing files** — it's easy to forget reference files, scripts, or assets that the `SKILL.md` points to, breaking the skill's progressive disclosure chain
- **No provenance** — there's no record of where the files came from or what version you're using

### The Subtree + Symlink Pattern

A better approach uses **git subtrees** to vendor third-party code and **symlinks** to wire it into your skills directory:

1. Add the third-party repo as a subtree in a `.vendors` directory
2. Symlink the specific skill directory from `.vendors` into `.agents/skills/`

Git subtrees are simpler than submodules for this use case. The vendored code becomes ordinary files in your repository — collaborators just `git clone` and everything works. No `git submodule init`, no `git submodule update`, no `.gitmodules` file. Less ceremony, fewer footguns.

Here's how it looks with the playwright-cli skill:

On Linux/macOS:

```bash
# Add the third-party repo as a subtree
git subtree add --prefix=.vendors/playwright-cli https://github.com/microsoft/playwright-cli main --squash

# Symlink just the skill into your skills directory
cd .agents/skills
ln -s ../../.vendors/playwright-cli/skills/playwright-cli playwright-cli
```

On Windows (cmd.exe):

```bat
git subtree add --prefix=.vendors/playwright-cli https://github.com/microsoft/playwright-cli main --squash

mklink /D .agents\skills\playwright-cli ..\..\.vendors\playwright-cli\skills\playwright-cli
```

To pull updates later:

```bash
git subtree pull --prefix=.vendors/playwright-cli https://github.com/microsoft/playwright-cli main --squash
```

Your directory structure now looks like:

```
project-root/
├── .vendors/
│   └── playwright-cli/              # Git subtree
│       ├── skills/
│       │   └── playwright-cli/
│       │       ├── SKILL.md
│       │       └── references/
│       │           ├── request-mocking.md
│       │           ├── running-code.md
│       │           └── session-management.md
│       └── ...
├── .agents/
│   └── skills/
│       ├── blogging/                 # Your own skill
│       │   └── SKILL.md
│       └── playwright-cli -> ../../.vendors/playwright-cli/skills/playwright-cli
└── .claude/
    └── skills -> ../.agents/skills
```

This gives you several advantages:

- **Zero ceremony for collaborators** — `git clone` just works. No `submodule init`, no `submodule update`, no forgetting to pass `--recurse-submodules`. The vendored code is just files in the repo
- **Easy updates** — run `git subtree pull --prefix=.vendors/playwright-cli <remote> main --squash` to pull the latest version
- **Complete files** — the symlink captures the entire skill directory, including `references/`, `scripts/`, and `assets/`. No risk of missing files that `SKILL.md` references
- **Clean separation** — your own skills and vendored skills are clearly distinguished
- **No copy-paste drift** — there's a single source of truth for each third-party skill

The reference files matter more than you might think. The playwright-cli skill, for example, includes reference docs for [request mocking](https://github.com/microsoft/playwright-cli/tree/main/skills/playwright-cli/references), [running code](https://github.com/microsoft/playwright-cli/tree/main/skills/playwright-cli/references), and [session management](https://github.com/microsoft/playwright-cli/tree/main/skills/playwright-cli/references). If you copy just the `SKILL.md` and miss these, the agent will try to read files that don't exist — silently degrading the skill's usefulness. Subtrees avoid this entirely.

### What About Submodules?

Git submodules also work for this pattern. They give you **exact commit pinning** and keep vendored code out of your repository's object store, which matters if the third-party repo is large. But submodules add friction: every collaborator needs to remember `git clone --recurse-submodules` (or run `git submodule init && git submodule update` after cloning), CI pipelines need the same treatment, and the `.gitmodules` file adds another moving part. For most skill repos — which are small by nature — subtrees are the simpler choice.

---

## Putting It All Together

Here's the complete setup from scratch.

On Linux/macOS:

```bash
# 1. Write your AGENTS.md
cat > AGENTS.md << 'EOF'
# AGENTS.md

This file provides guidance to AI coding agents working with code
in this repository. It is symlinked as `CLAUDE.md` for Claude Code
compatibility.

## Commands
...your project instructions here...
EOF

# 2. Symlink for Claude Code
ln -s AGENTS.md CLAUDE.md

# 3. Create the canonical skills directory
mkdir -p .agents/skills

# 4. Symlink for Claude Code skills
mkdir -p .claude
cd .claude && ln -s ../.agents/skills skills && cd ..

# 5. Add a third-party skill via subtree
git subtree add --prefix=.vendors/playwright-cli https://github.com/microsoft/playwright-cli main --squash
cd .agents/skills && ln -s ../../.vendors/playwright-cli/skills/playwright-cli playwright-cli && cd ../..

# 6. Commit everything
git add -A && git commit -m "Add cross-compatible agent configuration"
```

On Windows (cmd.exe):

```bat
REM 1. Write your AGENTS.md (use your editor of choice)

REM 2. Symlink for Claude Code
mklink CLAUDE.md AGENTS.md

REM 3. Create the canonical skills directory
mkdir .agents\skills

REM 4. Symlink for Claude Code skills
mkdir .claude
mklink /D .claude\skills ..\.agents\skills

REM 5. Add a third-party skill via subtree
git subtree add --prefix=.vendors/playwright-cli https://github.com/microsoft/playwright-cli main --squash
mklink /D .agents\skills\playwright-cli ..\..\.vendors\playwright-cli\skills\playwright-cli

REM 6. Commit everything
git add -A && git commit -m "Add cross-compatible agent configuration"
```

**Reminder for Windows users:** Ensure Developer Mode is enabled and run `git config --global core.symlinks true` before creating any symlinks. Without this, git will store symlinks as plain text files containing the target path, and the links won't work for other collaborators.

### Quick Reference

| What | Canonical Location | Symlinked For |
|------|-------------------|---------------|
| Project instructions | `AGENTS.md` | `CLAUDE.md` (Claude Code) |
| Agent skills | `.agents/skills/` | `.claude/skills` (Claude Code) |
| Third-party skills | `.vendors/<repo>/` (subtree) | `.agents/skills/<skill-name>` |

---

## Conclusion

The AI coding agent ecosystem is converging on shared standards, but we're not fully there yet. `AGENTS.md` has near-universal adoption, Agent Skills are gaining traction, and the gap between tool-specific conventions is shrinking. In the meantime, **symlinks are the bridge**.

The pattern is simple: maintain one canonical source of truth, then symlink it wherever each tool expects to find it. For third-party skills, git subtrees provide synchronization without copy-paste fragility. The result is a repository that works seamlessly with Claude Code, opencode, GitHub Copilot, and the rest of the ecosystem — with zero duplication.

It's a small amount of upfront setup that saves real time and prevents real bugs. If you're using more than one AI coding tool, it's worth the time investment.

---

## References

AGENTS.md. (2025). AGENTS.md. [https://agents.md/](https://agents.md/)

Agent Skills. (2025). Specification. [https://agentskills.io/specification](https://agentskills.io/specification)

Linux Foundation. (2025, December 9). Linux Foundation Announces the Formation of the Agentic AI Foundation (AAIF), Anchored by New Project Contributions Including Model Context Protocol (MCP), goose and AGENTS.md. [https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation](https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation)

Microsoft. (2025). playwright-cli. [https://github.com/microsoft/playwright-cli](https://github.com/microsoft/playwright-cli)

OpenAI. (2025). OpenAI co-founds the Agentic AI Foundation under the Linux Foundation. [https://openai.com/index/agentic-ai-foundation/](https://openai.com/index/agentic-ai-foundation/)
]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keep Android Open: Why We Should Care About Platform Freedom]]></title>
            <link>https://2labz.com/blog/keep-android-open</link>
            <guid isPermaLink="false">https://2labz.com/blog/keep-android-open</guid>
            <pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[Google is planning to lock down Android with mandatory developer registration. Here's why that matters and what we can do about it.]]></description>
            <content:encoded><![CDATA[
# Keep Android Open: Why We Should Care About Platform Freedom

Google recently announced that starting next year, every Android developer will need to register centrally with them. This isn't just a simple account signup - it requires fees, government ID, private signing keys, and complete disclosure of app identifiers.

## What's Actually Happening

The new requirements are substantial. Google wants developers to:

- Pay registration fees
- Accept their terms
- Submit government identification
- Verify private signing keys
- Disclose all app identifiers

This represents a fundamental shift from Android's original philosophy. The platform that positioned itself as the open alternative to Apple's closed ecosystem is adopting a strikingly similar approach. Google has stated that "sideloading isn't going anywhere," but as F-Droid points out in their [recent analysis](https://f-droid.org/en/2025/10/28/sideloading.html), this claim is misleading - when all software requires vendor approval, traditional sideloading effectively ceases to exist.

## Why This Matters

When you purchase an Android device, there's a reasonable expectation that you can install software of your choosing. Want to share an app with friends without going through an app store? Android made that possible. Want to run experimental software? That was part of the appeal.

With mandatory OS updates enforcing this new approval system, that freedom disappears. Devices purchased under one set of expectations will be fundamentally altered through updates.

## The Developer Perspective

One of Android's strongest features has always been the ability to build and share software directly. A useful utility app could be shared with friends via APK. Community-focused projects didn't need to navigate approval processes. This direct relationship between developers and users fostered innovation and experimentation.

Under the new system, every developer needs Google's approval before their software can run on Android devices - the same gatekeeper model that Android originally positioned itself against.

## The Broader Implications

The impact extends beyond developer frustration. Several important concerns emerge:

**The End of FOSS on Android**: This policy represents an existential threat to Free and Open Source Software on Android. FOSS developers typically can't afford registration fees, may not want to submit to corporate terms of service, and often develop software collaboratively without traditional corporate structures. The entire FOSS ecosystem that has thrived on Android - including F-Droid itself and thousands of open-source applications - faces elimination. These aren't hypothetical apps; they're tools that millions of users rely on for privacy, security, and functionality that commercial alternatives don't provide.

**Digital Sovereignty**: Governments worldwide are effectively ceding control to a private company. Google's history of complying with authoritarian regimes' app removal requests raises questions about how this centralized power might be exercised. This policy affects over 95% of Android devices globally (excluding China), regardless of which app store users choose.

**Consumer Rights**: Device owners should be able to run legal software of their choosing on hardware they've purchased. This isn't a radical position - it's a fundamental aspect of property ownership. Users who bought Android devices with the expectation of an open computing platform will find their rights non-consensually revoked through mandatory OS updates.

**Innovation**: Many successful open-source projects began as side endeavors that wouldn't have survived formal approval processes. F-Droid, experimental applications, and community-driven tools all face an uncertain future under this model.

## What Can Be Done

While challenging large tech companies can feel overwhelming, the [Keep Android Open](https://keepandroidopen.org/) campaign offers concrete action items:

**For Users:**
- Install F-Droid as an alternative app marketplace
- Contact national competition authorities (the campaign provides contact information for 15+ countries)
- Sign open letters and participate in public discourse
- Support alternative mobile OS projects

**For Developers:**
- Avoid early registration in verification programs
- Collective resistance can influence policy outcomes - widespread developer pushback makes implementation more difficult

## Final Thoughts

Android represented something valuable in the mobile ecosystem: a platform where openness wasn't merely marketing language, but a functional reality. Developers could build, share, and experiment without requiring permission from a central authority.

The stated justification for these changes centers on security. Google claims "50 times more malware" comes from sideloaded sources, yet recent incidents included 224 malicious apps in the Play Store itself and 19 million downloads of malware-infected applications through Google's official marketplace. This raises questions about whether centralized corporate approval actually guarantees safety, or whether this is fundamentally about control.

Concentrating this level of power over a supposedly open platform in the hands of a single company creates risks for users, developers, and the innovation ecosystem that has flourished under Android's more permissive model. For the FOSS community in particular, this isn't just a policy change - it's an existential threat to their ability to develop and distribute software on the world's most popular mobile platform.

## Worth Following

Whether you're a developer, a power user, or someone who values ownership rights over purchased devices, this development deserves attention. The Keep Android Open campaign is systematically documenting these changes and coordinating responses.

The most significant technology policy shifts often happen quietly, through incremental changes to terms of service and platform requirements. This represents one of those moments where early attention and engagement can still influence outcomes.

---

*Want to learn more or get involved? Check out [keepandroidopen.org](https://keepandroidopen.org/) for resources, contact information for regulators, and ways to support the campaign.*

## References

F-Droid. (2025, October 28). What We Talk About When We Talk About Sideloading. [https://f-droid.org/en/2025/10/28/sideloading.html](https://f-droid.org/en/2025/10/28/sideloading.html)

Keep Android Open. (n.d.). [https://keepandroidopen.org/](https://keepandroidopen.org/)
]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Container Registry Hosting]]></title>
            <link>https://2labz.com/blog/docker-container-registries</link>
            <guid isPermaLink="false">https://2labz.com/blog/docker-container-registries</guid>
            <pubDate>Tue, 25 Mar 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[Explore the best ways to host a Docker container registry for serving container images, including self-hosted solutions, managed services, and best practices for security and performance.]]></description>
            <content:encoded><![CDATA[
# Best Ways to Host a Docker Container Registry for Serving Container Images

## Introduction

Containerization has revolutionized the software development and deployment landscape by enabling developers to package applications and their dependencies into standardized units called containers. Docker, as a leading containerization platform, has played a pivotal role in this transformation. Central to Docker's ecosystem is the concept of container registries, which serve as repositories for storing, managing, and distributing container images. While public registries like Docker Hub are widely used, there are scenarios where hosting a private Docker container registry is more advantageous, offering greater control, security, and performance.

This report explores the best ways to host a Docker container registry for serving container images. It provides a detailed overview of the options available, their benefits, and the steps involved in setting up a self-hosted registry. The report draws on insights from trusted sources and prioritizes recent and relevant information.

---

## Why Host a Docker Container Registry?

Hosting a Docker container registry can be a strategic decision for organizations and developers. The following are key reasons why self-hosting a registry may be preferable:

1. **Security and Privacy**: Self-hosting ensures that sensitive container images remain within the organization’s infrastructure, reducing the risk of unauthorized access ([DevOps Daily, 2024](https://devopsdaily.eu/articles/2024/setting-up-a-self-hosted-docker-image-registry/)).
2. **Performance**: A local registry minimizes image pull times, especially in environments with limited internet connectivity or high demand for image access ([DevOps Daily, 2024](https://devopsdaily.eu/articles/2024/setting-up-a-self-hosted-docker-image-registry/)).
3. **Cost Efficiency**: Avoiding reliance on external services like Docker Hub can reduce costs associated with storage and bandwidth ([Razorops, 2024](https://razorops.com/blog/diving-container-registry-in-depth-overview)).
4. **Customization and Control**: Self-hosted registries allow organizations to configure the registry to meet specific requirements, including access control, image retention policies, and integration with existing infrastructure ([FreeCodeCamp, 2024](https://www.freecodecamp.org/news/how-to-self-host-a-container-registry/)).
5. **Compliance**: In regulated industries, hosting a private registry may be a requirement to ensure compliance with data protection and security standards ([FreeCodeCamp, 2024](https://www.freecodecamp.org/news/how-to-self-host-a-container-registry/)).

---

## Options for Hosting a Docker Container Registry

There are several approaches to hosting a Docker container registry, ranging from using open-source solutions to leveraging managed services. Below are the most common options:

### 1. **Self-Hosted Docker Registry**
The official Docker Registry is an open-source solution provided by Docker for hosting container images. It is a lightweight and flexible option that can be deployed on any server that supports Docker.

#### Key Features:
- Open-source and free to use.
- Can run as a container itself, simplifying deployment.
- Supports basic authentication and TLS for secure access.

#### Steps to Set Up:
1. **Install Docker**: Ensure Docker is installed on the server.
2. **Run the Registry Container**: Use the official Docker Registry image to start the registry.
   ```bash
   docker run -d -p 5000:5000 --name registry registry:2
   ```
3. **Enable TLS**: Use NGINX or another reverse proxy to handle TLS and forward requests to the registry container ([FreeCodeCamp, 2024](https://www.freecodecamp.org/news/how-to-self-host-a-container-registry/)).
4. **Configure Authentication**: Set up basic authentication to restrict access to the registry.

#### Advantages:
- Full control over the registry.
- No dependency on external services.
- Cost-effective for small-scale use.

#### Disadvantages:
- Requires manual setup and maintenance.
- Limited features compared to managed solutions.

---

### 2. **Harbor**
Harbor is an open-source, enterprise-grade container registry that extends the capabilities of the Docker Registry. It provides advanced features such as vulnerability scanning, role-based access control, and image replication.

#### Key Features:
- Integration with CI/CD pipelines.
- Image vulnerability scanning and signing.
- Multi-tenancy and access control.

#### Steps to Set Up:
1. **Install Docker and Docker Compose**: Harbor requires Docker Compose for deployment.
2. **Download Harbor**: Obtain the Harbor installer from its official website.
3. **Configure Harbor**: Edit the configuration file to set up the hostname, authentication, and other settings.
4. **Deploy Harbor**: Use Docker Compose to deploy Harbor.

#### Advantages:
- Comprehensive feature set for enterprise use.
- Enhanced security and compliance capabilities.
- Scalable for large organizations.

#### Disadvantages:
- More complex to set up compared to the Docker Registry.
- Higher resource requirements.

---

### 3. **Managed Container Registries**
Managed container registries, such as Amazon Elastic Container Registry (ECR), Google Container Registry, and Azure Container Registry, provide a hassle-free alternative to self-hosting. These services are fully managed by cloud providers and integrate seamlessly with their ecosystems.

#### Key Features:
- Automatic scaling and high availability.
- Built-in security features, such as image scanning.
- Integration with CI/CD pipelines.

#### Advantages:
- Minimal setup and maintenance.
- Reliable and scalable infrastructure.
- Advanced features like vulnerability analysis and fine-grained access control ([PeerSpot, 2025](https://www.peerspot.com/categories/container-registry)).

#### Disadvantages:
- Higher costs compared to self-hosted solutions.
- Dependency on external vendors.

---

### 4. **Hybrid Approach**
Organizations can adopt a hybrid approach by using both self-hosted and managed registries. For example, a self-hosted registry can be used for internal development, while a managed registry can handle production deployments.

#### Advantages:
- Balances control and convenience.
- Optimizes costs by using self-hosted registries for non-critical workloads.

#### Disadvantages:
- Increased complexity in managing multiple registries.

---

## Best Practices for Hosting a Docker Container Registry

Regardless of the chosen approach, the following best practices can help ensure the success of a Docker container registry:

1. **Secure the Registry**:
   - Use TLS to encrypt communication between clients and the registry.
   - Implement authentication and access control to restrict unauthorized access ([LabEx, 2024](https://labex.io/tutorials/docker-how-to-switch-between-docker-hub-and-a-private-registry-415116)).

2. **Enable Image Scanning**:
   - Regularly scan images for vulnerabilities to enhance security ([Razorops, 2024](https://razorops.com/blog/diving-container-registry-in-depth-overview)).

3. **Optimize Storage**:
   - Use image cleanup policies to remove unused images and optimize storage space ([Razorops, 2024](https://razorops.com/blog/diving-container-registry-in-depth-overview)).

4. **Integrate with CI/CD Pipelines**:
   - Automate the build, test, and deployment processes by integrating the registry with CI/CD pipelines ([PeerSpot, 2025](https://www.peerspot.com/categories/container-registry)).

5. **Monitor and Maintain**:
   - Regularly monitor the performance and health of the registry.
   - Apply updates and patches to ensure the registry remains secure and reliable.

---

## Conclusion

Hosting a Docker container registry is a critical aspect of modern DevOps workflows, offering benefits such as enhanced security, performance, and control. The choice of hosting method depends on the specific needs and resources of the organization. Self-hosted solutions like the Docker Registry and Harbor provide flexibility and cost-efficiency, while managed services offer convenience and advanced features. By following best practices and leveraging the right tools, organizations can create a robust and secure container registry to support their containerized applications.

---

## References

DevOps Daily. (2024, December 24). Setting Up a Self-Hosted Docker Image Registry. [https://devopsdaily.eu/articles/2024/setting-up-a-self-hosted-docker-image-registry/](https://devopsdaily.eu/articles/2024/setting-up-a-self-hosted-docker-image-registry/)

FreeCodeCamp. (2024). How to Self-host a Container Registry. [https://www.freecodecamp.org/news/how-to-self-host-a-container-registry/](https://www.freecodecamp.org/news/how-to-self-host-a-container-registry/)

LabEx. (2024). How to switch between Docker Hub and a private registry. [https://labex.io/tutorials/docker-how-to-switch-between-docker-hub-and-a-private-registry-415116](https://labex.io/tutorials/docker-how-to-switch-between-docker-hub-and-a-private-registry-415116)

PeerSpot. (2025). Best Container Registry Solutions for 2025. [https://www.peerspot.com/categories/container-registry](https://www.peerspot.com/categories/container-registry)

Razorops. (2024). Diving into Container Registries- An In-Depth Overview. [https://razorops.com/blog/diving-container-registry-in-depth-overview](https://razorops.com/blog/diving-container-registry-in-depth-overview)]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wyoming OpenAI]]></title>
            <link>https://2labz.com/blog/wyoming-openai</link>
            <guid isPermaLink="false">https://2labz.com/blog/wyoming-openai</guid>
            <pubDate>Mon, 24 Mar 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[Check out the launch of my latest open source project for Home Assistant]]></description>
            <content:encoded><![CDATA[
## Bridging the Gap: Wyoming OpenAI for Flexible Voice Control

For those of us building smart homes and voice-powered experiences, the landscape of speech-to-text (STT) and text-to-speech (TTS) services can be fragmented. Different platforms often require different integrations, and consolidating resources can be a challenge. That’s the problem Wyoming OpenAI aims to solve.

Wyoming OpenAI is a project designed to act as a bridge between the Wyoming protocol – a popular standard for voice assistant integrations, particularly within Home Assistant – and a wider range of OpenAI-compatible STT and TTS services. Essentially, it allows you to use the Wyoming protocol with *any* service that speaks the OpenAI API language, opening up a world of flexibility.

**Why build this?**

Many excellent Wyoming integrations already exist, such as [Wyoming Faster Whisper](https://github.com/rhasspy/wyoming-faster-whisper) and [Wyoming Piper](https://github.com/rhasspy/wyoming-piper). However, these projects are not OpenAI-compatible. If you're also using a platform like Open WebUI which relies on this compatibility, you're forced to run separate instances of STT/TTS engines. Wyoming OpenAI consolidates this, letting you run a single instance to serve multiple applications.

**How does it work?**

Wyoming OpenAI functions as a proxy. It sits between your Wyoming-compatible clients (like Home Assistant or potentially others) and the STT/TTS service of your choice. It translates the Wyoming protocol into the OpenAI API format, and vice versa. This means you can swap out different STT/TTS engines without modifying your core Home Assistant configuration.

**Deployment Options**

The project is designed to be flexible and easy to deploy, primarily through Docker. You have several options:

*   **Official OpenAI Services:** Connect directly to OpenAI’s APIs using your API keys.
*   **Local Alternatives (Speaches):** Run a local, self-hosted STT/TTS service like Speaches for privacy and control.
*   **Combined Local Services (Kokoro-FastAPI & Speaches):** Leverage the strengths of different local services, combining Kokoro-FastAPI for TTS and Speaches for STT.

The [Docker Compose](https://github.com/roryeckel/wyoming_openai?tab=readme-ov-file#docker-recommended) files provided make setup straightforward, allowing you to quickly deploy and experiment with different configurations.

**Benefits for Home Assistant Users**

For Home Assistant enthusiasts, Wyoming OpenAI gives you more flexibility to use cutting edge voice assistant pipelines. Once deployed, you can easily connect the Wyoming Protocol integration to your Wyoming OpenAI instance. Instructions are provided in the [README](https://github.com/roryeckel/wyoming_openai?tab=readme-ov-file#usage-in-home-assistant)!
]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello World]]></title>
            <link>https://2labz.com/blog/hello-world</link>
            <guid isPermaLink="false">https://2labz.com/blog/hello-world</guid>
            <pubDate>Sat, 22 Mar 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[Welcome to my new website]]></description>
            <content:encoded><![CDATA[
Welcome to Rory Eckel's personal website. This is my first blog post!

Launching in 2025, 2labz.com will be under heavy construction.
Stay tuned for more updates.

Credits:
1. Shader background: ["Digital Brain" by srtuss](https://www.shadertoy.com/view/4sl3Dr#)
2. NextJS & React
3. Material UI
4. Tailwind CSS

## Update: a new background (8/8/2026)

The "Digital Brain" shader credited above no longer runs on this site. It served
the launch well, but its glowing Voronoi circuitry was busy enough that every
block of text needed a heavy blurred panel to stay readable.

It has been replaced with an original animation: a nebula depth field. Three
layers of procedurally generated clouds drift at different scales and speeds so
that nearer wisps pass in front of more distant ones, with sparse stars scattered
between them. The palette is drawn from this site's own cyan, with occasional
pockets of pink. Nothing in it moves quickly — the whole pattern takes the better
part of a minute to turn over — which is the point. It should read as depth
behind the writing rather than something competing with it.

The new shader is fully procedural, so it no longer needs the noise texture the
old one sampled for its colors. Credit for the original effect stays where it is;
it was a good place to start from.]]></content:encoded>
        </item>
    </channel>
</rss>