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.
Install
Section titled “Install”At the prompt of a Claude Code session in a terminal:
/plugin marketplace add boomdrivedev/timber/plugin install timber@timberThe 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.
Set up a repository
Section titled “Set up a repository”In a repository sluice already lands, ask:
set up timber hereClaude 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
betaandstablerequire, 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.
What your agents do with it
Section titled “What your agents do with it”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 publishorbun publish; for Cargo,cargo publish; for Maven,mvn deployorgradle publish, and theirmvnwandgradlewwrappers; for Python,uv publish,poetry publish,hatch publish,flit publishortwine upload; for NuGet,dotnet nuget pushornuget push; for an image,docker pushorpodman push. A hook refuses each and namestimber 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 syncin 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 --jsonbefore it reasons about what is released or running where, andtimber verify <ref> --policy <audience> --jsonbefore 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.
What a session sees
Section titled “What a session sees”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.