Qualixar film · 10:52
What Are Claude Code Mods? Real Demos + Build Your Own
What are Claude Code mods? They let you change how Claude Code looks and behaves, from the inside. In this video: real examples, the ($, e, next) idea behind every mod, a live build, and the security limits you need to know before installing one.
I start with subagents you can actually watch at work, show what the community built in the first weeks, build a mod live with hot reload and claude plugin validate / test, and then show ModStage: my free, MIT-licensed mod that runs Codex, Grok and Muse as Claude Code's own subagents, live, in one window.
ModStage (free, open source): https://github.com/qualixar/modstage
Setup and supported agents: https://qualixar.com/products/modstage
Official Claude Mods docs: https://code.claude.com/docs/en/plugins/mods/overview
Community catalogue of public mods: https://github.com/karanb192/awesome-claude-code-mods
CHAPTERS
0:00 Watch your subagents work
1:02 What a mod is
1:49 Inside vs outside: hooks, skills, MCP and mods
2:36 The core idea: ($, e, next)
3:53 What you can hook
4:49 What people built
6:29 You can redraw Claude Code
7:12 Build one, live
8:22 The part nobody tells you: security
9:08 What I built: ModStage
10:07 Your turn
Community mods shown, all open source, thanks to their creators: jarrodwatts/claude-image-view, zycck/claude-mods (Plan Progress), data-goblin/claude-code-filetree, scasella/claude-flightdeck, marmottajr/habblaud, anthropics/claude-code-playground (Blast Radius sample), ccdwyer/assertion-guardian, zenbu-labs/terminal-browser, insta-fusion/bettercallgpt, karanb192/cache-tax, jarrodwatts/intermission, sezaakgun/cc-arcade, hamzafer/claude-code-mods.
Mods are not sandboxed. Read the source and run claude plugin validate before installing one.
Also from me: SuperLocalMemory, memory + mesh for your agents — https://www.superlocalmemory.com · demo: https://youtu.be/9Y0wAT07KTc
By Varun Pratap Bhardwaj · Qualixar, an independent AI Reliability Engineering research initiative.
X: https://x.com/varunPbhardwaj
#ClaudeCode #ClaudeMods #AICoding
Press play in the official YouTube player. Playback is never started automatically.
Watch on YouTube ↗Evidence status
Read the full transcript
Claude Code can run sub aents. You knew that. But have you ever actually watched one work? Look at this. Codeex, Grock, and Muse running as Claude's own sub agents. Every step live right inside Claude Code. This month, Anthropic shipped mods and everything changed. And the /de command you use every day, that's a mod, too. Anthropic built it with the exact same API you and I get. By the 16th of October, a community catalog had already counted over 4,000 public mods. People are going wild with this. I went wild with it, too. I built this for myself this week, and today I'm giving it away. But first, you need to understand what a mod really is, because once you see it, you'll want to build one. Stay to the end. I'll show you the one line that decides whether your mod actually protects you or quietly doesn't. So, what is a mod? It's a plug-in made of JavaScript or TypeScript event handlers and it changes how Claude Code looks and behaves. Anthropic shipped them on the 1st of October in version 2.1287 on by default. If you're up to date, you already have them. And here's the wild part. A mod is just three small files, a manifest, a hooks file, and one module with a function called register. That's it. Three files, and you're inside Claude Code. It runs in the terminal, in the desktop app, and in VS Code. But wait, Claude Code already had hooks, skills, and MCP. So why does this matter? Here's the difference and it's everything. Settings hooks run a script when something happens. Skills give Claude instructions. MCP servers give it tools from outside. All three live outside Claude Code. A mod runs inside it. Which is why a mod is the only one that can draw in the interface and step into the middle of what Claude is about to do. That's exactly what I needed. Every day I'm working with Codex, Grock, and Muse beside Claude. And when Claude handed one of them a job, I was blind. A command went in, an answer came out. Nothing in between. So, how does a mod step into the middle, one tiny idea? Every handler in a mod gets three things. Dollar sign, the whole engine, files, processes, network, models, the interface. It's the only door your mod has to any of them. The event like Claude is about to run a bash command and next pass it on to the next mod and finally to Claude Code itself. So you get a choice every single time. Watch it and call next, rewrite it and pass your version on or answer it yourself and Claude Code never even runs it. If you've written web server middleware, you already know this shape. Except now the thing you're wrapping is an AI agent. Here's a guard I wrote. When Claude tries to launch Codeex or Grock straight from bash out of sight, my guard says no and points it to the panel where I can watch. Now look at the last line. This catch. Remember I promised you one line. This is it. If this guard ever throws an error, the call goes through. Mine fails open on purpose. It's a nudge, not a lock. A real security guard has to deny right here. One line decides it. And bash commands are only the start. You can hook almost everything that happens in a session. Tool calls before they run. Your prompt as you submit it. The system prompt before it's sent. Every step of a turn as it streams. Sessions starting and ending. Sub agents being spawned. Even what the screen draws. And dollar sign gives you superpowers on the other side. Register a tool. Claude can call. Add a slash command that runs instantly. Spawn a sub agent. Read files. Run processes. Call an API. keep state. Put those together and you get whole new kinds of features. Live panels, guards, new tools for claude, prompt shapers, sub agent orchestrators, even a reskin of Claude Code itself. And the most fun one, you can draw. So, what have people actually built in just over 2 weeks? A lot. Here are my favorites. And every one of them is open source. Above the prompt image view shows a thumbnail of every image you paste in. Plan progress turns Claude's plan into live progress bars with each task sub agents listed underneath. Beside the chat file tree puts a file tree next to the conversation and the files shimmer as Claude reads, writes and commits them. Flytech is a full dashboard. context, cost, every permission check, every sub agent, and Habau turns each agent into a pixel art character in a virtual office showing what it's doing live. Then the guards blast radius, a sample in Anthropic's own playground repo, holds an RM minus RF and shows you exactly what it would delete. Assertion guardian stops Claude from making tests pass by making the test weaker. Honestly, every repo should have that one. New powers. Terminal browser puts a real browser inside your terminal. Better call GPT puts cloth code on a voice call while it codes. Cash tax keeps your prompt cash warm while you take a break. And while you wait, intermission drops you into a doom deathmatch while Claude works and hands you back when it's done. CC Arcade puts Tetris and Snake right above the prompt. Panels, guards, new tools, games underneath every one of them. Dollar sign E. And next, these robots drawn by my mod inside Clawed Code. You hook a render event for a spot in the interface, a panel beside the chat or a band above the prompt. You return boxes, text, buttons, input fields, and clawed code draws them. State lives in small named values. Change one and only the parts that read it redraw. If you've used React, you'll feel at home. One rule that would have saved me an afternoon. A render hook never write state. Read while drawing. Write from a button. Okay, enough theory. Let's build one from scratch right now. Fresh session, empty folder. I ask Claude for one thing, a band above the prompt that tells me if my last test run passed. First time a mod gets written, Claude Code asks if I want hot reloading. And look at the last line, they run with your permissions. Yes, please. 3 and 1/2 minutes later, the mod is done with its own tests. I run my tests and Claude notices its own parser doesn't understand nodes test output. It fixes it and the mod reloads in place. No restart. There it is. Three passed. Now I break one on purpose. Red. Two passed. One failed before you trust it. Two commands. Validate reads your mod without running it and lists every event it hooks and every call it makes. And look what it caught. A gating hook without a catch. Remember that one line? Test runs your tests with no session, no signin, and no network, and fails loudly the moment one breaks. But hold on. If a mod can do all this, what can a bad one do? Here's the part architects need to hear twice. Mods are not sandboxed. A mod runs with your permissions. It can read and write your files, start processes, and hit the network. And a process it starts runs outside the bash sandbox. It can approve a tool called for you. Though it can't change what the permission prompt shows you, so read what you install. Validate tells you what a mod reaches. It doesn't tell you whether to trust it. And on team and enterprise setups, admins can load their own guard first or allow only managed mods, which brings me back to the thing I built. I pay for these agents every month. I wanted them working together inside where I can actually see them. So I built mod stage a mod plus a tiny local bridge because a mod can't hold a connection to another program open the bridge can one prompt and claude starts codecs gro and muse as its own sub aents each one gets a tab every step live with tokens and context pick any model a cl I offers or start a clawed sub agent from the same panel anything risky waits for my okay I can steer an agent mid run. And when two agents share a folder, they claim files instead of overwriting each other. Groc tests 52 passed. And if you run super local memory, every run shows up on its mesh, too. I built this for me. It's been running my week. Now it's yours. Anthropic says it plans to move more of Claude Code's own features into mods. You're early. So, pick one thing about Claude Code that annoys you and change it tonight. Mod Stage is open source under MIT. Fork it, break it, build your own. Links are below. An agent you can't watch is an agent you shouldn't trust with your repo. That's AI reliability engineering and mods finally let you build it So,
Transcript source: youtube-auto-caption. Use the film as the primary record.