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
- Engineer pushes back on AI swarm hype: 10K sessions for days is wasteful — gerardsans · 2026-11-16
- "Nuance tends to lead to slop": poteto's talk says design APIs to remove agent decision freedom — mattpocockuk · 2026-11-16
- What Labs Actually Do With $100M Data Deals: Turning Company Workflows Into Agent Eval Sandboxes — StewartalsopIII · 2026-11-16
- Google donates Agent Substrate, gVisor and OpenRL to CNCF; Agent Substrate 1.0 goes GA on GKE — dl_weekly · 2026-11-16
- Plonge: open-source tool safely cleans coding-agent caches, freed 40GB on one Mac — JordanMorgan10 · 2026-11-16
- Teknium: avoid 900k GPT variants — they charge extra beyond 272k context — Teknium · 2026-11-16