From claude-knowledge-sdk
Fetch and index official Anthropic documentation for answering questions about Claude Code, the Agent SDK, MCP, skills, plugins, hooks, and monitoring. USE THIS SKILL whenever the user asks about Claude Code features, Agent SDK APIs, OTel configuration, cost tracking, secrets management, or any Anthropic platform documentation. Also trigger for "how does Claude Code...", "what's the SDK API for...", "check the docs", "latest changelog", or references to code.claude.com, platform.claude.com, or docs.anthropic.com. This skill acts as a local documentation oracle.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-knowledge-sdk:doc-fetcherThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fetches and indexes official Anthropic documentation from three surfaces:
Fetches and indexes official Anthropic documentation from three surfaces:
~/.claude/knowledge/knowledge-index.json# Fetch/refresh all docs (critical + high priority)
npx tsx src/cli.ts fetch-docs --priority high
# Fetch only critical docs (fastest)
npx tsx src/cli.ts fetch-docs --priority critical
# Search the index
npx tsx src/cli.ts search "otel configuration"
| Topic | Surface | Section |
|---|---|---|
| OTel / Monitoring | code.claude.com | monitoring-usage |
| Cost Management | code.claude.com | costs, analytics |
| Agent SDK (TS) | platform.claude.com | agent-sdk/typescript |
| Subagents | platform.claude.com | agent-sdk/subagents |
| Skills in SDK | platform.claude.com | agent-sdk/skills |
| Hooks | platform.claude.com | agent-sdk/hooks |
| Auth / Secrets | code.claude.com | authentication |
| MCP Servers | code.claude.com | mcp |
| Changelog | code.claude.com | changelog |
| Analytics API | docs.anthropic.com | api/claude-code-analytics-api |
OTEL_LOGS_EXPORTER=otlpsettingSourcesunstable_v2_createSession prefixCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub jadecli/claude-knowledge-sdk-typescript