Tinker Command Center
One of dozens of skills and plugins in TinkerClaw — a self-improving OpenClaw fork that's been running 24/7 for months.
Your $200 Opus session didn't have to happen.
The bill tells you how much. It never tells you which file, which tool call or which forgotten paste did it.
Tinker draws the whole conversation as a map. The biggest box is the thing eating your money, and you see it while the agent is still talking. Next to the map you get what each reply cost, how much of your plan is left, and when it resets. It is also a complete chat window, so you can work in it all day instead of opening it after the damage.
Part of TinkerClaw — real-time token tracking, self-improving crons, persistent cognitive memory. This is one piece of that stack; the repo has dozens more.
👉 https://github.com/globalcaos/tinkerclaw
Clone it. Fork it. Break it. Make it yours.
What Tinker shows
- Context treemap. Your context window as nested boxes: system prompt sections, conversation history, tool results. Click down from a category to a message to its raw text.
- Response treemap. The same picture for the model's output: text, thinking and tool calls, one per model call inside a run.
- Context timeline. How full the window was at each call, so you see the moment it jumped.
- Usage and budget. Token use per provider, and the rate-limit windows with a countdown to the reset, for the providers whose usage your gateway can read.
- Multi-call runs. When the agent loops through tools, each call's context and cost is listed on its own line.
- Chat. Session switching, tool calls you can open inline, and streaming replies. It sends messages, so it is a working client.
Install
This skill contains only this document. Tinker is a bundled plugin in TinkerClaw, the publisher's own OpenClaw fork (github.com/globalcaos/tinkerclaw). The commands below take one exact, immutable public commit and not a moving branch, so what you build is what that commit contains. Read it there before you build.
# The publisher's own repo, pinned to an exact commit
git clone https://github.com/globalcaos/tinkerclaw.git tinkerclaw
cd tinkerclaw
git checkout --detach ca099ed018111d6aff47a9f4a4849872a4f64805
git rev-parse HEAD # must print ca099ed018111d6aff47a9f4a4849872a4f64805
# Install exactly the committed lockfile
pnpm install --frozen-lockfile
# Build the gateway, then the Tinker UI (the root build does not include it)
pnpm build
pnpm --filter tinker-ui build
Node 22.14 or newer. pnpm install runs the repo's own preinstall, postinstall and prepare scripts from package.json: a package-manager warning, the bundled-plugin setup, and core.hooksPath pointed at git-hooks/. Dependency build scripts are limited by the onlyBuiltDependencies allowlists. The commit has two that differ: pnpm-workspace.yaml adds @napi-rs/canvas, package.json adds @tloncorp/tlon-skill.
Tinker is then served at http://localhost:18789/tinker/. With default gateway settings the gateway rejects any /tinker/ request (including /tinker/login) that lacks Authorization: Bearer <gateway token>, so a plain browser tab gets 401. The browser login works only when gateway.controlUi.dangerouslyDisableDeviceAuth is true; the next section says what that opens.
What it touches
All of this is in the pinned commit, in extensions/tinkerclaw-tinker/index.ts and tinker-ui/.
- Network: the page opens one WebSocket and its HTTP calls to your own gateway (port 18789 by default). Tinker adds no external service. Messages you send are handled by your gateway like any other chat.
- Auth, default settings: the route is registered
auth: "gateway", so every/tinker/request needs the gateway token as a Bearer header. - Auth,
dangerouslyDisableDeviceAuth: true: the route is registeredauth: "plugin". The HTML page,/api/seat,/api/ui-stateand/api/jarvis-voice/*ask for the token (header or login cookie). These answer without it:/api/kit-content,/api/save-file,/api/media, the generic/api/*?path=file reader,/api/jarvis-muteand/api/context-anatomy/*(recorded prompts and responses). The last two also sendAccess-Control-Allow-Origin: *. Use that setting only on a gateway bound to loopback on a machine nobody else logs in to. - Reads: the context-anatomy SQLite data.
/api/mediaand the generic/api/*reader resolve the real path first and allow only~/.openclaw,~/src/tinkerclaw,~/src/jarvis-icu,~/Documents,~/Downloads,~/Desktopand~/Pictures, up to 25 MB for an image and 512 KB for a text file./api/kit-contentallows only~/src/tinkerclawand~/.openclaw/workspace/kits, up to 512 KB. - Writes: per-seat UI state and operator names under
~/.openclaw, the mute flag at~/.openclaw/data/jarvis-muted.json, and phone-presence markers under~/.openclaw/data/jarvis-voice./api/save-filewrites only inside~/src/tinkerclaw,~/.openclaw/workspace/kitsand~/.openclaw/recipes; it collapses..and follows symlinks before it compares the path.
Layout (at the pinned commit)
tinker-ui/ ← Vite + Lit app
├── src/app.ts ← Main shell: sidebar, panels, WebSocket client
├── src/panels/context-treemap.ts ← What fills your context window
├── src/panels/response-treemap.ts ← What each response costs
├── src/panels/context-timeline.ts ← Context usage over time
├── index.html
└── vite.config.ts ← base /tinker/, dev port 18790
extensions/tinkerclaw-tinker/ ← OpenClaw plugin: serves tinker-ui/dist under /tinker/
├── index.ts
└── openclaw.plugin.json
Pairs Well With
- token-panel-ultimate — collects the usage numbers on a machine where you do not run the full UI
- smart-model-router — once you see which calls cost the most, this decides which model gets them
Changelog
- 1.0.5 — The pinned commit is now
ca099ed…, which is on GitHub; the one named in 1.0.4 never was. That commit also confines/api/kit-contentand/api/save-file, so the warning about..paths is gone and the folder list is updated. Removed the price table (provider prices move faster than this page) and thepnpm devline, which the commit does not have. - 1.0.4 — Corrected What it touches: which endpoints skip the token when
dangerouslyDisableDeviceAuthis on, the login page behind the Bearer gate in default mode, and the two differingonlyBuiltDependencieslists. - 1.0.3 — Install pins the publisher's own repo to an exact commit and uses the committed lockfile; the UI build step is spelled out; the "read-only" and "no data leaves your machine" claims are gone.
