Borrowing it
Nothing to install: this file belongs to guess/claude_code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/guess/claude_code/main/.claude/skills/cli-sync/SKILL.mdgit clone --depth 1 https://github.com/guess/claude_codeWrote 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.
[](https://agentmods.dev/skills/guess/claude_code/cli-sync)<a href="https://agentmods.dev/skills/guess/claude_code/cli-sync"><img src="https://agentmods.dev/badge/skills/guess/claude_code/cli-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.
<a href="https://agentmods.dev/skills/guess/claude_code/cli-sync"><img src="https://agentmods.dev/badge/skills/guess/claude_code/cli-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00100 | $0.01660 |
| Opus 5.5 | $0.00040 | $0.00664 |
| Sonnet 5.5 | $0.00020 | $0.00332 |
| Haiku 4.5 | $0.00010 | $0.00166 |
Grade A, and why
cli-sync scanned grade A 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sL "https://code.claude.com/docs/en/changelog.md" > .claude/skills/cli-sync/captured/docs/changelog.md How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLI Sync
Synchronize the ClaudeCode Elixir SDK with the Claude CLI to detect schema changes, new options, control protocol drift, and update the bundled version.
Overview
The Claude CLI evolves independently of this SDK. This skill dispatches five parallel agents to check alignment across all layers: versions, message types, content blocks, control protocol, and CLI options. Each agent has self-contained instructions in a references/check-*.md file.
Canonical sources: The TypeScript SDK (@anthropic-ai/claude-agent-sdk) provides the SDKMessage union (message types) and SDKControl* types (control protocol). The Anthropic API SDK (@anthropic-ai/sdk) provides BetaContentBlock types. The Python SDK (claude-agent-sdk-python) provides cross-reference for options, field names, control protocol handling, and message parsing. See references/upstream-sources.md for the complete file-level mapping.
Workflow
Step 1: Check the Changelog
Before doing anything else, fetch and review the CLI changelog to understand what has changed since the last sync:
# Fetch the changelog
curl -sL "https://code.claude.com/docs/en/changelog.md" > .claude/skills/cli-sync/captured/docs/changelog.md
Read the fetched changelog and identify:
- New CLI features, options, or flags added
- Message type or content block changes
- Control protocol changes
- Breaking changes or deprecations
- SDK-relevant behavioral changes
This gives you a high-level roadmap of what to look for in the detailed sync analysis that follows. Note the specific changes that are relevant to the SDK so you can prioritize them in the subsequent steps.
Step 2: Refresh Captured Data
Run the capture script via Bash to fetch the latest CLI version, help output, and SDK type definitions:
.claude/skills/cli-sync/scripts/capture-cli-data.sh
This fetches claude --version, claude --help, TypeScript/Python SDK types from npm/GitHub, Anthropic API types, and official documentation (CLI reference, hooks, plugins reference, TS SDK docs, Python SDK docs). Verify the script completes without errors before proceeding.
What ships with it
31 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.
- captured/anthropic-api-messages.d.ts 112 KB runs code
- captured/anthropic-sdk-version.txt 7 B
- captured/bundled-version.txt 23 B
- captured/cli-help.txt 7.6 KB
- captured/cli-version.txt 21 B
- captured/docs/cli-reference.md 28 KB
- captured/docs/hooks.md 103 KB
- captured/docs/plugins-reference.md 30 KB
- captured/docs/python.md 98 KB
- captured/docs/typescript.md 68 KB
- captured/py-sdk-version.txt 8 B
- captured/python-sdk-client.py 5.7 KB runs code
- captured/python-sdk-message-parser.py 9.9 KB runs code
- captured/python-sdk-public-client.py 20 KB runs code
- captured/python-sdk-query.py 26 KB runs code
- captured/python-sdk-session-mutations.py 10 KB runs code
- captured/python-sdk-sessions.py 30 KB runs code
- captured/python-sdk-subprocess-cli.py 25 KB runs code
- captured/python-sdk-types.py 34 KB runs code
- captured/ts-sdk-types.d.ts 122 KB runs code
- captured/ts-sdk-version.txt 7 B
- references/check-content-blocks.md 7.8 KB
- references/check-control-protocol.md 8.0 KB
- references/check-message-types.md 5.5 KB
- references/check-options.md 5.7 KB
- references/check-versions.md 2.3 KB
- references/cli-flags.md 3.9 KB
- references/type-mapping.md 15 KB
- references/upstream-sources.md 5.8 KB
- scripts/capture-cli-data.sh 11 KB runs code
- scripts/compare-versions.sh 1.1 KB runs code
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.
- 2mo ago First seen · 134 lines · 100 tokens per session scan A 4356da890001
cli-sync is a skill published in the GitHub repository guess/claude_code (98 stars, last pushed 4mo ago), licensed MIT. It adds 100 tokens to every session and 1,660 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
elixir
Use when writing or refactoring Elixir/OTP on the BEAM — GenServers, supervision trees and restart strategies, pattern matching, mix projects and releases — or when processes misbehave (restart loops, mailbox growth, call timeouts). NOT a Phoenix web app, LiveView, Ecto or channels (that is phoenix).
tui-design
This skill should be used when designing terminal user interfaces, creating TUI layouts, choosing TUI color schemes, implementing keyboard navigation, building terminal dashboards, or working with any TUI framework. Activates on mentions of TUI design, terminal UI, Ratatui layout, Ink components, Textual widgets…
clack
Build and maintain interactive Node.js/Bun CLIs with Clack (@clack/prompts and @clack/core). Use when an AI agent needs to design prompt flows, implement cancellation-safe input handling, add spinners/log/note UX, apply Clack best practices, or generate runnable examples aligned with official Clack docs.
react-ink
Use this skill when building terminal user interfaces with React Ink - interactive CLI apps, terminal dashboards, progress displays, or keyboard-driven TUI components. Triggers on React Ink, Ink components, terminal UI with React, useInput, useFocus, Box/Text layout, create-ink-app, and any task requiring rich…
elixir
Existing Elixir application/library development and debugging. Use for .ex/.exs, Mix, OTP, Ecto, backend Phoenix, dependencies, docs, tests, or BEAM runtime state. Use elixir-web instead when the primary task is UI/LiveView/frontend work, and elixir-new-project instead for creation/bootstrap.
bun-development
Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by oven-sh/bun.