Claude Code skills vs agents vs commands vs plugins vs MCP A developer published a reference guide distinguishing the six ways to extend Claude Code — skills, subagents, slash commands, hooks, plugins, and MCP servers — with a decision table mapping each to its file location, trigger, and use case. The guide notes that recent Claude Code versions now treat commands and skills as one mechanism, and recommends using a skill for repeatable methods, a subagent for work needing its own context window, and a hook for actions that must run every time regardless of Claude's decisions. Claude Code can be extended six ways, and they overlap enough that people pick the wrong one. This page gives each a one-line definition, the file it lives in, when to use it, and a decision table. The short version: a skill is a method, a subagent is a separate worker, a command is a shortcut you type, a plugin is a package, a hook is an automatic reaction, and an MCP server is a connection. | Extension | Lives in | Who triggers it | Use it for | |---|---|---|---| | Skill | .claude/skills/