Skip to main content
HS
HiSETSuccess
LeetCode Prep

Agent Engineering

From autocomplete user to superstar developer — coding agents, context, skills, MCP, hooks, spec-driven and parallel workflows, and building your own agents.

Chapter 5 · 6 lessons

Plugins, Commands & Subagents

Choosing between slash commands, skills, subagents, and plugins — and packaging them so a whole team gets the same setup.

Claude Code · Cursor · OpenAI Codex · GitHub Copilot

Show all 6 lessons

Lesson 1 of 6

Choosing the Right Primitive

You want…UseWhy
A prompt you trigger by nameSlash command / prompt fileExplicit, predictable, no auto-activation
Procedure the agent picks up when relevantSkillDescription-driven, loads on demand
Noisy work kept out of the main threadSubagentSeparate context window, returns a summary
A specialist persona with limited toolsCustom agent / subagent definitionOwn prompt and tool allowlist
A bundle others install in one stepPluginShips skills, agents, hooks, MCP together

Signal

Say which primitive you would NOT use and why. 'This is a subagent, not a skill, because the exploration output is huge and I only need the conclusion' shows real judgment.