Prerequisites
- Asymptote CLI installed (
asymcommand) - Claude Code installed (
claudecommand), or the Claude Code VS Code extension - Logged in to your Asymptote account (
asym login)
Setup
Install the Asymptote plugin for Claude Code
Run the install command. By default, the plugin is installed at the user level and applies to all projects:To install for the current project only:If you’re running Claude Code inside VS Code, use the
--vscode flag instead:How it works
Once installed, Asymptote registers four hooks via Claude’s plugin system:| Hook | Purpose |
|---|---|
SessionStart | Initializes the session and performs cleanup |
PostToolUse | Submits diffs for async security evaluation |
Stop | Polls results and re-prompts Claude on violations |
SessionEnd | Final cleanup |

