duet-sync
/duet-sync
Use when the user runs /duet-sync, finishes a Claude Code session and wants Claude Duet caught up, or asks to sync a project to Duet through Google Drive.
- Author
- wyattfulkerson11-boop ↗
- Repository
- Duet-Bridge-with-GD ↗
- Licence
- MIT
- Last repository change
- 30.10.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 30.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: duet-sync.mjs
What it does and when to use it
Use when the user runs /duet-sync, finishes a Claude Code session and wants Claude Duet caught up, or asks to sync a project to Duet through Google Drive.
Original author description
Use when the user runs /duet-sync, finishes a Claude Code session and wants Claude Duet caught up, or asks to sync a project to Duet through Google Drive.
How it works
- First time in a project
- Every sync
- The file
- When push fails
SKILL.md preview
--- name: duet-sync description: Use when the user runs /duet-sync, finishes a Claude Code session and wants Claude Duet caught up, or asks to sync a project to Duet through Google Drive. --- # Duet sync Duet reads one condensed file per project from Google Drive and nothing from the code. Rewrite that file from the project as it stands now, then let the script check and copy it. The script is `duet-sync.mjs` in this skill's base directory. ## First time in a project Run `node <base>/duet-sync.mjs setup` from the project. If it reports more than one Drive folder, ask the user which account to use and rerun with `--drive`. If the project keeps secrets somewhere other than `.env`, `.env.*`, `.dev.vars`, `.dev.vars.*` or `.private/`, add `--scan <path>` for each. ## Every sync 1. Read the project's plan, its CLAUDE.md or AGENTS.md, and what changed this session. 2. Write `.duet/DUET-CONTEXT.md` in full, from those sources. Don't edit the previous copy, so stale lines can't carry forward. 3. Run `node <base>/duet-sync.mjs push`. 4. Tell the user the result, in the script's words. If it says the upload is not verified, repeat that. Don't say Duet has the file. ## The file Under 8 KB. These headings are required, and may carry more words after them: ```markdown # <Project>: context for Duet Condensed from <sources>, as of YYYY-MM-DD. If anything here disagrees with what I tell you, I win. ## The problem ## Who does what ## Rules ## What's built ## Open items ## What I need back from you ``` Write it for a reader who has never seen the code: plain sentences, dates on open items, and what the user wants Duet to do with this project. Keep it to the work itself. Describe client data, customer records, health or money details, other people's personal information and anything confidential in general terms, or leave it out. The script catches common secret formats. It can't recognize private information. ## When push fails | Exit | Meaning | Do this | |---|---|---| | 1 | Refused. Nothing was written. | Fix each listed problem in the file and push again. If a problem names a secret's value, remove it from the file. Don't copy the secret into chat. | | 2 | The write failed. The Drive copy may be cut off. | Tell the user, fix the cause it names, and push again. | Never work around a refusal by editing `.env`, renaming a secret file, adding `--replace`, or copying the file into Drive by hand. If a refusal looks wrong, tell the user which line it names.
Files in this package (4)
- LICENSE 1 KB
- README.md 4 KB
- SKILL.md 2 KB
- duet-sync.mjs 18 KB
Versions
The database has no other skills named duet-sync.
Database snapshot: 13.11.2026 · package version 62a6e0ebcbf7 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100duet
Install and operate the Duet CLI on the user's own computer. Use to access remote Duet files, call upstream text, image, and video models, set up login, run local or workspace agents, manage workspace knowledge or Mac sync, and troubleshoot the CLI outside a Duet VM. - 90sync-claude-skills
Use when skills need uploading to the user's claude.ai account so Claude Duet routines can run them, such as after merging skill changes into main or when the user asks to sync their claude.ai skills. - 90duet
Use when the user invokes /duet, says pair on this, or faces aesthetic, architectural, or irreversible decisions. Not for one-shot fork resolution: use decide. - 100manage-agents
Create, configure, inspect, and debug Duet agents. Use when setting up an agent persona or repeatable agent process, changing an existing agent, or diagnosing its local runtime. - 100duet
Two-party posture — user as director, agent as executor; every fork, tradeoff, or choice surfaced via batched AskUserQuestion with a recommended default. Use when the user invokes /duet, says "ask before" / "pair with me" / "human-in-the-loop", or for aesthetic/architectural/irreversible decisions. - 90duet
Coordinate a two-role team where one person prototypes ideas and another engineers the chosen ones for production, both working through coding agents. Use for prototype experiments, Alpha previews, handoff, hardening selected work onto main, cleanup of finished branches, and…