Skip to content

The Claude Code plugin

The plugin teaches Claude Code to use timber: to set a repository up for it, to read what each landing published and where it stands, and to never publish any other way. It lives in timber’s own repository, so it changes with the commands it describes. Like everything here it is designed, not built; the page says what it will do.

Claude Code with the /timber pane docked on the right. The agent ran sluice submit main, then timber publish 9f3e21c --json, whose answer shows version 1.5.0, the index digest, the @acme/ui npm package and acme-api image with their digests, the claims attached and beta moved to 1.5.0 by rule; its npm publish was refused by the hook. The pane lists the channels beta 1.5.0 and stable 1.4.0, the environments laptop, staging and prod with prod waiting on an approval, one refusal of 1.4.3 for stable, and no publish in flight; the band above the prompt and the status line below it. Claude Code with the /timber pane docked on the right. The agent ran sluice submit main, then timber publish 9f3e21c --json, whose answer shows version 1.5.0, the index digest, the @acme/ui npm package and acme-api image with their digests, the claims attached and beta moved to 1.5.0 by rule; its npm publish was refused by the hook. The pane lists the channels beta 1.5.0 and stable 1.4.0, the environments laptop, staging and prod with prod waiting on an approval, one refusal of 1.4.3 for stable, and no publish in flight; the band above the prompt and the status line below it.

At the prompt of a Claude Code session in a terminal:

/plugin marketplace add boomdrivedev/timber
/plugin install timber@timber

The first line adds the repository’s marketplace, named timber; the second installs the plugin from it. Choose the user scope to have it in every session.

In a repository sluice already lands, ask:

set up timber here

Claude checks for the timber binary first and shows how it would install it before it does. Then it reads what the repository already declares and proposes a .config/timber.toml to match:

  • what the repository publishes: each workspace member the ecosystem itself marks public, each moon task whose outputs are a package, image, template or site bundle, and the projection each takes;
  • the version rule, git-cliff over conventional commits unless the repository has another;
  • the store, the one the owner names, an OCI registry or a layout on disk;
  • the signers, and what each may claim: the host’s key for verdicts and provenance, a fleet’s key where one builds, a reviewer’s identity where the policy wants an approval;
  • the policies: what acceptance requires, what beta and stable require, what a consumer layout requires;
  • the channels and the environments that follow each, and whether each moves on its own or waits.

It shows the file, asks what to change, and ends by publishing the branch’s last landing through timber and reading the answer back, so the setup is proved by one real publish before the session ends.

In a repository with a .config/timber.toml, Claude:

  • never runs an ecosystem’s own publish command: for npm, npm publish, pnpm publish, yarn publish, yarn npm publish or bun publish; for Cargo, cargo publish; for Maven, mvn deploy or gradle publish, and their mvnw and gradlew wrappers; for Python, uv publish, poetry publish, hatch publish, flit publish or twine upload; for NuGet, dotnet nuget push or nuget push; for an image, docker push or podman push. A hook refuses each and names timber publish, which is the only way bytes leave the repository, and only for a revision sluice has landed. The hook reads only whether the repository’s HEAD holds .config/timber.toml, never the file itself.
  • reads the publish’s answer after its submission lands: the version, the index digest, each artifact’s digest, and which claims were attached. The answer is JSON, so the agent quotes digests rather than guessing them.
  • runs timber sync in a fresh worktree before it installs, so the first-party packages its lockfile pins are there with no registry login, and reads any refusal the sync prints with the claim found wanting.
  • asks timber status --json before it reasons about what is released or running where, and timber verify <ref> --policy <audience> --json before it tells a person a version is good.
  • never promotes. A promotion is an approver’s act, made from the herdr pane or the command line by a person, or by a rule the policy names.

At a session’s start the plugin prints two lines: what the repository publishes and which channel its last landing reached, and whether any environment that follows a channel is behind its head. /timber opens the same status as a pane beside the conversation: channels with their heads, environments with what each should run and runs, the last refusals, and a publish in flight with its progress.