.claude: Skill for Claude Code

.claude/skills/sync-claude/SKILL.md

sync-claude is a skill for Claude Code from samuelpatro/.claude. It costs 93 tokens per session (830 once invoked), scanned B, original, no licence file.

A backup routine that copies an allowed set of global Claude Code settings into a Git repository and commits the result. Git is a tool for tracking file changes over time.

In plain words
What is it for?
Backing up settings.json, CLAUDE.md, and statusline.ts when updating a shared Claude Code configuration backup.
Why use it?
It keeps approved configuration changes versioned without copying credentials, history, or project transcripts.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is samuelpatro/.claude's own configuration. It tells Claude Code how to work on .claude itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything .claude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to samuelpatro/.claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/samuelpatro/.claude/main/.claude/skills/sync-claude/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/samuelpatro/.claude

Made for: Claude Code.

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-claude

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/samuelpatro/.claude/sync-claude"><img src="https://agentmods.dev/badge/skills/samuelpatro/.claude/sync-claude.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 830 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 unknown 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.00093 $0.00830
Opus 5 $0.00046 $0.00415
Sonnet 5 $0.00019 $0.00166
Haiku 4.5 $0.00009 $0.00083

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

Security

Grade B, and why

sync-claude 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (install-skills.ts, sync.ts), 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.

Reads agent configuration directoriesmediumAgent snooping

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

- `~/.claude/settings.json`, `CLAUDE.md`, `statusline.ts`
.claude/skills/sync-claude/SKILL.md · 79 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 files 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. 5d ago Changed · +17 lines · +8 tokens per session scan A → B 7da99d06c911
  2. 10d ago First seen · 62 lines · 85 tokens per session scan A 52d7d1569a4d

Subscribe to this mod's changes

sync-claude is a skill published in the GitHub repository samuelpatro/.claude (3 stars, last pushed 8d ago), with no licence file. It adds 93 tokens to every session and 830 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

sc-diff-report

Incremental security scan for changed files only — optimized for PR and commit-level reviews.

fatihkan/badi · 21 tokens

commit-pr

Mandatory Codex/Copilot publication adapter for opencode-swarm. Use for every GitHub issue assignment that results in code changes, commits, pushes, draft PRs, PR body edits, PR readying, release notes, or CI closeout. Must be loaded before git push, gh pr create, gh pr edit, or gh pr ready. Routes to the single…

ZaxbyHub/opencode-swarm · 100 tokens

do

Work an increment task by task through the ledger: task next, claim, implement, commit, task done with evidence. Use when saying "implement", "start working", or "continue increment".

anton-abyzov/specweave · 0 tokens

contributing

Codex adapter for the opencode-swarm contribution checklist. Use when preparing user-visible changes, release note fragments, local validation, branch hygiene, PR checklist items, or contribution-policy compliance before publishing work.

ZaxbyHub/opencode-swarm · 44 tokens

atomic-git-discipline

Compressed commit message and PR body generator. Cuts noise from both while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious; PR bodies state only what the diff can't show, 120 words max. Use when user says "write a commit", "commit message", "generate…

damusix/atomic-claude · 106 tokens

commit-msg

You receive a git diff of staged changes via stdin. Generate a commit message.

jrswab/axe · 0 tokens