New:Socket for Asana Is Now Available.Learn more
Sign In

offrouter-adapter-claude

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

offrouter-adapter-claude

Claude Code adapter for OffRouter. Installs into a Claude Code profile as a `UserPromptSubmit` hook with automatic rollback support.

latest
npmnpm
Version
0.34.0
Version published
Weekly downloads
3.1K
172.75%
Maintainers
1
Weekly downloads
 
Created
Source

offrouter-adapter-claude

Claude Code adapter for OffRouter. Installs into a Claude Code profile as a UserPromptSubmit hook with automatic rollback support.

Install

npm install offrouter-adapter-claude

Then register with the CLI:

offrouter install claude --profile claude-personal

This writes the hook config into the profile's ~/.claude/claude-personal.json and creates a rollback backup.

How it works

OffRouter intercepts every UserPromptSubmit event, evaluates routing policy, and either routes to the selected provider or lets the Claude Code primary model handle it. The primary model is unchanged in V1 — OffRouter only routes delegated sub-tasks.

  • offrouter.com
  • GitHub
  • Docs

FAQs

Package last updated on 06 Aug 2026

Related posts