Tracker plugins
Connect your coding agent to Tracker, the record
of what humans asked for, what agents asked back, what agents decided on their
own, and what got built and shipped.
With a plugin installed, your agent:
- starts every session with context: the work item, your original words, the decisions that bind it, and any open questions;
- asks instead of guessing: gaps it won't fill alone become questions in your Tracker inbox;
- records what it decided on its own, so you can review, accept or override it;
- captures your prompts word for word, so later decisions can point at what you actually said.
Quickstart
- Sign in at https://tracker.zagware.io with GitHub. To track your own repos, install the Tracker GitHub App from Settings → GitHub.
- Install the CLI that the hooks use (Node 24.22.1 or later):
npm i -g https://tracker.zagware.io/downloads/trk.tgz
trk login # continue in the browser only if the code matches your terminal
- Install the plugin for your tool (table below).
- Bind the repo you're working in to a project, and optionally to a work item:
trk use <project> [WRK-n]
- Start a session. The agent receives the context pack, and your prompts appear as human input on the work item in Tracker.
Install
| Tool | Install | Hooks |
|---|
| Claude Code | claude plugin marketplace add zagware/tracker-plugins && claude plugin install tracker@zagware-tracker | SessionStart, UserPromptSubmit, Stop, SessionEnd |
| omp | omp plugin marketplace add zagware/tracker-plugins && omp plugin install tracker@zagware-tracker | Extension: session_start, input, session_stop, session_shutdown |
| Gemini CLI | gemini extensions install https://github.com/zagware/tracker-plugins | SessionStart, BeforeAgent, AfterAgent, SessionEnd |
| Cursor | clone once, then in your repo cp -Rn ~/.tracker-plugins/cursor/.cursor . | sessionStart, beforeSubmitPrompt, stop, sessionEnd |
| Codex | clone once, then in your repo cp -Rn ~/.tracker-plugins/codex/.codex . && cat ~/.tracker-plugins/codex/AGENTS.md >> AGENTS.md && codex mcp login tracker | SessionStart, UserPromptSubmit, Stop, SessionEnd |
| VS Code + Copilot | clone once, then in your repo cp -Rn ~/.tracker-plugins/vscode-copilot/.vscode ~/.tracker-plugins/vscode-copilot/.github . | SessionStart, UserPromptSubmit, Stop (Copilot hooks, Preview; no session end with a transcript) |
"Clone once" means git clone --depth 1 https://github.com/zagware/tracker-plugins ~/.tracker-plugins.
Cursor, Codex and Copilot read their configuration from each repository, so those files are copied rather than installed.
Auth
- OAuth (default). Every tool above supports remote MCP sign-in. The server URL
https://tracker.zagware.io/mcp is all it needs; you approve the agent once in the browser. Revoke it in Settings → Agents.
- API token. In Settings → Agents, add the agent (or pick it) and issue it a token, export it as
TRACKER_TOKEN, and send Authorization: Bearer $TRACKER_TOKEN. Each tool's README shows where the header goes.
trk as the agent. trk login --agent omp (or --agent claude-code, …) stores a token for that agent. trk commands run inside that tool then record as it, not as you; hooks keep using your own token.
Every agent acts with its own credential, so its writes show as that agent, verified. A name an agent only reports itself (a commit Agent: trailer) shows as claimed.
Sign commits as the agent
trk agent-key <agent> creates an SSH signing key for the agent under ~/.config/trk/keys/, prints the public key to register in Settings → Agents → Signing keys, and prints the git settings that make that tool's commits signed with it. They are environment variables (GIT_CONFIG_COUNT, GIT_CONFIG_KEY_n, GIT_CONFIG_VALUE_n), so only that tool's commits are signed; your git config is untouched. Tracker checks the signature of every pushed commit: one signed with a registered key shows as that agent, verified. The omp plugin sets these variables itself once the omp key exists.
To check a commit locally, git log -1 --format=%G? needs gpg.ssh.allowedSignersFile listing the key; without one git prints N (no signature) even for a signed commit. git cat-file commit HEAD shows the gpgsig header either way.
How the hooks behave