agentsclimarketplace

Claude code

Skill damionrashford/mlx/.claude/skills/claude-code

Comprehensive Claude Code knowledge base — plugins, hooks, skills, agents, MCP, channels, headless mode, permissions, settings, and all extensibility features. Use when building, configuring, debugging, or extending Claude Code.From its SKILL.md

Install
npx -y skills add damionrashford/mlx --skill claude-code

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

8.2 KB, as published. Nobody here has run it

The definitive reference skill for Claude Code's entire extensibility platform. This skill covers every feature area — from plugins and hooks to channels, subagents, MCP servers, scheduled tasks, and headless automation. When a user asks how to build, configure, debug, or extend Claude Code, this skill provides authoritative guidance grounded in the official documentation.

Documentation Index

Fetch the complete documentation index at: https://code.claude.com/docs/llms.txt Use this file to discover all available pages before exploring further.

Reference Library

27 reference documents covering every Claude Code feature. Read the relevant reference(s) before answering any question.

Extensibility & Plugins

ReferenceWhat It Covers
plugins.mdCreating plugins — manifest, agents, skills, hooks, commands, settings
plugins-reference.mdPlugin spec — plugin.json schema, variable resolution, file structure
plugin-marketplaces.mdCreating and distributing plugin marketplaces
discover-plugins.mdDiscovering and installing prebuilt plugins
skills.mdExtending Claude with skills — SKILL.md format, frontmatter, scripts
sub-agents.mdCreating custom subagents — agent .md files, model routing, tools

Hooks & Automation

ReferenceWhat It Covers
hooks-guide.mdHooks walkthrough — setup, common patterns, prompt/agent hooks
hooks-ref.mdHooks reference — all 22 events, 4 handler types, input schemas, decision control
scheduled-tasks.mdRunning prompts on a schedule (cron-style)
channels.mdPushing events into a running session
channels-reference.mdChannels API reference — event types, protocols

Multi-Session & Programmatic

ReferenceWhat It Covers
agent-teams.mdOrchestrating teams of Claude Code sessions
headless.mdRunning Claude Code programmatically (CI, scripts, pipelines)

Configuration & Security

ReferenceWhat It Covers
settings.mdAll Claude Code settings — global, project, plugin scopes
permissions.mdPermission modes, allow/deny lists, tool-level control
sandboxing.mdSandbox environments — Docker, macOS sandbox, network isolation
model-config.mdModel selection, routing, provider configuration
network-config.mdEnterprise network — proxies, certificates, firewall rules
llm-gateway.mdLLM gateway configuration for enterprise deployments

Tools & Interface

ReferenceWhat It Covers
tools-reference.mdBuilt-in tools — Read, Write, Edit, Bash, Glob, Grep, Agent, etc.
mcp.mdConnecting Claude Code to external tools via MCP servers
keybindings.mdCustomizing keyboard shortcuts
statusline.mdCustomizing the status line display
output-styles.mdOutput formatting and style configuration
terminal-config.mdTerminal setup optimization
voice-dictation.mdVoice input configuration
troubleshooting.mdCommon issues, diagnostics, and fixes

Workflow

  1. Identify the topic — Parse the user's question to determine which feature area(s) are involved
  2. Read references — Load the relevant reference file(s) from the table above. For cross-cutting questions, read multiple references.
  3. Synthesize — Combine reference material with the user's specific context (their project structure, existing config, goals)
  4. Provide guidance — Give a concrete, actionable answer with code examples. Always cite which reference the guidance comes from.
  5. Verify — If the user is building something (plugin, hook, skill), validate it against the spec in the reference docs

Topic Routing

User Asks AboutRead These References
Building a pluginplugins.md, plugins-reference.md
Publishing to marketplaceplugin-marketplaces.md, discover-plugins.md
Writing a skillskills.md, plugins.md
Creating an agentsub-agents.md, plugins.md
Setting up hookshooks-guide.md, hooks-ref.md
Hook events / typeshooks-ref.md
MCP serversmcp.md
Permissions / securitypermissions.md, sandboxing.md
Settings configsettings.md
Running headless / CIheadless.md
Agent teams / multi-sessionagent-teams.md, channels.md
Channels / eventschannels.md, channels-reference.md
Scheduled / cron tasksscheduled-tasks.md
Model selectionmodel-config.md
Enterprise / networknetwork-config.md, llm-gateway.md
Keyboard shortcutskeybindings.md
Status linestatusline.md
Output formattingoutput-styles.md
Terminal setupterminal-config.md
Voice inputvoice-dictation.md
Something brokentroubleshooting.md
Built-in toolstools-reference.md

Key Concepts

The 4 Hook Types

  • command — Runs a shell command. Exit code 0 = allow, 2 = block.
  • http — POSTs JSON to a URL. Response body controls decision.
  • prompt — Single-turn LLM judgment. Sends prompt + $ARGUMENTS to Claude for yes/no.
  • agent — Multi-turn subagent with Read/Grep/Glob tools. Full reasoning for complex checks.

The 22 Hook Events

SessionStart, UserPromptSubmit, PreToolUse, PermissionRequest, PostToolUse, PostToolUseFailure, Notification, SubagentStart, SubagentStop, Stop, StopFailure, TeammateIdle, TaskCompleted, InstructionsLoaded, ConfigChange, WorktreeCreate, WorktreeRemove, PreCompact, PostCompact, Elicitation, ElicitationResult, SessionEnd

Plugin Variables

VariableResolves To
${CLAUDE_PLUGIN_ROOT}Plugin's root directory
${CLAUDE_PLUGIN_DATA}Plugin's data/output directory
${CLAUDE_SKILL_DIR}Current skill's directory

Plugin File Structure

plugin-name/
├── .claude-plugin/plugin.json    ← Manifest (required)
├── agents/*.md                   ← Role definitions
├── skills/*/SKILL.md             ← Workflow definitions
├── commands/*.md                 ← Entry points
├── context/*.md                  ← Shared context
├── hooks/hooks.json              ← Hook definitions
└── settings.json                 ← Plugin settings

After this skill

  • Configuration question answered → apply via update-config skill if settings.json change needed
  • Keybinding question answered → apply via keybindings-help skill
  • Hook setup needed → update-config skill handles all hook configuration

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.