New Open-Source Skill Lets Claude Code Build Plugins via Early-Access Function Hooks
daniel_mac8 · x · 2026-10-02
danielmac8 open-sourced claude-mod-builder, a skill you install by pointing Claude Code at the repo URL, enabling it to build Claude Mods — Claude Code plugins whose behavior lives in a function-hooks module hooked into engine events as TypeScript functions.
Key points:
- Function hooks act like Express/Koa middleware for the CLI: $ is the only way out of the sandbox, registration order is nesting, and next is the continuation
- The repo ships SKILL.md (model, build steps, gotchas), an API reference (event and $ inventory), undocumented traps indexed by symptom, a plugin test kit, and a minimal valid mod template
- Requires Claude Code 2.1.269+ and CLAUDECODEENABLEFUNCTIONHOOKS=1; function hooks are early access and the API may change
More from coding & agent
- I stopped reading agent chats: one orchestrator agent now runs everything like a PM — weswinder · 2026-10-02
- Thorsten Ball: Reconsider everything you assumed about coding models 4-6 months ago — pvncher · 2026-10-02
- GPT-6.1 Astra builds Gaussian Splats via Blender MCP, viewed in SuperSplat — willeastcott · 2026-10-02
- Hoshikage Pulse: an Opus 5.5-built rhythm game with 128 songs, playable in browser — TAbrodi · 2026-10-02
- Conductor Mobile launches: run and control a team of cloud coding agents from iPhone — charlieholtz · 2026-10-02
- Do AI agents actually save time, or do you spend more time fixing their mistakes? — MantisReka · 2026-10-02