task-sync

task-sync is a skill for Claude Code from obsfx/trekker. It costs 23 tokens per session (605 once invoked), scanned A, original, MIT.

A synchronization workflow that keeps Trekker and a conversation's temporary task checklist aligned. Trekker is the persistent task tracker, while the built-in checklist lasts only for the current conversation.

In plain words
What is it for?
Use it to load current tasks, mirror new tasks, synchronize status changes, and record completion summaries in Trekker first.
Why use it?
It prevents the two task lists from disagreeing and losing updates across sessions. It also defines the order for creating, updating, and completing work so the persistent record stays authoritative.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the TodoWrite tool.

Part of the trekker plugin — 7 skills, 13 commands, 1 agent, 3 hooks shipped together

Good fit Use it to load current tasks, mirror new tasks, synchronize status changes, and record completion summaries in Trekker first.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/obsfx/trekker/task-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add obsfx/trekker --skill task-sync
Clone the repo
git clone --depth 1 https://github.com/obsfx/trekker

Made for: Claude Code.

Or install trekker, the plugin that ships this one along with the rest of its 7 skills, 13 commands, 1 agent, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for task-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/obsfx/trekker/task-sync/github.svg)](https://agentmods.dev/skills/obsfx/trekker/task-sync)
Your own site
<a href="https://agentmods.dev/skills/obsfx/trekker/task-sync"><img src="https://agentmods.dev/badge/skills/obsfx/trekker/task-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for task-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/obsfx/trekker/task-sync"><img src="https://agentmods.dev/badge/skills/obsfx/trekker/task-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 605 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00605
Opus 5.5 $0.00009 $0.00242
Sonnet 5.5 $0.00005 $0.00121
Haiku 4.5 $0.00002 $0.00060

Measured yesterday against content hash 95f70de31869, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

task-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • task-sync — 97% identical, 4 lines differ
plugins/claude-code/skills/task-sync/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  1. Read Trekker state first: trekker --toon list --type task --status todo,in_progress
  2. Populate TodoWrite from Trekker tasks
  3. 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 subject

When Updating Tasks

1. Update Trekker FIRST:
   trekker task update TREK-n -s in_progress

2. THEN update TodoWrite:
   TaskUpdate for corresponding todo

When 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: completed

Priority 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

  1. Persistence: Survives context resets, TodoWrite doesn't
  2. Searchable: trekker search finds past work
  3. Auditable: trekker history shows change trail
  4. Dependencies: Trekker tracks task relationships
  5. Multi-session: Work continues across conversations

Implementation Pattern

Before ANY task operation, think:

1. Is this in Trekker? Run trekker task show <id>
2. Make change in Trekker FIRST
3. Mirror to TodoWrite AFTER
4. If they conflict, Trekker wins

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 95 lines · 23 tokens per session scan A 95f70de31869

Subscribe to this mod's changes

task-sync is a skill published in the GitHub repository obsfx/trekker (84 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 605 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-25.

Related

Other skills, from other repositories

swarm-plan

Full execution protocol for MODE: PLAN -- plan creation, external plan ingestion, QA gate persistence, task granularity, and traceability checks.

ZaxbyHub/opencode-swarm · 32 tokens

loop

Full execution protocol for MODE: LOOP — the compound-engineering loop: brainstorm → plan → build → review → improve, iterating under defense-in-depth stop conditions with generator/critic separation, durable resumable state, and mandatory compounding learning capture. Loaded on demand by the architect when the loop…

ZaxbyHub/opencode-swarm · 72 tokens

parallel-work-check

Apply before starting work on an existing branch. Checks for parallel work by other agents or developers that may supersede or conflict with your planned changes. Prevents wasted effort on stale branches.

ZaxbyHub/opencode-swarm · 41 tokens

durable-session-state

Persist plans, scope decisions, evidence, and reviewer/critic verdicts to durable files during long or multi-phase tasks so work survives context compaction, session resumes, and handoffs. Use for swarm-mode tasks, before context grows large, when recording approval gates, and when resuming after compaction or a…

ZaxbyHub/opencode-swarm · 70 tokens

issue-ingest

Full execution protocol for MODE: ISSUEINGEST -- GitHub issue intake, localization, spec generation, and transition to the full fix workflow.

ZaxbyHub/opencode-swarm · 33 tokens

phase-wrap

Claude Code adapter for MODE: PHASE-WRAP. Delegates to the canonical opencode-swarm phase boundary protocol.

ZaxbyHub/opencode-swarm · 0 tokens