sync-skills

sync-skills is a skill for Claude Code, Codex from sfc-gh-eraigosa/dotfiles. It costs 18 tokens per session (363 once invoked), scanned B, original, Apache-2.0.

A synchronization tool for keeping AI-agent skills aligned with a dotfiles repository, a repository that stores personal computer configuration.

In plain words
What is it for?
Use it to link skills into both agent environments and optionally rebuild gss, tmux-mgr, and wol; the session must then be reloaded to discover changes.
Why use it?
It prevents the Claude Code and Antigravity CLI skill directories from drifting apart and can rebuild selected command-line programs at the same time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to link skills into both agent environments and optionally rebuild gss, tmux-mgr, and wol; the session must then be reloaded to discover changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfc-gh-eraigosa/dotfiles/sync-skills
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 sfc-gh-eraigosa/dotfiles --skill sync-skills
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-eraigosa/dotfiles

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/sync-skills/github.svg)](https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/sync-skills)
Your own site
<a href="https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/sync-skills"><img src="https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/sync-skills/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 sync-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/sync-skills"><img src="https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/sync-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 17
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 39
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium Agent Snooping · line 16
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 40
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00018 $0.00363
Opus 5 $0.00009 $0.00181
Sonnet 5 $0.00004 $0.00073
Haiku 4.5 $0.00002 $0.00036

Measured 11d ago against content hash 11c35b00cdcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

sync-skills 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 11d 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.

Link all available skills into **both** `~/.gemini/config/skills` (Antigravity CLI) and `~/.claude/skills` (Claude Code). The single discovery pass keeps both assistants in sync from one source of truth.
ai/skills/sync-skills/SKILL.md · 41 lines

What it actually says

Sync Skills

This skill allows the agent to refresh the AI agent environment by synchronizing skills from the dotfiles repository to the system and optionally rebuilding core binaries.

Usage

Always run sync-skills using the established alias, which points to the version in ~/opt/scripts/system/sync-skills.sh.

Using the ~/opt path ensures that you are running the scripts as they are installed in the user's environment, maintaining consistency across different machines and installations.

1. Synchronize Skills

Link all available skills into both ~/.gemini/config/skills (Antigravity CLI) and ~/.claude/skills (Claude Code). The single discovery pass keeps both assistants in sync from one source of truth.

bash ~/opt/scripts/system/sync-skills.sh

Or via alias if available:

sync-skills

2. Synchronize and Build

Link skills and rebuild core binaries (gss, tmux-mgr, wol).

bash ~/opt/scripts/system/sync-skills.sh --build

Mandatory Reload

After running sync-skills, the agent MUST inform the user that they need to manually reload their session for the newly-linked skills to be discovered:

  • Antigravity CLI (agy): Restart the session (skills are scanned from ~/.gemini/config/skills at startup).
  • Claude Code: Restart Claude Code (skills are scanned from ~/.claude/skills at startup; a running session will not see new links until relaunched).
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. 11d ago First seen · 41 lines · 18 tokens per session scan B 11c35b00cdcc

Subscribe to this mod's changes

sync-skills is a skill published in the GitHub repository sfc-gh-eraigosa/dotfiles (46 stars, last pushed yesterday), licensed Apache-2.0. It adds 18 tokens to every session and 363 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories