Make Claude Code follow your rules on its own
Hooks on the lifecycle events, settings.json, JSON input, and responses via exit code and JSON.
MODS Program · 4 courses, from hooks to your own mods
A mod changes the screen and behavior of Claude Code: a panel beside the conversation, a status bar, a question before a dangerous command. In 4 courses you learn the hooks that mods use under the hood, build a production plugin, create your own mods, and put guards and panels on agents that use tools.
Prerequisite: Claude Code installed. INEMA.PRO content, open and free. Courses 1 and 4 are also available in English and Spanish.

The problem
The problems below show up for people who use Claude Code every day. All of them are solved with a hook or a mod, and the program teaches you to make both.
After the training
Hooks on the lifecycle events, settings.json, JSON input, and responses via exit code and JSON.
Locks with exit 2, reading the command before execution, and allow, ask, and deny decisions.
SPEC first, state machine, stop hook with a loop, personas, and a security pass before publishing.
Manifest, event map, state that survives, bars, panels, buttons, and custom commands.
claude plugin test, debugging the gotchas, and a final project ready for someone else to install.
Autonomy policy, the agent proposes and you approve, and guards with panels in practice.
4 courses in order · 73 lessons and modules
The area page marks the first two as "before the mods": they teach the hooks and the plugin that the mod uses under the hood. If you already write hooks, you can start at course 3.
HooksPT · EN · ES
The lifecycle events, locks with exit 2, formatting on save, notifying when done, injecting context at session start, and versioned hooks for the team and CI.
Plugin
From prompt to production plugin: hooks, slash commands, state, SPEC first, fail-open patterns, and a complete plugin built in five prompts.
Mods
Anatomy of a mod, event and state map, ui.render with bars, panels, and buttons, tests with claude plugin test, and distribution in the final project.
Guard and panelPT · EN · ES
MCP bridges, a browser with policy, a three-role team, a long-running agent with verification, and, in track 4, autonomy policy with guard and panel.
Who it's for
Included in the training
18 INEMA mods in Portuguese and 10 from the Claude Mods Starter Kit, with guides in PT, EN, and ES and prompts that interview you and point you to the right ones. Use the ready-made ones while you study and open each one up to see inside.
Why this training
A mod runs with your access. After the courses, you read the hooks/ folder and know what each line does.
The technical course was checked against the current version of Claude Code; the mods were tested on Claude Code 2.1.289.
Each hooks lesson closes with a "practice now": a real hook you paste into your project and watch run.
The four courses cover the whole ladder: simple rule, lock, plugin, mod with a screen, and agent with a guard.
Questions
Claude Code installed and a project to test on. Courses 1 and 3 start from zero in hooks and mods.
The suggested order is 1 → 4. If you already write hooks, you can go straight to course 3 and come back to course 2 whenever you want to build a complete plugin.
No. A hook runs a command when an event happens. A mod uses those events to change the screen and the workflow: a panel, a banner, a notice, a button.
There are 73 modules across 4 courses: 17 on hooks, 24 on plugins, 16 on mods, and 16 on Agent Runtime.
Open it with claude --safe-mode, which starts without plugins, and disable the mod. The area explains the step-by-step process before you install anything.
Start with course 1. In 17 modules you write the hooks that become the foundation of every mod.