skaffold-filesync

skaffold-filesync is a skill for Claude Code from laurigates/claude-plugins. It costs 42 tokens per session (2,800 once invoked), scanned A, original, MIT.

A Skaffold configuration guide for copying changed files directly into running containers. Skaffold is a development tool that builds and deploys containerized applications.

In plain words
What is it for?
Setting up file-sync rules, supporting hot reload, and diagnosing files that fail to reach a running pod.
Why use it?
It avoids rebuilding and redeploying an image after every small edit, shortening the edit-and-test cycle.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is COPY src/ ./src/ # Skaffold infers: src/* → /app/src/*.

Part of the container-plugin plugin — 9 skills, 1 agent shipped together

Good fit Setting up file-sync rules, supporting hot reload, and diagnosing files that fail…

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins
agentmods
npx agentmods add skills/laurigates/claude-plugins/skaffold-filesync

Made for: Claude Code.

Or install container-plugin, the plugin that ships this one along with the rest of its 9 skills, 1 agent.

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 skaffold-filesync

README.md
[![agentmods](https://agentmods.dev/badge/skills/laurigates/claude-plugins/skaffold-filesync.svg)](https://agentmods.dev/skills/laurigates/claude-plugins/skaffold-filesync)
Your own site
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/skaffold-filesync"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/skaffold-filesync.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,800 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.00042 $0.02800
Opus 5 $0.00021 $0.01400
Sonnet 5 $0.00008 $0.00560
Haiku 4.5 $0.00004 $0.00280

Measured 2d ago against content hash 5d0a34cd9d65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

skaffold-filesync 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 2d 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.

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.

container-plugin/skills/skaffold-filesync/SKILL.md · 492 lines

How it starts

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

Skaffold File Sync

When to Use This Skill

Use this skill when... Use a sibling Skaffold/container skill instead when...
Configuring Skaffold sync rules (manual / infer / auto) Wiring OrbStack networking or Ingress (skaffold-orbstack)
Optimizing the inner edit -> running-container loop for hot reload Adding pre-deploy test or post-deploy verify stages (skaffold-testing)
Debugging why files are not syncing into a running pod Writing or hardening the Dockerfile itself (container-development)

Overview

File sync copies changed files directly to running containers, avoiding image rebuilds. This dramatically speeds up the development loop for interpreted languages and static assets.

Without sync: Edit → Build Image → Deploy → Restart Pod → Test (~30-60s)
With sync:    Edit → Copy File → Test (~1-2s)

How It Works

  1. Skaffold watches for file changes
  2. Creates a tar archive of modified files matching sync rules
  3. Extracts the archive in the running container
  4. Application picks up changes (hot reload, file watch, etc.)

Three Sync Modes

Mode Configuration Best For
Manual Explicit src/dest mappings Full control, complex layouts
Infer Derived from Dockerfile Docker builds, simple projects
Auto Zero-config for known builders Buildpacks, Jib

Important: Cannot mix modes - choose one per artifact.

Manual Sync

Explicitly map source files to container destinations.

Basic Configuration

apiVersion: skaffold/v4beta13
kind: Config
build:
  artifacts:
    - image: my-app
      context: .
      docker:
        dockerfile: Dockerfile
      sync:
        manual:
          - src: "src/**/*.js"
            dest: /app/src
          - src: "public/**/*"
            dest: /app/public

With Directory Stripping

Use strip to remove directory levels from the source path:

sync:
  manual:
    # src/components/Button.js → /app/Button.js (strips 'src/components/')
    - src: "src/components/**/*.js"
      dest: /app
      strip: "src/components/"

    # assets/images/logo.png → /var/www/static/logo.png
    - src: "assets/images/**/*"
      dest: /var/www/static
      strip: "assets/images/"

Read the full file on GitHub · 492 lines

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. 2d ago First seen · 492 lines · 42 tokens per session scan A 5d0a34cd9d65

Subscribe to this mod's changes

skaffold-filesync is a skill published in the GitHub repository laurigates/claude-plugins (58 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 2,800 once invoked, about $0.0002 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-03.