salvage
Skill1 starsChanged 3 months agoMITView on GitHub
This skill should be used when the user wants untracked work turned into ledger receipts — when they say "group my untracked work", "salvage my untracked work", "clean up my unattributed spend", "what did I forget to log", "turn these PRs into tasks", "reconstruct my ledger", or when another waybill answer shows a large unattributed or untracked share. The engine clusters unattributed sessions, unlogged story keys, and adhoc spend into candidate work items with their receipts; titles are proposed from the receipts only, and one tap per cluster appends reconstructed entries. Facts tier only — pre-registration is never backfilled.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- howells/skillstheir own version, first seen Sep 22, 2026
- aryehcarmi/leetcode-interview-coachtheir own version, first seen Aug 2, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- howells/skills★ 4same name
- aryehcarmi/leetcode-interview-coach★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 85
After all clusters: "${CLAUDE_PLUGIN_ROOT}/bin/waybill" mine --all re-attributes the pinned sessions, then close with one line — tokens …
- Very specific: line 99
If the user adds context the receipts don't show ("that spike was for the auth migration"), record it in notes, attributed to them.
- Distinctive: line 101
No peer comparisons, ever.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Salvage
Work that shipped without a ticket still burned real tokens and produced real receipts. Salvage recovers it: the engine groups the unmanifested spend, you propose names for what each group plainly was, the user confirms one group at a time, and the ledger gains reconstructed — honestly labeled — entries.
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" mine --all # catch-up metering first, always
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" query untracked [--from <iso>] [--to <iso>].data.clusters is the worklist: each cluster carries its kind
(story_key — a key seen in branches but never logged or synced;
branch — unattributed sessions grouped by branch; adhoc;
unattributed), its receipts (sessions, branches, repo, time window,
keys seen), and its tokens. .data.untracked_pct is the headline.
Correlate with real artifacts (optional, recommended)
For clusters with a repo, fetch the merged changes for the cluster's time window so titles and artifacts come from real receipts:
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" sync-plan --local-repo <path> --since <cluster.first_ts> \
> /tmp/waybill-salvage-changes.jsonMatch changes to clusters by branch name or key. A matched change gives the cluster a real title (the commit/PR subject) and a real artifact.
Propose, then apply — one tap per cluster
For each cluster, in token order, present one line — proposed title,
kind, tokens, sessions, date range, the receipt it came from — and ask
one question: log it (as story:<KEY> when a key exists, else as an
adhoc label or a keyless entry), or leave it. Titles come from the
receipts only: branch names, commit subjects, keys. Never invent a
tracker key, a title, or an estimate.
To apply a confirmed cluster:
- For
branch/unattributedclusters, pin each session to the chosen account so the spend re-attributes (skip forstory_key/adhoc— already attributed):
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" append --stream ledger --commit --event '{
"ts": "<cluster.last_ts>", "kind": "pin",
"session_id": "<session_id>", "account": "<story:KEY | adhoc:label>",
"tracker_key": <"KEY" | null>, "range": null,
"notes": "salvage: reconstructed from receipts"
}'- Append the entry (see
skills/ledger/references/schema.mdfor the full shape): kindopenedwithts: <cluster.first_ts>— the cluster's own window, never today's date or one shared batch date (same-dated entries rob the resolver of recency and every later session becomes an inbox ambiguity), the receipt-derived title,estimate_without_claude_hours: null,claude_roleas the user states it (default"none"if unsure),notes: "reconstructed from receipts (salvage)". If a matched merged change exists, append a supersedingshippedentry withts: <cluster.last_ts>carrying its URL/sha inartifacts. - After all clusters:
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" mine --allre-attributes the pinned sessions, then close with one line — tokens reclaimed, untracked share before → after.
Rules
- Never backfill pre-registration. Reconstructed entries carry
estimate_without_claude_hours: nulland no escrow — salvage produces tier-1 facts; a backdated "estimate" would be forged tier-3 evidence andwaybill verify/appendtreat it as such. - Titles, keys, and artifacts come from receipts (branches, commits, PRs) or from the user — never from inference about what the work "probably was".
- One confirmation per cluster; never bulk-apply.
- If the user adds context the receipts don't show ("that spike was for
the auth migration"), record it in
notes, attributed to them. - No peer comparisons, ever.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

