askill
claude-code-sdk

claude-code-sdkSafety 95Repository

Authoritative Claude Code reference: plugins, hooks, skills, MCP servers, settings, and extensibility APIs. Invoke for any question about Claude Code capabilities, configuration, or how to implement features using the platform.

1 stars
1.2k downloads
Updated 3/2/2026

Package Files

Loading files...
SKILL.md

Claude Code SDK

Authoritative reference for Claude Code extensibility and configuration.

Route to Reference

Working withReference
Skills: SKILL.md, frontmatter, activation, subagent executionskills.md
Subagents: custom agents, tool restrictions, delegationsubagents.md
Plugins: plugin.json, directory structure, distributionplugins.md
Hooks: lifecycle events, command/prompt/agent hookshooks.md
MCP: servers, tools, resources, authenticationmcp.md
Memory: CLAUDE.md, rules, imports, hierarchymemory.md
Output Styles: personas, system prompt modificationoutput-styles.md
Settings: scopes, permissions, sandbox, env vars, toolssettings.md
Status line: custom display, JSON input, scriptsstatusline.md
Usage patterns: context management, verification, scalingbest-practices.md

Read the relevant reference before making changes.

Concepts

Plugin — Distributable package containing skills, hooks, MCP servers, output styles. Has .claude-plugin/plugin.json manifest. Installed from marketplace or local path. Skills namespaced as /plugin:skill.

Hook — Deterministic automation triggered at lifecycle events (tool use, session start, permission request). Three types: command (shell), prompt (LLM decision), agent (multi-turn verification). Configured in settings or plugin.

MCP Server — External tool/resource provider via Model Context Protocol. Connects Claude to databases, APIs, services. Configured per-project, per-user, or via plugin.

Output Style — Persona/behavior modifier via system prompt changes. Affects how Claude responds without changing capabilities. Built-in: Default, Explanatory, Learning.

CLAUDE.md — Project memory file providing persistent context about codebase, conventions, instructions. Hierarchy: managed → user → project. Loaded automatically at session start.

Subagent — Isolated context for delegated tasks. Built-in types: Explore (read-only), Plan (architecture), general-purpose. Custom agents in .claude/agents/.

Settings — Configuration hierarchy controlling permissions, model, hooks, behavior. Scopes: managed → user → project → local.

Quick Reference

Skill Locations

ScopePath
Personal~/.claude/skills/<name>/SKILL.md
Project.claude/skills/<name>/SKILL.md
Plugin<plugin>/skills/<name>/SKILL.md

Plugin Layout

plugin-name/
├── .claude-plugin/
│   └── plugin.json        # Manifest (required)
├── skills/
│   └── skill-name/
│       ├── SKILL.md
│       └── references/
├── hooks/
│   └── hooks.json
├── output-styles/
├── .mcp.json
└── README.md

Hook Events

EventWhenCan Block
PreToolUseBefore toolYes
PostToolUseAfter tool successNo
StopClaude finishesYes
SessionStartSession beginsNo

Settings Scopes

ScopeLocationShared
ManagedSystem pathOrg-wide
User~/.claude/settings.jsonNo
Project.claude/settings.jsonGit
Local.claude/settings.local.jsonNo

When to Use This Skill

  • Creating plugins, skills, hooks, or output styles
  • Debugging activation failures or hook issues
  • Understanding Claude Code configuration hierarchy
  • Setting up MCP servers or tool integration
  • Writing or modifying CLAUDE.md files
  • Any question about Claude Code internals

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

84/100Analyzed 2/19/2026

High-quality reference skill providing comprehensive Claude Code extensibility documentation. Includes concept definitions, quick reference tables, routing to detailed references, and clear usage triggers. Well-structured and highly reusable as an authoritative source on Claude Code APIs. Lacks some metadata (icon) but otherwise excellent."

95
90
85
75
70

Metadata

Licenseunknown
Version-
Updated3/2/2026
Publisherxobotyi

Tags

llmprompting