Add a row to my personal Google Sheet project tracker from any project, or scan this Mac's git work to propose row updates and new rows (--scan). Use when the user wants to log a project update, record progress, "add to the tracker", or bring the tracker up to date from their repositories.
Resources
9Install
npx skillscat add danwright32/claude-config/tracker Install via the SkillsCat registry.
/tracker
Append a row to the personal project-tracker Google Sheet, Dan Work Project Tracker
(https://docs.google.com/spreadsheets/d/1aFt8ks89lkzLVUF0pf4Aj8Pi9B5TOcqCj-8WkUQsN3w/edit,
owned by Dan's personal Google account), without leaving the terminal. Drive also holds
a second sheet named "Dan Work Project Tracker", and it is not the one: always open the sheet
by this link, never by searching Drive for the name (Dan confirmed this one on 2026-10-08).
Writes go through a Google Apps Script web app bound to the sheet (a token-guarded
POST endpoint, the token always in the request body, never the address), so no Google
credentials are stored locally and the skill works from any project on any machine.
Usage
/tracker # gather the update conversationally, then append a row
/tracker finished the auth flow for Bidspoke, still need tests
/tracker --setup # one-time setup (deploy the web app, save config)
/tracker --rotate # replace the token (see "Rotating the token")
/tracker --headers # just print the sheet's column names
/tracker --scan # find git work on this Mac, propose row updates and new rowsRows can also be changed in place by their Link (tracker.sh update, see "Updating a row in
place"), once the deployed script has update ("Turning on update").
First run / setup (--setup)
If config.local.json is missing, the skill is not configured. The token that guards writes
lives ONLY in config.local.json: never write it into this file, a commit, a command, or the
chat. Walk the user through this once:
- Run
bash tracker.sh new-token. It createsconfig.local.jsonfromconfig.example.json
and writes a fresh random token into it, printing only the file's path, never the token. - Tell the user BBEdit is about to come forward, then open the file for them:
/Applications/BBEdit.app/Contents/Helpers/bbedit_tool --front-window ~/.claude/skills/tracker/config.local.json - Open the sheet, Dan Work Project Tracker, by its link (not the other sheet of the same
name): https://docs.google.com/spreadsheets/d/1aFt8ks89lkzLVUF0pf4Aj8Pi9B5TOcqCj-8WkUQsN3w/edit
Then Extensions, Apps Script. - Delete any boilerplate and paste the entire contents of
apps-script.gs(in this skill dir). - In the pasted code, replace
REPLACE WITH A LONG RANDOM STRINGwith thetokenvalue fromconfig.local.jsonin BBEdit, keeping the single quotes around it. - Click Deploy, New deployment, Web app.
- Execute as: Me
- Who has access: Anyone (the token guards writes; without it requests are rejected)
- Authorize when prompted, then copy the Web app URL (ends in
/exec) and paste it over
theurlplaceholder inconfig.local.json, then save.
Then verify with bash tracker.sh headers: it should print the sheet's column names. Until
both values are filled in, tracker.sh refuses and names the one still missing or still a
placeholder. Every command that reaches the web app (headers, append, update) also checks
that it is attached to the sheet linked above, and refuses with different sheet when the link
in config.local.json came from another sheet's script.
Never make a second deployment. A new deployment gets a new
/execlink, whileconfig.local.jsonkeeps the old one, and the old deployment goes on answering with the old
code, so the change seems to do nothing (on 2026-10-12 a link from another sheet's script
answered for weeks, claude-config#1080). To change the script, always edit the existing
deployment: Deploy, Manage deployments, the pencil (Edit), Version: New version,
Deploy. The/execlink then stays the same.
Turning on update (one time, after claude-config#1031)
"Turning on the sheet check" below deploys the same current script, so once it is done, so is this.
tracker.sh update needs the deployed script to be the current apps-script.gs, which has theupdate action. A deployment made before #1031 does not, and is also older than the sheet check,
so tracker.sh refuses it with did not say which sheet it is attached to before sending any
update. Do this once, on one Mac; the /exec URL and the token stay the same:
- Open the sheet, Dan Work Project Tracker, by its link (not the other sheet of the same
name): https://docs.google.com/spreadsheets/d/1aFt8ks89lkzLVUF0pf4Aj8Pi9B5TOcqCj-8WkUQsN3w/edit
Then Extensions, Apps Script. - Select all the code there and paste the entire contents of the current
apps-script.gs
over it. - Tell the user BBEdit is about to come forward, then open
config.local.jsonwith the
command in setup step 2. In the pasted code, replaceREPLACE WITH A LONG RANDOM STRING
with thetokenvalue from that file, keeping the single quotes around it, and save. - Deploy, Manage deployments, the pencil (Edit), Version: New version, Deploy.
- Check it, without changing anything, by asking to update a Link no row has:
bash tracker.sh update 'https://example.invalid/check-update' 'Check' '{"My Actions":"x"}'
The answerno row has the Link https://example.invalid/check-update; nothing was changed
means update is live.did not say which sheet it is attached tomeans the deployed script is
older than the currentapps-script.gs(step 4 did not deploy a new version, or the link inconfig.local.jsonbelongs to a script in another sheet): see "Turning on the sheet check"
below.bad tokenortoken not setmeans the TOKEN line does not hold the token fromconfig.local.json: set it as in step 3 and deploy a new version again.
Turning on the sheet check (one time, after claude-config#1080)
Every tracker.sh command that reaches the web app (headers, append, update) first asks it
which sheet its script is attached to, and refuses unless it is the sheet linked at the top of
this file, so a link deployed from another sheet's script can never write there. A script
deployed before claude-config#1080 cannot say which sheet it is attached to, so until it is
redeployed each of those commands refuses withdid not say which sheet it is attached to. Do this once, on one Mac; the /exec link and the
token stay the same:
- Open the sheet, Dan Work Project Tracker, by its link (not the other sheet of the same
name): https://docs.google.com/spreadsheets/d/1aFt8ks89lkzLVUF0pf4Aj8Pi9B5TOcqCj-8WkUQsN3w/edit
Then Extensions, Apps Script. - Select all the code there and paste the entire contents of the current
apps-script.gs
over it. - Tell the user BBEdit is about to come forward, then open
config.local.jsonwith the
command in setup step 2. In the pasted code, replaceREPLACE WITH A LONG RANDOM STRING
with thetokenvalue from that file, keeping the single quotes around it, and save. - Deploy, Manage deployments, the pencil (Edit), Version: New version, Deploy.
Never New deployment: that makes a new/execlink, whichconfig.local.jsondoes not
hold, and leaves the old link answering with the old script. - On each Mac, check it with
bash tracker.sh headers. The column names mean that Mac's link
answers for this sheet.different sheetmeans that Mac'sconfig.local.jsonholds a link
deployed from another sheet's script: in this sheet's Deploy, Manage deployments, copy
the active deployment's Web app URL, paste it over theurlvalue inconfig.local.json
(opened as in step 3), save, and check again.did not say which sheetmeans step 4 did not
deploy a new version, or the link belongs to an older script in another sheet: check both.
Rotating the token
When the token may have been seen (it was once committed to this public repository,
claude-config#675), replace it in both places:
- Run
bash tracker.sh new-token. It keeps theurlalready inconfig.local.json(or
creates the file from the example) and replaces only the token. - Tell the user BBEdit is about to come forward, then open
config.local.jsonwith the
command in setup step 2. - Open the sheet, Dan Work Project Tracker, by its link (not the other sheet of the same
name): https://docs.google.com/spreadsheets/d/1aFt8ks89lkzLVUF0pf4Aj8Pi9B5TOcqCj-8WkUQsN3w/edit
In its Extensions, Apps Script, replace the value inside the quotes on theconst TOKEN = '...';line with the newtokenfromconfig.local.json, and save. If the
deployed script predates claude-config#675 (it reads the key from the address, and its body
field istoken), paste the whole currentapps-script.gsfirst, then set the line: this
skill speaks only to the current script, and the two refuse each other withbad token. - Deploy, Manage deployments, the pencil (Edit), Version: New version, Deploy.
The/execURL stays the same; ifconfig.local.jsonhas nourlyet, copy it from this
dialog into the file and save. - Verify with
bash tracker.sh headers. Abad tokenanswer means the script and the file
still disagree, or the new version was not deployed. Atoken not setanswer means the
deployed script still holds the placeholder: it refuses everything until the TOKEN line is
changed.
config.local.json is per Mac and never synced, so a second Mac needs the same file: copy it
across by hand (AirDrop), never through the repository.
Appending a row (default)
- Read config: confirm
config.local.jsonexists. If not, run setup above. Iftracker.shrefuses because a value is missing or still a placeholder, finish setup rather
than working around it. - Discover columns: run
bash tracker.sh headers. This returns the sheet's actual
header row, always use these as the source of truth; don't assume column names. - Build the row from the user's message + the current project context (repo name, what
was just worked on). Map values onto the real headers.- Date Started: do NOT default to today. Determine when the project actually began by
looking back, in this order: (a) the earliest conversation/session about this project,
(b) the repo's first commit (git log --reverse --format=%ad --date=short | head -1),
(c) ask the user. Only use today if the project genuinely started today. - Date Completed: leave blank (
"") unless the project is actually finished. Pass it
explicitly as an empty string so it isn't auto-dated. - Warning: the script auto-fills any empty
date/timestamp/added/updated/created
column with today. Because this sheet has both Date Started and Date Completed,
always set both explicitly (computed start date;""for completed-if-unfinished) so
neither gets a wrong "today". - Send every date as
{"date":"yyyy-mm-dd"}(as in the example below). That is written
as a real date, like the dates already in the sheet, so date columns sort together. Every
other text value is stored as literal text, exactly as sent: a value starting=,+,-or@never becomes a formula, and a date sent as plain"2026-05-20"would stay text. - If a column that clearly needs a value (e.g. Project Name, Problem/Goal) can't be
inferred, ask the user one short question rather than guessing. - Skills Used, never "Claude Code". This column is for resume-grade skills: the actual
technologies, languages, frameworks, and competencies demonstrated (e.g. TypeScript,
Next.js, Cloudflare Workers, Supabase/Postgres, system architecture, REST API design).
Claude Code is the tool used to do the work, not a skill to list. - Link: default to the project's repo URL. Use the current repo's remote
(git remote get-url origin, stripped of a trailing.git) as the Link value. Only leave
it blank or use something else if the project has no git remote or the user specifies a
different URL (e.g. a deploy/dashboard link).
- Date Started: do NOT default to today. Determine when the project actually began by
- Show for approval first (required). Before appending, render the full proposed row to the
user (a table or key:value list of every column) and ask them to approve or tweak it. Do NOT
append until they confirm. Apply any edits they give, then re-show if the changes are
substantial. Only callappendonce they've signed off. - Append: pass a JSON object keyed by header name (case-insensitive). Current columns are
Project Name, Date Started, Date Completed, Problem/Goal, My Actions, Outcome/Results,
When to Check Results, Skills Used, Link, but always re-read viaheadersin case they change.bash tracker.sh append '{"Project Name":"Bidspoke","Date Started":{"date":"2026-05-20"},"Date Completed":"","Problem/Goal":"Ship auth flow","My Actions":"Built login + session handling","Outcome/Results":"Flow works, tests pending","Skills Used":"TypeScript, Next.js, Supabase/Postgres, session auth"}' - Confirm: the script returns
{"ok":true,"rowNumber":N,"row":[...]}. Tell the user the
row was added and summarize what went in. Ifokis false, surface theerror.
Updating a row in place
tracker.sh update '<link>' '<project name>' '<json of header:value>' changes only the named
cells of the one row whose Link is <link>. Every other cell in that row (When to Check
Results, any column added later) is never written. Pass the Link and Project Name exactly as
the sheet shows them; the web app refuses, changing nothing, when:
- no row, or more than one row, has that Link;
- the row with that Link has a different Project Name;
- the sheet changed between finding the row and writing it (a sort, an inserted row or column,
an edit to that row's Link or Project Name): read the sheet again and retry; - a header in the JSON is not a column of the sheet, or is named twice;
- another request is writing the sheet at that moment (
busy): try again.
Always get approval first, as for an append:
- Run the same command with
--preview(shown below). It finds and checks the row exactly as
the update will, writes nothing, and answers{"ok":true,"action":"update","preview":true,"rowNumber":N,"before":{...},"row":[...]},
wherebeforeholds what each named cell holds now. - Show the user the old value (from
before) and the new value of every cell, and get
approval or edits. - Run it without
--preview, adding the preview'sbeforeas a fourth argument. The update
then writes only while every one of those cells still holds what the user approved over; if
someone edited one since, it refuses (now holds ...) and nothing changes: preview again.
The answer,{"ok":true,"action":"update","rowNumber":N,"before":{...},"restore":{...}, "row":[...]}, carries inbeforewhat each changed cell held just before the write, and inrestorethe exact values that put each one back.
Values are written as for an append: a date as {"date":"yyyy-mm-dd"} becomes a real date,
every other text value is literal text (a value starting =, +, - or @ stays that text
and never becomes a formula), and a JSON number or true or false is written as itself.
If writing one cell fails partway (a protected cell, a quota), the cells already written are put
back and the answer says which cell failed; only if putting them back fails too does it list
them, to undo with restore.
To undo, run update --restore with the answer's restore as the cells and, as the fourth
argument, the values the update wrote (what the cells hold now). In restore a formula comes as{"formula":"=..."} and a date as {"date":"2026-11-01"}; restore is the only write that
accepts a formula, and puts it back live. Text stays literal even then. It refuses unless every
cell still holds what the fourth argument says.
bash tracker.sh update --preview 'https://github.com/example-owner/bidspoke' 'Bidspoke' '{"Outcome/Results":"Auth flow shipped, tests passing","My Actions":"Built login, session handling and its tests"}'
bash tracker.sh update 'https://github.com/example-owner/bidspoke' 'Bidspoke' '{"Outcome/Results":"Auth flow shipped, tests passing","My Actions":"Built login, session handling and its tests"}' '{"Outcome/Results":"Flow works, tests pending","My Actions":"Built login and session handling"}'
bash tracker.sh update --restore 'https://github.com/example-owner/bidspoke' 'Bidspoke' '{"Outcome/Results":"Flow works, tests pending","My Actions":"Built login and session handling"}' '{"Outcome/Results":"Auth flow shipped, tests passing","My Actions":"Built login, session handling and its tests"}'Needs the one time redeploy in "Turning on update" above.
Scanning git work (--scan)
/tracker --scan finds the git repositories on this Mac, compares the work in them with the
sheet, and proposes updates to rows the sheet already has and new rows for projects it does not.
Nothing is written until the user has seen and approved each row. Keep the files this flow makes
(the scan, the sheet as read) in the session's scratch folder, never in the skill's folder.
Settings, all optional, live in config.local.json beside the token; the append and update paths
above never read them:
authors: the user's names or emails as git records them. Set by step 1, never typed by hand.scan_roots: the folders to search,~for the home folder. Default: the home folder.scan_window_days: how many days back counts as new work. Default: 30.
Repositories the user never wants offered are listed apart, in scan-state.local.json, bybash tracker.sh ignore-repo '<path>' (undone by bash tracker.sh unignore-repo '<path>'), so
this flow never rewrites the file that holds the token to record them.
- Scan.
bash tracker.sh scan > <scratch>/scan.json. When the scan'sauthorsis empty (the
first run on a Mac), runbash tracker.sh authors-found <scratch>/scan.json, show the
identities it lists (email, name, commits) as a multi select picker asking which are the
user's, save the ticked ones withbash tracker.sh set-authors '["dan@example.com","Dan Wright"]'
and scan again. A scan whoseoutcomeisno_reposnames the roots it searched: say so, never
"nothing to update". Mention the scan'swarnings, if any. - Read the sheet by its id, never by Drive name.
bash tracker.sh sheet-idprints the id of
the sheet linked at the top of this file. Read that id with the Google Sheets connector's get
values, fromA1across every column and down past the last row (for exampleA1:Z2000), and
save the whole answer, itsrangeandvalues, to<scratch>/sheet.json. If the connector
cannot open that id, stop and say so: searching Drive for the name also finds the other sheet. - Reconcile.
bash tracker.sh reconcile <scratch>/scan.json <scratch>/sheet.jsonmatches each
repository to the rows whose Link is the same repository address and sorts both sides into:matched:updatewhen the user has commits in the window, otherwisecurrent;tracked_not_here: rows no repository on this Mac answers for (PET, a project on the other
Mac, a row with no Link): reported, never updated;new_here: repositories with the user's commits and no row;no_commits_by_you: repositories with nothing under the user's identity, listed only;questions: never decided for the user. More than one row with the same Link, more than one
copy of a repository on this Mac, a repository with the user's commits and no hosted remote,
or one whose commits could not be read. Ask about each, one at a time, and change nothing it
covers until the user has resolved it (by fixing the sheet, or ignoring a copy withignore-repo), then run again from step 1.
- Synthesize. For each
update, write one merged row from the existing row (rowin the
reconcile's answer) and the new work (repo.window_subjects): My Actions and Outcome/Results
rewritten to cover both, never dropping what the curated row already says, and new skills added
to Skills Used. Name only the cells that change: update writes only those, so every column not
named carries through exactly as it is. Never name Date Started (the row keeps it), never clear a
Date Completed already set, never change the Link. For each new repository the user wants added,
build a whole row as in "Appending a row" (Date Started from itsfirst_commit_date, but ask whenis_shallowis true; Date Completed""; Link the repository address). Then pass every row's
cells throughbash tracker.sh scan-cells '<the row as it is>' '<the cells>'({}as the row
for a new one): it refuses cells that break those rules, and answers with the cells to use, em
and en dashes, spaced hyphens and pipe separators turned into commas. - Review, one row at a time. For each update, run
bash tracker.sh update --preview '<link>' '<project name>' '<cells>'and show the old value
(the preview'sbefore) beside the new one, field by field. The user approves, edits (run the
edit through scan-cells again) or skips that row; there is no approve all for overwrites. Show
each new row whole; new rows may be approved together once each has been seen. - Write. First
bash tracker.sh snapshot <scratch>/sheet.jsonand give the user the path it
prints: the sheet as read, to restore from. Offer a backup tab as well (in the sheet, right
click the tab, Duplicate), made by the user, since this skill writes the sheet only through
the web app. Then write one row at a time: each update withbash tracker.sh update '<link>' '<project name>' '<cells>' '<the preview's before>', each new
row withbash tracker.sh append '<row>'. Say each row's outcome as it lands, keep each update'srestorefrom its answer, and stop at the first failure: report which rows landed, which one
failed and why, and which were not tried. Never retry a failed write unseen.
Finish with what landed, the tracked_not_here rows, and any question still open.
Notes
config.local.jsonholds the deployment URL and the token. It is gitignored and left out of
claude-sync's mirror (every*.local.jsonis), so it stays on the Mac that wrote it. Never
commit it, never print the token in chat, and never put the token in a command:tracker.sh
reads it from the file itself.- The column mapping is by header name, so the skill keeps working if the user reorders or
renames columns, just re-read headers.