skillctx-sync

A maintenance skill that updates the embedded resolver scripts used by all migrated skills after the shared skillctx code changes.

In plain words
What is it for?
Use it after updating the skillctx repository to find outdated migrated skills and refresh their embedded resolver scripts.
Why use it?
It keeps migrated skills on the latest resolver version instead of leaving some with older setup or bug fixes. It first scans for migrated and outdated skills.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/jackchuka/skillctx/skillctx-sync
Any agent
npx skills add jackchuka/skillctx --skill skillctx-sync
Clone the repo
git clone --depth 1 https://github.com/jackchuka/skillctx

Made for: Claude Code, Codex.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 744 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00744
Opus 5 $0.00019 $0.00372
Sonnet 5 $0.00008 $0.00149
Haiku 4.5 $0.00004 $0.00074

Measured 2d ago against content hash 0fd04bc4ee0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skillctx-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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/sync.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/skillctx-sync/SKILL.md · 81 lines

How it starts

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

skillctx-sync

Update embedded skillctx-resolve.py scripts across all migrated skills.

When to Use

  • After updating the skillctx repo (bug fix in resolve.py, new features)
  • User says "skillctx-sync", "update skillctx", or "sync skillctx"

Prerequisites

  • Python 3.10+
  • Skills must be installed and discoverable by the agent host

Workflow

  1. Read current version: Run python <skill-dir>/scripts/sync.py with --help to verify the script is available. Read pyproject.toml in the skillctx repo root for the current version string.

  2. Scan for migrated skills: Run python <skill-dir>/scripts/sync.py scan <skills-dir> <current-version> where <skills-dir> is the directory containing installed skills. The script outputs JSON:

    [
      { "skill": "my-skill", "path": "/path/to/my-skill", "version": "0.1.0", "status": "outdated" },
      { "skill": "other-skill", "path": "/path/to/other-skill", "version": "0.2.0", "status": "current" }
    ]
    

    Only skills with <!-- skillctx:begin --> in their SKILL.md are included.

  3. Present outdated skills to user: Filter the scan results to "status": "outdated" and show:

    Skills with outdated skillctx resolver:
    - my-skill (v0.1.0 → v0.2.0)
    - another-skill (v0.1.0 → v0.2.0)
    
    Update all? (yes/select/cancel)
    

    Wait for user confirmation.

  4. Update each selected skill: For each skill the user approves, run:

    python <skill-dir>/scripts/sync.py update <skill-dir> <resolver-src> <current-version>
    

    Where <resolver-src> is skills/skillctx-ify/scripts/resolve.py (the canonical resolver in this repo). The script:

    • Copies the resolver to <skill-dir>/scripts/skillctx-resolve.py
    • Replaces the <!-- skillctx:begin --> ... <!-- skillctx:end --> block with the latest setup template
    • Updates metadata.skillctx.version in the skill's frontmatter
  5. Report what was updated and any errors.

Error Handling

Error Action
No migrated skills found Report "no skills using skillctx found"
All skills already current Report "all skills up to date"
Skill directory not writable Warn and skip, list at the end
Missing <!-- skillctx:end --> marker Warn — setup block may be malformed. Skip and list for manual review.

Read the full file on GitHub · 81 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. 2d ago First seen · 81 lines · 38 tokens per session scan A 0fd04bc4ee0d

Subscribe to this mod's changes

skillctx-sync is a skill published in the GitHub repository jackchuka/skillctx (5 stars, last pushed 15d ago), licensed MIT. It adds 38 tokens to every session and 744 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-08-31.

Related

Other skills, from other repositories

gemini-omni-flash-api

Use this skill for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni 1.1 Flash (gemini-omni-1.1-flash) via the official google-genai SDK. Includes workflows for pre-processing/optimizing…

google-gemini/gemini-skills · 107 tokens

gemini-interactions-api

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. This skill covers the…

google-gemini/gemini-skills · 80 tokens

gemini-live-api-dev

Use this skill when building real-time, bidirectional streaming applications with the Gemini Live API. Covers WebSocket-based audio/video/text streaming, voice activity detection (VAD), native audio features, function calling, session management, ephemeral tokens for client-side auth, live translation, and all Live…

google-gemini/gemini-skills · 88 tokens

gemini-api-dev

Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google/genai…

google-gemini/gemini-skills · 101 tokens

gemini-watermark-remover

Remove visible Gemini image watermarks from local image files by calling the project's CLI. Use when the user wants an agent to clean one or more local Gemini-generated images and save de-watermarked output files.

GargantuaX/gemini-watermark-remover · 47 tokens

hobby-or-business

Separate project enthusiasm from business reality when a user wants to monetize an idea they've already decided to build. Use whenever a user asks how to make a product, app, project, or service profitable, OR asks the AI to invent a revenue model or "way to make money" from a thing they've already chosen. Trigger on…

machinesoul11/anti-sycophant-ai-agent-skills · 217 tokens