AGENT SKILL

sync

Pull and push your brain.

License 许可
MIT
所属仓库
dhaupin/vant
最近更新
2026-11-13
Stars
★ 16
Forks
1

01 前言 Front Matter

name
sync
license
MIT
metadata
{ "author": "vant", "version": "1.0" }
description
Pull and push your brain.

03 SKILL.md 正文

Sync

Pull and push your brain.


When To Use

  • Start of session (pull)
  • End of session (push)
  • Manual sync

How To Sync

Pull

# Get latest brain
vant sync pull

Push

# Save your changes
vant sync push

Both

# Pull then push
vant sync

What Happens

Action What
Pull Get remote changes
Push Send local changes
Sync Do both

Conflicts

When you and another agent changed the same thing:

## Conflict

### [FILE]
- Yours: [your change]
- Remote: [their change]

### Resolution
- [KEEP_YOURS/KEEP_THEIRS/MERGE]

Output

## Sync

### Changes
- [n] files changed

### Conflicts
- [n] files

### Pushed
- [YES/NO]

Tips

  • Sync at start - get context
  • Sync at end - save progress
  • Sync before merge - avoid conflicts

Role: Syncer Input: Direction (pull/push/sync) Output: Synced brain

Keep in sync.

04 同仓库更多 Skills