claude_code: Skill for Claude Code

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

sync-docs is a skill for Claude Code from guess/claude_code. It costs 60 tokens per session (2,422 once invoked), scanned A, original, MIT.

A documentation-sync guide for keeping Elixir SDK guides aligned with the official Claude Agent SDK documentation. It compares mirrored pages and updates examples using Elixir code.

In plain words
What is it for?
Use it to compare guides in docs/guides/ with official SDK pages, find missing or changed content, and update the Elixir equivalents. It also helps mark unfinished sections and keep guide titles concise.
Why use it?
It helps prevent guides from becoming outdated when the official documentation changes. It also keeps the guides consistent with the project's Elixir and OTP conventions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions subagents.

This is guess/claude_code's own configuration. It tells Claude Code how to work on claude_code 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_code configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/fetch-official-docs.sh.

Reuse

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.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/guess/claude_code/sync-docs"><img src="https://agentmods.dev/badge/skills/guess/claude_code/sync-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,422 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.00060 $0.02422
Opus 5.5 $0.00024 $0.00969
Sonnet 5.5 $0.00012 $0.00484
Haiku 4.5 $0.00006 $0.00242

Measured 2mo ago against content hash 472c9141120e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync-docs 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 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.

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.

.claude/skills/sync-docs/SKILL.md · 225 lines

How it starts

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

Sync Documentation Guides

Synchronize the Elixir SDK documentation guides in docs/guides/ with the official Claude Agent SDK documentation.

Overview

Each guide in docs/guides/ mirrors an official Agent SDK documentation page. The guides show Elixir SDK equivalents of the official examples — never Python or TypeScript. This skill provides a systematic workflow to detect content drift and update guides when the official docs change.

Guide Conventions

All guides follow rules defined in docs/guides/CLAUDE.md. Key rules:

  • Use full module names in prose (e.g., ClaudeCode.Stream.final_result/1)
  • Use ClaudeCode.query/2 for one-off examples; reserve ClaudeCode.start_link/1 + ClaudeCode.stream/3 for streaming/multi-turn
  • Pattern match directly in fn clauses
  • Follow official structure closely but prioritize idiomatic Elixir/OTP
  • Include Elixir-only guidance where it applies
  • Mark incomplete sections with callouts

Guide titles must be concise (1-3 words) for sidebar navigation. Prefer "File Checkpointing" over "Rewind file changes with checkpointing". Do NOT adopt verbose titles from the official docs — keep titles short even if the official page uses a longer name.

Each guide starts with:

# Concise Title

Subtitle describing the guide.

> **Official Documentation:** This guide is based on the [official Claude Agent SDK documentation](https://platform.claude.com/docs/en/agent-sdk/PAGE). Examples are adapted for Elixir.

Guide Inventory

Each guide maps to an official page at https://platform.claude.com/docs/en/agent-sdk/{slug}:

Guide File Official Slug
cost-tracking.md cost-tracking
custom-tools.md custom-tools
file-checkpointing.md file-checkpointing
hooks.md hooks
hosting.md hosting
mcp.md mcp
modifying-system-prompts.md modifying-system-prompts
permissions.md permissions
plugins.md plugins
secure-deployment.md secure-deployment
sessions.md sessions
skills.md skills
slash-commands.md slash-commands
stop-reasons.md stop-reasons
streaming-output.md streaming-output
streaming-vs-single-mode.md streaming-vs-single-mode
structured-outputs.md structured-outputs
subagents.md subagents
user-input.md user-input

Read the full file on GitHub · 225 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. 2mo ago First seen · 225 lines · 60 tokens per session scan A 472c9141120e

Subscribe to this mod's changes

sync-docs is a skill published in the GitHub repository guess/claude_code (98 stars, last pushed 4mo ago), licensed MIT. It adds 60 tokens to every session and 2,422 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

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).

ericrisco/rsc-harness · 72 tokens

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…

pass-agent/loomkin · 109 tokens

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.

pass-agent/loomkin · 72 tokens

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…

pass-agent/loomkin · 77 tokens

bun-development

Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by oven-sh/bun.

pass-agent/loomkin · 35 tokens

phoenix

Use when building an Elixir web app with Phoenix — contexts, Ecto schemas, changesets and migrations, LiveView, channels and PubSub, the generators, and the boundary between domain logic and the web layer. Covers the classic LiveView over-rendering and Ecto N+1 traps. NOT pure OTP work with no web or Ecto layer …

ericrisco/rsc-harness · 89 tokens