---
name: project-tracker
description: "Sets up, shows, changes, or checks which tracker holds each kind of work."
---

# Project tracker

Records which issue tracker holds each level and category of work, so `issue`, `epic`, and `initiative` file where the team decided and never guess. The record is the project's `project-tracker.routing` reference. This skill writes and checks it; the level skills read it. Without a routing, the level skills use the host's tracker, so a routing exists only for a different tracker or for work split across trackers.

Use when asked to set up where issues go, route bugs and features to different trackers, show the tracker routing, change which tracker holds something, or check that the routing still works. This skill does not file, move, or retype an item (that is `issue` and `epic`), and it writes no capabilities reference for a tracker.

## References

Each `reference <subcommand> ...` here is the `reference` command of `cyber-agentkit`, not a program on PATH. Run it as the `Run the command` section of that plugin's `reference` skill (`cyber-agentkit:reference` in Claude Code) says: `node <reference skill folder>/scripts/reference.mjs <subcommand> ...`, or the `npx -y cyber-agentkit@<version> reference` form it gives when the script cannot start. The command **cannot run** when neither starts.

Load `project-tracker.capabilities.interface` and `project-tracker.routing` with the `reference` skill of `cyber-agentkit`:

- `project-tracker.capabilities.interface`: the formats of the `Routes` and `Moves` tables (its `Routing` section), and which versions it knows.
- `project-tracker.routing`: the project's current routing, when it exists.

When a load warns `reference-legacy-format` or `reference-renamed`, a file is in a cyber-agentkit 1 form or under an old name: run `reference migrate` with the `reference` skill in the `cyber-agentkit` plugin, show the user its plan, and run it again with `--write` only on their yes. Then go on with the reference as loaded.

When the `reference` command cannot run, at any step of any mode, say it is needed and stop: nothing can be listed or read, so write nothing.

## Modes

Pick the mode from the request. With none clear, ask.

The **host tracker** is the tracker the level skills use when no routing exists: GitHub when the host of `git remote get-url origin` is `github.com`, GitLab when it is `gitlab.com` or a host `glab auth status --hostname <host>` accepts. Any other host, Bitbucket included, has no host tracker: its work needs a routing.

For show, change, and check: when `reference load project-tracker.routing --format json` reports status `missing`, write nothing. With a host tracker, say no routing exists and that work goes to the host tracker by default, naming it and its source (for example "GitHub, from the origin host"); for change, offer set-up to send some or all work elsewhere. With no host tracker, say no routing exists and nothing can be filed until one does, and offer set-up.

### Set up

1. When a routing exists, show it, offer **Change**, and write nothing.
2. Read the host tracker, as [Modes](#modes) says.
3. List what is installed: run `reference search project-tracker.capabilities`. Keep only hits whose `match` is `prefix`; drop the interface itself, `project-tracker.capabilities.interface`, and every other hit.
4. Run `reference load <name> --format json --metadata` on each kept name and read the version in `metadata`: `implements` (`project-tracker.capabilities@<version>`), or `contract` when there is no `implements`. When it is missing or is not a version `project-tracker.capabilities.interface` declares, leave that tracker out of the choices and say which one and why.
5. When nothing is left, say no capabilities reference is installed and write nothing. With a host tracker, add that work goes to it by default and needs no routing.
6. Build a draft from what can be read, before asking anything. The draft picks only among the trackers kept in step 4; it never names one that is not installed. Read these signals:
   - **Host**: the host tracker from step 2. The kept tracker whose `Detect` matches the host is its reference.
   - **Linked**: for each kept tracker, whether its `Detect` section resolves a scope for this repository (for Asana, a configured project), as opposed to the tracker being installed only. Run only the checks `Detect` names and write nothing.
   - **What it holds**: the levels, categories, and visibility in its `Tracker` section, and the issue types its `Kinds` section reads. A level or category no tracker holds stays out of the draft.
   - **What the repo says**: a line in `AGENTS.md` or `CLAUDE.md` that names where work goes, such as "Use GitHub issues for feature planning by default". Count it only when it names a kept tracker.

   Show each route with the signal behind it, and say which kept trackers are installed but not linked. Ask a question only where signals conflict (a linked tracker and a different host tracker, or a repo line against the host) or say nothing (no host tracker, no linked tracker, no repo line); a route all signals agree on is not asked.
7. When the host tracker is the only signal, or every route the draft holds goes to it, say that tracker is already used by default, name any kept trackers that are installed but not linked, and write nothing: a routing is written only for a tracker other than the host's, or for work split across trackers. A request that names a different tracker or a split goes on.
8. Ask only what the draft left open: which tracker holds each level and category where signals conflict or were silent. Read the visibility, levels, and categories each tracker holds from its `Tracker` section. In set-up, when the answers send every route to the host tracker, stop as step 7 says.
9. Pin each choice. A name that came back as `<plugin>/<name>` is already a pin; when two plugins ship the tracker, list both and ask which, then pin that one. A bare name: run `reference where <name>` and pin `<plugin>/<name>` with the plugin its `used` list names. A tracker that only the project's own `.agents/references/` defines has no plugin: pin the bare name.
10. Ask what happens to the source when an item moves between each pair of routed trackers that has no `Moves` row yet: `moved` (close the source as moved) or `mirror` (keep it open). Offer `moved` as the default. Never ask for or write a row that moves an item from a private tracker to a public one (see `Routing` in `project-tracker.capabilities.interface`): refuse that pair and say a private tracker's details do not go into a public one.
11. Show the routes and moves in plain words, with the signal behind each route, and ask for one confirmation covering the draft and the answers. When declined, write nothing and say so.
12. Write the content to a temporary file in the format `project-tracker.capabilities.interface` gives (specific rows first, a catch-all last), then run `reference create project-tracker.routing --template <file>`. It writes `.agents/references/project-tracker.routing.md` and never overwrites.

### Show

Describe each route as a level and category going to a tracker, and each move as closing or keeping the source. Write nothing.

### Change

Ask which levels or categories change, then run set-up steps 2 to 6 and 8 to 11 for them: list the trackers again, ask only about the levels and categories named, and ask the move policy only for pairs with no row yet. Write the whole routing back with every route and move the user did not touch unchanged: `reference create` never overwrites, so replace the file at the path of the `repo` entry in the `files` that `reference where project-tracker.routing` prints.

### Check

Write nothing. Walk every route: run `reference load <pin> --format json --metadata` and note each problem with its route and pin, without stopping at the first. Then check coverage once. Report all the notes together:

- **missing**: status `missing`, code `reference-missing`.
- **ambiguous**: status `ambiguous`, code `reference-ambiguous`; list the qualified names in `options`.
- **unknown version**: neither `implements` nor `contract` in `metadata` gives a version `project-tracker.capabilities.interface` declares; name the tracker and the version.
- **uncovered**: a level and category (any of issue, epic, initiative with bug, feature, task) that no route matches.
- **stale**: a route that the signals in set-up step 6 no longer support. Re-read them and report: a route to a tracker whose `Detect` no longer resolves a scope for this repository (for Asana, the project link was removed), or a catch-all route to a tracker other than the host's while no other signal supports it, such as a pinned host tracker that no longer matches `origin`. Name the route and the signal that changed. Report it as a note only: the routing may be deliberate.

When there are none, say the routing is clean. With no routing, check reports the host tracker in use and no problem, as [Modes](#modes) says; only a host with no host tracker makes a missing routing a problem. Suggest **Change** for any problem.

## What NOT to Do

- Do not file, move, or retype an item
- Do not write a capabilities reference for a tracker
- Do not name a tracker yourself: draft only among the installed capabilities references, and only with confirmation
- Do not write the routing without the user's confirmation
- Do not write a move from a private tracker to a public one

## Validate

- [ ] The description in the frontmatter is at most 120 characters, and `name` equals the directory name
- [ ] Trackers were listed by the `project-tracker.capabilities` prefix and only `match: prefix` hits were kept
- [ ] The draft named only trackers from the kept installed references, each route with its signal
- [ ] No routing file was written without the user's confirmation, and no question was asked about a route all signals agreed on
- [ ] No routing was written that sends all work to the host tracker
- [ ] With no routing, show and check named the host tracker in use, and check reported no problem when the host has one
- [ ] No `Moves` row goes from a private tracker to a public one
- [ ] Check wrote no file, and reported a stale route as a note
