Carabiner — Development skill for Claude Code
Library for building Claude Code hooks that are type-safe, maintainable, and shareable.
How to install Carabiner
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open outfitter-dev/carabiner and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Carabiner does
Library for building Claude Code hooks that are type-safe, maintainable, and shareable.
Alternatives in Development
- Om Tidy — Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove 4.6k ★
- Fidelity — Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a let 3.6k ★
- Claude-code-safety-net Rules Reference — Custom rules reference for defining safe/dangerous command patterns 1.2k ★
README
Carabiner - Type-Safe Hooks Framework for Claude Code
[](https://badge.fury.io/js/@carabiner%2Fhooks-core) [](https://www.npmjs.com/package/@carabiner/hooks-core) [](https://opensource.org/licenses/MIT)
A comprehensive TypeScript framework for building type-safe Claude Code hooks, built on top of the official `@anthropic-ai/claude-code` SDK for maximum compatibility and type safety.
🚀 Overview
Transform Claude Code hook development from manual shell scripting to **type-safe, testable, maintainable TypeScript applications**. Built directly on the official Claude Code SDK, this framework ensures full compatibility with all Claude Code features while providing a superior developer experience.
✨ Key Benefits
- 🛡️ SDK Integration: Built on
@anthropic-ai/claude-codefor guaranteed compatibility - 📘 Full Type Safety: Complete TypeScript types for all hooks and tools via the SDK
- 🔧 Multiple APIs: Function-based, Builder pattern, and Declarative approaches
- 🔐 Security: Built-in validators and environment-specific protections
- 🧪 Testing: Complete mock framework and testing utilities
- ⚡ Performance: Fast, efficient hook execution with proper error handling
- 🎯 Tool Scoping: Hooks can target specific tools or run universally
📦 Installation
Quick Start with NPM
# Install core packages
bun add @carabiner/hooks-core @carabiner/types @carabiner/execution
# For development
bun add -d @carabiner/hooks-testing @carabiner/hooks-validators
Available Packages
All packages are available on npm under the `@carabiner` scope:
- Core:
@carabiner/hooks-core- Core hook functionality with SDK integration - Types:
@carabiner/types- TypeScript type definitions - Execution: `@carabiner/exec
Related Skills
Viz Pack
Four Claude skills that turn any content into visuals — diagrams, infographics, interactive explainers, and sh
Clau.Rs
clau.rs is a type-safe SDK for the Claude Code tool by Anthropic
Frankensonos
Memory-safe Rust controller for your own Sonos speakers on your own LAN — reliable SSDP/UPnP-SOAP/GENA interop
Create Flow
Interactive scaffolding command that creates custom agents, commands, skills, and hooks following project conv
Pss Get Description
Get element metadata (description, type, plugin) for skills, agents, commands, hooks, rules, MCPs, LSPs
Packlight
See the tokens Claude Code and Codex load before you type: MCP tool lists, skills, hooks, CLAUDE.md and AGENTS
Related Agents
Dependency Steward
Manage safe library versions, pinning, and upgrades with clear risk notes.
Go Cloud Native
Senior Go engineer for cloud-native services and CLIs: idiomatic project layout, safe concurrency, error handl
Caption Writer
Writes evidence-safe LinkedIn captions and opening hooks for animated infographic posts, then returns caption