Skip to main content
bash TV

How to use Plugins in Claude Code | Plugins in Claude Code Explained | Claude Code Plugins Tutorial

GenAI Unplugged

872 views5 Oct 2026

YouTube

Your Claude Code agent team works only on your machine, and you retype a long prompt every time. Package it as a plugin with slash commands and a hook. πŸŽ“ Want to learn Claude Code with me, live? Join the Claude Code Builder cohort on Maven β†’ https://maven.com/genaiunplugged/claude-code-builder In the last lesson I built a researcher, a writer and a reviewer inside Claude Code. In this video I turn that whole team into a Claude Code plugin that anyone can install from a marketplace, step by step. πŸ“š What You'll Learn β€’ How to replace a long prompt with a slash command, using skills that only a user can invoke β€’ How to add a voice check hook that runs after Claude writes or edits a file β€’ How a Claude Code plugin folder is structured and what goes in the manifest file β€’ Why a plugin uses hooks.json and not settings.json β€’ Which path variable to use in hooks so the plugin works on any machine β€’ How to bundle agents, context profiles and brand voice templates inside the plugin β€’ How to test the plugin locally in a blank folder β€’ How to write a marketplace.json file and install your plugin from it at local scope β€’ How to control a running session from your phone with Remote Control, while the laptop stays awake ⚠️ Two Mistakes To Avoid The first is copying your agents, skills and hooks inside the .claude-plugin folder. Only plugin.json goes there. The second is using CLAUDE_PROJECT_DIR in your hooks path where CLAUDE_PLUGIN_ROOT belongs. I show both and the fix for each. βœ… Prerequisites β€’ Claude Code installed and running β€’ The three-agent team from lesson 6 β†’ https://youtu.be/CnPi97XMuSA β€’ Skipped lesson 6? Download the project zip β†’ https://www.genaiunplugged.com/assets/courses/claude-code/travel-blog-lesson-6.zip β€’ A folder where you can test the plugin πŸ“¦ Install My Plugin My marketplace repo β†’ https://github.com/genaiunplugged14/claude-plugins /plugin marketplace add genaiunplugged14/claude-plugins /plugin install content-team@genaiunplugged14 πŸ“Ί CHAPTERS: 0:00 Recap: The Three-Agent Team 2:01 Why the Team Only Works Locally 4:08 Slash Commands With Skills 7:39 Voice Check Hook 10:50 How a Plugin Is Structured 14:06 Building the Plugin Step by Step 24:41 Testing the Plugin Locally 28:11 Creating a Plugin Marketplace 31:41 Installing From the Marketplace 34:37 Running Sessions From Mobile πŸ”— RESOURCES Claude Code plugins docs β†’ https://code.claude.com/docs/en/plugins Plugin marketplaces docs β†’ https://code.claude.com/docs/en/plugin-marketplaces Hooks docs β†’ https://code.claude.com/docs/en/hooks Remote Control docs β†’ https://code.claude.com/docs/en/remote-control πŸ“₯ Helpful Links: πŸ› οΈ Check my AI Systems store β†’ https://store.genaiunplugged.com/ 🌐 Subscribe to GenAI Unplugged Substack β†’ https://genaiunplugged.substack.com/ πŸŽ“ Learn with me on Maven β†’ https://maven.com/genaiunplugged 🀝 Let's connect on LinkedIn β†’ https://www.linkedin.com/in/dheerajsharma14/ πŸ“š Browse all my courses β†’ https://genaiunplugged.com/ πŸ™Œ A like is what tells YouTube to show this to the next person looking for the same fix. Subscribe if you want a new AI build every week. Tell me which mistake you hit while building yours, the .claude-plugin folder or the hooks path variable, and where your marketplace install got stuck, because I read every comment. ⚠️ DISCLAIMER This video is educational. Every setup I show uses the provider's own documented features. Nothing here bypasses billing, cracks licensing, or works around anyone's terms of service. I am not affiliated with any of the tools or providers shown, and there are no affiliate links in this description. Free tiers, model availability and rate limits change often, so check the official docs before you follow along. Your API keys are yours to protect. Never commit one to a repo or leave one on screen. Do not send confidential or client data through a third party model provider. Follow at your own risk. I accept no liability for any cost or issue that comes out of this tutorial. #claudecode #claude #claudeplugins

Join the discussion

Sign in to join the discussion

Sign in