Skip to content
Back to skills

Work Tracker

ASecurity

Keep a live local page of the work in a project - what is being done now, what is next, the task tree with branches, progress, and what was done or dropped. If the project you are working in has a `.tracker` folder, you MUST keep it current through this skill, every time work starts, finishes, pauses, branches or is dropped, without being asked. Also use when the user asks to start a tracker, a work board, a task page, or "track this".

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsgobashnodeawsgitapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned December 6, 2026

npx -y skills add apresmoi/skills --skill work-tracker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Work Tracker?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Work Tracker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/apresmoi-work-tracker/badge)](https://www.skillsdirectory.com/skills/apresmoi-work-tracker)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: work-tracker
description: Keep a live local page of the work in a project - what is being done now, what is next, the task tree with branches, progress, and what was done or dropped. If the project you are working in has a `.tracker` folder, you MUST keep it current through this skill, every time work starts, finishes, pauses, branches or is dropped, without being asked. Also use when the user asks to start a tracker, a work board, a task page, or "track this".
---

# work-tracker: an event history that draws itself

A project with a `.tracker/` folder is a tracked project. Record every change
of work there as it happens. The user watches the page instead of asking for status.

```
track.mjs --append-->  .tracker/events.jsonl   (the history, only ever grows)
                 \-->  .tracker/events.js      (same rows, rebuilt for the page)
                       .tracker/index.html     (reloads events.js every 3 s)
                       .tracker/icons/         (provider logos for the page)
                       .tracker/inbox.js       (only while `inbox` waits for answers)
```

`T` below means `node ~/.claude/skills/work-tracker/scripts/track.mjs`.
Run it from anywhere inside the project.

## Start a tracker

```bash
T init --name "My project"     # creates .tracker/, adds it to .git/info/exclude
open .tracker/index.html       # plain file, no server
```

`init` on an existing tracker only refreshes the page and keeps the history.
The folder is ignored through `.git/info/exclude`, so it never reaches a commit
and the shared `.gitignore` stays untouched.

## Record work

```bash
T add data "Build the dataset" --status working
T add data-edges "Sample edge cases" --parent data      # a branch of `data`
T set data-edges done --note "all 40 cases pass"
T set old-idea dropped --note "no gain over baseline"
T note data "Half of the files processed" --progress 50
T show                                                   # the tree as text
```

`add`, `set` and `note` also take:

| Flag | Use |
|---|---|
| `--desc "..."` | What the task entails: a one-line TLDR, then at most 3 short bullets on their own lines. Set it when adding. |
| `--agent NAME` | Who is doing it (you, a subagent, a remote runner). Set it when work starts. |
| `--model NAME` | The model doing it, such as `claude-opus` or `gpt-5`. Use `provider:model` for names the page cannot place. Set it for every delegated task. |
| `--tokens N` | Tokens spent since your last report (`1500`, `12k`, `1.2M`). They add up. Report them when a task or subagent run ends. |
| `--pr URL` | The pull request that delivered it. Set it when marking `done`. |

`T budget claude 300M` sets a provider's token budget, so the page can show the
percent of that subscription used. Without a budget it shows each provider's share of the spend.

## Ask the owner

```bash
T ask data "Keep the old files?" --options "keep|delete|archive"   # sets the task waiting
T ask name "What should we call it?"                                # no options: free text only
T inbox                                                             # waits, prints the answers, exits
```

The page shows the questions one at a time in the waiting box (`3 of 11`, prev and next, arrow keys,
1-9 to pick), each with its options and a box for detail. Picking an option moves to the next unanswered one.
Once every question has an answer they are sent at once; before that, `send answers (n)` sends the ones so far.
A send records an `answer` row per task
and `inbox` prints one line each (`data: Keep the old files? -> archive; only the 2024 ones`), then exits.
`inbox` listens on 127.0.0.1 only and needs the token it writes to `inbox.js`, so other web pages cannot post.
An answered task shows as answered, waiting on the agent, until its status changes.

Time is measured for you: from the first `working` to the status that ends it.

| Status | Meaning |
|---|---|
| `planned` | Known, not scheduled |
| `next` | Up after the current work |
| `working` | Being done right now |
| `paused` | Started, set aside |
| `waiting` | Blocked on the user |
| `stopped` | Ended early, may resume |
| `dropped` | Abandoned, with the reason in the note |
| `done` | Finished and verified |

## Agent tokens are counted for you

Every recorded event also recounts what coding agents spent in this project since the
tracker started, read from their own session logs on this machine (Claude Code and Codex).
Only counts are copied into `.tracker/usage.js`; prompts and replies are never read out.
`T usage` recounts on demand. Use `--tokens` only for work those logs cannot see,
such as API calls, remote jobs or other tools.

## Rules

- Never edit or delete rows in `events.jsonl`. A correction is a new row.
- Ids are short, stable and lowercase with dashes. Titles are plain words.
- A new direction that grows out of a task is a child (`--parent`), not a rename.
- Mark `done` only after checking the result. Put the proof in the note.
- When work is dropped or stopped, the note says why in one line.
- Keep one `working` task per active line of work, and at least one `next`.
- Notes are short facts. Never put secrets or private data in them.
- Write for a skim, never a paragraph. A `waiting` task reads: TLDR line, one bullet per option in
  plain words (what it does), then the decision needed. Prefer `T ask` with `--options` for choices.
- Every `T ask` gets a `--desc` the owner can decide from with no other context: what it is, what each
  option changes, and your pick with its reason, in plain words. The page shows it under the question.
- When a task waits on the owner with a question, keep `T inbox` running as a background command.
  Its exit brings the answers. Act on them, change the task's status, and start it again while questions remain.

## What the page shows

- Waiting on you: a highlighted box at the top and a count in the browser tab title.
  Questions show one at a time with their options and a detail box; sending says when the agent is not listening and keeps the answers.
- A live mark with how long ago the last change was; it turns orange if the file stops loading.
- A summary: percent done, a stacked bar (done, working, next), counts by status, total tokens, time worked,
  and tokens per provider with the percent of its budget.
- Work tree tab: status, model, agent, time, tokens and pull request on every line.
  A parent's tokens include its subtasks.
  Runs of finished siblings fold into `[✓ n done]`; click to open them.
  Click a task to read its description and notes.
- History tab: every event, newest first, one line each with model and tokens.
  Click a row for the full note and where the task sits in the tree.
- Spending tab: tokens per model, split into main chat and subagents, plus tokens reported by tasks.
- A search box filters the tree and the history (press `/`).

Tests: `node --test scripts/track.test.mjs`. Needs Node 20 or newer, no packages.

Files in this skill

  • SKILL.md6.8 KB
  • assets/icons/claude.svg3.9 KB
  • assets/icons/deepseek.svg2.8 KB
  • assets/icons/gemini.svg10.1 KB
  • assets/icons/grok.svg1.2 KB
  • assets/icons/openai.svg1.7 KB
  • assets/index.html33.5 KB
  • scripts/track.mjs12.5 KB
  • scripts/track.test.mjs6.7 KB
  • scripts/usage.mjs5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.