deck-sync

deck-sync is a skill for Claude Code, Codex from YoungjaeDev/my-claude-plugins. It costs 174 tokens per session (1,668 once invoked), scanned B, original, MIT.

A synchronization workflow for updating an existing house-format lecture deck to the installed deck plugin version. It refreshes copied rules and vendor files, and shows differences in the deck shell without overwriting that shell.

In plain words
What is it for?
Use it after the deck plugin changes, or when checks report stale or missing rules or vendor files in an existing `deck/` repository.
Why use it?
It keeps a deck repository's shared files current while protecting the deck-specific shell from automatic replacement.

Skill for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT variable, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the deck plugin — 7 skills shipped together

Good fit Use it after the deck plugin changes, or when checks report stale or missing rules or vendor files in an existing deck/ repository.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add YoungjaeDev/my-claude-plugins
Claude Code
/plugin install deck

Made for: Claude Code, Codex.

Or install deck, the plugin that ships this one along with the rest of its 7 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 deck-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/deck-sync/github.svg)](https://agentmods.dev/skills/youngjaedev/my-claude-plugins/deck-sync)
Your own site
<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/deck-sync"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/deck-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 deck-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/deck-sync"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/deck-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,668 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00174 $0.01668
Opus 5.5 $0.00070 $0.00667
Sonnet 5.5 $0.00035 $0.00334
Haiku 4.5 $0.00017 $0.00167

Measured 24d ago against content hash 4b2dcc3eccb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

deck-sync scanned grade B with 1 finding 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 24d ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

found=$(find "$HOME/.claude/plugins/cache" "${CODEX_PLUGIN_CACHE:-$HOME/.codex/plugins/cache}" \
plugins/deck/skills/deck-sync/SKILL.md · 74 lines

How it starts

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

deck-sync

Brings a deck repo's copies up to the plugin version. The deck's template comes from the <!-- deck shell base ... --> stamp in deck/shell.html (no template name means monitor), and its rules, vendor files and shell come from templates/decks/<template>/.

  • Overwritten: the rule copies and deck/vendor/. A copy edited by hand at the current version is left alone unless the user agrees to --force.
  • Diffed only: deck/shell.html, which belongs to the deck.
  • Added when missing, never replaced: the .githooks/ files (deck launcher, pre-commit, commit-msg).
  • Report deck: a deck whose deck/outline.md header has - deck_kind: report also gets .claude/rules/deck-report.md, so adding that line and syncing turns a deck into a report deck.
  • Never touched: .claude/rules/deck-local.md (deck-specific exceptions; the copy check reads its ### 덱 금지 표기 table) and .githooks/local-checks.sh (deck-specific commit checks, which the plugin's pre-commit runs first).

To get a newer pre-commit or launcher, delete both .githooks/deck and .githooks/pre-commit and rerun sync: the new hook calls deck assets, which an older launcher lacks. Move any lines added to the old pre-commit by hand into local-checks.sh first.

When to use

  • deck-check printed rules: ... stale, missing or unstamped, or vendor: differs.
  • The user updated the deck plugin and wants the repo to follow.
  • Not for a repo without deck/ (use deck-new).

Procedure

Ask with AskUserQuestion on Claude Code or request_user_input on Codex; when neither is available, sync without --force and say which copies were left as is. Shell state does not persist between tool calls, so keep the resolver in the same call as each command.

  1. Inspect first, from the repo root.

    PLUGIN_ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"
    [ -z "$PLUGIN_ROOT" ] && [ -f plugins/deck/scripts/kit.py ] && PLUGIN_ROOT=plugins/deck
    if [ -z "$PLUGIN_ROOT" ]; then
      # find, not a glob: zsh aborts on an unmatched glob and does not split an unquoted list.
      found=$(find "$HOME/.claude/plugins/cache" "${CODEX_PLUGIN_CACHE:-$HOME/.codex/plugins/cache}" \
        -mindepth 3 -maxdepth 3 -type d -path '*/deck/*' 2>/dev/null | awk -F/ '{print $NF "\t" $(0)}')
      if sort -V </dev/null >/dev/null 2>&1; then
        PLUGIN_ROOT=$(printf '%s\n' "$found" | sort -V | tail -1 | cut -f2-)
      else
        PLUGIN_ROOT=$(printf '%s\n' "$found" | sort -t. -k1,1n -k2,2n -k3,3n | tail -1 | cut -f2-)
      fi
    fi
    [ -f "$PLUGIN_ROOT/scripts/kit.py" ] || { echo "deck plugin scripts not found; export PLUGIN_ROOT=<path to plugins/deck>"; exit 1; }
    PY=$(command -v python3 || command -v python)
    "$PY" "$PLUGIN_ROOT/scripts/kit.py" check . --diff
    

Read the full file on GitHub · 74 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. 24d ago Changed · +8 lines 4b2dcc3eccb0
  2. 26d ago Changed · +7 tokens per session 1e8bd5bea0c4
  3. 1mo ago Changed · +10 tokens per session e02f2ed2ad8b
  4. 1mo ago Changed · +5 lines 7764c5de5695
  5. 1mo ago Changed 51e4207d978f
  6. 1mo ago Changed 12434caf1a4e
  7. 1mo ago First seen · 61 lines · 157 tokens per session scan B 7ea4894654d1

Subscribe to this mod's changes

deck-sync is a skill published in the GitHub repository YoungjaeDev/my-claude-plugins (2 stars, last pushed 2d ago), licensed MIT. It adds 174 tokens to every session and 1,668 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-06.

Related

deck-sync compared with skills from other repositories

deck-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deck-syncYoungjaeDev/my-claude-pluginsSkill22d agoMITB174Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34kyesterdayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k4d agoApache-2.0A24Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code
open-design-setupcompozy/compozySkill2.9kyesterdayMITA67Claude Code, Codex