task-sync
Skill4 starsChanged 37 days agoMITArchived repositoryView on GitHub
Synchronize Trekker with Claude's built-in TodoWrite. Trekker is the source of truth.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- wang-xiaochuan/706-skillstheir own version, first seen Oct 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- wang-xiaochuan/706-skills★ 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.
In this repository7 other files it gives its agents.
- skills/trekker/CLAUDE.mdCLAUDE.md
- find-duplicatesSkill
- issue-trackingSkill
- planningSkill
- searchSkill
- smart-querySkill
- trekkerSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
When they conflict, Trekker wins.
- Very specific: line 24
Read Trekker state first: trekker --toon list --type task --status todo,in_progress
- Distinctive: line 26
Never trust TodoWrite from previous sessions - always refresh from Trekker
- Distinctive: line 80
Before ANY task operation, think:
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 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
Task Synchronization: Trekker is Primary
CRITICAL: Trekker is the PRIMARY task tracker. TodoWrite is secondary.
Trekker persists across sessions in SQLite. TodoWrite only lives within a conversation. When they conflict, Trekker wins.
The Rule
Trekker = Source of Truth (survives context resets)
TodoWrite = Session Mirror (conversation-scoped only)Automatic Sync Behavior
When Starting a Session
- Read Trekker state first:
trekker --toon list --type task --status todo,in_progress - Populate TodoWrite from Trekker tasks
- Never trust TodoWrite from previous sessions - always refresh from Trekker
When Creating Tasks
1. Create in Trekker FIRST:
trekker task create -t "Title" -d "Description"
2. THEN mirror to TodoWrite:
TaskCreate with same subjectWhen Updating Tasks
1. Update Trekker FIRST:
trekker task update TREK-n -s in_progress
2. THEN update TodoWrite:
TaskUpdate for corresponding todoWhen Completing Tasks
1. Add summary comment to Trekker:
trekker comment add TREK-n -a "claude" -c "Summary: ..."
2. Mark complete in Trekker:
trekker task update TREK-n -s completed
3. Mark complete in TodoWrite:
TaskUpdate status: completedPriority Order
| Scenario | Action |
| Trekker has task, TodoWrite doesn't | Add to TodoWrite |
| TodoWrite has task, Trekker doesn't | Create in Trekker first |
| Both have task, states differ | Trekker wins, update TodoWrite |
| User creates via TodoWrite | Immediately create in Trekker |
Why Trekker is Primary
- Persistence: Survives context resets, TodoWrite doesn't
- Searchable:
trekker searchfinds past work - Auditable:
trekker historyshows change trail - Dependencies: Trekker tracks task relationships
- Multi-session: Work continues across conversations
Implementation Pattern
Before ANY task operation, think:
1. Is this in Trekker? → trekker task show <id>
2. Make change in Trekker FIRST
3. Mirror to TodoWrite AFTER
4. If conflict → Trekker winsAnti-Patterns (DO NOT DO)
- Creating in TodoWrite without Trekker
- Trusting TodoWrite state from "previous session" (it's gone)
- Updating TodoWrite but forgetting Trekker
- Having tasks in TodoWrite that don't exist in Trekker
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.

