By Ruban Shafi
A plugin takes the runbook steps that never needed a decision. Where AI plugins workflow automation ends, and where a person still has to sign off. A plugin replaces the steps in a proposal runbook that never needed a decision. Here is how to sort a forty-step runbook into hooks, skills and the steps a person keeps. A plugin replaces the steps in your runbook that never needed a decision. AI plugins workflow automation works on exactly those steps: the format check, the banned-word scan, the page count, the file naming, the reminder nobody sent. It does not replace the steps where somebody asserts a fact or signs off on a claim. The dividing line sits in the mechanics, not in anybody's opinion about AI. Anthropic's hooks documentation (https://docs.claude.com/en/docs/claude-code/hooks) says hooks give you "deterministic control: certain actions always happen rather than relying on the LLM to choose to run them." That one sentence is the whole case for moving a step out of a runbook. It is also the limit. A hook can stop work. It cannot approve work. What A Plugin Holds A Claude Code plugin is a directory, not a saved prompt. The plugin overview (https://docs.claude.com/en/docs/claude-code/plugins) defines it as "a directory of skills, agents, hooks, MCP servers, or other components that Claude Code installs and loads as one unit." A manifest file at .claude-plugin/plugin.json gives it a name and a version. Five component types do the actual work. - Skills: SKILL.md instructions Claude loads when relevant, and that you can also run as a command. - Agents: subagent definitions Claude can delegate to. - Hooks: commands Claude Code runs at points in its lifecycle, such as after every edit. - A hooks module: hooks as JavaScript functions, which can draw panes and add commands. A plugin that has one is a mod. - MCP servers: tool servers Claude Code connects to while the plugin stays enabled. Each of those works on its own, with no plugin around it. The documentation is direct about when you need the wrapper. Use a plugin when you want several skills, subagents, hooks or MCP servers to travel as one unit. Then you can hand your setup to teammates, or install it across many projects. We covered the build mechanics in how to build a Claude plugin (/blog/how-to-build-a-claude-plugin), and skills get their own treatment in house style on rails (/blog/claude-skills-for-proposal-writers). AI Plugins Workflow Automation The automation worth having is not the model drafting faster. It is the step that fires whether or not anyone remembers it. Hooks are that mechanism. The reference page sorts events into three cadences. Per session covers SessionStart and SessionEnd . Per turn covers UserPromptSubmit , Stop and StopFailure . Per tool call covers PreToolUse and PostToolUse , which fi
A plugin replaces the steps in a proposal runbook that never needed a decision. Here is how to sort a forty-step runbook into hooks, skills and the steps a person keeps.
A plugin replaces the steps in your runbook that never needed a decision. AI plugins workflow automation works on exactly those steps: the format check, the banned-word scan, the page count, the file naming, the reminder nobody sent. It does not replace the steps where somebody asserts a fact or signs off on a claim. The dividing line sits in the mechanics, not in anybody's opinion about AI. Anthropic's hooks documentation (https://docs.claude.com/en/docs/claude-code/hooks) says hooks give you "deterministic control: certain actions always happen rather than relying on the LLM to choose to run them." That one sentence is the whole case for moving a step out of a runbook. It is also the limit. A hook can stop work. It cannot approve work. What A Plugin Holds A Claude Code plugin is a directory, not a saved prompt. The plugin overview (https://docs.claude.com/en/docs/claude-code/plugins) defines it as "a directory of skills, agents, hooks, MCP servers, or other components that Claude Code installs and loads as one unit." A manifest file at .claude-plugin/plugin.json gives it a name and a version. Five component types do the actual work. - Skills: SKILL.md instructions Claude loads when relevant, and that you can also run as a command. - Agents: subagent definitions Claude can delegate to. - Hooks: commands Claude Code runs at points in its lifecycle, such as after every edit. - A hooks module: hooks as JavaScript functions, which can draw panes and add commands. A plugin that has one is a mod. - MCP servers: tool servers Claude Code connects to while the plugin stays enabled. Each of those works on its own, with no plugin around it. The documentation is direct about when you need the wrapper. Use a plugin when you want several skills, subagents, hooks or MCP servers to travel as one unit. Then you can hand your setup to teammates, or install it across many projects. We covered the build mechanics in how to build a Claude plugin (/blog/how-to-build-a-claude-plugin), and skills get their own treatment in house style on rails (/blog/claude-skills-for-proposal-writers). AI Plugins Workflow Automation The automation worth having is not the model drafting faster. It is the step that fires whether or not anyone remembers it. Hooks are that mechanism. The reference page sorts events into three cadences. Per session covers SessionStart and SessionEnd . Per turn covers UserPromptSubmit , Stop and StopFailure . Per tool call covers PreToolUse and PostToolUse , which fi
Contact Shaavir · View services · Read the blog · Careers · Case studies · Privacy policy · Terms