A backup taken automatically before anything risky. A working idea; he may pick something else.

A backup taken automatically before anything risky. A working idea; he may pick something else.
Status: stub, picked to build, his words 2 Oct. Tested with Claude Code 2.1.287.
hooks/register.ts 14 lines1import type { Register } from 'claude-code'
2
3// STUB. Loads, validates, and answers /seatbelt with what it will become.
4export const register: Register = on => {
5 on('session.start', async ($, e, next) => {
6 await $.command.register({ name: 'seatbelt', description: "A backup taken automatically before anything risky. A working idea; he may pick something else." })
7 return next(e)
8 })
9
10 on('command.run', { command: 'seatbelt' }, async () => {
11 return { text: 'Not built yet. ' + "A backup taken automatically before anything risky. A working idea; he may pick something else." }
12 })
13}
14