Starter mod: toast on start, status line counts tool calls

The starter mod. Use it as a template, or load it to check mods work on your build.
first-mod loaded, when a session starts.tools: N in the status line.It doesn't change how Claude behaves.
claude --plugin-dir /path/to/claude-code-mods/first-mod
hooks/register.js is about 15 lines: a session.start hook for the toast and a tool.call hook for the counter. Copy the folder to start a new mod.
hooks/register.js 17 lines1/** @type {import('claude-code').Register} */
2export const register = on => {
3 let calls = 0
4
5 on('session.start', ($, e, next) => {
6 $.ui.toast(`${$.plugin.name} loaded`)
7 return next(e)
8 })
9
10 on('tool.call', async ($, e, next) => {
11 const ran = await next(e)
12 calls += 1
13 $.ui.status(`tools: ${calls}`)
14 return ran
15 })
16}
17