deck-sync

deck-sync is a skill for Claude Code, Codex from YoungjaeDev/my-claude-plugins. It costs 157 tokens per session (1,144 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 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 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,144 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.00157 $0.01144
Opus 5.5 $0.00063 $0.00458
Sonnet 5.5 $0.00031 $0.00229
Haiku 4.5 $0.00016 $0.00114

Measured today against content hash 12434caf1a4e, 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 today.

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 · 61 lines

How it starts

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

deck-sync

Overview

Brings a deck repo's copies up to the plugin version. Rule copies and deck/vendor/ are overwritten from the plugin; deck/shell.html belongs to the deck and is only diffed. A rule copy edited by hand at the current version is left alone unless the user agrees to --force. .claude/rules/deck-local.md holds deck-specific exceptions and is never read or written.

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

Interaction gate: Claude uses AskUserQuestion; Codex uses request_user_input when exposed, otherwise asks in plain text and waits. 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
    

    Observable result: one rules: line per copy with its status, unified diffs for stale, edited and unstamped copies, and vendor: / shell.html: / frontend-slides: lines.

Read the full file on GitHub · 61 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. today Changed 12434caf1a4e
  2. 13d 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 yesterday), licensed MIT. It adds 157 tokens to every session and 1,144 once invoked, about $0.0006 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

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-visual-qa

Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…

daymade/claude-code-skills · 125 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens