Command Palette

Search for a command to run...

UnylyUnyly

ac-consensus-protocols vs claude-api

Side-by-side comparison of two Claude Agent Skills. Pick the right one for Claude Code or Claude Desktop.

ac-consensus-protocols

How a distributed system agrees on one order of events: the replicated log as the agreement object, leaders and term-and-index structure, quorum intersection…

claude-api

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…

Comparison

Featureac-consensus-protocolsclaude-api
Bundled scriptsnono
Allowed toolsanyany
Install scopepersonalpersonal
Categorycodingcoding
Verified—
LicenseMITComplete terms in LICENSE.txt
AuthorjiayaoqijiaAnthropic
Repojiayaoqijia/cryptoskillanthropics/skills

When to pick ac-consensus-protocols

How a distributed system agrees on one order of events: the replicated log as the agreement object, leaders and term-and-index structure, quorum intersection and what a commit proves, leader leases and fencing tokens, membership changes and joint configurations, single-decree epochs, learner and witness roles, and the written record. It explains what a consensus commits and what it costs; it never recommends a protocol library and never promises a fault-free cluster. Use when asking "consensus protocol", "raft", "paxos", "replicated log", "commit index", "leader lease", "fencing token", "membership change", "joint consensus", "learner node", "why is my cluster stalled", "quorum intersection", "log compaction". Not for leader election alone (ac-distributed-state-and-replication), not for client-side session guarantees (ac-distributed-state-and-replication), not for queue delivery semantics (ac-durable-execution).

When to pick claude-api

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).

Looking for something else? Browse all skills.