gws-sync

gws-sync is a skill for Claude Code from YoungjaeDev/my-claude-plugins. It costs 200 tokens per session (3,002 once invoked), scanned A, original, MIT.

A one-way sync tool that proposes uploads from a local folder to Google Drive. It compares the local files with the Drive folder and asks for approval before uploading; it does not automatically delete files.

In plain words
What is it for?
Use it to publish local project outputs to matching Google Drive folders with the gws command-line tool. It requires gws to be installed and Google authentication to be set up.
Why use it?
It prevents accidental uploads and deletions by showing a difference report first and requiring approval for changes. It also keeps existing Drive file identities when updating files, so shared links and version history remain attached.

Skill for Claude Code

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

Part of the docs plugin — 8 skills shipped together

Good fit Use it to publish local project outputs to matching Google Drive folders…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youngjaedev/my-claude-plugins/gws-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 YoungjaeDev/my-claude-plugins --skill gws-sync
Clone the repo
git clone --depth 1 https://github.com/YoungjaeDev/my-claude-plugins

Made for: Claude Code.

Or install docs, the plugin that ships this one along with the rest of its 8 skills.

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 gws-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/gws-sync.svg)](https://agentmods.dev/skills/youngjaedev/my-claude-plugins/gws-sync)
Your own site
<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/gws-sync"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/gws-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 200 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,002 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.00200 $0.03002
Opus 5 $0.00100 $0.01501
Sonnet 5 $0.00040 $0.00600
Haiku 4.5 $0.00020 $0.00300

Measured yesterday against content hash 5303f716829c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gws-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.

plugins/docs/skills/gws-sync/SKILL.md · 90 lines

How it starts

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

gws-sync: local → Drive one-way proposal-based sync

Design principles: (1) One-way (local → Drive) only, never pull Drive-side changes back to local. (2) Proposal-based: every write happens only after a diff report plus user approval. (3) Never delete automatically (proposal only). (4) Updating a Drive file is a content update of the existing file, not a new-file creation (the file ID is kept, so share links and version history survive).

0. Prerequisite check (every run)

  1. gws --version: if missing, stop and print install guidance: "gws CLI가 필요합니다. 설치: npm install -g @googleworkspace/cli 또는 공식 문서 github.com/googleworkspace/cli 참조. 설치 후 첫 사용이면 gws auth setup(1회) → gws auth login으로 인증하세요(gcloud 미설치 환경은 공식 README의 수동 OAuth 설정 참조)." (Do not install automatically, propose only.)
  2. Confirm auth and scope: if a light read call (gws drive files list --params '{"pageSize": 1}') fails, print auth guidance and stop: gws auth setup on first use, gws auth login thereafter. A successful read does not guarantee write scope: if the upload/update step hits a permission error, guide the user to re-authenticate with the drive write scope (e.g. gws auth login --scopes drive; confirm the exact flag with gws auth --help). Never assume write access from a read check alone.
  3. Suggest useful skills (optional): if the task matches another gws skill/recipe in the catalog (e.g. share with the team after upload → recipe-share-folder-with-team), find it in references/gws-skills-llms.txt and print an install-suggestion line alongside. Confirm the exact install command form with the current skills CLI before presenting it (use the form in references/gws-skills-llms.txt verbatim, or if unconfirmed just say "설치 방법은 skills CLI로 확인하세요"). Suggest only, never force.

1. Mapping config file: .gws-sync.json

Remember the mapping at the local repo root (or a user-specified location):

{
  "mappings": [
    {
      "local": "projects/deck-a/exports",
      "driveFolderId": "1aQthLJ...",
      "driveFolderPath": "강의교안/exports",
      "include": ["*.pptx", "*.pdf"],
      "files": { "deck.pptx": "1eon6SX..." }
    }
  ]
}

Read the full file on GitHub · 90 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 90 lines · 200 tokens per session scan A 5303f716829c

Subscribe to this mod's changes

gws-sync is a skill published in the GitHub repository YoungjaeDev/my-claude-plugins (2 stars, last pushed 2d ago), licensed MIT. It adds 200 tokens to every session and 3,002 once invoked, about $0.0010 per session on Opus 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-09-05.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens